553 lines
3.3 MiB
Plaintext
553 lines
3.3 MiB
Plaintext
var Y3n=Object.defineProperty;var J3n=(n,i,a)=>i in n?Y3n(n,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[i]=a;var Xf=(n,i,a)=>J3n(n,typeof i!="symbol"?i+"":i,a);function X3n(n,i){for(var a=0;a<i.length;a++){const c=i[a];if(typeof c!="string"&&!Array.isArray(c)){for(const d in c)if(d!=="default"&&!(d in n)){const g=Object.getOwnPropertyDescriptor(c,d);g&&Object.defineProperty(n,d,g.get?g:{enumerable:!0,get:()=>c[d]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const g of d)if(g.type==="childList")for(const b of g.addedNodes)b.tagName==="LINK"&&b.rel==="modulepreload"&&c(b)}).observe(document,{childList:!0,subtree:!0});function a(d){const g={};return d.integrity&&(g.integrity=d.integrity),d.referrerPolicy&&(g.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?g.credentials="include":d.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function c(d){if(d.ep)return;d.ep=!0;const g=a(d);fetch(d.href,g)}})();var xM=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vR(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var L$t={exports:{}},Tse={},M$t={exports:{}},Rs={};/**
|
||
* @license React
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var dz=Symbol.for("react.element"),Z3n=Symbol.for("react.portal"),Q3n=Symbol.for("react.fragment"),eCn=Symbol.for("react.strict_mode"),tCn=Symbol.for("react.profiler"),nCn=Symbol.for("react.provider"),rCn=Symbol.for("react.context"),iCn=Symbol.for("react.forward_ref"),oCn=Symbol.for("react.suspense"),sCn=Symbol.for("react.memo"),aCn=Symbol.for("react.lazy"),MLt=Symbol.iterator;function uCn(n){return n===null||typeof n!="object"?null:(n=MLt&&n[MLt]||n["@@iterator"],typeof n=="function"?n:null)}var P$t={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j$t=Object.assign,F$t={};function R5(n,i,a){this.props=n,this.context=i,this.refs=F$t,this.updater=a||P$t}R5.prototype.isReactComponent={};R5.prototype.setState=function(n,i){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,i,"setState")};R5.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function $$t(){}$$t.prototype=R5.prototype;function dLe(n,i,a){this.props=n,this.context=i,this.refs=F$t,this.updater=a||P$t}var fLe=dLe.prototype=new $$t;fLe.constructor=dLe;j$t(fLe,R5.prototype);fLe.isPureReactComponent=!0;var PLt=Array.isArray,B$t=Object.prototype.hasOwnProperty,hLe={current:null},U$t={key:!0,ref:!0,__self:!0,__source:!0};function H$t(n,i,a){var c,d={},g=null,b=null;if(i!=null)for(c in i.ref!==void 0&&(b=i.ref),i.key!==void 0&&(g=""+i.key),i)B$t.call(i,c)&&!U$t.hasOwnProperty(c)&&(d[c]=i[c]);var w=arguments.length-2;if(w===1)d.children=a;else if(1<w){for(var E=Array(w),S=0;S<w;S++)E[S]=arguments[S+2];d.children=E}if(n&&n.defaultProps)for(c in w=n.defaultProps,w)d[c]===void 0&&(d[c]=w[c]);return{$$typeof:dz,type:n,key:g,ref:b,props:d,_owner:hLe.current}}function cCn(n,i){return{$$typeof:dz,type:n.type,key:i,ref:n.ref,props:n.props,_owner:n._owner}}function pLe(n){return typeof n=="object"&&n!==null&&n.$$typeof===dz}function lCn(n){var i={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(a){return i[a]})}var jLt=/\/+/g;function J3e(n,i){return typeof n=="object"&&n!==null&&n.key!=null?lCn(""+n.key):i.toString(36)}function Mie(n,i,a,c,d){var g=typeof n;(g==="undefined"||g==="boolean")&&(n=null);var b=!1;if(n===null)b=!0;else switch(g){case"string":case"number":b=!0;break;case"object":switch(n.$$typeof){case dz:case Z3n:b=!0}}if(b)return b=n,d=d(b),n=c===""?"."+J3e(b,0):c,PLt(d)?(a="",n!=null&&(a=n.replace(jLt,"$&/")+"/"),Mie(d,i,a,"",function(S){return S})):d!=null&&(pLe(d)&&(d=cCn(d,a+(!d.key||b&&b.key===d.key?"":(""+d.key).replace(jLt,"$&/")+"/")+n)),i.push(d)),1;if(b=0,c=c===""?".":c+":",PLt(n))for(var w=0;w<n.length;w++){g=n[w];var E=c+J3e(g,w);b+=Mie(g,i,a,E,d)}else if(E=uCn(n),typeof E=="function")for(n=E.call(n),w=0;!(g=n.next()).done;)g=g.value,E=c+J3e(g,w++),b+=Mie(g,i,a,E,d);else if(g==="object")throw i=String(n),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.");return b}function Gre(n,i,a){if(n==null)return n;var c=[],d=0;return Mie(n,c,"","",function(g){return i.call(a,g,d++)}),c}function dCn(n){if(n._status===-1){var i=n._result;i=i(),i.then(function(a){(n._status===0||n._status===-1)&&(n._status=1,n._result=a)},function(a){(n._status===0||n._status===-1)&&(n._status=2,n._result=a)}),n._status===-1&&(n._status=0,n._result=i)}if(n._status===1)return n._result.default;throw n._result}var qg={current:null},Pie={transition:null},fCn={ReactCurrentDispatcher:qg,ReactCurrentBatchConfig:Pie,ReactCurrentOwner:hLe};function z$t(){throw Error("act(...) is not supported in production builds of React.")}Rs.Children={map:Gre,forEach:function(n,i,a){Gre(n,function(){i.apply(this,arguments)},a)},count:function(n){var i=0;return Gre(n,function(){i++}),i},toArray:function(n){return Gre(n,function(i){return i})||[]},only:function(n){if(!pLe(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};Rs.Component=R5;Rs.Fragment=Q3n;Rs.Profiler=tCn;Rs.PureComponent=dLe;Rs.StrictMode=eCn;Rs.Suspense=oCn;Rs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fCn;Rs.act=z$t;Rs.cloneElement=function(n,i,a){if(n==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+n+".");var c=j$t({},n.props),d=n.key,g=n.ref,b=n._owner;if(i!=null){if(i.ref!==void 0&&(g=i.ref,b=hLe.current),i.key!==void 0&&(d=""+i.key),n.type&&n.type.defaultProps)var w=n.type.defaultProps;for(E in i)B$t.call(i,E)&&!U$t.hasOwnProperty(E)&&(c[E]=i[E]===void 0&&w!==void 0?w[E]:i[E])}var E=arguments.length-2;if(E===1)c.children=a;else if(1<E){w=Array(E);for(var S=0;S<E;S++)w[S]=arguments[S+2];c.children=w}return{$$typeof:dz,type:n.type,key:d,ref:g,props:c,_owner:b}};Rs.createContext=function(n){return n={$$typeof:rCn,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:nCn,_context:n},n.Consumer=n};Rs.createElement=H$t;Rs.createFactory=function(n){var i=H$t.bind(null,n);return i.type=n,i};Rs.createRef=function(){return{current:null}};Rs.forwardRef=function(n){return{$$typeof:iCn,render:n}};Rs.isValidElement=pLe;Rs.lazy=function(n){return{$$typeof:aCn,_payload:{_status:-1,_result:n},_init:dCn}};Rs.memo=function(n,i){return{$$typeof:sCn,type:n,compare:i===void 0?null:i}};Rs.startTransition=function(n){var i=Pie.transition;Pie.transition={};try{n()}finally{Pie.transition=i}};Rs.unstable_act=z$t;Rs.useCallback=function(n,i){return qg.current.useCallback(n,i)};Rs.useContext=function(n){return qg.current.useContext(n)};Rs.useDebugValue=function(){};Rs.useDeferredValue=function(n){return qg.current.useDeferredValue(n)};Rs.useEffect=function(n,i){return qg.current.useEffect(n,i)};Rs.useId=function(){return qg.current.useId()};Rs.useImperativeHandle=function(n,i,a){return qg.current.useImperativeHandle(n,i,a)};Rs.useInsertionEffect=function(n,i){return qg.current.useInsertionEffect(n,i)};Rs.useLayoutEffect=function(n,i){return qg.current.useLayoutEffect(n,i)};Rs.useMemo=function(n,i){return qg.current.useMemo(n,i)};Rs.useReducer=function(n,i,a){return qg.current.useReducer(n,i,a)};Rs.useRef=function(n){return qg.current.useRef(n)};Rs.useState=function(n){return qg.current.useState(n)};Rs.useSyncExternalStore=function(n,i,a){return qg.current.useSyncExternalStore(n,i,a)};Rs.useTransition=function(){return qg.current.useTransition()};Rs.version="18.3.1";M$t.exports=Rs;var z=M$t.exports;const Hn=vR(z),gLe=X3n({__proto__:null,default:Hn},[z]);/**
|
||
* @license React
|
||
* react-jsx-runtime.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var hCn=z,pCn=Symbol.for("react.element"),gCn=Symbol.for("react.fragment"),bCn=Object.prototype.hasOwnProperty,mCn=hCn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,wCn={key:!0,ref:!0,__self:!0,__source:!0};function G$t(n,i,a){var c,d={},g=null,b=null;a!==void 0&&(g=""+a),i.key!==void 0&&(g=""+i.key),i.ref!==void 0&&(b=i.ref);for(c in i)bCn.call(i,c)&&!wCn.hasOwnProperty(c)&&(d[c]=i[c]);if(n&&n.defaultProps)for(c in i=n.defaultProps,i)d[c]===void 0&&(d[c]=i[c]);return{$$typeof:pCn,type:n,key:g,ref:b,props:d,_owner:mCn.current}}Tse.Fragment=gCn;Tse.jsx=G$t;Tse.jsxs=G$t;L$t.exports=Tse;var O=L$t.exports,uoe={},q$t={exports:{}},Hm={},V$t={exports:{}},W$t={};/**
|
||
* @license React
|
||
* scheduler.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/(function(n){function i(Te,ke){var Je=Te.length;Te.push(ke);e:for(;0<Je;){var bt=Je-1>>>1,qe=Te[bt];if(0<d(qe,ke))Te[bt]=ke,Te[Je]=qe,Je=bt;else break e}}function a(Te){return Te.length===0?null:Te[0]}function c(Te){if(Te.length===0)return null;var ke=Te[0],Je=Te.pop();if(Je!==ke){Te[0]=Je;e:for(var bt=0,qe=Te.length,_t=qe>>>1;bt<_t;){var At=2*(bt+1)-1,ft=Te[At],Kt=At+1,kt=Te[Kt];if(0>d(ft,Je))Kt<qe&&0>d(kt,ft)?(Te[bt]=kt,Te[Kt]=Je,bt=Kt):(Te[bt]=ft,Te[At]=Je,bt=At);else if(Kt<qe&&0>d(kt,Je))Te[bt]=kt,Te[Kt]=Je,bt=Kt;else break e}}return ke}function d(Te,ke){var Je=Te.sortIndex-ke.sortIndex;return Je!==0?Je:Te.id-ke.id}if(typeof performance=="object"&&typeof performance.now=="function"){var g=performance;n.unstable_now=function(){return g.now()}}else{var b=Date,w=b.now();n.unstable_now=function(){return b.now()-w}}var E=[],S=[],k=1,_=null,C=3,R=!1,M=!1,D=!1,B=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function P(Te){for(var ke=a(S);ke!==null;){if(ke.callback===null)c(S);else if(ke.startTime<=Te)c(S),ke.sortIndex=ke.expirationTime,i(E,ke);else break;ke=a(S)}}function H(Te){if(D=!1,P(Te),!M)if(a(E)!==null)M=!0,Se(Q);else{var ke=a(S);ke!==null&&$e(H,ke.startTime-Te)}}function Q(Te,ke){M=!1,D&&(D=!1,F(ae),ae=-1),R=!0;var Je=C;try{for(P(ke),_=a(E);_!==null&&(!(_.expirationTime>ke)||Te&&!de());){var bt=_.callback;if(typeof bt=="function"){_.callback=null,C=_.priorityLevel;var qe=bt(_.expirationTime<=ke);ke=n.unstable_now(),typeof qe=="function"?_.callback=qe:_===a(E)&&c(E),P(ke)}else c(E);_=a(E)}if(_!==null)var _t=!0;else{var At=a(S);At!==null&&$e(H,At.startTime-ke),_t=!1}return _t}finally{_=null,C=Je,R=!1}}var re=!1,ee=null,ae=-1,he=5,ve=-1;function de(){return!(n.unstable_now()-ve<he)}function ge(){if(ee!==null){var Te=n.unstable_now();ve=Te;var ke=!0;try{ke=ee(!0,Te)}finally{ke?Y():(re=!1,ee=null)}}else re=!1}var Y;if(typeof $=="function")Y=function(){$(ge)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,De=fe.port2;fe.port1.onmessage=ge,Y=function(){De.postMessage(null)}}else Y=function(){B(ge,0)};function Se(Te){ee=Te,re||(re=!0,Y())}function $e(Te,ke){ae=B(function(){Te(n.unstable_now())},ke)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Te){Te.callback=null},n.unstable_continueExecution=function(){M||R||(M=!0,Se(Q))},n.unstable_forceFrameRate=function(Te){0>Te||125<Te?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<Te?Math.floor(1e3/Te):5},n.unstable_getCurrentPriorityLevel=function(){return C},n.unstable_getFirstCallbackNode=function(){return a(E)},n.unstable_next=function(Te){switch(C){case 1:case 2:case 3:var ke=3;break;default:ke=C}var Je=C;C=ke;try{return Te()}finally{C=Je}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(Te,ke){switch(Te){case 1:case 2:case 3:case 4:case 5:break;default:Te=3}var Je=C;C=Te;try{return ke()}finally{C=Je}},n.unstable_scheduleCallback=function(Te,ke,Je){var bt=n.unstable_now();switch(typeof Je=="object"&&Je!==null?(Je=Je.delay,Je=typeof Je=="number"&&0<Je?bt+Je:bt):Je=bt,Te){case 1:var qe=-1;break;case 2:qe=250;break;case 5:qe=1073741823;break;case 4:qe=1e4;break;default:qe=5e3}return qe=Je+qe,Te={id:k++,callback:ke,priorityLevel:Te,startTime:Je,expirationTime:qe,sortIndex:-1},Je>bt?(Te.sortIndex=Je,i(S,Te),a(E)===null&&Te===a(S)&&(D?(F(ae),ae=-1):D=!0,$e(H,Je-bt))):(Te.sortIndex=qe,i(E,Te),M||R||(M=!0,Se(Q))),Te},n.unstable_shouldYield=de,n.unstable_wrapCallback=function(Te){var ke=C;return function(){var Je=C;C=ke;try{return Te.apply(this,arguments)}finally{C=Je}}}})(W$t);V$t.exports=W$t;var yCn=V$t.exports;/**
|
||
* @license React
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var vCn=z,Bm=yCn;function ir(n){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+n,a=1;a<arguments.length;a++)i+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var K$t=new Set,AH={};function ER(n,i){c5(n,i),c5(n+"Capture",i)}function c5(n,i){for(AH[n]=i,n=0;n<i.length;n++)K$t.add(i[n])}var hA=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),JOe=Object.prototype.hasOwnProperty,ECn=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,FLt={},$Lt={};function SCn(n){return JOe.call($Lt,n)?!0:JOe.call(FLt,n)?!1:ECn.test(n)?$Lt[n]=!0:(FLt[n]=!0,!1)}function TCn(n,i,a,c){if(a!==null&&a.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return c?!1:a!==null?!a.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function ACn(n,i,a,c){if(i===null||typeof i>"u"||TCn(n,i,a,c))return!0;if(c)return!1;if(a!==null)switch(a.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function Vg(n,i,a,c,d,g,b){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=c,this.attributeNamespace=d,this.mustUseProperty=a,this.propertyName=n,this.type=i,this.sanitizeURL=g,this.removeEmptyString=b}var $h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){$h[n]=new Vg(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var i=n[0];$h[i]=new Vg(i,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){$h[n]=new Vg(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){$h[n]=new Vg(n,2,!1,n,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){$h[n]=new Vg(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){$h[n]=new Vg(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){$h[n]=new Vg(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){$h[n]=new Vg(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){$h[n]=new Vg(n,5,!1,n.toLowerCase(),null,!1,!1)});var bLe=/[\-:]([a-z])/g;function mLe(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var i=n.replace(bLe,mLe);$h[i]=new Vg(i,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var i=n.replace(bLe,mLe);$h[i]=new Vg(i,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var i=n.replace(bLe,mLe);$h[i]=new Vg(i,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){$h[n]=new Vg(n,1,!1,n.toLowerCase(),null,!1,!1)});$h.xlinkHref=new Vg("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){$h[n]=new Vg(n,1,!1,n.toLowerCase(),null,!0,!0)});function wLe(n,i,a,c){var d=$h.hasOwnProperty(i)?$h[i]:null;(d!==null?d.type!==0:c||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(ACn(i,a,d,c)&&(a=null),c||d===null?SCn(i)&&(a===null?n.removeAttribute(i):n.setAttribute(i,""+a)):d.mustUseProperty?n[d.propertyName]=a===null?d.type===3?!1:"":a:(i=d.attributeName,c=d.attributeNamespace,a===null?n.removeAttribute(i):(d=d.type,a=d===3||d===4&&a===!0?"":""+a,c?n.setAttributeNS(c,i,a):n.setAttribute(i,a))))}var SA=vCn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,qre=Symbol.for("react.element"),NM=Symbol.for("react.portal"),CM=Symbol.for("react.fragment"),yLe=Symbol.for("react.strict_mode"),XOe=Symbol.for("react.profiler"),Y$t=Symbol.for("react.provider"),J$t=Symbol.for("react.context"),vLe=Symbol.for("react.forward_ref"),ZOe=Symbol.for("react.suspense"),QOe=Symbol.for("react.suspense_list"),ELe=Symbol.for("react.memo"),Mx=Symbol.for("react.lazy"),X$t=Symbol.for("react.offscreen"),BLt=Symbol.iterator;function xU(n){return n===null||typeof n!="object"?null:(n=BLt&&n[BLt]||n["@@iterator"],typeof n=="function"?n:null)}var fl=Object.assign,X3e;function GU(n){if(X3e===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);X3e=i&&i[1]||""}return`
|
||
`+X3e+n}var Z3e=!1;function Q3e(n,i){if(!n||Z3e)return"";Z3e=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(S){var c=S}Reflect.construct(n,[],i)}else{try{i.call()}catch(S){c=S}n.call(i.prototype)}else{try{throw Error()}catch(S){c=S}n()}}catch(S){if(S&&c&&typeof S.stack=="string"){for(var d=S.stack.split(`
|
||
`),g=c.stack.split(`
|
||
`),b=d.length-1,w=g.length-1;1<=b&&0<=w&&d[b]!==g[w];)w--;for(;1<=b&&0<=w;b--,w--)if(d[b]!==g[w]){if(b!==1||w!==1)do if(b--,w--,0>w||d[b]!==g[w]){var E=`
|
||
`+d[b].replace(" at new "," at ");return n.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",n.displayName)),E}while(1<=b&&0<=w);break}}}finally{Z3e=!1,Error.prepareStackTrace=a}return(n=n?n.displayName||n.name:"")?GU(n):""}function _Cn(n){switch(n.tag){case 5:return GU(n.type);case 16:return GU("Lazy");case 13:return GU("Suspense");case 19:return GU("SuspenseList");case 0:case 2:case 15:return n=Q3e(n.type,!1),n;case 11:return n=Q3e(n.type.render,!1),n;case 1:return n=Q3e(n.type,!0),n;default:return""}}function e6e(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case CM:return"Fragment";case NM:return"Portal";case XOe:return"Profiler";case yLe:return"StrictMode";case ZOe:return"Suspense";case QOe:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case J$t:return(n.displayName||"Context")+".Consumer";case Y$t:return(n._context.displayName||"Context")+".Provider";case vLe:var i=n.render;return n=n.displayName,n||(n=i.displayName||i.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ELe:return i=n.displayName||null,i!==null?i:e6e(n.type)||"Memo";case Mx:i=n._payload,n=n._init;try{return e6e(n(i))}catch{}}return null}function kCn(n){var i=n.type;switch(n.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=i.render,n=n.displayName||n.name||"",i.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return e6e(i);case 8:return i===yLe?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function tN(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Z$t(n){var i=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function xCn(n){var i=Z$t(n)?"checked":"value",a=Object.getOwnPropertyDescriptor(n.constructor.prototype,i),c=""+n[i];if(!n.hasOwnProperty(i)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var d=a.get,g=a.set;return Object.defineProperty(n,i,{configurable:!0,get:function(){return d.call(this)},set:function(b){c=""+b,g.call(this,b)}}),Object.defineProperty(n,i,{enumerable:a.enumerable}),{getValue:function(){return c},setValue:function(b){c=""+b},stopTracking:function(){n._valueTracker=null,delete n[i]}}}}function Vre(n){n._valueTracker||(n._valueTracker=xCn(n))}function Q$t(n){if(!n)return!1;var i=n._valueTracker;if(!i)return!0;var a=i.getValue(),c="";return n&&(c=Z$t(n)?n.checked?"true":"false":n.value),n=c,n!==a?(i.setValue(n),!0):!1}function coe(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function t6e(n,i){var a=i.checked;return fl({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked})}function ULt(n,i){var a=i.defaultValue==null?"":i.defaultValue,c=i.checked!=null?i.checked:i.defaultChecked;a=tN(i.value!=null?i.value:a),n._wrapperState={initialChecked:c,initialValue:a,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function eBt(n,i){i=i.checked,i!=null&&wLe(n,"checked",i,!1)}function n6e(n,i){eBt(n,i);var a=tN(i.value),c=i.type;if(a!=null)c==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+a):n.value!==""+a&&(n.value=""+a);else if(c==="submit"||c==="reset"){n.removeAttribute("value");return}i.hasOwnProperty("value")?r6e(n,i.type,a):i.hasOwnProperty("defaultValue")&&r6e(n,i.type,tN(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(n.defaultChecked=!!i.defaultChecked)}function HLt(n,i,a){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var c=i.type;if(!(c!=="submit"&&c!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+n._wrapperState.initialValue,a||i===n.value||(n.value=i),n.defaultValue=i}a=n.name,a!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,a!==""&&(n.name=a)}function r6e(n,i,a){(i!=="number"||coe(n.ownerDocument)!==n)&&(a==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+a&&(n.defaultValue=""+a))}var qU=Array.isArray;function WM(n,i,a,c){if(n=n.options,i){i={};for(var d=0;d<a.length;d++)i["$"+a[d]]=!0;for(a=0;a<n.length;a++)d=i.hasOwnProperty("$"+n[a].value),n[a].selected!==d&&(n[a].selected=d),d&&c&&(n[a].defaultSelected=!0)}else{for(a=""+tN(a),i=null,d=0;d<n.length;d++){if(n[d].value===a){n[d].selected=!0,c&&(n[d].defaultSelected=!0);return}i!==null||n[d].disabled||(i=n[d])}i!==null&&(i.selected=!0)}}function i6e(n,i){if(i.dangerouslySetInnerHTML!=null)throw Error(ir(91));return fl({},i,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function zLt(n,i){var a=i.value;if(a==null){if(a=i.children,i=i.defaultValue,a!=null){if(i!=null)throw Error(ir(92));if(qU(a)){if(1<a.length)throw Error(ir(93));a=a[0]}i=a}i==null&&(i=""),a=i}n._wrapperState={initialValue:tN(a)}}function tBt(n,i){var a=tN(i.value),c=tN(i.defaultValue);a!=null&&(a=""+a,a!==n.value&&(n.value=a),i.defaultValue==null&&n.defaultValue!==a&&(n.defaultValue=a)),c!=null&&(n.defaultValue=""+c)}function GLt(n){var i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function nBt(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function o6e(n,i){return n==null||n==="http://www.w3.org/1999/xhtml"?nBt(i):n==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Wre,rBt=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,a,c,d){MSApp.execUnsafeLocalFunction(function(){return n(i,a,c,d)})}:n}(function(n,i){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=i;else{for(Wre=Wre||document.createElement("div"),Wre.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=Wre.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;i.firstChild;)n.appendChild(i.firstChild)}});function _H(n,i){if(i){var a=n.firstChild;if(a&&a===n.lastChild&&a.nodeType===3){a.nodeValue=i;return}}n.textContent=i}var oH={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},NCn=["Webkit","ms","Moz","O"];Object.keys(oH).forEach(function(n){NCn.forEach(function(i){i=i+n.charAt(0).toUpperCase()+n.substring(1),oH[i]=oH[n]})});function iBt(n,i,a){return i==null||typeof i=="boolean"||i===""?"":a||typeof i!="number"||i===0||oH.hasOwnProperty(n)&&oH[n]?(""+i).trim():i+"px"}function oBt(n,i){n=n.style;for(var a in i)if(i.hasOwnProperty(a)){var c=a.indexOf("--")===0,d=iBt(a,i[a],c);a==="float"&&(a="cssFloat"),c?n.setProperty(a,d):n[a]=d}}var CCn=fl({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function s6e(n,i){if(i){if(CCn[n]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(ir(137,n));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(ir(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(ir(61))}if(i.style!=null&&typeof i.style!="object")throw Error(ir(62))}}function a6e(n,i){if(n.indexOf("-")===-1)return typeof i.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var u6e=null;function SLe(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var c6e=null,KM=null,YM=null;function qLt(n){if(n=pz(n)){if(typeof c6e!="function")throw Error(ir(280));var i=n.stateNode;i&&(i=Nse(i),c6e(n.stateNode,n.type,i))}}function sBt(n){KM?YM?YM.push(n):YM=[n]:KM=n}function aBt(){if(KM){var n=KM,i=YM;if(YM=KM=null,qLt(n),i)for(n=0;n<i.length;n++)qLt(i[n])}}function uBt(n,i){return n(i)}function cBt(){}var eCe=!1;function lBt(n,i,a){if(eCe)return n(i,a);eCe=!0;try{return uBt(n,i,a)}finally{eCe=!1,(KM!==null||YM!==null)&&(cBt(),aBt())}}function kH(n,i){var a=n.stateNode;if(a===null)return null;var c=Nse(a);if(c===null)return null;a=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(a&&typeof a!="function")throw Error(ir(231,i,typeof a));return a}var l6e=!1;if(hA)try{var NU={};Object.defineProperty(NU,"passive",{get:function(){l6e=!0}}),window.addEventListener("test",NU,NU),window.removeEventListener("test",NU,NU)}catch{l6e=!1}function ICn(n,i,a,c,d,g,b,w,E){var S=Array.prototype.slice.call(arguments,3);try{i.apply(a,S)}catch(k){this.onError(k)}}var sH=!1,loe=null,doe=!1,d6e=null,RCn={onError:function(n){sH=!0,loe=n}};function OCn(n,i,a,c,d,g,b,w,E){sH=!1,loe=null,ICn.apply(RCn,arguments)}function DCn(n,i,a,c,d,g,b,w,E){if(OCn.apply(this,arguments),sH){if(sH){var S=loe;sH=!1,loe=null}else throw Error(ir(198));doe||(doe=!0,d6e=S)}}function SR(n){var i=n,a=n;if(n.alternate)for(;i.return;)i=i.return;else{n=i;do i=n,i.flags&4098&&(a=i.return),n=i.return;while(n)}return i.tag===3?a:null}function dBt(n){if(n.tag===13){var i=n.memoizedState;if(i===null&&(n=n.alternate,n!==null&&(i=n.memoizedState)),i!==null)return i.dehydrated}return null}function VLt(n){if(SR(n)!==n)throw Error(ir(188))}function LCn(n){var i=n.alternate;if(!i){if(i=SR(n),i===null)throw Error(ir(188));return i!==n?null:n}for(var a=n,c=i;;){var d=a.return;if(d===null)break;var g=d.alternate;if(g===null){if(c=d.return,c!==null){a=c;continue}break}if(d.child===g.child){for(g=d.child;g;){if(g===a)return VLt(d),n;if(g===c)return VLt(d),i;g=g.sibling}throw Error(ir(188))}if(a.return!==c.return)a=d,c=g;else{for(var b=!1,w=d.child;w;){if(w===a){b=!0,a=d,c=g;break}if(w===c){b=!0,c=d,a=g;break}w=w.sibling}if(!b){for(w=g.child;w;){if(w===a){b=!0,a=g,c=d;break}if(w===c){b=!0,c=g,a=d;break}w=w.sibling}if(!b)throw Error(ir(189))}}if(a.alternate!==c)throw Error(ir(190))}if(a.tag!==3)throw Error(ir(188));return a.stateNode.current===a?n:i}function fBt(n){return n=LCn(n),n!==null?hBt(n):null}function hBt(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var i=hBt(n);if(i!==null)return i;n=n.sibling}return null}var pBt=Bm.unstable_scheduleCallback,WLt=Bm.unstable_cancelCallback,MCn=Bm.unstable_shouldYield,PCn=Bm.unstable_requestPaint,pd=Bm.unstable_now,jCn=Bm.unstable_getCurrentPriorityLevel,TLe=Bm.unstable_ImmediatePriority,gBt=Bm.unstable_UserBlockingPriority,foe=Bm.unstable_NormalPriority,FCn=Bm.unstable_LowPriority,bBt=Bm.unstable_IdlePriority,Ase=null,P2=null;function $Cn(n){if(P2&&typeof P2.onCommitFiberRoot=="function")try{P2.onCommitFiberRoot(Ase,n,void 0,(n.current.flags&128)===128)}catch{}}var Ov=Math.clz32?Math.clz32:HCn,BCn=Math.log,UCn=Math.LN2;function HCn(n){return n>>>=0,n===0?32:31-(BCn(n)/UCn|0)|0}var Kre=64,Yre=4194304;function VU(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function hoe(n,i){var a=n.pendingLanes;if(a===0)return 0;var c=0,d=n.suspendedLanes,g=n.pingedLanes,b=a&268435455;if(b!==0){var w=b&~d;w!==0?c=VU(w):(g&=b,g!==0&&(c=VU(g)))}else b=a&~d,b!==0?c=VU(b):g!==0&&(c=VU(g));if(c===0)return 0;if(i!==0&&i!==c&&!(i&d)&&(d=c&-c,g=i&-i,d>=g||d===16&&(g&4194240)!==0))return i;if(c&4&&(c|=a&16),i=n.entangledLanes,i!==0)for(n=n.entanglements,i&=c;0<i;)a=31-Ov(i),d=1<<a,c|=n[a],i&=~d;return c}function zCn(n,i){switch(n){case 1:case 2:case 4:return i+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function GCn(n,i){for(var a=n.suspendedLanes,c=n.pingedLanes,d=n.expirationTimes,g=n.pendingLanes;0<g;){var b=31-Ov(g),w=1<<b,E=d[b];E===-1?(!(w&a)||w&c)&&(d[b]=zCn(w,i)):E<=i&&(n.expiredLanes|=w),g&=~w}}function f6e(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function mBt(){var n=Kre;return Kre<<=1,!(Kre&4194240)&&(Kre=64),n}function tCe(n){for(var i=[],a=0;31>a;a++)i.push(n);return i}function fz(n,i,a){n.pendingLanes|=i,i!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,i=31-Ov(i),n[i]=a}function qCn(n,i){var a=n.pendingLanes&~i;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=i,n.mutableReadLanes&=i,n.entangledLanes&=i,i=n.entanglements;var c=n.eventTimes;for(n=n.expirationTimes;0<a;){var d=31-Ov(a),g=1<<d;i[d]=0,c[d]=-1,n[d]=-1,a&=~g}}function ALe(n,i){var a=n.entangledLanes|=i;for(n=n.entanglements;a;){var c=31-Ov(a),d=1<<c;d&i|n[c]&i&&(n[c]|=i),a&=~d}}var cu=0;function wBt(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var yBt,_Le,vBt,EBt,SBt,h6e=!1,Jre=[],Gx=null,qx=null,Vx=null,xH=new Map,NH=new Map,jx=[],VCn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function KLt(n,i){switch(n){case"focusin":case"focusout":Gx=null;break;case"dragenter":case"dragleave":qx=null;break;case"mouseover":case"mouseout":Vx=null;break;case"pointerover":case"pointerout":xH.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":NH.delete(i.pointerId)}}function CU(n,i,a,c,d,g){return n===null||n.nativeEvent!==g?(n={blockedOn:i,domEventName:a,eventSystemFlags:c,nativeEvent:g,targetContainers:[d]},i!==null&&(i=pz(i),i!==null&&_Le(i)),n):(n.eventSystemFlags|=c,i=n.targetContainers,d!==null&&i.indexOf(d)===-1&&i.push(d),n)}function WCn(n,i,a,c,d){switch(i){case"focusin":return Gx=CU(Gx,n,i,a,c,d),!0;case"dragenter":return qx=CU(qx,n,i,a,c,d),!0;case"mouseover":return Vx=CU(Vx,n,i,a,c,d),!0;case"pointerover":var g=d.pointerId;return xH.set(g,CU(xH.get(g)||null,n,i,a,c,d)),!0;case"gotpointercapture":return g=d.pointerId,NH.set(g,CU(NH.get(g)||null,n,i,a,c,d)),!0}return!1}function TBt(n){var i=V4(n.target);if(i!==null){var a=SR(i);if(a!==null){if(i=a.tag,i===13){if(i=dBt(a),i!==null){n.blockedOn=i,SBt(n.priority,function(){vBt(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){n.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}n.blockedOn=null}function jie(n){if(n.blockedOn!==null)return!1;for(var i=n.targetContainers;0<i.length;){var a=p6e(n.domEventName,n.eventSystemFlags,i[0],n.nativeEvent);if(a===null){a=n.nativeEvent;var c=new a.constructor(a.type,a);u6e=c,a.target.dispatchEvent(c),u6e=null}else return i=pz(a),i!==null&&_Le(i),n.blockedOn=a,!1;i.shift()}return!0}function YLt(n,i,a){jie(n)&&a.delete(i)}function KCn(){h6e=!1,Gx!==null&&jie(Gx)&&(Gx=null),qx!==null&&jie(qx)&&(qx=null),Vx!==null&&jie(Vx)&&(Vx=null),xH.forEach(YLt),NH.forEach(YLt)}function IU(n,i){n.blockedOn===i&&(n.blockedOn=null,h6e||(h6e=!0,Bm.unstable_scheduleCallback(Bm.unstable_NormalPriority,KCn)))}function CH(n){function i(d){return IU(d,n)}if(0<Jre.length){IU(Jre[0],n);for(var a=1;a<Jre.length;a++){var c=Jre[a];c.blockedOn===n&&(c.blockedOn=null)}}for(Gx!==null&&IU(Gx,n),qx!==null&&IU(qx,n),Vx!==null&&IU(Vx,n),xH.forEach(i),NH.forEach(i),a=0;a<jx.length;a++)c=jx[a],c.blockedOn===n&&(c.blockedOn=null);for(;0<jx.length&&(a=jx[0],a.blockedOn===null);)TBt(a),a.blockedOn===null&&jx.shift()}var JM=SA.ReactCurrentBatchConfig,poe=!0;function YCn(n,i,a,c){var d=cu,g=JM.transition;JM.transition=null;try{cu=1,kLe(n,i,a,c)}finally{cu=d,JM.transition=g}}function JCn(n,i,a,c){var d=cu,g=JM.transition;JM.transition=null;try{cu=4,kLe(n,i,a,c)}finally{cu=d,JM.transition=g}}function kLe(n,i,a,c){if(poe){var d=p6e(n,i,a,c);if(d===null)dCe(n,i,c,goe,a),KLt(n,c);else if(WCn(d,n,i,a,c))c.stopPropagation();else if(KLt(n,c),i&4&&-1<VCn.indexOf(n)){for(;d!==null;){var g=pz(d);if(g!==null&&yBt(g),g=p6e(n,i,a,c),g===null&&dCe(n,i,c,goe,a),g===d)break;d=g}d!==null&&c.stopPropagation()}else dCe(n,i,c,null,a)}}var goe=null;function p6e(n,i,a,c){if(goe=null,n=SLe(c),n=V4(n),n!==null)if(i=SR(n),i===null)n=null;else if(a=i.tag,a===13){if(n=dBt(i),n!==null)return n;n=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null);return goe=n,null}function ABt(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(jCn()){case TLe:return 1;case gBt:return 4;case foe:case FCn:return 16;case bBt:return 536870912;default:return 16}default:return 16}}var Ux=null,xLe=null,Fie=null;function _Bt(){if(Fie)return Fie;var n,i=xLe,a=i.length,c,d="value"in Ux?Ux.value:Ux.textContent,g=d.length;for(n=0;n<a&&i[n]===d[n];n++);var b=a-n;for(c=1;c<=b&&i[a-c]===d[g-c];c++);return Fie=d.slice(n,1<c?1-c:void 0)}function $ie(n){var i=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&i===13&&(n=13)):n=i,n===10&&(n=13),32<=n||n===13?n:0}function Xre(){return!0}function JLt(){return!1}function zm(n){function i(a,c,d,g,b){this._reactName=a,this._targetInst=d,this.type=c,this.nativeEvent=g,this.target=b,this.currentTarget=null;for(var w in n)n.hasOwnProperty(w)&&(a=n[w],this[w]=a?a(g):g[w]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Xre:JLt,this.isPropagationStopped=JLt,this}return fl(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Xre)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Xre)},persist:function(){},isPersistent:Xre}),i}var O5={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},NLe=zm(O5),hz=fl({},O5,{view:0,detail:0}),XCn=zm(hz),nCe,rCe,RU,_se=fl({},hz,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:CLe,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==RU&&(RU&&n.type==="mousemove"?(nCe=n.screenX-RU.screenX,rCe=n.screenY-RU.screenY):rCe=nCe=0,RU=n),nCe)},movementY:function(n){return"movementY"in n?n.movementY:rCe}}),XLt=zm(_se),ZCn=fl({},_se,{dataTransfer:0}),QCn=zm(ZCn),eIn=fl({},hz,{relatedTarget:0}),iCe=zm(eIn),tIn=fl({},O5,{animationName:0,elapsedTime:0,pseudoElement:0}),nIn=zm(tIn),rIn=fl({},O5,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),iIn=zm(rIn),oIn=fl({},O5,{data:0}),ZLt=zm(oIn),sIn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},aIn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},uIn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cIn(n){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(n):(n=uIn[n])?!!i[n]:!1}function CLe(){return cIn}var lIn=fl({},hz,{key:function(n){if(n.key){var i=sIn[n.key]||n.key;if(i!=="Unidentified")return i}return n.type==="keypress"?(n=$ie(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?aIn[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:CLe,charCode:function(n){return n.type==="keypress"?$ie(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?$ie(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),dIn=zm(lIn),fIn=fl({},_se,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),QLt=zm(fIn),hIn=fl({},hz,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:CLe}),pIn=zm(hIn),gIn=fl({},O5,{propertyName:0,elapsedTime:0,pseudoElement:0}),bIn=zm(gIn),mIn=fl({},_se,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),wIn=zm(mIn),yIn=[9,13,27,32],ILe=hA&&"CompositionEvent"in window,aH=null;hA&&"documentMode"in document&&(aH=document.documentMode);var vIn=hA&&"TextEvent"in window&&!aH,kBt=hA&&(!ILe||aH&&8<aH&&11>=aH),eMt=" ",tMt=!1;function xBt(n,i){switch(n){case"keyup":return yIn.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function NBt(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var IM=!1;function EIn(n,i){switch(n){case"compositionend":return NBt(i);case"keypress":return i.which!==32?null:(tMt=!0,eMt);case"textInput":return n=i.data,n===eMt&&tMt?null:n;default:return null}}function SIn(n,i){if(IM)return n==="compositionend"||!ILe&&xBt(n,i)?(n=_Bt(),Fie=xLe=Ux=null,IM=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return kBt&&i.locale!=="ko"?null:i.data;default:return null}}var TIn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nMt(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i==="input"?!!TIn[n.type]:i==="textarea"}function CBt(n,i,a,c){sBt(c),i=boe(i,"onChange"),0<i.length&&(a=new NLe("onChange","change",null,a,c),n.push({event:a,listeners:i}))}var uH=null,IH=null;function AIn(n){BBt(n,0)}function kse(n){var i=DM(n);if(Q$t(i))return n}function _In(n,i){if(n==="change")return i}var IBt=!1;if(hA){var oCe;if(hA){var sCe="oninput"in document;if(!sCe){var rMt=document.createElement("div");rMt.setAttribute("oninput","return;"),sCe=typeof rMt.oninput=="function"}oCe=sCe}else oCe=!1;IBt=oCe&&(!document.documentMode||9<document.documentMode)}function iMt(){uH&&(uH.detachEvent("onpropertychange",RBt),IH=uH=null)}function RBt(n){if(n.propertyName==="value"&&kse(IH)){var i=[];CBt(i,IH,n,SLe(n)),lBt(AIn,i)}}function kIn(n,i,a){n==="focusin"?(iMt(),uH=i,IH=a,uH.attachEvent("onpropertychange",RBt)):n==="focusout"&&iMt()}function xIn(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return kse(IH)}function NIn(n,i){if(n==="click")return kse(i)}function CIn(n,i){if(n==="input"||n==="change")return kse(i)}function IIn(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var Mv=typeof Object.is=="function"?Object.is:IIn;function RH(n,i){if(Mv(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;var a=Object.keys(n),c=Object.keys(i);if(a.length!==c.length)return!1;for(c=0;c<a.length;c++){var d=a[c];if(!JOe.call(i,d)||!Mv(n[d],i[d]))return!1}return!0}function oMt(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function sMt(n,i){var a=oMt(n);n=0;for(var c;a;){if(a.nodeType===3){if(c=n+a.textContent.length,n<=i&&c>=i)return{node:a,offset:i-n};n=c}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=oMt(a)}}function OBt(n,i){return n&&i?n===i?!0:n&&n.nodeType===3?!1:i&&i.nodeType===3?OBt(n,i.parentNode):"contains"in n?n.contains(i):n.compareDocumentPosition?!!(n.compareDocumentPosition(i)&16):!1:!1}function DBt(){for(var n=window,i=coe();i instanceof n.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)n=i.contentWindow;else break;i=coe(n.document)}return i}function RLe(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i&&(i==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||i==="textarea"||n.contentEditable==="true")}function RIn(n){var i=DBt(),a=n.focusedElem,c=n.selectionRange;if(i!==a&&a&&a.ownerDocument&&OBt(a.ownerDocument.documentElement,a)){if(c!==null&&RLe(a)){if(i=c.start,n=c.end,n===void 0&&(n=i),"selectionStart"in a)a.selectionStart=i,a.selectionEnd=Math.min(n,a.value.length);else if(n=(i=a.ownerDocument||document)&&i.defaultView||window,n.getSelection){n=n.getSelection();var d=a.textContent.length,g=Math.min(c.start,d);c=c.end===void 0?g:Math.min(c.end,d),!n.extend&&g>c&&(d=c,c=g,g=d),d=sMt(a,g);var b=sMt(a,c);d&&b&&(n.rangeCount!==1||n.anchorNode!==d.node||n.anchorOffset!==d.offset||n.focusNode!==b.node||n.focusOffset!==b.offset)&&(i=i.createRange(),i.setStart(d.node,d.offset),n.removeAllRanges(),g>c?(n.addRange(i),n.extend(b.node,b.offset)):(i.setEnd(b.node,b.offset),n.addRange(i)))}}for(i=[],n=a;n=n.parentNode;)n.nodeType===1&&i.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<i.length;a++)n=i[a],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var OIn=hA&&"documentMode"in document&&11>=document.documentMode,RM=null,g6e=null,cH=null,b6e=!1;function aMt(n,i,a){var c=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;b6e||RM==null||RM!==coe(c)||(c=RM,"selectionStart"in c&&RLe(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),cH&&RH(cH,c)||(cH=c,c=boe(g6e,"onSelect"),0<c.length&&(i=new NLe("onSelect","select",null,i,a),n.push({event:i,listeners:c}),i.target=RM)))}function Zre(n,i){var a={};return a[n.toLowerCase()]=i.toLowerCase(),a["Webkit"+n]="webkit"+i,a["Moz"+n]="moz"+i,a}var OM={animationend:Zre("Animation","AnimationEnd"),animationiteration:Zre("Animation","AnimationIteration"),animationstart:Zre("Animation","AnimationStart"),transitionend:Zre("Transition","TransitionEnd")},aCe={},LBt={};hA&&(LBt=document.createElement("div").style,"AnimationEvent"in window||(delete OM.animationend.animation,delete OM.animationiteration.animation,delete OM.animationstart.animation),"TransitionEvent"in window||delete OM.transitionend.transition);function xse(n){if(aCe[n])return aCe[n];if(!OM[n])return n;var i=OM[n],a;for(a in i)if(i.hasOwnProperty(a)&&a in LBt)return aCe[n]=i[a];return n}var MBt=xse("animationend"),PBt=xse("animationiteration"),jBt=xse("animationstart"),FBt=xse("transitionend"),$Bt=new Map,uMt="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function pN(n,i){$Bt.set(n,i),ER(i,[n])}for(var uCe=0;uCe<uMt.length;uCe++){var cCe=uMt[uCe],DIn=cCe.toLowerCase(),LIn=cCe[0].toUpperCase()+cCe.slice(1);pN(DIn,"on"+LIn)}pN(MBt,"onAnimationEnd");pN(PBt,"onAnimationIteration");pN(jBt,"onAnimationStart");pN("dblclick","onDoubleClick");pN("focusin","onFocus");pN("focusout","onBlur");pN(FBt,"onTransitionEnd");c5("onMouseEnter",["mouseout","mouseover"]);c5("onMouseLeave",["mouseout","mouseover"]);c5("onPointerEnter",["pointerout","pointerover"]);c5("onPointerLeave",["pointerout","pointerover"]);ER("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ER("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ER("onBeforeInput",["compositionend","keypress","textInput","paste"]);ER("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ER("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ER("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var WU="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),MIn=new Set("cancel close invalid load scroll toggle".split(" ").concat(WU));function cMt(n,i,a){var c=n.type||"unknown-event";n.currentTarget=a,DCn(c,i,void 0,n),n.currentTarget=null}function BBt(n,i){i=(i&4)!==0;for(var a=0;a<n.length;a++){var c=n[a],d=c.event;c=c.listeners;e:{var g=void 0;if(i)for(var b=c.length-1;0<=b;b--){var w=c[b],E=w.instance,S=w.currentTarget;if(w=w.listener,E!==g&&d.isPropagationStopped())break e;cMt(d,w,S),g=E}else for(b=0;b<c.length;b++){if(w=c[b],E=w.instance,S=w.currentTarget,w=w.listener,E!==g&&d.isPropagationStopped())break e;cMt(d,w,S),g=E}}}if(doe)throw n=d6e,doe=!1,d6e=null,n}function cc(n,i){var a=i[E6e];a===void 0&&(a=i[E6e]=new Set);var c=n+"__bubble";a.has(c)||(UBt(i,n,2,!1),a.add(c))}function lCe(n,i,a){var c=0;i&&(c|=4),UBt(a,n,c,i)}var Qre="_reactListening"+Math.random().toString(36).slice(2);function OH(n){if(!n[Qre]){n[Qre]=!0,K$t.forEach(function(a){a!=="selectionchange"&&(MIn.has(a)||lCe(a,!1,n),lCe(a,!0,n))});var i=n.nodeType===9?n:n.ownerDocument;i===null||i[Qre]||(i[Qre]=!0,lCe("selectionchange",!1,i))}}function UBt(n,i,a,c){switch(ABt(i)){case 1:var d=YCn;break;case 4:d=JCn;break;default:d=kLe}a=d.bind(null,i,a,n),d=void 0,!l6e||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(d=!0),c?d!==void 0?n.addEventListener(i,a,{capture:!0,passive:d}):n.addEventListener(i,a,!0):d!==void 0?n.addEventListener(i,a,{passive:d}):n.addEventListener(i,a,!1)}function dCe(n,i,a,c,d){var g=c;if(!(i&1)&&!(i&2)&&c!==null)e:for(;;){if(c===null)return;var b=c.tag;if(b===3||b===4){var w=c.stateNode.containerInfo;if(w===d||w.nodeType===8&&w.parentNode===d)break;if(b===4)for(b=c.return;b!==null;){var E=b.tag;if((E===3||E===4)&&(E=b.stateNode.containerInfo,E===d||E.nodeType===8&&E.parentNode===d))return;b=b.return}for(;w!==null;){if(b=V4(w),b===null)return;if(E=b.tag,E===5||E===6){c=g=b;continue e}w=w.parentNode}}c=c.return}lBt(function(){var S=g,k=SLe(a),_=[];e:{var C=$Bt.get(n);if(C!==void 0){var R=NLe,M=n;switch(n){case"keypress":if($ie(a)===0)break e;case"keydown":case"keyup":R=dIn;break;case"focusin":M="focus",R=iCe;break;case"focusout":M="blur",R=iCe;break;case"beforeblur":case"afterblur":R=iCe;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":R=XLt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=QCn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=pIn;break;case MBt:case PBt:case jBt:R=nIn;break;case FBt:R=bIn;break;case"scroll":R=XCn;break;case"wheel":R=wIn;break;case"copy":case"cut":case"paste":R=iIn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=QLt}var D=(i&4)!==0,B=!D&&n==="scroll",F=D?C!==null?C+"Capture":null:C;D=[];for(var $=S,P;$!==null;){P=$;var H=P.stateNode;if(P.tag===5&&H!==null&&(P=H,F!==null&&(H=kH($,F),H!=null&&D.push(DH($,H,P)))),B)break;$=$.return}0<D.length&&(C=new R(C,M,null,a,k),_.push({event:C,listeners:D}))}}if(!(i&7)){e:{if(C=n==="mouseover"||n==="pointerover",R=n==="mouseout"||n==="pointerout",C&&a!==u6e&&(M=a.relatedTarget||a.fromElement)&&(V4(M)||M[pA]))break e;if((R||C)&&(C=k.window===k?k:(C=k.ownerDocument)?C.defaultView||C.parentWindow:window,R?(M=a.relatedTarget||a.toElement,R=S,M=M?V4(M):null,M!==null&&(B=SR(M),M!==B||M.tag!==5&&M.tag!==6)&&(M=null)):(R=null,M=S),R!==M)){if(D=XLt,H="onMouseLeave",F="onMouseEnter",$="mouse",(n==="pointerout"||n==="pointerover")&&(D=QLt,H="onPointerLeave",F="onPointerEnter",$="pointer"),B=R==null?C:DM(R),P=M==null?C:DM(M),C=new D(H,$+"leave",R,a,k),C.target=B,C.relatedTarget=P,H=null,V4(k)===S&&(D=new D(F,$+"enter",M,a,k),D.target=P,D.relatedTarget=B,H=D),B=H,R&&M)t:{for(D=R,F=M,$=0,P=D;P;P=hM(P))$++;for(P=0,H=F;H;H=hM(H))P++;for(;0<$-P;)D=hM(D),$--;for(;0<P-$;)F=hM(F),P--;for(;$--;){if(D===F||F!==null&&D===F.alternate)break t;D=hM(D),F=hM(F)}D=null}else D=null;R!==null&&lMt(_,C,R,D,!1),M!==null&&B!==null&&lMt(_,B,M,D,!0)}}e:{if(C=S?DM(S):window,R=C.nodeName&&C.nodeName.toLowerCase(),R==="select"||R==="input"&&C.type==="file")var Q=_In;else if(nMt(C))if(IBt)Q=CIn;else{Q=xIn;var re=kIn}else(R=C.nodeName)&&R.toLowerCase()==="input"&&(C.type==="checkbox"||C.type==="radio")&&(Q=NIn);if(Q&&(Q=Q(n,S))){CBt(_,Q,a,k);break e}re&&re(n,C,S),n==="focusout"&&(re=C._wrapperState)&&re.controlled&&C.type==="number"&&r6e(C,"number",C.value)}switch(re=S?DM(S):window,n){case"focusin":(nMt(re)||re.contentEditable==="true")&&(RM=re,g6e=S,cH=null);break;case"focusout":cH=g6e=RM=null;break;case"mousedown":b6e=!0;break;case"contextmenu":case"mouseup":case"dragend":b6e=!1,aMt(_,a,k);break;case"selectionchange":if(OIn)break;case"keydown":case"keyup":aMt(_,a,k)}var ee;if(ILe)e:{switch(n){case"compositionstart":var ae="onCompositionStart";break e;case"compositionend":ae="onCompositionEnd";break e;case"compositionupdate":ae="onCompositionUpdate";break e}ae=void 0}else IM?xBt(n,a)&&(ae="onCompositionEnd"):n==="keydown"&&a.keyCode===229&&(ae="onCompositionStart");ae&&(kBt&&a.locale!=="ko"&&(IM||ae!=="onCompositionStart"?ae==="onCompositionEnd"&&IM&&(ee=_Bt()):(Ux=k,xLe="value"in Ux?Ux.value:Ux.textContent,IM=!0)),re=boe(S,ae),0<re.length&&(ae=new ZLt(ae,n,null,a,k),_.push({event:ae,listeners:re}),ee?ae.data=ee:(ee=NBt(a),ee!==null&&(ae.data=ee)))),(ee=vIn?EIn(n,a):SIn(n,a))&&(S=boe(S,"onBeforeInput"),0<S.length&&(k=new ZLt("onBeforeInput","beforeinput",null,a,k),_.push({event:k,listeners:S}),k.data=ee))}BBt(_,i)})}function DH(n,i,a){return{instance:n,listener:i,currentTarget:a}}function boe(n,i){for(var a=i+"Capture",c=[];n!==null;){var d=n,g=d.stateNode;d.tag===5&&g!==null&&(d=g,g=kH(n,a),g!=null&&c.unshift(DH(n,g,d)),g=kH(n,i),g!=null&&c.push(DH(n,g,d))),n=n.return}return c}function hM(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function lMt(n,i,a,c,d){for(var g=i._reactName,b=[];a!==null&&a!==c;){var w=a,E=w.alternate,S=w.stateNode;if(E!==null&&E===c)break;w.tag===5&&S!==null&&(w=S,d?(E=kH(a,g),E!=null&&b.unshift(DH(a,E,w))):d||(E=kH(a,g),E!=null&&b.push(DH(a,E,w)))),a=a.return}b.length!==0&&n.push({event:i,listeners:b})}var PIn=/\r\n?/g,jIn=/\u0000|\uFFFD/g;function dMt(n){return(typeof n=="string"?n:""+n).replace(PIn,`
|
||
`).replace(jIn,"")}function eie(n,i,a){if(i=dMt(i),dMt(n)!==i&&a)throw Error(ir(425))}function moe(){}var m6e=null,w6e=null;function y6e(n,i){return n==="textarea"||n==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var v6e=typeof setTimeout=="function"?setTimeout:void 0,FIn=typeof clearTimeout=="function"?clearTimeout:void 0,fMt=typeof Promise=="function"?Promise:void 0,$In=typeof queueMicrotask=="function"?queueMicrotask:typeof fMt<"u"?function(n){return fMt.resolve(null).then(n).catch(BIn)}:v6e;function BIn(n){setTimeout(function(){throw n})}function fCe(n,i){var a=i,c=0;do{var d=a.nextSibling;if(n.removeChild(a),d&&d.nodeType===8)if(a=d.data,a==="/$"){if(c===0){n.removeChild(d),CH(i);return}c--}else a!=="$"&&a!=="$?"&&a!=="$!"||c++;a=d}while(a);CH(i)}function Wx(n){for(;n!=null;n=n.nextSibling){var i=n.nodeType;if(i===1||i===3)break;if(i===8){if(i=n.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return n}function hMt(n){n=n.previousSibling;for(var i=0;n;){if(n.nodeType===8){var a=n.data;if(a==="$"||a==="$!"||a==="$?"){if(i===0)return n;i--}else a==="/$"&&i++}n=n.previousSibling}return null}var D5=Math.random().toString(36).slice(2),R2="__reactFiber$"+D5,LH="__reactProps$"+D5,pA="__reactContainer$"+D5,E6e="__reactEvents$"+D5,UIn="__reactListeners$"+D5,HIn="__reactHandles$"+D5;function V4(n){var i=n[R2];if(i)return i;for(var a=n.parentNode;a;){if(i=a[pA]||a[R2]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(n=hMt(n);n!==null;){if(a=n[R2])return a;n=hMt(n)}return i}n=a,a=n.parentNode}return null}function pz(n){return n=n[R2]||n[pA],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function DM(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(ir(33))}function Nse(n){return n[LH]||null}var S6e=[],LM=-1;function gN(n){return{current:n}}function dc(n){0>LM||(n.current=S6e[LM],S6e[LM]=null,LM--)}function Vu(n,i){LM++,S6e[LM]=n.current,n.current=i}var nN={},Bp=gN(nN),cb=gN(!1),nR=nN;function l5(n,i){var a=n.type.contextTypes;if(!a)return nN;var c=n.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===i)return c.__reactInternalMemoizedMaskedChildContext;var d={},g;for(g in a)d[g]=i[g];return c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=i,n.__reactInternalMemoizedMaskedChildContext=d),d}function lb(n){return n=n.childContextTypes,n!=null}function woe(){dc(cb),dc(Bp)}function pMt(n,i,a){if(Bp.current!==nN)throw Error(ir(168));Vu(Bp,i),Vu(cb,a)}function HBt(n,i,a){var c=n.stateNode;if(i=i.childContextTypes,typeof c.getChildContext!="function")return a;c=c.getChildContext();for(var d in c)if(!(d in i))throw Error(ir(108,kCn(n)||"Unknown",d));return fl({},a,c)}function yoe(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||nN,nR=Bp.current,Vu(Bp,n),Vu(cb,cb.current),!0}function gMt(n,i,a){var c=n.stateNode;if(!c)throw Error(ir(169));a?(n=HBt(n,i,nR),c.__reactInternalMemoizedMergedChildContext=n,dc(cb),dc(Bp),Vu(Bp,n)):dc(cb),Vu(cb,a)}var rA=null,Cse=!1,hCe=!1;function zBt(n){rA===null?rA=[n]:rA.push(n)}function zIn(n){Cse=!0,zBt(n)}function bN(){if(!hCe&&rA!==null){hCe=!0;var n=0,i=cu;try{var a=rA;for(cu=1;n<a.length;n++){var c=a[n];do c=c(!0);while(c!==null)}rA=null,Cse=!1}catch(d){throw rA!==null&&(rA=rA.slice(n+1)),pBt(TLe,bN),d}finally{cu=i,hCe=!1}}return null}var MM=[],PM=0,voe=null,Eoe=0,gw=[],bw=0,rR=null,sA=1,aA="";function H4(n,i){MM[PM++]=Eoe,MM[PM++]=voe,voe=n,Eoe=i}function GBt(n,i,a){gw[bw++]=sA,gw[bw++]=aA,gw[bw++]=rR,rR=n;var c=sA;n=aA;var d=32-Ov(c)-1;c&=~(1<<d),a+=1;var g=32-Ov(i)+d;if(30<g){var b=d-d%5;g=(c&(1<<b)-1).toString(32),c>>=b,d-=b,sA=1<<32-Ov(i)+d|a<<d|c,aA=g+n}else sA=1<<g|a<<d|c,aA=n}function OLe(n){n.return!==null&&(H4(n,1),GBt(n,1,0))}function DLe(n){for(;n===voe;)voe=MM[--PM],MM[PM]=null,Eoe=MM[--PM],MM[PM]=null;for(;n===rR;)rR=gw[--bw],gw[bw]=null,aA=gw[--bw],gw[bw]=null,sA=gw[--bw],gw[bw]=null}var Fm=null,Pm=null,Dc=!1,Nv=null;function qBt(n,i){var a=ww(5,null,null,0);a.elementType="DELETED",a.stateNode=i,a.return=n,i=n.deletions,i===null?(n.deletions=[a],n.flags|=16):i.push(a)}function bMt(n,i){switch(n.tag){case 5:var a=n.type;return i=i.nodeType!==1||a.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(n.stateNode=i,Fm=n,Pm=Wx(i.firstChild),!0):!1;case 6:return i=n.pendingProps===""||i.nodeType!==3?null:i,i!==null?(n.stateNode=i,Fm=n,Pm=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(a=rR!==null?{id:sA,overflow:aA}:null,n.memoizedState={dehydrated:i,treeContext:a,retryLane:1073741824},a=ww(18,null,null,0),a.stateNode=i,a.return=n,n.child=a,Fm=n,Pm=null,!0):!1;default:return!1}}function T6e(n){return(n.mode&1)!==0&&(n.flags&128)===0}function A6e(n){if(Dc){var i=Pm;if(i){var a=i;if(!bMt(n,i)){if(T6e(n))throw Error(ir(418));i=Wx(a.nextSibling);var c=Fm;i&&bMt(n,i)?qBt(c,a):(n.flags=n.flags&-4097|2,Dc=!1,Fm=n)}}else{if(T6e(n))throw Error(ir(418));n.flags=n.flags&-4097|2,Dc=!1,Fm=n}}}function mMt(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Fm=n}function tie(n){if(n!==Fm)return!1;if(!Dc)return mMt(n),Dc=!0,!1;var i;if((i=n.tag!==3)&&!(i=n.tag!==5)&&(i=n.type,i=i!=="head"&&i!=="body"&&!y6e(n.type,n.memoizedProps)),i&&(i=Pm)){if(T6e(n))throw VBt(),Error(ir(418));for(;i;)qBt(n,i),i=Wx(i.nextSibling)}if(mMt(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(ir(317));e:{for(n=n.nextSibling,i=0;n;){if(n.nodeType===8){var a=n.data;if(a==="/$"){if(i===0){Pm=Wx(n.nextSibling);break e}i--}else a!=="$"&&a!=="$!"&&a!=="$?"||i++}n=n.nextSibling}Pm=null}}else Pm=Fm?Wx(n.stateNode.nextSibling):null;return!0}function VBt(){for(var n=Pm;n;)n=Wx(n.nextSibling)}function d5(){Pm=Fm=null,Dc=!1}function LLe(n){Nv===null?Nv=[n]:Nv.push(n)}var GIn=SA.ReactCurrentBatchConfig;function OU(n,i,a){if(n=a.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(ir(309));var c=a.stateNode}if(!c)throw Error(ir(147,n));var d=c,g=""+n;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===g?i.ref:(i=function(b){var w=d.refs;b===null?delete w[g]:w[g]=b},i._stringRef=g,i)}if(typeof n!="string")throw Error(ir(284));if(!a._owner)throw Error(ir(290,n))}return n}function nie(n,i){throw n=Object.prototype.toString.call(i),Error(ir(31,n==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":n))}function wMt(n){var i=n._init;return i(n._payload)}function WBt(n){function i(F,$){if(n){var P=F.deletions;P===null?(F.deletions=[$],F.flags|=16):P.push($)}}function a(F,$){if(!n)return null;for(;$!==null;)i(F,$),$=$.sibling;return null}function c(F,$){for(F=new Map;$!==null;)$.key!==null?F.set($.key,$):F.set($.index,$),$=$.sibling;return F}function d(F,$){return F=Xx(F,$),F.index=0,F.sibling=null,F}function g(F,$,P){return F.index=P,n?(P=F.alternate,P!==null?(P=P.index,P<$?(F.flags|=2,$):P):(F.flags|=2,$)):(F.flags|=1048576,$)}function b(F){return n&&F.alternate===null&&(F.flags|=2),F}function w(F,$,P,H){return $===null||$.tag!==6?($=vCe(P,F.mode,H),$.return=F,$):($=d($,P),$.return=F,$)}function E(F,$,P,H){var Q=P.type;return Q===CM?k(F,$,P.props.children,H,P.key):$!==null&&($.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===Mx&&wMt(Q)===$.type)?(H=d($,P.props),H.ref=OU(F,$,P),H.return=F,H):(H=Vie(P.type,P.key,P.props,null,F.mode,H),H.ref=OU(F,$,P),H.return=F,H)}function S(F,$,P,H){return $===null||$.tag!==4||$.stateNode.containerInfo!==P.containerInfo||$.stateNode.implementation!==P.implementation?($=ECe(P,F.mode,H),$.return=F,$):($=d($,P.children||[]),$.return=F,$)}function k(F,$,P,H,Q){return $===null||$.tag!==7?($=X4(P,F.mode,H,Q),$.return=F,$):($=d($,P),$.return=F,$)}function _(F,$,P){if(typeof $=="string"&&$!==""||typeof $=="number")return $=vCe(""+$,F.mode,P),$.return=F,$;if(typeof $=="object"&&$!==null){switch($.$$typeof){case qre:return P=Vie($.type,$.key,$.props,null,F.mode,P),P.ref=OU(F,null,$),P.return=F,P;case NM:return $=ECe($,F.mode,P),$.return=F,$;case Mx:var H=$._init;return _(F,H($._payload),P)}if(qU($)||xU($))return $=X4($,F.mode,P,null),$.return=F,$;nie(F,$)}return null}function C(F,$,P,H){var Q=$!==null?$.key:null;if(typeof P=="string"&&P!==""||typeof P=="number")return Q!==null?null:w(F,$,""+P,H);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case qre:return P.key===Q?E(F,$,P,H):null;case NM:return P.key===Q?S(F,$,P,H):null;case Mx:return Q=P._init,C(F,$,Q(P._payload),H)}if(qU(P)||xU(P))return Q!==null?null:k(F,$,P,H,null);nie(F,P)}return null}function R(F,$,P,H,Q){if(typeof H=="string"&&H!==""||typeof H=="number")return F=F.get(P)||null,w($,F,""+H,Q);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case qre:return F=F.get(H.key===null?P:H.key)||null,E($,F,H,Q);case NM:return F=F.get(H.key===null?P:H.key)||null,S($,F,H,Q);case Mx:var re=H._init;return R(F,$,P,re(H._payload),Q)}if(qU(H)||xU(H))return F=F.get(P)||null,k($,F,H,Q,null);nie($,H)}return null}function M(F,$,P,H){for(var Q=null,re=null,ee=$,ae=$=0,he=null;ee!==null&&ae<P.length;ae++){ee.index>ae?(he=ee,ee=null):he=ee.sibling;var ve=C(F,ee,P[ae],H);if(ve===null){ee===null&&(ee=he);break}n&&ee&&ve.alternate===null&&i(F,ee),$=g(ve,$,ae),re===null?Q=ve:re.sibling=ve,re=ve,ee=he}if(ae===P.length)return a(F,ee),Dc&&H4(F,ae),Q;if(ee===null){for(;ae<P.length;ae++)ee=_(F,P[ae],H),ee!==null&&($=g(ee,$,ae),re===null?Q=ee:re.sibling=ee,re=ee);return Dc&&H4(F,ae),Q}for(ee=c(F,ee);ae<P.length;ae++)he=R(ee,F,ae,P[ae],H),he!==null&&(n&&he.alternate!==null&&ee.delete(he.key===null?ae:he.key),$=g(he,$,ae),re===null?Q=he:re.sibling=he,re=he);return n&&ee.forEach(function(de){return i(F,de)}),Dc&&H4(F,ae),Q}function D(F,$,P,H){var Q=xU(P);if(typeof Q!="function")throw Error(ir(150));if(P=Q.call(P),P==null)throw Error(ir(151));for(var re=Q=null,ee=$,ae=$=0,he=null,ve=P.next();ee!==null&&!ve.done;ae++,ve=P.next()){ee.index>ae?(he=ee,ee=null):he=ee.sibling;var de=C(F,ee,ve.value,H);if(de===null){ee===null&&(ee=he);break}n&&ee&&de.alternate===null&&i(F,ee),$=g(de,$,ae),re===null?Q=de:re.sibling=de,re=de,ee=he}if(ve.done)return a(F,ee),Dc&&H4(F,ae),Q;if(ee===null){for(;!ve.done;ae++,ve=P.next())ve=_(F,ve.value,H),ve!==null&&($=g(ve,$,ae),re===null?Q=ve:re.sibling=ve,re=ve);return Dc&&H4(F,ae),Q}for(ee=c(F,ee);!ve.done;ae++,ve=P.next())ve=R(ee,F,ae,ve.value,H),ve!==null&&(n&&ve.alternate!==null&&ee.delete(ve.key===null?ae:ve.key),$=g(ve,$,ae),re===null?Q=ve:re.sibling=ve,re=ve);return n&&ee.forEach(function(ge){return i(F,ge)}),Dc&&H4(F,ae),Q}function B(F,$,P,H){if(typeof P=="object"&&P!==null&&P.type===CM&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case qre:e:{for(var Q=P.key,re=$;re!==null;){if(re.key===Q){if(Q=P.type,Q===CM){if(re.tag===7){a(F,re.sibling),$=d(re,P.props.children),$.return=F,F=$;break e}}else if(re.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===Mx&&wMt(Q)===re.type){a(F,re.sibling),$=d(re,P.props),$.ref=OU(F,re,P),$.return=F,F=$;break e}a(F,re);break}else i(F,re);re=re.sibling}P.type===CM?($=X4(P.props.children,F.mode,H,P.key),$.return=F,F=$):(H=Vie(P.type,P.key,P.props,null,F.mode,H),H.ref=OU(F,$,P),H.return=F,F=H)}return b(F);case NM:e:{for(re=P.key;$!==null;){if($.key===re)if($.tag===4&&$.stateNode.containerInfo===P.containerInfo&&$.stateNode.implementation===P.implementation){a(F,$.sibling),$=d($,P.children||[]),$.return=F,F=$;break e}else{a(F,$);break}else i(F,$);$=$.sibling}$=ECe(P,F.mode,H),$.return=F,F=$}return b(F);case Mx:return re=P._init,B(F,$,re(P._payload),H)}if(qU(P))return M(F,$,P,H);if(xU(P))return D(F,$,P,H);nie(F,P)}return typeof P=="string"&&P!==""||typeof P=="number"?(P=""+P,$!==null&&$.tag===6?(a(F,$.sibling),$=d($,P),$.return=F,F=$):(a(F,$),$=vCe(P,F.mode,H),$.return=F,F=$),b(F)):a(F,$)}return B}var f5=WBt(!0),KBt=WBt(!1),Soe=gN(null),Toe=null,jM=null,MLe=null;function PLe(){MLe=jM=Toe=null}function jLe(n){var i=Soe.current;dc(Soe),n._currentValue=i}function _6e(n,i,a){for(;n!==null;){var c=n.alternate;if((n.childLanes&i)!==i?(n.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),n===a)break;n=n.return}}function XM(n,i){Toe=n,MLe=jM=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&i&&(sb=!0),n.firstContext=null)}function Sw(n){var i=n._currentValue;if(MLe!==n)if(n={context:n,memoizedValue:i,next:null},jM===null){if(Toe===null)throw Error(ir(308));jM=n,Toe.dependencies={lanes:0,firstContext:n}}else jM=jM.next=n;return i}var W4=null;function FLe(n){W4===null?W4=[n]:W4.push(n)}function YBt(n,i,a,c){var d=i.interleaved;return d===null?(a.next=a,FLe(i)):(a.next=d.next,d.next=a),i.interleaved=a,gA(n,c)}function gA(n,i){n.lanes|=i;var a=n.alternate;for(a!==null&&(a.lanes|=i),a=n,n=n.return;n!==null;)n.childLanes|=i,a=n.alternate,a!==null&&(a.childLanes|=i),a=n,n=n.return;return a.tag===3?a.stateNode:null}var Px=!1;function $Le(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function JBt(n,i){n=n.updateQueue,i.updateQueue===n&&(i.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function dA(n,i){return{eventTime:n,lane:i,tag:0,payload:null,callback:null,next:null}}function Kx(n,i,a){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,pa&2){var d=c.pending;return d===null?i.next=i:(i.next=d.next,d.next=i),c.pending=i,gA(n,a)}return d=c.interleaved,d===null?(i.next=i,FLe(c)):(i.next=d.next,d.next=i),c.interleaved=i,gA(n,a)}function Bie(n,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194240)!==0)){var c=i.lanes;c&=n.pendingLanes,a|=c,i.lanes=a,ALe(n,a)}}function yMt(n,i){var a=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,a===c)){var d=null,g=null;if(a=a.firstBaseUpdate,a!==null){do{var b={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};g===null?d=g=b:g=g.next=b,a=a.next}while(a!==null);g===null?d=g=i:g=g.next=i}else d=g=i;a={baseState:c.baseState,firstBaseUpdate:d,lastBaseUpdate:g,shared:c.shared,effects:c.effects},n.updateQueue=a;return}n=a.lastBaseUpdate,n===null?a.firstBaseUpdate=i:n.next=i,a.lastBaseUpdate=i}function Aoe(n,i,a,c){var d=n.updateQueue;Px=!1;var g=d.firstBaseUpdate,b=d.lastBaseUpdate,w=d.shared.pending;if(w!==null){d.shared.pending=null;var E=w,S=E.next;E.next=null,b===null?g=S:b.next=S,b=E;var k=n.alternate;k!==null&&(k=k.updateQueue,w=k.lastBaseUpdate,w!==b&&(w===null?k.firstBaseUpdate=S:w.next=S,k.lastBaseUpdate=E))}if(g!==null){var _=d.baseState;b=0,k=S=E=null,w=g;do{var C=w.lane,R=w.eventTime;if((c&C)===C){k!==null&&(k=k.next={eventTime:R,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var M=n,D=w;switch(C=i,R=a,D.tag){case 1:if(M=D.payload,typeof M=="function"){_=M.call(R,_,C);break e}_=M;break e;case 3:M.flags=M.flags&-65537|128;case 0:if(M=D.payload,C=typeof M=="function"?M.call(R,_,C):M,C==null)break e;_=fl({},_,C);break e;case 2:Px=!0}}w.callback!==null&&w.lane!==0&&(n.flags|=64,C=d.effects,C===null?d.effects=[w]:C.push(w))}else R={eventTime:R,lane:C,tag:w.tag,payload:w.payload,callback:w.callback,next:null},k===null?(S=k=R,E=_):k=k.next=R,b|=C;if(w=w.next,w===null){if(w=d.shared.pending,w===null)break;C=w,w=C.next,C.next=null,d.lastBaseUpdate=C,d.shared.pending=null}}while(!0);if(k===null&&(E=_),d.baseState=E,d.firstBaseUpdate=S,d.lastBaseUpdate=k,i=d.shared.interleaved,i!==null){d=i;do b|=d.lane,d=d.next;while(d!==i)}else g===null&&(d.shared.lanes=0);oR|=b,n.lanes=b,n.memoizedState=_}}function vMt(n,i,a){if(n=i.effects,i.effects=null,n!==null)for(i=0;i<n.length;i++){var c=n[i],d=c.callback;if(d!==null){if(c.callback=null,c=a,typeof d!="function")throw Error(ir(191,d));d.call(c)}}}var gz={},j2=gN(gz),MH=gN(gz),PH=gN(gz);function K4(n){if(n===gz)throw Error(ir(174));return n}function BLe(n,i){switch(Vu(PH,i),Vu(MH,n),Vu(j2,gz),n=i.nodeType,n){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:o6e(null,"");break;default:n=n===8?i.parentNode:i,i=n.namespaceURI||null,n=n.tagName,i=o6e(i,n)}dc(j2),Vu(j2,i)}function h5(){dc(j2),dc(MH),dc(PH)}function XBt(n){K4(PH.current);var i=K4(j2.current),a=o6e(i,n.type);i!==a&&(Vu(MH,n),Vu(j2,a))}function ULe(n){MH.current===n&&(dc(j2),dc(MH))}var cl=gN(0);function _oe(n){for(var i=n;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var pCe=[];function HLe(){for(var n=0;n<pCe.length;n++)pCe[n]._workInProgressVersionPrimary=null;pCe.length=0}var Uie=SA.ReactCurrentDispatcher,gCe=SA.ReactCurrentBatchConfig,iR=0,dl=null,wf=null,eh=null,koe=!1,lH=!1,jH=0,qIn=0;function Lp(){throw Error(ir(321))}function zLe(n,i){if(i===null)return!1;for(var a=0;a<i.length&&a<n.length;a++)if(!Mv(n[a],i[a]))return!1;return!0}function GLe(n,i,a,c,d,g){if(iR=g,dl=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,Uie.current=n===null||n.memoizedState===null?YIn:JIn,n=a(c,d),lH){g=0;do{if(lH=!1,jH=0,25<=g)throw Error(ir(301));g+=1,eh=wf=null,i.updateQueue=null,Uie.current=XIn,n=a(c,d)}while(lH)}if(Uie.current=xoe,i=wf!==null&&wf.next!==null,iR=0,eh=wf=dl=null,koe=!1,i)throw Error(ir(300));return n}function qLe(){var n=jH!==0;return jH=0,n}function k2(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eh===null?dl.memoizedState=eh=n:eh=eh.next=n,eh}function Tw(){if(wf===null){var n=dl.alternate;n=n!==null?n.memoizedState:null}else n=wf.next;var i=eh===null?dl.memoizedState:eh.next;if(i!==null)eh=i,wf=n;else{if(n===null)throw Error(ir(310));wf=n,n={memoizedState:wf.memoizedState,baseState:wf.baseState,baseQueue:wf.baseQueue,queue:wf.queue,next:null},eh===null?dl.memoizedState=eh=n:eh=eh.next=n}return eh}function FH(n,i){return typeof i=="function"?i(n):i}function bCe(n){var i=Tw(),a=i.queue;if(a===null)throw Error(ir(311));a.lastRenderedReducer=n;var c=wf,d=c.baseQueue,g=a.pending;if(g!==null){if(d!==null){var b=d.next;d.next=g.next,g.next=b}c.baseQueue=d=g,a.pending=null}if(d!==null){g=d.next,c=c.baseState;var w=b=null,E=null,S=g;do{var k=S.lane;if((iR&k)===k)E!==null&&(E=E.next={lane:0,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),c=S.hasEagerState?S.eagerState:n(c,S.action);else{var _={lane:k,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null};E===null?(w=E=_,b=c):E=E.next=_,dl.lanes|=k,oR|=k}S=S.next}while(S!==null&&S!==g);E===null?b=c:E.next=w,Mv(c,i.memoizedState)||(sb=!0),i.memoizedState=c,i.baseState=b,i.baseQueue=E,a.lastRenderedState=c}if(n=a.interleaved,n!==null){d=n;do g=d.lane,dl.lanes|=g,oR|=g,d=d.next;while(d!==n)}else d===null&&(a.lanes=0);return[i.memoizedState,a.dispatch]}function mCe(n){var i=Tw(),a=i.queue;if(a===null)throw Error(ir(311));a.lastRenderedReducer=n;var c=a.dispatch,d=a.pending,g=i.memoizedState;if(d!==null){a.pending=null;var b=d=d.next;do g=n(g,b.action),b=b.next;while(b!==d);Mv(g,i.memoizedState)||(sb=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),a.lastRenderedState=g}return[g,c]}function ZBt(){}function QBt(n,i){var a=dl,c=Tw(),d=i(),g=!Mv(c.memoizedState,d);if(g&&(c.memoizedState=d,sb=!0),c=c.queue,VLe(nUt.bind(null,a,c,n),[n]),c.getSnapshot!==i||g||eh!==null&&eh.memoizedState.tag&1){if(a.flags|=2048,$H(9,tUt.bind(null,a,c,d,i),void 0,null),rh===null)throw Error(ir(349));iR&30||eUt(a,i,d)}return d}function eUt(n,i,a){n.flags|=16384,n={getSnapshot:i,value:a},i=dl.updateQueue,i===null?(i={lastEffect:null,stores:null},dl.updateQueue=i,i.stores=[n]):(a=i.stores,a===null?i.stores=[n]:a.push(n))}function tUt(n,i,a,c){i.value=a,i.getSnapshot=c,rUt(i)&&iUt(n)}function nUt(n,i,a){return a(function(){rUt(i)&&iUt(n)})}function rUt(n){var i=n.getSnapshot;n=n.value;try{var a=i();return!Mv(n,a)}catch{return!0}}function iUt(n){var i=gA(n,1);i!==null&&Dv(i,n,1,-1)}function EMt(n){var i=k2();return typeof n=="function"&&(n=n()),i.memoizedState=i.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:FH,lastRenderedState:n},i.queue=n,n=n.dispatch=KIn.bind(null,dl,n),[i.memoizedState,n]}function $H(n,i,a,c){return n={tag:n,create:i,destroy:a,deps:c,next:null},i=dl.updateQueue,i===null?(i={lastEffect:null,stores:null},dl.updateQueue=i,i.lastEffect=n.next=n):(a=i.lastEffect,a===null?i.lastEffect=n.next=n:(c=a.next,a.next=n,n.next=c,i.lastEffect=n)),n}function oUt(){return Tw().memoizedState}function Hie(n,i,a,c){var d=k2();dl.flags|=n,d.memoizedState=$H(1|i,a,void 0,c===void 0?null:c)}function Ise(n,i,a,c){var d=Tw();c=c===void 0?null:c;var g=void 0;if(wf!==null){var b=wf.memoizedState;if(g=b.destroy,c!==null&&zLe(c,b.deps)){d.memoizedState=$H(i,a,g,c);return}}dl.flags|=n,d.memoizedState=$H(1|i,a,g,c)}function SMt(n,i){return Hie(8390656,8,n,i)}function VLe(n,i){return Ise(2048,8,n,i)}function sUt(n,i){return Ise(4,2,n,i)}function aUt(n,i){return Ise(4,4,n,i)}function uUt(n,i){if(typeof i=="function")return n=n(),i(n),function(){i(null)};if(i!=null)return n=n(),i.current=n,function(){i.current=null}}function cUt(n,i,a){return a=a!=null?a.concat([n]):null,Ise(4,4,uUt.bind(null,i,n),a)}function WLe(){}function lUt(n,i){var a=Tw();i=i===void 0?null:i;var c=a.memoizedState;return c!==null&&i!==null&&zLe(i,c[1])?c[0]:(a.memoizedState=[n,i],n)}function dUt(n,i){var a=Tw();i=i===void 0?null:i;var c=a.memoizedState;return c!==null&&i!==null&&zLe(i,c[1])?c[0]:(n=n(),a.memoizedState=[n,i],n)}function fUt(n,i,a){return iR&21?(Mv(a,i)||(a=mBt(),dl.lanes|=a,oR|=a,n.baseState=!0),i):(n.baseState&&(n.baseState=!1,sb=!0),n.memoizedState=a)}function VIn(n,i){var a=cu;cu=a!==0&&4>a?a:4,n(!0);var c=gCe.transition;gCe.transition={};try{n(!1),i()}finally{cu=a,gCe.transition=c}}function hUt(){return Tw().memoizedState}function WIn(n,i,a){var c=Jx(n);if(a={lane:c,action:a,hasEagerState:!1,eagerState:null,next:null},pUt(n))gUt(i,a);else if(a=YBt(n,i,a,c),a!==null){var d=Hg();Dv(a,n,c,d),bUt(a,i,c)}}function KIn(n,i,a){var c=Jx(n),d={lane:c,action:a,hasEagerState:!1,eagerState:null,next:null};if(pUt(n))gUt(i,d);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var b=i.lastRenderedState,w=g(b,a);if(d.hasEagerState=!0,d.eagerState=w,Mv(w,b)){var E=i.interleaved;E===null?(d.next=d,FLe(i)):(d.next=E.next,E.next=d),i.interleaved=d;return}}catch{}finally{}a=YBt(n,i,d,c),a!==null&&(d=Hg(),Dv(a,n,c,d),bUt(a,i,c))}}function pUt(n){var i=n.alternate;return n===dl||i!==null&&i===dl}function gUt(n,i){lH=koe=!0;var a=n.pending;a===null?i.next=i:(i.next=a.next,a.next=i),n.pending=i}function bUt(n,i,a){if(a&4194240){var c=i.lanes;c&=n.pendingLanes,a|=c,i.lanes=a,ALe(n,a)}}var xoe={readContext:Sw,useCallback:Lp,useContext:Lp,useEffect:Lp,useImperativeHandle:Lp,useInsertionEffect:Lp,useLayoutEffect:Lp,useMemo:Lp,useReducer:Lp,useRef:Lp,useState:Lp,useDebugValue:Lp,useDeferredValue:Lp,useTransition:Lp,useMutableSource:Lp,useSyncExternalStore:Lp,useId:Lp,unstable_isNewReconciler:!1},YIn={readContext:Sw,useCallback:function(n,i){return k2().memoizedState=[n,i===void 0?null:i],n},useContext:Sw,useEffect:SMt,useImperativeHandle:function(n,i,a){return a=a!=null?a.concat([n]):null,Hie(4194308,4,uUt.bind(null,i,n),a)},useLayoutEffect:function(n,i){return Hie(4194308,4,n,i)},useInsertionEffect:function(n,i){return Hie(4,2,n,i)},useMemo:function(n,i){var a=k2();return i=i===void 0?null:i,n=n(),a.memoizedState=[n,i],n},useReducer:function(n,i,a){var c=k2();return i=a!==void 0?a(i):i,c.memoizedState=c.baseState=i,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:i},c.queue=n,n=n.dispatch=WIn.bind(null,dl,n),[c.memoizedState,n]},useRef:function(n){var i=k2();return n={current:n},i.memoizedState=n},useState:EMt,useDebugValue:WLe,useDeferredValue:function(n){return k2().memoizedState=n},useTransition:function(){var n=EMt(!1),i=n[0];return n=VIn.bind(null,n[1]),k2().memoizedState=n,[i,n]},useMutableSource:function(){},useSyncExternalStore:function(n,i,a){var c=dl,d=k2();if(Dc){if(a===void 0)throw Error(ir(407));a=a()}else{if(a=i(),rh===null)throw Error(ir(349));iR&30||eUt(c,i,a)}d.memoizedState=a;var g={value:a,getSnapshot:i};return d.queue=g,SMt(nUt.bind(null,c,g,n),[n]),c.flags|=2048,$H(9,tUt.bind(null,c,g,a,i),void 0,null),a},useId:function(){var n=k2(),i=rh.identifierPrefix;if(Dc){var a=aA,c=sA;a=(c&~(1<<32-Ov(c)-1)).toString(32)+a,i=":"+i+"R"+a,a=jH++,0<a&&(i+="H"+a.toString(32)),i+=":"}else a=qIn++,i=":"+i+"r"+a.toString(32)+":";return n.memoizedState=i},unstable_isNewReconciler:!1},JIn={readContext:Sw,useCallback:lUt,useContext:Sw,useEffect:VLe,useImperativeHandle:cUt,useInsertionEffect:sUt,useLayoutEffect:aUt,useMemo:dUt,useReducer:bCe,useRef:oUt,useState:function(){return bCe(FH)},useDebugValue:WLe,useDeferredValue:function(n){var i=Tw();return fUt(i,wf.memoizedState,n)},useTransition:function(){var n=bCe(FH)[0],i=Tw().memoizedState;return[n,i]},useMutableSource:ZBt,useSyncExternalStore:QBt,useId:hUt,unstable_isNewReconciler:!1},XIn={readContext:Sw,useCallback:lUt,useContext:Sw,useEffect:VLe,useImperativeHandle:cUt,useInsertionEffect:sUt,useLayoutEffect:aUt,useMemo:dUt,useReducer:mCe,useRef:oUt,useState:function(){return mCe(FH)},useDebugValue:WLe,useDeferredValue:function(n){var i=Tw();return wf===null?i.memoizedState=n:fUt(i,wf.memoizedState,n)},useTransition:function(){var n=mCe(FH)[0],i=Tw().memoizedState;return[n,i]},useMutableSource:ZBt,useSyncExternalStore:QBt,useId:hUt,unstable_isNewReconciler:!1};function _v(n,i){if(n&&n.defaultProps){i=fl({},i),n=n.defaultProps;for(var a in n)i[a]===void 0&&(i[a]=n[a]);return i}return i}function k6e(n,i,a,c){i=n.memoizedState,a=a(c,i),a=a==null?i:fl({},i,a),n.memoizedState=a,n.lanes===0&&(n.updateQueue.baseState=a)}var Rse={isMounted:function(n){return(n=n._reactInternals)?SR(n)===n:!1},enqueueSetState:function(n,i,a){n=n._reactInternals;var c=Hg(),d=Jx(n),g=dA(c,d);g.payload=i,a!=null&&(g.callback=a),i=Kx(n,g,d),i!==null&&(Dv(i,n,d,c),Bie(i,n,d))},enqueueReplaceState:function(n,i,a){n=n._reactInternals;var c=Hg(),d=Jx(n),g=dA(c,d);g.tag=1,g.payload=i,a!=null&&(g.callback=a),i=Kx(n,g,d),i!==null&&(Dv(i,n,d,c),Bie(i,n,d))},enqueueForceUpdate:function(n,i){n=n._reactInternals;var a=Hg(),c=Jx(n),d=dA(a,c);d.tag=2,i!=null&&(d.callback=i),i=Kx(n,d,c),i!==null&&(Dv(i,n,c,a),Bie(i,n,c))}};function TMt(n,i,a,c,d,g,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,g,b):i.prototype&&i.prototype.isPureReactComponent?!RH(a,c)||!RH(d,g):!0}function mUt(n,i,a){var c=!1,d=nN,g=i.contextType;return typeof g=="object"&&g!==null?g=Sw(g):(d=lb(i)?nR:Bp.current,c=i.contextTypes,g=(c=c!=null)?l5(n,d):nN),i=new i(a,g),n.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Rse,n.stateNode=i,i._reactInternals=n,c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=d,n.__reactInternalMemoizedMaskedChildContext=g),i}function AMt(n,i,a,c){n=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,c),i.state!==n&&Rse.enqueueReplaceState(i,i.state,null)}function x6e(n,i,a,c){var d=n.stateNode;d.props=a,d.state=n.memoizedState,d.refs={},$Le(n);var g=i.contextType;typeof g=="object"&&g!==null?d.context=Sw(g):(g=lb(i)?nR:Bp.current,d.context=l5(n,g)),d.state=n.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&(k6e(n,i,g,a),d.state=n.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(i=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),i!==d.state&&Rse.enqueueReplaceState(d,d.state,null),Aoe(n,a,d,c),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308)}function p5(n,i){try{var a="",c=i;do a+=_Cn(c),c=c.return;while(c);var d=a}catch(g){d=`
|
||
Error generating stack: `+g.message+`
|
||
`+g.stack}return{value:n,source:i,stack:d,digest:null}}function wCe(n,i,a){return{value:n,source:null,stack:a??null,digest:i??null}}function N6e(n,i){try{console.error(i.value)}catch(a){setTimeout(function(){throw a})}}var ZIn=typeof WeakMap=="function"?WeakMap:Map;function wUt(n,i,a){a=dA(-1,a),a.tag=3,a.payload={element:null};var c=i.value;return a.callback=function(){Coe||(Coe=!0,F6e=c),N6e(n,i)},a}function yUt(n,i,a){a=dA(-1,a),a.tag=3;var c=n.type.getDerivedStateFromError;if(typeof c=="function"){var d=i.value;a.payload=function(){return c(d)},a.callback=function(){N6e(n,i)}}var g=n.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(a.callback=function(){N6e(n,i),typeof c!="function"&&(Yx===null?Yx=new Set([this]):Yx.add(this));var b=i.stack;this.componentDidCatch(i.value,{componentStack:b!==null?b:""})}),a}function _Mt(n,i,a){var c=n.pingCache;if(c===null){c=n.pingCache=new ZIn;var d=new Set;c.set(i,d)}else d=c.get(i),d===void 0&&(d=new Set,c.set(i,d));d.has(a)||(d.add(a),n=f4n.bind(null,n,i,a),i.then(n,n))}function kMt(n){do{var i;if((i=n.tag===13)&&(i=n.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return n;n=n.return}while(n!==null);return null}function xMt(n,i,a,c,d){return n.mode&1?(n.flags|=65536,n.lanes=d,n):(n===i?n.flags|=65536:(n.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(i=dA(-1,1),i.tag=2,Kx(a,i,1))),a.lanes|=1),n)}var QIn=SA.ReactCurrentOwner,sb=!1;function $g(n,i,a,c){i.child=n===null?KBt(i,null,a,c):f5(i,n.child,a,c)}function NMt(n,i,a,c,d){a=a.render;var g=i.ref;return XM(i,d),c=GLe(n,i,a,c,g,d),a=qLe(),n!==null&&!sb?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~d,bA(n,i,d)):(Dc&&a&&OLe(i),i.flags|=1,$g(n,i,c,d),i.child)}function CMt(n,i,a,c,d){if(n===null){var g=a.type;return typeof g=="function"&&!tMe(g)&&g.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(i.tag=15,i.type=g,vUt(n,i,g,c,d)):(n=Vie(a.type,null,c,i,i.mode,d),n.ref=i.ref,n.return=i,i.child=n)}if(g=n.child,!(n.lanes&d)){var b=g.memoizedProps;if(a=a.compare,a=a!==null?a:RH,a(b,c)&&n.ref===i.ref)return bA(n,i,d)}return i.flags|=1,n=Xx(g,c),n.ref=i.ref,n.return=i,i.child=n}function vUt(n,i,a,c,d){if(n!==null){var g=n.memoizedProps;if(RH(g,c)&&n.ref===i.ref)if(sb=!1,i.pendingProps=c=g,(n.lanes&d)!==0)n.flags&131072&&(sb=!0);else return i.lanes=n.lanes,bA(n,i,d)}return C6e(n,i,a,c,d)}function EUt(n,i,a){var c=i.pendingProps,d=c.children,g=n!==null?n.memoizedState:null;if(c.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},Vu($M,Om),Om|=a;else{if(!(a&1073741824))return n=g!==null?g.baseLanes|a:a,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:n,cachePool:null,transitions:null},i.updateQueue=null,Vu($M,Om),Om|=n,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=g!==null?g.baseLanes:a,Vu($M,Om),Om|=c}else g!==null?(c=g.baseLanes|a,i.memoizedState=null):c=a,Vu($M,Om),Om|=c;return $g(n,i,d,a),i.child}function SUt(n,i){var a=i.ref;(n===null&&a!==null||n!==null&&n.ref!==a)&&(i.flags|=512,i.flags|=2097152)}function C6e(n,i,a,c,d){var g=lb(a)?nR:Bp.current;return g=l5(i,g),XM(i,d),a=GLe(n,i,a,c,g,d),c=qLe(),n!==null&&!sb?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~d,bA(n,i,d)):(Dc&&c&&OLe(i),i.flags|=1,$g(n,i,a,d),i.child)}function IMt(n,i,a,c,d){if(lb(a)){var g=!0;yoe(i)}else g=!1;if(XM(i,d),i.stateNode===null)zie(n,i),mUt(i,a,c),x6e(i,a,c,d),c=!0;else if(n===null){var b=i.stateNode,w=i.memoizedProps;b.props=w;var E=b.context,S=a.contextType;typeof S=="object"&&S!==null?S=Sw(S):(S=lb(a)?nR:Bp.current,S=l5(i,S));var k=a.getDerivedStateFromProps,_=typeof k=="function"||typeof b.getSnapshotBeforeUpdate=="function";_||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(w!==c||E!==S)&&AMt(i,b,c,S),Px=!1;var C=i.memoizedState;b.state=C,Aoe(i,c,b,d),E=i.memoizedState,w!==c||C!==E||cb.current||Px?(typeof k=="function"&&(k6e(i,a,k,c),E=i.memoizedState),(w=Px||TMt(i,a,w,c,C,E,S))?(_||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(i.flags|=4194308)):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=E),b.props=c,b.state=E,b.context=S,c=w):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{b=i.stateNode,JBt(n,i),w=i.memoizedProps,S=i.type===i.elementType?w:_v(i.type,w),b.props=S,_=i.pendingProps,C=b.context,E=a.contextType,typeof E=="object"&&E!==null?E=Sw(E):(E=lb(a)?nR:Bp.current,E=l5(i,E));var R=a.getDerivedStateFromProps;(k=typeof R=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(w!==_||C!==E)&&AMt(i,b,c,E),Px=!1,C=i.memoizedState,b.state=C,Aoe(i,c,b,d);var M=i.memoizedState;w!==_||C!==M||cb.current||Px?(typeof R=="function"&&(k6e(i,a,R,c),M=i.memoizedState),(S=Px||TMt(i,a,S,c,C,M,E)||!1)?(k||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(c,M,E),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(c,M,E)),typeof b.componentDidUpdate=="function"&&(i.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof b.componentDidUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=M),b.props=c,b.state=M,b.context=E,c=S):(typeof b.componentDidUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=1024),c=!1)}return I6e(n,i,a,c,g,d)}function I6e(n,i,a,c,d,g){SUt(n,i);var b=(i.flags&128)!==0;if(!c&&!b)return d&&gMt(i,a,!1),bA(n,i,g);c=i.stateNode,QIn.current=i;var w=b&&typeof a.getDerivedStateFromError!="function"?null:c.render();return i.flags|=1,n!==null&&b?(i.child=f5(i,n.child,null,g),i.child=f5(i,null,w,g)):$g(n,i,w,g),i.memoizedState=c.state,d&&gMt(i,a,!0),i.child}function TUt(n){var i=n.stateNode;i.pendingContext?pMt(n,i.pendingContext,i.pendingContext!==i.context):i.context&&pMt(n,i.context,!1),BLe(n,i.containerInfo)}function RMt(n,i,a,c,d){return d5(),LLe(d),i.flags|=256,$g(n,i,a,c),i.child}var R6e={dehydrated:null,treeContext:null,retryLane:0};function O6e(n){return{baseLanes:n,cachePool:null,transitions:null}}function AUt(n,i,a){var c=i.pendingProps,d=cl.current,g=!1,b=(i.flags&128)!==0,w;if((w=b)||(w=n!==null&&n.memoizedState===null?!1:(d&2)!==0),w?(g=!0,i.flags&=-129):(n===null||n.memoizedState!==null)&&(d|=1),Vu(cl,d&1),n===null)return A6e(i),n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(i.mode&1?n.data==="$!"?i.lanes=8:i.lanes=1073741824:i.lanes=1,null):(b=c.children,n=c.fallback,g?(c=i.mode,g=i.child,b={mode:"hidden",children:b},!(c&1)&&g!==null?(g.childLanes=0,g.pendingProps=b):g=Lse(b,c,0,null),n=X4(n,c,a,null),g.return=i,n.return=i,g.sibling=n,i.child=g,i.child.memoizedState=O6e(a),i.memoizedState=R6e,n):KLe(i,b));if(d=n.memoizedState,d!==null&&(w=d.dehydrated,w!==null))return e4n(n,i,b,c,w,d,a);if(g){g=c.fallback,b=i.mode,d=n.child,w=d.sibling;var E={mode:"hidden",children:c.children};return!(b&1)&&i.child!==d?(c=i.child,c.childLanes=0,c.pendingProps=E,i.deletions=null):(c=Xx(d,E),c.subtreeFlags=d.subtreeFlags&14680064),w!==null?g=Xx(w,g):(g=X4(g,b,a,null),g.flags|=2),g.return=i,c.return=i,c.sibling=g,i.child=c,c=g,g=i.child,b=n.child.memoizedState,b=b===null?O6e(a):{baseLanes:b.baseLanes|a,cachePool:null,transitions:b.transitions},g.memoizedState=b,g.childLanes=n.childLanes&~a,i.memoizedState=R6e,c}return g=n.child,n=g.sibling,c=Xx(g,{mode:"visible",children:c.children}),!(i.mode&1)&&(c.lanes=a),c.return=i,c.sibling=null,n!==null&&(a=i.deletions,a===null?(i.deletions=[n],i.flags|=16):a.push(n)),i.child=c,i.memoizedState=null,c}function KLe(n,i){return i=Lse({mode:"visible",children:i},n.mode,0,null),i.return=n,n.child=i}function rie(n,i,a,c){return c!==null&&LLe(c),f5(i,n.child,null,a),n=KLe(i,i.pendingProps.children),n.flags|=2,i.memoizedState=null,n}function e4n(n,i,a,c,d,g,b){if(a)return i.flags&256?(i.flags&=-257,c=wCe(Error(ir(422))),rie(n,i,b,c)):i.memoizedState!==null?(i.child=n.child,i.flags|=128,null):(g=c.fallback,d=i.mode,c=Lse({mode:"visible",children:c.children},d,0,null),g=X4(g,d,b,null),g.flags|=2,c.return=i,g.return=i,c.sibling=g,i.child=c,i.mode&1&&f5(i,n.child,null,b),i.child.memoizedState=O6e(b),i.memoizedState=R6e,g);if(!(i.mode&1))return rie(n,i,b,null);if(d.data==="$!"){if(c=d.nextSibling&&d.nextSibling.dataset,c)var w=c.dgst;return c=w,g=Error(ir(419)),c=wCe(g,c,void 0),rie(n,i,b,c)}if(w=(b&n.childLanes)!==0,sb||w){if(c=rh,c!==null){switch(b&-b){case 4:d=2;break;case 16:d=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=d&(c.suspendedLanes|b)?0:d,d!==0&&d!==g.retryLane&&(g.retryLane=d,gA(n,d),Dv(c,n,d,-1))}return eMe(),c=wCe(Error(ir(421))),rie(n,i,b,c)}return d.data==="$?"?(i.flags|=128,i.child=n.child,i=h4n.bind(null,n),d._reactRetry=i,null):(n=g.treeContext,Pm=Wx(d.nextSibling),Fm=i,Dc=!0,Nv=null,n!==null&&(gw[bw++]=sA,gw[bw++]=aA,gw[bw++]=rR,sA=n.id,aA=n.overflow,rR=i),i=KLe(i,c.children),i.flags|=4096,i)}function OMt(n,i,a){n.lanes|=i;var c=n.alternate;c!==null&&(c.lanes|=i),_6e(n.return,i,a)}function yCe(n,i,a,c,d){var g=n.memoizedState;g===null?n.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:a,tailMode:d}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=a,g.tailMode=d)}function _Ut(n,i,a){var c=i.pendingProps,d=c.revealOrder,g=c.tail;if($g(n,i,c.children,a),c=cl.current,c&2)c=c&1|2,i.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=i.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&OMt(n,a,i);else if(n.tag===19)OMt(n,a,i);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===i)break e;for(;n.sibling===null;){if(n.return===null||n.return===i)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}c&=1}if(Vu(cl,c),!(i.mode&1))i.memoizedState=null;else switch(d){case"forwards":for(a=i.child,d=null;a!==null;)n=a.alternate,n!==null&&_oe(n)===null&&(d=a),a=a.sibling;a=d,a===null?(d=i.child,i.child=null):(d=a.sibling,a.sibling=null),yCe(i,!1,d,a,g);break;case"backwards":for(a=null,d=i.child,i.child=null;d!==null;){if(n=d.alternate,n!==null&&_oe(n)===null){i.child=d;break}n=d.sibling,d.sibling=a,a=d,d=n}yCe(i,!0,a,null,g);break;case"together":yCe(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function zie(n,i){!(i.mode&1)&&n!==null&&(n.alternate=null,i.alternate=null,i.flags|=2)}function bA(n,i,a){if(n!==null&&(i.dependencies=n.dependencies),oR|=i.lanes,!(a&i.childLanes))return null;if(n!==null&&i.child!==n.child)throw Error(ir(153));if(i.child!==null){for(n=i.child,a=Xx(n,n.pendingProps),i.child=a,a.return=i;n.sibling!==null;)n=n.sibling,a=a.sibling=Xx(n,n.pendingProps),a.return=i;a.sibling=null}return i.child}function t4n(n,i,a){switch(i.tag){case 3:TUt(i),d5();break;case 5:XBt(i);break;case 1:lb(i.type)&&yoe(i);break;case 4:BLe(i,i.stateNode.containerInfo);break;case 10:var c=i.type._context,d=i.memoizedProps.value;Vu(Soe,c._currentValue),c._currentValue=d;break;case 13:if(c=i.memoizedState,c!==null)return c.dehydrated!==null?(Vu(cl,cl.current&1),i.flags|=128,null):a&i.child.childLanes?AUt(n,i,a):(Vu(cl,cl.current&1),n=bA(n,i,a),n!==null?n.sibling:null);Vu(cl,cl.current&1);break;case 19:if(c=(a&i.childLanes)!==0,n.flags&128){if(c)return _Ut(n,i,a);i.flags|=128}if(d=i.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Vu(cl,cl.current),c)break;return null;case 22:case 23:return i.lanes=0,EUt(n,i,a)}return bA(n,i,a)}var kUt,D6e,xUt,NUt;kUt=function(n,i){for(var a=i.child;a!==null;){if(a.tag===5||a.tag===6)n.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break;for(;a.sibling===null;){if(a.return===null||a.return===i)return;a=a.return}a.sibling.return=a.return,a=a.sibling}};D6e=function(){};xUt=function(n,i,a,c){var d=n.memoizedProps;if(d!==c){n=i.stateNode,K4(j2.current);var g=null;switch(a){case"input":d=t6e(n,d),c=t6e(n,c),g=[];break;case"select":d=fl({},d,{value:void 0}),c=fl({},c,{value:void 0}),g=[];break;case"textarea":d=i6e(n,d),c=i6e(n,c),g=[];break;default:typeof d.onClick!="function"&&typeof c.onClick=="function"&&(n.onclick=moe)}s6e(a,c);var b;a=null;for(S in d)if(!c.hasOwnProperty(S)&&d.hasOwnProperty(S)&&d[S]!=null)if(S==="style"){var w=d[S];for(b in w)w.hasOwnProperty(b)&&(a||(a={}),a[b]="")}else S!=="dangerouslySetInnerHTML"&&S!=="children"&&S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(AH.hasOwnProperty(S)?g||(g=[]):(g=g||[]).push(S,null));for(S in c){var E=c[S];if(w=d!=null?d[S]:void 0,c.hasOwnProperty(S)&&E!==w&&(E!=null||w!=null))if(S==="style")if(w){for(b in w)!w.hasOwnProperty(b)||E&&E.hasOwnProperty(b)||(a||(a={}),a[b]="");for(b in E)E.hasOwnProperty(b)&&w[b]!==E[b]&&(a||(a={}),a[b]=E[b])}else a||(g||(g=[]),g.push(S,a)),a=E;else S==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,w=w?w.__html:void 0,E!=null&&w!==E&&(g=g||[]).push(S,E)):S==="children"?typeof E!="string"&&typeof E!="number"||(g=g||[]).push(S,""+E):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&(AH.hasOwnProperty(S)?(E!=null&&S==="onScroll"&&cc("scroll",n),g||w===E||(g=[])):(g=g||[]).push(S,E))}a&&(g=g||[]).push("style",a);var S=g;(i.updateQueue=S)&&(i.flags|=4)}};NUt=function(n,i,a,c){a!==c&&(i.flags|=4)};function DU(n,i){if(!Dc)switch(n.tailMode){case"hidden":i=n.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?n.tail=null:a.sibling=null;break;case"collapsed":a=n.tail;for(var c=null;a!==null;)a.alternate!==null&&(c=a),a=a.sibling;c===null?i||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function Mp(n){var i=n.alternate!==null&&n.alternate.child===n.child,a=0,c=0;if(i)for(var d=n.child;d!==null;)a|=d.lanes|d.childLanes,c|=d.subtreeFlags&14680064,c|=d.flags&14680064,d.return=n,d=d.sibling;else for(d=n.child;d!==null;)a|=d.lanes|d.childLanes,c|=d.subtreeFlags,c|=d.flags,d.return=n,d=d.sibling;return n.subtreeFlags|=c,n.childLanes=a,i}function n4n(n,i,a){var c=i.pendingProps;switch(DLe(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Mp(i),null;case 1:return lb(i.type)&&woe(),Mp(i),null;case 3:return c=i.stateNode,h5(),dc(cb),dc(Bp),HLe(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(n===null||n.child===null)&&(tie(i)?i.flags|=4:n===null||n.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,Nv!==null&&(U6e(Nv),Nv=null))),D6e(n,i),Mp(i),null;case 5:ULe(i);var d=K4(PH.current);if(a=i.type,n!==null&&i.stateNode!=null)xUt(n,i,a,c,d),n.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!c){if(i.stateNode===null)throw Error(ir(166));return Mp(i),null}if(n=K4(j2.current),tie(i)){c=i.stateNode,a=i.type;var g=i.memoizedProps;switch(c[R2]=i,c[LH]=g,n=(i.mode&1)!==0,a){case"dialog":cc("cancel",c),cc("close",c);break;case"iframe":case"object":case"embed":cc("load",c);break;case"video":case"audio":for(d=0;d<WU.length;d++)cc(WU[d],c);break;case"source":cc("error",c);break;case"img":case"image":case"link":cc("error",c),cc("load",c);break;case"details":cc("toggle",c);break;case"input":ULt(c,g),cc("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!g.multiple},cc("invalid",c);break;case"textarea":zLt(c,g),cc("invalid",c)}s6e(a,g),d=null;for(var b in g)if(g.hasOwnProperty(b)){var w=g[b];b==="children"?typeof w=="string"?c.textContent!==w&&(g.suppressHydrationWarning!==!0&&eie(c.textContent,w,n),d=["children",w]):typeof w=="number"&&c.textContent!==""+w&&(g.suppressHydrationWarning!==!0&&eie(c.textContent,w,n),d=["children",""+w]):AH.hasOwnProperty(b)&&w!=null&&b==="onScroll"&&cc("scroll",c)}switch(a){case"input":Vre(c),HLt(c,g,!0);break;case"textarea":Vre(c),GLt(c);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(c.onclick=moe)}c=d,i.updateQueue=c,c!==null&&(i.flags|=4)}else{b=d.nodeType===9?d:d.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=nBt(a)),n==="http://www.w3.org/1999/xhtml"?a==="script"?(n=b.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof c.is=="string"?n=b.createElement(a,{is:c.is}):(n=b.createElement(a),a==="select"&&(b=n,c.multiple?b.multiple=!0:c.size&&(b.size=c.size))):n=b.createElementNS(n,a),n[R2]=i,n[LH]=c,kUt(n,i,!1,!1),i.stateNode=n;e:{switch(b=a6e(a,c),a){case"dialog":cc("cancel",n),cc("close",n),d=c;break;case"iframe":case"object":case"embed":cc("load",n),d=c;break;case"video":case"audio":for(d=0;d<WU.length;d++)cc(WU[d],n);d=c;break;case"source":cc("error",n),d=c;break;case"img":case"image":case"link":cc("error",n),cc("load",n),d=c;break;case"details":cc("toggle",n),d=c;break;case"input":ULt(n,c),d=t6e(n,c),cc("invalid",n);break;case"option":d=c;break;case"select":n._wrapperState={wasMultiple:!!c.multiple},d=fl({},c,{value:void 0}),cc("invalid",n);break;case"textarea":zLt(n,c),d=i6e(n,c),cc("invalid",n);break;default:d=c}s6e(a,d),w=d;for(g in w)if(w.hasOwnProperty(g)){var E=w[g];g==="style"?oBt(n,E):g==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&rBt(n,E)):g==="children"?typeof E=="string"?(a!=="textarea"||E!=="")&&_H(n,E):typeof E=="number"&&_H(n,""+E):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(AH.hasOwnProperty(g)?E!=null&&g==="onScroll"&&cc("scroll",n):E!=null&&wLe(n,g,E,b))}switch(a){case"input":Vre(n),HLt(n,c,!1);break;case"textarea":Vre(n),GLt(n);break;case"option":c.value!=null&&n.setAttribute("value",""+tN(c.value));break;case"select":n.multiple=!!c.multiple,g=c.value,g!=null?WM(n,!!c.multiple,g,!1):c.defaultValue!=null&&WM(n,!!c.multiple,c.defaultValue,!0);break;default:typeof d.onClick=="function"&&(n.onclick=moe)}switch(a){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}}c&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return Mp(i),null;case 6:if(n&&i.stateNode!=null)NUt(n,i,n.memoizedProps,c);else{if(typeof c!="string"&&i.stateNode===null)throw Error(ir(166));if(a=K4(PH.current),K4(j2.current),tie(i)){if(c=i.stateNode,a=i.memoizedProps,c[R2]=i,(g=c.nodeValue!==a)&&(n=Fm,n!==null))switch(n.tag){case 3:eie(c.nodeValue,a,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&eie(c.nodeValue,a,(n.mode&1)!==0)}g&&(i.flags|=4)}else c=(a.nodeType===9?a:a.ownerDocument).createTextNode(c),c[R2]=i,i.stateNode=c}return Mp(i),null;case 13:if(dc(cl),c=i.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Dc&&Pm!==null&&i.mode&1&&!(i.flags&128))VBt(),d5(),i.flags|=98560,g=!1;else if(g=tie(i),c!==null&&c.dehydrated!==null){if(n===null){if(!g)throw Error(ir(318));if(g=i.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(ir(317));g[R2]=i}else d5(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;Mp(i),g=!1}else Nv!==null&&(U6e(Nv),Nv=null),g=!0;if(!g)return i.flags&65536?i:null}return i.flags&128?(i.lanes=a,i):(c=c!==null,c!==(n!==null&&n.memoizedState!==null)&&c&&(i.child.flags|=8192,i.mode&1&&(n===null||cl.current&1?Ef===0&&(Ef=3):eMe())),i.updateQueue!==null&&(i.flags|=4),Mp(i),null);case 4:return h5(),D6e(n,i),n===null&&OH(i.stateNode.containerInfo),Mp(i),null;case 10:return jLe(i.type._context),Mp(i),null;case 17:return lb(i.type)&&woe(),Mp(i),null;case 19:if(dc(cl),g=i.memoizedState,g===null)return Mp(i),null;if(c=(i.flags&128)!==0,b=g.rendering,b===null)if(c)DU(g,!1);else{if(Ef!==0||n!==null&&n.flags&128)for(n=i.child;n!==null;){if(b=_oe(n),b!==null){for(i.flags|=128,DU(g,!1),c=b.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),i.subtreeFlags=0,c=a,a=i.child;a!==null;)g=a,n=c,g.flags&=14680066,b=g.alternate,b===null?(g.childLanes=0,g.lanes=n,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=b.childLanes,g.lanes=b.lanes,g.child=b.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=b.memoizedProps,g.memoizedState=b.memoizedState,g.updateQueue=b.updateQueue,g.type=b.type,n=b.dependencies,g.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),a=a.sibling;return Vu(cl,cl.current&1|2),i.child}n=n.sibling}g.tail!==null&&pd()>g5&&(i.flags|=128,c=!0,DU(g,!1),i.lanes=4194304)}else{if(!c)if(n=_oe(b),n!==null){if(i.flags|=128,c=!0,a=n.updateQueue,a!==null&&(i.updateQueue=a,i.flags|=4),DU(g,!0),g.tail===null&&g.tailMode==="hidden"&&!b.alternate&&!Dc)return Mp(i),null}else 2*pd()-g.renderingStartTime>g5&&a!==1073741824&&(i.flags|=128,c=!0,DU(g,!1),i.lanes=4194304);g.isBackwards?(b.sibling=i.child,i.child=b):(a=g.last,a!==null?a.sibling=b:i.child=b,g.last=b)}return g.tail!==null?(i=g.tail,g.rendering=i,g.tail=i.sibling,g.renderingStartTime=pd(),i.sibling=null,a=cl.current,Vu(cl,c?a&1|2:a&1),i):(Mp(i),null);case 22:case 23:return QLe(),c=i.memoizedState!==null,n!==null&&n.memoizedState!==null!==c&&(i.flags|=8192),c&&i.mode&1?Om&1073741824&&(Mp(i),i.subtreeFlags&6&&(i.flags|=8192)):Mp(i),null;case 24:return null;case 25:return null}throw Error(ir(156,i.tag))}function r4n(n,i){switch(DLe(i),i.tag){case 1:return lb(i.type)&&woe(),n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 3:return h5(),dc(cb),dc(Bp),HLe(),n=i.flags,n&65536&&!(n&128)?(i.flags=n&-65537|128,i):null;case 5:return ULe(i),null;case 13:if(dc(cl),n=i.memoizedState,n!==null&&n.dehydrated!==null){if(i.alternate===null)throw Error(ir(340));d5()}return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 19:return dc(cl),null;case 4:return h5(),null;case 10:return jLe(i.type._context),null;case 22:case 23:return QLe(),null;case 24:return null;default:return null}}var iie=!1,Pp=!1,i4n=typeof WeakSet=="function"?WeakSet:Set,qr=null;function FM(n,i){var a=n.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(c){jl(n,i,c)}else a.current=null}function L6e(n,i,a){try{a()}catch(c){jl(n,i,c)}}var DMt=!1;function o4n(n,i){if(m6e=poe,n=DBt(),RLe(n)){if("selectionStart"in n)var a={start:n.selectionStart,end:n.selectionEnd};else e:{a=(a=n.ownerDocument)&&a.defaultView||window;var c=a.getSelection&&a.getSelection();if(c&&c.rangeCount!==0){a=c.anchorNode;var d=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{a.nodeType,g.nodeType}catch{a=null;break e}var b=0,w=-1,E=-1,S=0,k=0,_=n,C=null;t:for(;;){for(var R;_!==a||d!==0&&_.nodeType!==3||(w=b+d),_!==g||c!==0&&_.nodeType!==3||(E=b+c),_.nodeType===3&&(b+=_.nodeValue.length),(R=_.firstChild)!==null;)C=_,_=R;for(;;){if(_===n)break t;if(C===a&&++S===d&&(w=b),C===g&&++k===c&&(E=b),(R=_.nextSibling)!==null)break;_=C,C=_.parentNode}_=R}a=w===-1||E===-1?null:{start:w,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(w6e={focusedElem:n,selectionRange:a},poe=!1,qr=i;qr!==null;)if(i=qr,n=i.child,(i.subtreeFlags&1028)!==0&&n!==null)n.return=i,qr=n;else for(;qr!==null;){i=qr;try{var M=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(M!==null){var D=M.memoizedProps,B=M.memoizedState,F=i.stateNode,$=F.getSnapshotBeforeUpdate(i.elementType===i.type?D:_v(i.type,D),B);F.__reactInternalSnapshotBeforeUpdate=$}break;case 3:var P=i.stateNode.containerInfo;P.nodeType===1?P.textContent="":P.nodeType===9&&P.documentElement&&P.removeChild(P.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ir(163))}}catch(H){jl(i,i.return,H)}if(n=i.sibling,n!==null){n.return=i.return,qr=n;break}qr=i.return}return M=DMt,DMt=!1,M}function dH(n,i,a){var c=i.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var d=c=c.next;do{if((d.tag&n)===n){var g=d.destroy;d.destroy=void 0,g!==void 0&&L6e(i,a,g)}d=d.next}while(d!==c)}}function Ose(n,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var a=i=i.next;do{if((a.tag&n)===n){var c=a.create;a.destroy=c()}a=a.next}while(a!==i)}}function M6e(n){var i=n.ref;if(i!==null){var a=n.stateNode;switch(n.tag){case 5:n=a;break;default:n=a}typeof i=="function"?i(n):i.current=n}}function CUt(n){var i=n.alternate;i!==null&&(n.alternate=null,CUt(i)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(i=n.stateNode,i!==null&&(delete i[R2],delete i[LH],delete i[E6e],delete i[UIn],delete i[HIn])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function IUt(n){return n.tag===5||n.tag===3||n.tag===4}function LMt(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||IUt(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function P6e(n,i,a){var c=n.tag;if(c===5||c===6)n=n.stateNode,i?a.nodeType===8?a.parentNode.insertBefore(n,i):a.insertBefore(n,i):(a.nodeType===8?(i=a.parentNode,i.insertBefore(n,a)):(i=a,i.appendChild(n)),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=moe));else if(c!==4&&(n=n.child,n!==null))for(P6e(n,i,a),n=n.sibling;n!==null;)P6e(n,i,a),n=n.sibling}function j6e(n,i,a){var c=n.tag;if(c===5||c===6)n=n.stateNode,i?a.insertBefore(n,i):a.appendChild(n);else if(c!==4&&(n=n.child,n!==null))for(j6e(n,i,a),n=n.sibling;n!==null;)j6e(n,i,a),n=n.sibling}var Ph=null,kv=!1;function xx(n,i,a){for(a=a.child;a!==null;)RUt(n,i,a),a=a.sibling}function RUt(n,i,a){if(P2&&typeof P2.onCommitFiberUnmount=="function")try{P2.onCommitFiberUnmount(Ase,a)}catch{}switch(a.tag){case 5:Pp||FM(a,i);case 6:var c=Ph,d=kv;Ph=null,xx(n,i,a),Ph=c,kv=d,Ph!==null&&(kv?(n=Ph,a=a.stateNode,n.nodeType===8?n.parentNode.removeChild(a):n.removeChild(a)):Ph.removeChild(a.stateNode));break;case 18:Ph!==null&&(kv?(n=Ph,a=a.stateNode,n.nodeType===8?fCe(n.parentNode,a):n.nodeType===1&&fCe(n,a),CH(n)):fCe(Ph,a.stateNode));break;case 4:c=Ph,d=kv,Ph=a.stateNode.containerInfo,kv=!0,xx(n,i,a),Ph=c,kv=d;break;case 0:case 11:case 14:case 15:if(!Pp&&(c=a.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){d=c=c.next;do{var g=d,b=g.destroy;g=g.tag,b!==void 0&&(g&2||g&4)&&L6e(a,i,b),d=d.next}while(d!==c)}xx(n,i,a);break;case 1:if(!Pp&&(FM(a,i),c=a.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=a.memoizedProps,c.state=a.memoizedState,c.componentWillUnmount()}catch(w){jl(a,i,w)}xx(n,i,a);break;case 21:xx(n,i,a);break;case 22:a.mode&1?(Pp=(c=Pp)||a.memoizedState!==null,xx(n,i,a),Pp=c):xx(n,i,a);break;default:xx(n,i,a)}}function MMt(n){var i=n.updateQueue;if(i!==null){n.updateQueue=null;var a=n.stateNode;a===null&&(a=n.stateNode=new i4n),i.forEach(function(c){var d=p4n.bind(null,n,c);a.has(c)||(a.add(c),c.then(d,d))})}}function Tv(n,i){var a=i.deletions;if(a!==null)for(var c=0;c<a.length;c++){var d=a[c];try{var g=n,b=i,w=b;e:for(;w!==null;){switch(w.tag){case 5:Ph=w.stateNode,kv=!1;break e;case 3:Ph=w.stateNode.containerInfo,kv=!0;break e;case 4:Ph=w.stateNode.containerInfo,kv=!0;break e}w=w.return}if(Ph===null)throw Error(ir(160));RUt(g,b,d),Ph=null,kv=!1;var E=d.alternate;E!==null&&(E.return=null),d.return=null}catch(S){jl(d,i,S)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)OUt(i,n),i=i.sibling}function OUt(n,i){var a=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Tv(i,n),A2(n),c&4){try{dH(3,n,n.return),Ose(3,n)}catch(D){jl(n,n.return,D)}try{dH(5,n,n.return)}catch(D){jl(n,n.return,D)}}break;case 1:Tv(i,n),A2(n),c&512&&a!==null&&FM(a,a.return);break;case 5:if(Tv(i,n),A2(n),c&512&&a!==null&&FM(a,a.return),n.flags&32){var d=n.stateNode;try{_H(d,"")}catch(D){jl(n,n.return,D)}}if(c&4&&(d=n.stateNode,d!=null)){var g=n.memoizedProps,b=a!==null?a.memoizedProps:g,w=n.type,E=n.updateQueue;if(n.updateQueue=null,E!==null)try{w==="input"&&g.type==="radio"&&g.name!=null&&eBt(d,g),a6e(w,b);var S=a6e(w,g);for(b=0;b<E.length;b+=2){var k=E[b],_=E[b+1];k==="style"?oBt(d,_):k==="dangerouslySetInnerHTML"?rBt(d,_):k==="children"?_H(d,_):wLe(d,k,_,S)}switch(w){case"input":n6e(d,g);break;case"textarea":tBt(d,g);break;case"select":var C=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!g.multiple;var R=g.value;R!=null?WM(d,!!g.multiple,R,!1):C!==!!g.multiple&&(g.defaultValue!=null?WM(d,!!g.multiple,g.defaultValue,!0):WM(d,!!g.multiple,g.multiple?[]:"",!1))}d[LH]=g}catch(D){jl(n,n.return,D)}}break;case 6:if(Tv(i,n),A2(n),c&4){if(n.stateNode===null)throw Error(ir(162));d=n.stateNode,g=n.memoizedProps;try{d.nodeValue=g}catch(D){jl(n,n.return,D)}}break;case 3:if(Tv(i,n),A2(n),c&4&&a!==null&&a.memoizedState.isDehydrated)try{CH(i.containerInfo)}catch(D){jl(n,n.return,D)}break;case 4:Tv(i,n),A2(n);break;case 13:Tv(i,n),A2(n),d=n.child,d.flags&8192&&(g=d.memoizedState!==null,d.stateNode.isHidden=g,!g||d.alternate!==null&&d.alternate.memoizedState!==null||(XLe=pd())),c&4&&MMt(n);break;case 22:if(k=a!==null&&a.memoizedState!==null,n.mode&1?(Pp=(S=Pp)||k,Tv(i,n),Pp=S):Tv(i,n),A2(n),c&8192){if(S=n.memoizedState!==null,(n.stateNode.isHidden=S)&&!k&&n.mode&1)for(qr=n,k=n.child;k!==null;){for(_=qr=k;qr!==null;){switch(C=qr,R=C.child,C.tag){case 0:case 11:case 14:case 15:dH(4,C,C.return);break;case 1:FM(C,C.return);var M=C.stateNode;if(typeof M.componentWillUnmount=="function"){c=C,a=C.return;try{i=c,M.props=i.memoizedProps,M.state=i.memoizedState,M.componentWillUnmount()}catch(D){jl(c,a,D)}}break;case 5:FM(C,C.return);break;case 22:if(C.memoizedState!==null){jMt(_);continue}}R!==null?(R.return=C,qr=R):jMt(_)}k=k.sibling}e:for(k=null,_=n;;){if(_.tag===5){if(k===null){k=_;try{d=_.stateNode,S?(g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(w=_.stateNode,E=_.memoizedProps.style,b=E!=null&&E.hasOwnProperty("display")?E.display:null,w.style.display=iBt("display",b))}catch(D){jl(n,n.return,D)}}}else if(_.tag===6){if(k===null)try{_.stateNode.nodeValue=S?"":_.memoizedProps}catch(D){jl(n,n.return,D)}}else if((_.tag!==22&&_.tag!==23||_.memoizedState===null||_===n)&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===n)break e;for(;_.sibling===null;){if(_.return===null||_.return===n)break e;k===_&&(k=null),_=_.return}k===_&&(k=null),_.sibling.return=_.return,_=_.sibling}}break;case 19:Tv(i,n),A2(n),c&4&&MMt(n);break;case 21:break;default:Tv(i,n),A2(n)}}function A2(n){var i=n.flags;if(i&2){try{e:{for(var a=n.return;a!==null;){if(IUt(a)){var c=a;break e}a=a.return}throw Error(ir(160))}switch(c.tag){case 5:var d=c.stateNode;c.flags&32&&(_H(d,""),c.flags&=-33);var g=LMt(n);j6e(n,g,d);break;case 3:case 4:var b=c.stateNode.containerInfo,w=LMt(n);P6e(n,w,b);break;default:throw Error(ir(161))}}catch(E){jl(n,n.return,E)}n.flags&=-3}i&4096&&(n.flags&=-4097)}function s4n(n,i,a){qr=n,DUt(n)}function DUt(n,i,a){for(var c=(n.mode&1)!==0;qr!==null;){var d=qr,g=d.child;if(d.tag===22&&c){var b=d.memoizedState!==null||iie;if(!b){var w=d.alternate,E=w!==null&&w.memoizedState!==null||Pp;w=iie;var S=Pp;if(iie=b,(Pp=E)&&!S)for(qr=d;qr!==null;)b=qr,E=b.child,b.tag===22&&b.memoizedState!==null?FMt(d):E!==null?(E.return=b,qr=E):FMt(d);for(;g!==null;)qr=g,DUt(g),g=g.sibling;qr=d,iie=w,Pp=S}PMt(n)}else d.subtreeFlags&8772&&g!==null?(g.return=d,qr=g):PMt(n)}}function PMt(n){for(;qr!==null;){var i=qr;if(i.flags&8772){var a=i.alternate;try{if(i.flags&8772)switch(i.tag){case 0:case 11:case 15:Pp||Ose(5,i);break;case 1:var c=i.stateNode;if(i.flags&4&&!Pp)if(a===null)c.componentDidMount();else{var d=i.elementType===i.type?a.memoizedProps:_v(i.type,a.memoizedProps);c.componentDidUpdate(d,a.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var g=i.updateQueue;g!==null&&vMt(i,g,c);break;case 3:var b=i.updateQueue;if(b!==null){if(a=null,i.child!==null)switch(i.child.tag){case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}vMt(i,b,a)}break;case 5:var w=i.stateNode;if(a===null&&i.flags&4){a=w;var E=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&a.focus();break;case"img":E.src&&(a.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var S=i.alternate;if(S!==null){var k=S.memoizedState;if(k!==null){var _=k.dehydrated;_!==null&&CH(_)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ir(163))}Pp||i.flags&512&&M6e(i)}catch(C){jl(i,i.return,C)}}if(i===n){qr=null;break}if(a=i.sibling,a!==null){a.return=i.return,qr=a;break}qr=i.return}}function jMt(n){for(;qr!==null;){var i=qr;if(i===n){qr=null;break}var a=i.sibling;if(a!==null){a.return=i.return,qr=a;break}qr=i.return}}function FMt(n){for(;qr!==null;){var i=qr;try{switch(i.tag){case 0:case 11:case 15:var a=i.return;try{Ose(4,i)}catch(E){jl(i,a,E)}break;case 1:var c=i.stateNode;if(typeof c.componentDidMount=="function"){var d=i.return;try{c.componentDidMount()}catch(E){jl(i,d,E)}}var g=i.return;try{M6e(i)}catch(E){jl(i,g,E)}break;case 5:var b=i.return;try{M6e(i)}catch(E){jl(i,b,E)}}}catch(E){jl(i,i.return,E)}if(i===n){qr=null;break}var w=i.sibling;if(w!==null){w.return=i.return,qr=w;break}qr=i.return}}var a4n=Math.ceil,Noe=SA.ReactCurrentDispatcher,YLe=SA.ReactCurrentOwner,yw=SA.ReactCurrentBatchConfig,pa=0,rh=null,Fd=null,jh=0,Om=0,$M=gN(0),Ef=0,BH=null,oR=0,Dse=0,JLe=0,fH=null,rb=null,XLe=0,g5=1/0,nA=null,Coe=!1,F6e=null,Yx=null,oie=!1,Hx=null,Ioe=0,hH=0,$6e=null,Gie=-1,qie=0;function Hg(){return pa&6?pd():Gie!==-1?Gie:Gie=pd()}function Jx(n){return n.mode&1?pa&2&&jh!==0?jh&-jh:GIn.transition!==null?(qie===0&&(qie=mBt()),qie):(n=cu,n!==0||(n=window.event,n=n===void 0?16:ABt(n.type)),n):1}function Dv(n,i,a,c){if(50<hH)throw hH=0,$6e=null,Error(ir(185));fz(n,a,c),(!(pa&2)||n!==rh)&&(n===rh&&(!(pa&2)&&(Dse|=a),Ef===4&&Fx(n,jh)),db(n,c),a===1&&pa===0&&!(i.mode&1)&&(g5=pd()+500,Cse&&bN()))}function db(n,i){var a=n.callbackNode;GCn(n,i);var c=hoe(n,n===rh?jh:0);if(c===0)a!==null&&WLt(a),n.callbackNode=null,n.callbackPriority=0;else if(i=c&-c,n.callbackPriority!==i){if(a!=null&&WLt(a),i===1)n.tag===0?zIn($Mt.bind(null,n)):zBt($Mt.bind(null,n)),$In(function(){!(pa&6)&&bN()}),a=null;else{switch(wBt(c)){case 1:a=TLe;break;case 4:a=gBt;break;case 16:a=foe;break;case 536870912:a=bBt;break;default:a=foe}a=UUt(a,LUt.bind(null,n))}n.callbackPriority=i,n.callbackNode=a}}function LUt(n,i){if(Gie=-1,qie=0,pa&6)throw Error(ir(327));var a=n.callbackNode;if(ZM()&&n.callbackNode!==a)return null;var c=hoe(n,n===rh?jh:0);if(c===0)return null;if(c&30||c&n.expiredLanes||i)i=Roe(n,c);else{i=c;var d=pa;pa|=2;var g=PUt();(rh!==n||jh!==i)&&(nA=null,g5=pd()+500,J4(n,i));do try{l4n();break}catch(w){MUt(n,w)}while(!0);PLe(),Noe.current=g,pa=d,Fd!==null?i=0:(rh=null,jh=0,i=Ef)}if(i!==0){if(i===2&&(d=f6e(n),d!==0&&(c=d,i=B6e(n,d))),i===1)throw a=BH,J4(n,0),Fx(n,c),db(n,pd()),a;if(i===6)Fx(n,c);else{if(d=n.current.alternate,!(c&30)&&!u4n(d)&&(i=Roe(n,c),i===2&&(g=f6e(n),g!==0&&(c=g,i=B6e(n,g))),i===1))throw a=BH,J4(n,0),Fx(n,c),db(n,pd()),a;switch(n.finishedWork=d,n.finishedLanes=c,i){case 0:case 1:throw Error(ir(345));case 2:z4(n,rb,nA);break;case 3:if(Fx(n,c),(c&130023424)===c&&(i=XLe+500-pd(),10<i)){if(hoe(n,0)!==0)break;if(d=n.suspendedLanes,(d&c)!==c){Hg(),n.pingedLanes|=n.suspendedLanes&d;break}n.timeoutHandle=v6e(z4.bind(null,n,rb,nA),i);break}z4(n,rb,nA);break;case 4:if(Fx(n,c),(c&4194240)===c)break;for(i=n.eventTimes,d=-1;0<c;){var b=31-Ov(c);g=1<<b,b=i[b],b>d&&(d=b),c&=~g}if(c=d,c=pd()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*a4n(c/1960))-c,10<c){n.timeoutHandle=v6e(z4.bind(null,n,rb,nA),c);break}z4(n,rb,nA);break;case 5:z4(n,rb,nA);break;default:throw Error(ir(329))}}}return db(n,pd()),n.callbackNode===a?LUt.bind(null,n):null}function B6e(n,i){var a=fH;return n.current.memoizedState.isDehydrated&&(J4(n,i).flags|=256),n=Roe(n,i),n!==2&&(i=rb,rb=a,i!==null&&U6e(i)),n}function U6e(n){rb===null?rb=n:rb.push.apply(rb,n)}function u4n(n){for(var i=n;;){if(i.flags&16384){var a=i.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var c=0;c<a.length;c++){var d=a[c],g=d.getSnapshot;d=d.value;try{if(!Mv(g(),d))return!1}catch{return!1}}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Fx(n,i){for(i&=~JLe,i&=~Dse,n.suspendedLanes|=i,n.pingedLanes&=~i,n=n.expirationTimes;0<i;){var a=31-Ov(i),c=1<<a;n[a]=-1,i&=~c}}function $Mt(n){if(pa&6)throw Error(ir(327));ZM();var i=hoe(n,0);if(!(i&1))return db(n,pd()),null;var a=Roe(n,i);if(n.tag!==0&&a===2){var c=f6e(n);c!==0&&(i=c,a=B6e(n,c))}if(a===1)throw a=BH,J4(n,0),Fx(n,i),db(n,pd()),a;if(a===6)throw Error(ir(345));return n.finishedWork=n.current.alternate,n.finishedLanes=i,z4(n,rb,nA),db(n,pd()),null}function ZLe(n,i){var a=pa;pa|=1;try{return n(i)}finally{pa=a,pa===0&&(g5=pd()+500,Cse&&bN())}}function sR(n){Hx!==null&&Hx.tag===0&&!(pa&6)&&ZM();var i=pa;pa|=1;var a=yw.transition,c=cu;try{if(yw.transition=null,cu=1,n)return n()}finally{cu=c,yw.transition=a,pa=i,!(pa&6)&&bN()}}function QLe(){Om=$M.current,dc($M)}function J4(n,i){n.finishedWork=null,n.finishedLanes=0;var a=n.timeoutHandle;if(a!==-1&&(n.timeoutHandle=-1,FIn(a)),Fd!==null)for(a=Fd.return;a!==null;){var c=a;switch(DLe(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&woe();break;case 3:h5(),dc(cb),dc(Bp),HLe();break;case 5:ULe(c);break;case 4:h5();break;case 13:dc(cl);break;case 19:dc(cl);break;case 10:jLe(c.type._context);break;case 22:case 23:QLe()}a=a.return}if(rh=n,Fd=n=Xx(n.current,null),jh=Om=i,Ef=0,BH=null,JLe=Dse=oR=0,rb=fH=null,W4!==null){for(i=0;i<W4.length;i++)if(a=W4[i],c=a.interleaved,c!==null){a.interleaved=null;var d=c.next,g=a.pending;if(g!==null){var b=g.next;g.next=d,c.next=b}a.pending=c}W4=null}return n}function MUt(n,i){do{var a=Fd;try{if(PLe(),Uie.current=xoe,koe){for(var c=dl.memoizedState;c!==null;){var d=c.queue;d!==null&&(d.pending=null),c=c.next}koe=!1}if(iR=0,eh=wf=dl=null,lH=!1,jH=0,YLe.current=null,a===null||a.return===null){Ef=1,BH=i,Fd=null;break}e:{var g=n,b=a.return,w=a,E=i;if(i=jh,w.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var S=E,k=w,_=k.tag;if(!(k.mode&1)&&(_===0||_===11||_===15)){var C=k.alternate;C?(k.updateQueue=C.updateQueue,k.memoizedState=C.memoizedState,k.lanes=C.lanes):(k.updateQueue=null,k.memoizedState=null)}var R=kMt(b);if(R!==null){R.flags&=-257,xMt(R,b,w,g,i),R.mode&1&&_Mt(g,S,i),i=R,E=S;var M=i.updateQueue;if(M===null){var D=new Set;D.add(E),i.updateQueue=D}else M.add(E);break e}else{if(!(i&1)){_Mt(g,S,i),eMe();break e}E=Error(ir(426))}}else if(Dc&&w.mode&1){var B=kMt(b);if(B!==null){!(B.flags&65536)&&(B.flags|=256),xMt(B,b,w,g,i),LLe(p5(E,w));break e}}g=E=p5(E,w),Ef!==4&&(Ef=2),fH===null?fH=[g]:fH.push(g),g=b;do{switch(g.tag){case 3:g.flags|=65536,i&=-i,g.lanes|=i;var F=wUt(g,E,i);yMt(g,F);break e;case 1:w=E;var $=g.type,P=g.stateNode;if(!(g.flags&128)&&(typeof $.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(Yx===null||!Yx.has(P)))){g.flags|=65536,i&=-i,g.lanes|=i;var H=yUt(g,w,i);yMt(g,H);break e}}g=g.return}while(g!==null)}FUt(a)}catch(Q){i=Q,Fd===a&&a!==null&&(Fd=a=a.return);continue}break}while(!0)}function PUt(){var n=Noe.current;return Noe.current=xoe,n===null?xoe:n}function eMe(){(Ef===0||Ef===3||Ef===2)&&(Ef=4),rh===null||!(oR&268435455)&&!(Dse&268435455)||Fx(rh,jh)}function Roe(n,i){var a=pa;pa|=2;var c=PUt();(rh!==n||jh!==i)&&(nA=null,J4(n,i));do try{c4n();break}catch(d){MUt(n,d)}while(!0);if(PLe(),pa=a,Noe.current=c,Fd!==null)throw Error(ir(261));return rh=null,jh=0,Ef}function c4n(){for(;Fd!==null;)jUt(Fd)}function l4n(){for(;Fd!==null&&!MCn();)jUt(Fd)}function jUt(n){var i=BUt(n.alternate,n,Om);n.memoizedProps=n.pendingProps,i===null?FUt(n):Fd=i,YLe.current=null}function FUt(n){var i=n;do{var a=i.alternate;if(n=i.return,i.flags&32768){if(a=r4n(a,i),a!==null){a.flags&=32767,Fd=a;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{Ef=6,Fd=null;return}}else if(a=n4n(a,i,Om),a!==null){Fd=a;return}if(i=i.sibling,i!==null){Fd=i;return}Fd=i=n}while(i!==null);Ef===0&&(Ef=5)}function z4(n,i,a){var c=cu,d=yw.transition;try{yw.transition=null,cu=1,d4n(n,i,a,c)}finally{yw.transition=d,cu=c}return null}function d4n(n,i,a,c){do ZM();while(Hx!==null);if(pa&6)throw Error(ir(327));a=n.finishedWork;var d=n.finishedLanes;if(a===null)return null;if(n.finishedWork=null,n.finishedLanes=0,a===n.current)throw Error(ir(177));n.callbackNode=null,n.callbackPriority=0;var g=a.lanes|a.childLanes;if(qCn(n,g),n===rh&&(Fd=rh=null,jh=0),!(a.subtreeFlags&2064)&&!(a.flags&2064)||oie||(oie=!0,UUt(foe,function(){return ZM(),null})),g=(a.flags&15990)!==0,a.subtreeFlags&15990||g){g=yw.transition,yw.transition=null;var b=cu;cu=1;var w=pa;pa|=4,YLe.current=null,o4n(n,a),OUt(a,n),RIn(w6e),poe=!!m6e,w6e=m6e=null,n.current=a,s4n(a),PCn(),pa=w,cu=b,yw.transition=g}else n.current=a;if(oie&&(oie=!1,Hx=n,Ioe=d),g=n.pendingLanes,g===0&&(Yx=null),$Cn(a.stateNode),db(n,pd()),i!==null)for(c=n.onRecoverableError,a=0;a<i.length;a++)d=i[a],c(d.value,{componentStack:d.stack,digest:d.digest});if(Coe)throw Coe=!1,n=F6e,F6e=null,n;return Ioe&1&&n.tag!==0&&ZM(),g=n.pendingLanes,g&1?n===$6e?hH++:(hH=0,$6e=n):hH=0,bN(),null}function ZM(){if(Hx!==null){var n=wBt(Ioe),i=yw.transition,a=cu;try{if(yw.transition=null,cu=16>n?16:n,Hx===null)var c=!1;else{if(n=Hx,Hx=null,Ioe=0,pa&6)throw Error(ir(331));var d=pa;for(pa|=4,qr=n.current;qr!==null;){var g=qr,b=g.child;if(qr.flags&16){var w=g.deletions;if(w!==null){for(var E=0;E<w.length;E++){var S=w[E];for(qr=S;qr!==null;){var k=qr;switch(k.tag){case 0:case 11:case 15:dH(8,k,g)}var _=k.child;if(_!==null)_.return=k,qr=_;else for(;qr!==null;){k=qr;var C=k.sibling,R=k.return;if(CUt(k),k===S){qr=null;break}if(C!==null){C.return=R,qr=C;break}qr=R}}}var M=g.alternate;if(M!==null){var D=M.child;if(D!==null){M.child=null;do{var B=D.sibling;D.sibling=null,D=B}while(D!==null)}}qr=g}}if(g.subtreeFlags&2064&&b!==null)b.return=g,qr=b;else e:for(;qr!==null;){if(g=qr,g.flags&2048)switch(g.tag){case 0:case 11:case 15:dH(9,g,g.return)}var F=g.sibling;if(F!==null){F.return=g.return,qr=F;break e}qr=g.return}}var $=n.current;for(qr=$;qr!==null;){b=qr;var P=b.child;if(b.subtreeFlags&2064&&P!==null)P.return=b,qr=P;else e:for(b=$;qr!==null;){if(w=qr,w.flags&2048)try{switch(w.tag){case 0:case 11:case 15:Ose(9,w)}}catch(Q){jl(w,w.return,Q)}if(w===b){qr=null;break e}var H=w.sibling;if(H!==null){H.return=w.return,qr=H;break e}qr=w.return}}if(pa=d,bN(),P2&&typeof P2.onPostCommitFiberRoot=="function")try{P2.onPostCommitFiberRoot(Ase,n)}catch{}c=!0}return c}finally{cu=a,yw.transition=i}}return!1}function BMt(n,i,a){i=p5(a,i),i=wUt(n,i,1),n=Kx(n,i,1),i=Hg(),n!==null&&(fz(n,1,i),db(n,i))}function jl(n,i,a){if(n.tag===3)BMt(n,n,a);else for(;i!==null;){if(i.tag===3){BMt(i,n,a);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Yx===null||!Yx.has(c))){n=p5(a,n),n=yUt(i,n,1),i=Kx(i,n,1),n=Hg(),i!==null&&(fz(i,1,n),db(i,n));break}}i=i.return}}function f4n(n,i,a){var c=n.pingCache;c!==null&&c.delete(i),i=Hg(),n.pingedLanes|=n.suspendedLanes&a,rh===n&&(jh&a)===a&&(Ef===4||Ef===3&&(jh&130023424)===jh&&500>pd()-XLe?J4(n,0):JLe|=a),db(n,i)}function $Ut(n,i){i===0&&(n.mode&1?(i=Yre,Yre<<=1,!(Yre&130023424)&&(Yre=4194304)):i=1);var a=Hg();n=gA(n,i),n!==null&&(fz(n,i,a),db(n,a))}function h4n(n){var i=n.memoizedState,a=0;i!==null&&(a=i.retryLane),$Ut(n,a)}function p4n(n,i){var a=0;switch(n.tag){case 13:var c=n.stateNode,d=n.memoizedState;d!==null&&(a=d.retryLane);break;case 19:c=n.stateNode;break;default:throw Error(ir(314))}c!==null&&c.delete(i),$Ut(n,a)}var BUt;BUt=function(n,i,a){if(n!==null)if(n.memoizedProps!==i.pendingProps||cb.current)sb=!0;else{if(!(n.lanes&a)&&!(i.flags&128))return sb=!1,t4n(n,i,a);sb=!!(n.flags&131072)}else sb=!1,Dc&&i.flags&1048576&&GBt(i,Eoe,i.index);switch(i.lanes=0,i.tag){case 2:var c=i.type;zie(n,i),n=i.pendingProps;var d=l5(i,Bp.current);XM(i,a),d=GLe(null,i,c,n,d,a);var g=qLe();return i.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,lb(c)?(g=!0,yoe(i)):g=!1,i.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,$Le(i),d.updater=Rse,i.stateNode=d,d._reactInternals=i,x6e(i,c,n,a),i=I6e(null,i,c,!0,g,a)):(i.tag=0,Dc&&g&&OLe(i),$g(null,i,d,a),i=i.child),i;case 16:c=i.elementType;e:{switch(zie(n,i),n=i.pendingProps,d=c._init,c=d(c._payload),i.type=c,d=i.tag=b4n(c),n=_v(c,n),d){case 0:i=C6e(null,i,c,n,a);break e;case 1:i=IMt(null,i,c,n,a);break e;case 11:i=NMt(null,i,c,n,a);break e;case 14:i=CMt(null,i,c,_v(c.type,n),a);break e}throw Error(ir(306,c,""))}return i;case 0:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:_v(c,d),C6e(n,i,c,d,a);case 1:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:_v(c,d),IMt(n,i,c,d,a);case 3:e:{if(TUt(i),n===null)throw Error(ir(387));c=i.pendingProps,g=i.memoizedState,d=g.element,JBt(n,i),Aoe(i,c,null,a);var b=i.memoizedState;if(c=b.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){d=p5(Error(ir(423)),i),i=RMt(n,i,c,a,d);break e}else if(c!==d){d=p5(Error(ir(424)),i),i=RMt(n,i,c,a,d);break e}else for(Pm=Wx(i.stateNode.containerInfo.firstChild),Fm=i,Dc=!0,Nv=null,a=KBt(i,null,c,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(d5(),c===d){i=bA(n,i,a);break e}$g(n,i,c,a)}i=i.child}return i;case 5:return XBt(i),n===null&&A6e(i),c=i.type,d=i.pendingProps,g=n!==null?n.memoizedProps:null,b=d.children,y6e(c,d)?b=null:g!==null&&y6e(c,g)&&(i.flags|=32),SUt(n,i),$g(n,i,b,a),i.child;case 6:return n===null&&A6e(i),null;case 13:return AUt(n,i,a);case 4:return BLe(i,i.stateNode.containerInfo),c=i.pendingProps,n===null?i.child=f5(i,null,c,a):$g(n,i,c,a),i.child;case 11:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:_v(c,d),NMt(n,i,c,d,a);case 7:return $g(n,i,i.pendingProps,a),i.child;case 8:return $g(n,i,i.pendingProps.children,a),i.child;case 12:return $g(n,i,i.pendingProps.children,a),i.child;case 10:e:{if(c=i.type._context,d=i.pendingProps,g=i.memoizedProps,b=d.value,Vu(Soe,c._currentValue),c._currentValue=b,g!==null)if(Mv(g.value,b)){if(g.children===d.children&&!cb.current){i=bA(n,i,a);break e}}else for(g=i.child,g!==null&&(g.return=i);g!==null;){var w=g.dependencies;if(w!==null){b=g.child;for(var E=w.firstContext;E!==null;){if(E.context===c){if(g.tag===1){E=dA(-1,a&-a),E.tag=2;var S=g.updateQueue;if(S!==null){S=S.shared;var k=S.pending;k===null?E.next=E:(E.next=k.next,k.next=E),S.pending=E}}g.lanes|=a,E=g.alternate,E!==null&&(E.lanes|=a),_6e(g.return,a,i),w.lanes|=a;break}E=E.next}}else if(g.tag===10)b=g.type===i.type?null:g.child;else if(g.tag===18){if(b=g.return,b===null)throw Error(ir(341));b.lanes|=a,w=b.alternate,w!==null&&(w.lanes|=a),_6e(b,a,i),b=g.sibling}else b=g.child;if(b!==null)b.return=g;else for(b=g;b!==null;){if(b===i){b=null;break}if(g=b.sibling,g!==null){g.return=b.return,b=g;break}b=b.return}g=b}$g(n,i,d.children,a),i=i.child}return i;case 9:return d=i.type,c=i.pendingProps.children,XM(i,a),d=Sw(d),c=c(d),i.flags|=1,$g(n,i,c,a),i.child;case 14:return c=i.type,d=_v(c,i.pendingProps),d=_v(c.type,d),CMt(n,i,c,d,a);case 15:return vUt(n,i,i.type,i.pendingProps,a);case 17:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:_v(c,d),zie(n,i),i.tag=1,lb(c)?(n=!0,yoe(i)):n=!1,XM(i,a),mUt(i,c,d),x6e(i,c,d,a),I6e(null,i,c,!0,n,a);case 19:return _Ut(n,i,a);case 22:return EUt(n,i,a)}throw Error(ir(156,i.tag))};function UUt(n,i){return pBt(n,i)}function g4n(n,i,a,c){this.tag=n,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ww(n,i,a,c){return new g4n(n,i,a,c)}function tMe(n){return n=n.prototype,!(!n||!n.isReactComponent)}function b4n(n){if(typeof n=="function")return tMe(n)?1:0;if(n!=null){if(n=n.$$typeof,n===vLe)return 11;if(n===ELe)return 14}return 2}function Xx(n,i){var a=n.alternate;return a===null?(a=ww(n.tag,i,n.key,n.mode),a.elementType=n.elementType,a.type=n.type,a.stateNode=n.stateNode,a.alternate=n,n.alternate=a):(a.pendingProps=i,a.type=n.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=n.flags&14680064,a.childLanes=n.childLanes,a.lanes=n.lanes,a.child=n.child,a.memoizedProps=n.memoizedProps,a.memoizedState=n.memoizedState,a.updateQueue=n.updateQueue,i=n.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=n.sibling,a.index=n.index,a.ref=n.ref,a}function Vie(n,i,a,c,d,g){var b=2;if(c=n,typeof n=="function")tMe(n)&&(b=1);else if(typeof n=="string")b=5;else e:switch(n){case CM:return X4(a.children,d,g,i);case yLe:b=8,d|=8;break;case XOe:return n=ww(12,a,i,d|2),n.elementType=XOe,n.lanes=g,n;case ZOe:return n=ww(13,a,i,d),n.elementType=ZOe,n.lanes=g,n;case QOe:return n=ww(19,a,i,d),n.elementType=QOe,n.lanes=g,n;case X$t:return Lse(a,d,g,i);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Y$t:b=10;break e;case J$t:b=9;break e;case vLe:b=11;break e;case ELe:b=14;break e;case Mx:b=16,c=null;break e}throw Error(ir(130,n==null?n:typeof n,""))}return i=ww(b,a,i,d),i.elementType=n,i.type=c,i.lanes=g,i}function X4(n,i,a,c){return n=ww(7,n,c,i),n.lanes=a,n}function Lse(n,i,a,c){return n=ww(22,n,c,i),n.elementType=X$t,n.lanes=a,n.stateNode={isHidden:!1},n}function vCe(n,i,a){return n=ww(6,n,null,i),n.lanes=a,n}function ECe(n,i,a){return i=ww(4,n.children!==null?n.children:[],n.key,i),i.lanes=a,i.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},i}function m4n(n,i,a,c,d){this.tag=i,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tCe(0),this.expirationTimes=tCe(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tCe(0),this.identifierPrefix=c,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function nMe(n,i,a,c,d,g,b,w,E){return n=new m4n(n,i,a,w,E),i===1?(i=1,g===!0&&(i|=8)):i=0,g=ww(3,null,null,i),n.current=g,g.stateNode=n,g.memoizedState={element:c,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},$Le(g),n}function w4n(n,i,a){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:NM,key:c==null?null:""+c,children:n,containerInfo:i,implementation:a}}function HUt(n){if(!n)return nN;n=n._reactInternals;e:{if(SR(n)!==n||n.tag!==1)throw Error(ir(170));var i=n;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(lb(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(ir(171))}if(n.tag===1){var a=n.type;if(lb(a))return HBt(n,a,i)}return i}function zUt(n,i,a,c,d,g,b,w,E){return n=nMe(a,c,!0,n,d,g,b,w,E),n.context=HUt(null),a=n.current,c=Hg(),d=Jx(a),g=dA(c,d),g.callback=i??null,Kx(a,g,d),n.current.lanes=d,fz(n,d,c),db(n,c),n}function Mse(n,i,a,c){var d=i.current,g=Hg(),b=Jx(d);return a=HUt(a),i.context===null?i.context=a:i.pendingContext=a,i=dA(g,b),i.payload={element:n},c=c===void 0?null:c,c!==null&&(i.callback=c),n=Kx(d,i,b),n!==null&&(Dv(n,d,b,g),Bie(n,d,b)),b}function Ooe(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function UMt(n,i){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var a=n.retryLane;n.retryLane=a!==0&&a<i?a:i}}function rMe(n,i){UMt(n,i),(n=n.alternate)&&UMt(n,i)}function y4n(){return null}var GUt=typeof reportError=="function"?reportError:function(n){console.error(n)};function iMe(n){this._internalRoot=n}Pse.prototype.render=iMe.prototype.render=function(n){var i=this._internalRoot;if(i===null)throw Error(ir(409));Mse(n,i,null,null)};Pse.prototype.unmount=iMe.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var i=n.containerInfo;sR(function(){Mse(null,n,null,null)}),i[pA]=null}};function Pse(n){this._internalRoot=n}Pse.prototype.unstable_scheduleHydration=function(n){if(n){var i=EBt();n={blockedOn:null,target:n,priority:i};for(var a=0;a<jx.length&&i!==0&&i<jx[a].priority;a++);jx.splice(a,0,n),a===0&&TBt(n)}};function oMe(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function jse(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function HMt(){}function v4n(n,i,a,c,d){if(d){if(typeof c=="function"){var g=c;c=function(){var S=Ooe(b);g.call(S)}}var b=zUt(i,c,n,0,null,!1,!1,"",HMt);return n._reactRootContainer=b,n[pA]=b.current,OH(n.nodeType===8?n.parentNode:n),sR(),b}for(;d=n.lastChild;)n.removeChild(d);if(typeof c=="function"){var w=c;c=function(){var S=Ooe(E);w.call(S)}}var E=nMe(n,0,!1,null,null,!1,!1,"",HMt);return n._reactRootContainer=E,n[pA]=E.current,OH(n.nodeType===8?n.parentNode:n),sR(function(){Mse(i,E,a,c)}),E}function Fse(n,i,a,c,d){var g=a._reactRootContainer;if(g){var b=g;if(typeof d=="function"){var w=d;d=function(){var E=Ooe(b);w.call(E)}}Mse(i,b,n,d)}else b=v4n(a,i,n,d,c);return Ooe(b)}yBt=function(n){switch(n.tag){case 3:var i=n.stateNode;if(i.current.memoizedState.isDehydrated){var a=VU(i.pendingLanes);a!==0&&(ALe(i,a|1),db(i,pd()),!(pa&6)&&(g5=pd()+500,bN()))}break;case 13:sR(function(){var c=gA(n,1);if(c!==null){var d=Hg();Dv(c,n,1,d)}}),rMe(n,1)}};_Le=function(n){if(n.tag===13){var i=gA(n,134217728);if(i!==null){var a=Hg();Dv(i,n,134217728,a)}rMe(n,134217728)}};vBt=function(n){if(n.tag===13){var i=Jx(n),a=gA(n,i);if(a!==null){var c=Hg();Dv(a,n,i,c)}rMe(n,i)}};EBt=function(){return cu};SBt=function(n,i){var a=cu;try{return cu=n,i()}finally{cu=a}};c6e=function(n,i,a){switch(i){case"input":if(n6e(n,a),i=a.name,a.type==="radio"&&i!=null){for(a=n;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<a.length;i++){var c=a[i];if(c!==n&&c.form===n.form){var d=Nse(c);if(!d)throw Error(ir(90));Q$t(c),n6e(c,d)}}}break;case"textarea":tBt(n,a);break;case"select":i=a.value,i!=null&&WM(n,!!a.multiple,i,!1)}};uBt=ZLe;cBt=sR;var E4n={usingClientEntryPoint:!1,Events:[pz,DM,Nse,sBt,aBt,ZLe]},LU={findFiberByHostInstance:V4,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},S4n={bundleType:LU.bundleType,version:LU.version,rendererPackageName:LU.rendererPackageName,rendererConfig:LU.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:SA.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=fBt(n),n===null?null:n.stateNode},findFiberByHostInstance:LU.findFiberByHostInstance||y4n,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var sie=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sie.isDisabled&&sie.supportsFiber)try{Ase=sie.inject(S4n),P2=sie}catch{}}Hm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E4n;Hm.createPortal=function(n,i){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!oMe(i))throw Error(ir(200));return w4n(n,i,null,a)};Hm.createRoot=function(n,i){if(!oMe(n))throw Error(ir(299));var a=!1,c="",d=GUt;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onRecoverableError!==void 0&&(d=i.onRecoverableError)),i=nMe(n,1,!1,null,null,a,!1,c,d),n[pA]=i.current,OH(n.nodeType===8?n.parentNode:n),new iMe(i)};Hm.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var i=n._reactInternals;if(i===void 0)throw typeof n.render=="function"?Error(ir(188)):(n=Object.keys(n).join(","),Error(ir(268,n)));return n=fBt(i),n=n===null?null:n.stateNode,n};Hm.flushSync=function(n){return sR(n)};Hm.hydrate=function(n,i,a){if(!jse(i))throw Error(ir(200));return Fse(null,n,i,!0,a)};Hm.hydrateRoot=function(n,i,a){if(!oMe(n))throw Error(ir(405));var c=a!=null&&a.hydratedSources||null,d=!1,g="",b=GUt;if(a!=null&&(a.unstable_strictMode===!0&&(d=!0),a.identifierPrefix!==void 0&&(g=a.identifierPrefix),a.onRecoverableError!==void 0&&(b=a.onRecoverableError)),i=zUt(i,null,n,1,a??null,d,!1,g,b),n[pA]=i.current,OH(n),c)for(n=0;n<c.length;n++)a=c[n],d=a._getVersion,d=d(a._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[a,d]:i.mutableSourceEagerHydrationData.push(a,d);return new Pse(i)};Hm.render=function(n,i,a){if(!jse(i))throw Error(ir(200));return Fse(null,n,i,!1,a)};Hm.unmountComponentAtNode=function(n){if(!jse(n))throw Error(ir(40));return n._reactRootContainer?(sR(function(){Fse(null,null,n,!1,function(){n._reactRootContainer=null,n[pA]=null})}),!0):!1};Hm.unstable_batchedUpdates=ZLe;Hm.unstable_renderSubtreeIntoContainer=function(n,i,a,c){if(!jse(a))throw Error(ir(200));if(n==null||n._reactInternals===void 0)throw Error(ir(38));return Fse(n,i,a,!1,c)};Hm.version="18.3.1-next-f1338f8080-20240426";function qUt(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qUt)}catch(n){console.error(n)}}qUt(),q$t.exports=Hm;var TR=q$t.exports;const VUt=vR(TR);var zMt=TR;uoe.createRoot=zMt.createRoot,uoe.hydrateRoot=zMt.hydrateRoot;const yo=n=>typeof n=="string",MU=()=>{let n,i;const a=new Promise((c,d)=>{n=c,i=d});return a.resolve=n,a.reject=i,a},GMt=n=>n==null?"":""+n,T4n=(n,i,a)=>{n.forEach(c=>{i[c]&&(a[c]=i[c])})},A4n=/###/g,qMt=n=>n&&n.indexOf("###")>-1?n.replace(A4n,"."):n,VMt=n=>!n||yo(n),pH=(n,i,a)=>{const c=yo(i)?i.split("."):i;let d=0;for(;d<c.length-1;){if(VMt(n))return{};const g=qMt(c[d]);!n[g]&&a&&(n[g]=new a),Object.prototype.hasOwnProperty.call(n,g)?n=n[g]:n={},++d}return VMt(n)?{}:{obj:n,k:qMt(c[d])}},WMt=(n,i,a)=>{const{obj:c,k:d}=pH(n,i,Object);if(c!==void 0||i.length===1){c[d]=a;return}let g=i[i.length-1],b=i.slice(0,i.length-1),w=pH(n,b,Object);for(;w.obj===void 0&&b.length;)g=`${b[b.length-1]}.${g}`,b=b.slice(0,b.length-1),w=pH(n,b,Object),w!=null&&w.obj&&typeof w.obj[`${w.k}.${g}`]<"u"&&(w.obj=void 0);w.obj[`${w.k}.${g}`]=a},_4n=(n,i,a,c)=>{const{obj:d,k:g}=pH(n,i,Object);d[g]=d[g]||[],d[g].push(a)},Doe=(n,i)=>{const{obj:a,k:c}=pH(n,i);if(a&&Object.prototype.hasOwnProperty.call(a,c))return a[c]},k4n=(n,i,a)=>{const c=Doe(n,a);return c!==void 0?c:Doe(i,a)},WUt=(n,i,a)=>{for(const c in i)c!=="__proto__"&&c!=="constructor"&&(c in n?yo(n[c])||n[c]instanceof String||yo(i[c])||i[c]instanceof String?a&&(n[c]=i[c]):WUt(n[c],i[c],a):n[c]=i[c]);return n},pM=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var x4n={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const N4n=n=>yo(n)?n.replace(/[&<>"'\/]/g,i=>x4n[i]):n;class C4n{constructor(i){this.capacity=i,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(i){const a=this.regExpMap.get(i);if(a!==void 0)return a;const c=new RegExp(i);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(i,c),this.regExpQueue.push(i),c}}const I4n=[" ",",","?","!",";"],R4n=new C4n(20),O4n=(n,i,a)=>{i=i||"",a=a||"";const c=I4n.filter(b=>i.indexOf(b)<0&&a.indexOf(b)<0);if(c.length===0)return!0;const d=R4n.getRegExp(`(${c.map(b=>b==="?"?"\\?":b).join("|")})`);let g=!d.test(n);if(!g){const b=n.indexOf(a);b>0&&!d.test(n.substring(0,b))&&(g=!0)}return g},H6e=(n,i,a=".")=>{if(!n)return;if(n[i])return Object.prototype.hasOwnProperty.call(n,i)?n[i]:void 0;const c=i.split(a);let d=n;for(let g=0;g<c.length;){if(!d||typeof d!="object")return;let b,w="";for(let E=g;E<c.length;++E)if(E!==g&&(w+=a),w+=c[E],b=d[w],b!==void 0){if(["string","number","boolean"].indexOf(typeof b)>-1&&E<c.length-1)continue;g+=E-g+1;break}d=b}return d},UH=n=>n==null?void 0:n.replace("_","-"),D4n={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,i){var a,c;(c=(a=console==null?void 0:console[n])==null?void 0:a.apply)==null||c.call(a,console,i)}};let L4n=class z6e{constructor(i,a={}){this.init(i,a)}init(i,a={}){this.prefix=a.prefix||"i18next:",this.logger=i||D4n,this.options=a,this.debug=a.debug}log(...i){return this.forward(i,"log","",!0)}warn(...i){return this.forward(i,"warn","",!0)}error(...i){return this.forward(i,"error","")}deprecate(...i){return this.forward(i,"warn","WARNING DEPRECATED: ",!0)}forward(i,a,c,d){return d&&!this.debug?null:(yo(i[0])&&(i[0]=`${c}${this.prefix} ${i[0]}`),this.logger[a](i))}create(i){return new z6e(this.logger,{prefix:`${this.prefix}:${i}:`,...this.options})}clone(i){return i=i||this.options,i.prefix=i.prefix||this.prefix,new z6e(this.logger,i)}};var D2=new L4n;class $se{constructor(){this.observers={}}on(i,a){return i.split(" ").forEach(c=>{this.observers[c]||(this.observers[c]=new Map);const d=this.observers[c].get(a)||0;this.observers[c].set(a,d+1)}),this}off(i,a){if(this.observers[i]){if(!a){delete this.observers[i];return}this.observers[i].delete(a)}}emit(i,...a){this.observers[i]&&Array.from(this.observers[i].entries()).forEach(([d,g])=>{for(let b=0;b<g;b++)d(...a)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([d,g])=>{for(let b=0;b<g;b++)d.apply(d,[i,...a])})}}class KMt extends $se{constructor(i,a={ns:["translation"],defaultNS:"translation"}){super(),this.data=i||{},this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}removeNamespaces(i){const a=this.options.ns.indexOf(i);a>-1&&this.options.ns.splice(a,1)}getResource(i,a,c,d={}){var S,k;const g=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator,b=d.ignoreJSONStructure!==void 0?d.ignoreJSONStructure:this.options.ignoreJSONStructure;let w;i.indexOf(".")>-1?w=i.split("."):(w=[i,a],c&&(Array.isArray(c)?w.push(...c):yo(c)&&g?w.push(...c.split(g)):w.push(c)));const E=Doe(this.data,w);return!E&&!a&&!c&&i.indexOf(".")>-1&&(i=w[0],a=w[1],c=w.slice(2).join(".")),E||!b||!yo(c)?E:H6e((k=(S=this.data)==null?void 0:S[i])==null?void 0:k[a],c,g)}addResource(i,a,c,d,g={silent:!1}){const b=g.keySeparator!==void 0?g.keySeparator:this.options.keySeparator;let w=[i,a];c&&(w=w.concat(b?c.split(b):c)),i.indexOf(".")>-1&&(w=i.split("."),d=a,a=w[1]),this.addNamespaces(a),WMt(this.data,w,d),g.silent||this.emit("added",i,a,c,d)}addResources(i,a,c,d={silent:!1}){for(const g in c)(yo(c[g])||Array.isArray(c[g]))&&this.addResource(i,a,g,c[g],{silent:!0});d.silent||this.emit("added",i,a,c)}addResourceBundle(i,a,c,d,g,b={silent:!1,skipCopy:!1}){let w=[i,a];i.indexOf(".")>-1&&(w=i.split("."),d=c,c=a,a=w[1]),this.addNamespaces(a);let E=Doe(this.data,w)||{};b.skipCopy||(c=JSON.parse(JSON.stringify(c))),d?WUt(E,c,g):E={...E,...c},WMt(this.data,w,E),b.silent||this.emit("added",i,a,c)}removeResourceBundle(i,a){this.hasResourceBundle(i,a)&&delete this.data[i][a],this.removeNamespaces(a),this.emit("removed",i,a)}hasResourceBundle(i,a){return this.getResource(i,a)!==void 0}getResourceBundle(i,a){return a||(a=this.options.defaultNS),this.getResource(i,a)}getDataByLanguage(i){return this.data[i]}hasLanguageSomeTranslations(i){const a=this.getDataByLanguage(i);return!!(a&&Object.keys(a)||[]).find(d=>a[d]&&Object.keys(a[d]).length>0)}toJSON(){return this.data}}var KUt={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,i,a,c,d){return n.forEach(g=>{var b;i=((b=this.processors[g])==null?void 0:b.process(i,a,c,d))??i}),i}};const YUt=Symbol("i18next/PATH_KEY");function M4n(){const n=[],i=Object.create(null);let a;return i.get=(c,d)=>{var g;return(g=a==null?void 0:a.revoke)==null||g.call(a),d===YUt?n:(n.push(d),a=Proxy.revocable(c,i),a.proxy)},Proxy.revocable(Object.create(null),i).proxy}function G6e(n,i){const{[YUt]:a}=n(M4n());return a.join((i==null?void 0:i.keySeparator)??".")}const YMt={},SCe=n=>!yo(n)&&typeof n!="boolean"&&typeof n!="number";class Loe extends $se{constructor(i,a={}){super(),T4n(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],i,this),this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=D2.create("translator")}changeLanguage(i){i&&(this.language=i)}exists(i,a={interpolation:{}}){const c={...a};if(i==null)return!1;const d=this.resolve(i,c);if((d==null?void 0:d.res)===void 0)return!1;const g=SCe(d.res);return!(c.returnObjects===!1&&g)}extractFromKey(i,a){let c=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;c===void 0&&(c=":");const d=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let g=a.ns||this.options.defaultNS||[];const b=c&&i.indexOf(c)>-1,w=!this.options.userDefinedKeySeparator&&!a.keySeparator&&!this.options.userDefinedNsSeparator&&!a.nsSeparator&&!O4n(i,c,d);if(b&&!w){const E=i.match(this.interpolator.nestingRegexp);if(E&&E.length>0)return{key:i,namespaces:yo(g)?[g]:g};const S=i.split(c);(c!==d||c===d&&this.options.ns.indexOf(S[0])>-1)&&(g=S.shift()),i=S.join(d)}return{key:i,namespaces:yo(g)?[g]:g}}translate(i,a,c){let d=typeof a=="object"?{...a}:a;if(typeof d!="object"&&this.options.overloadTranslationOptionHandler&&(d=this.options.overloadTranslationOptionHandler(arguments)),typeof d=="object"&&(d={...d}),d||(d={}),i==null)return"";typeof i=="function"&&(i=G6e(i,{...this.options,...d})),Array.isArray(i)||(i=[String(i)]);const g=d.returnDetails!==void 0?d.returnDetails:this.options.returnDetails,b=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator,{key:w,namespaces:E}=this.extractFromKey(i[i.length-1],d),S=E[E.length-1];let k=d.nsSeparator!==void 0?d.nsSeparator:this.options.nsSeparator;k===void 0&&(k=":");const _=d.lng||this.language,C=d.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((_==null?void 0:_.toLowerCase())==="cimode")return C?g?{res:`${S}${k}${w}`,usedKey:w,exactUsedKey:w,usedLng:_,usedNS:S,usedParams:this.getUsedParamsDetails(d)}:`${S}${k}${w}`:g?{res:w,usedKey:w,exactUsedKey:w,usedLng:_,usedNS:S,usedParams:this.getUsedParamsDetails(d)}:w;const R=this.resolve(i,d);let M=R==null?void 0:R.res;const D=(R==null?void 0:R.usedKey)||w,B=(R==null?void 0:R.exactUsedKey)||w,F=["[object Number]","[object Function]","[object RegExp]"],$=d.joinArrays!==void 0?d.joinArrays:this.options.joinArrays,P=!this.i18nFormat||this.i18nFormat.handleAsObject,H=d.count!==void 0&&!yo(d.count),Q=Loe.hasDefaultValue(d),re=H?this.pluralResolver.getSuffix(_,d.count,d):"",ee=d.ordinal&&H?this.pluralResolver.getSuffix(_,d.count,{ordinal:!1}):"",ae=H&&!d.ordinal&&d.count===0,he=ae&&d[`defaultValue${this.options.pluralSeparator}zero`]||d[`defaultValue${re}`]||d[`defaultValue${ee}`]||d.defaultValue;let ve=M;P&&!M&&Q&&(ve=he);const de=SCe(ve),ge=Object.prototype.toString.apply(ve);if(P&&ve&&de&&F.indexOf(ge)<0&&!(yo($)&&Array.isArray(ve))){if(!d.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Y=this.options.returnedObjectHandler?this.options.returnedObjectHandler(D,ve,{...d,ns:E}):`key '${w} (${this.language})' returned an object instead of string.`;return g?(R.res=Y,R.usedParams=this.getUsedParamsDetails(d),R):Y}if(b){const Y=Array.isArray(ve),fe=Y?[]:{},De=Y?B:D;for(const Se in ve)if(Object.prototype.hasOwnProperty.call(ve,Se)){const $e=`${De}${b}${Se}`;Q&&!M?fe[Se]=this.translate($e,{...d,defaultValue:SCe(he)?he[Se]:void 0,joinArrays:!1,ns:E}):fe[Se]=this.translate($e,{...d,joinArrays:!1,ns:E}),fe[Se]===$e&&(fe[Se]=ve[Se])}M=fe}}else if(P&&yo($)&&Array.isArray(M))M=M.join($),M&&(M=this.extendTranslation(M,i,d,c));else{let Y=!1,fe=!1;!this.isValidLookup(M)&&Q&&(Y=!0,M=he),this.isValidLookup(M)||(fe=!0,M=w);const Se=(d.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&fe?void 0:M,$e=Q&&he!==M&&this.options.updateMissing;if(fe||Y||$e){if(this.logger.log($e?"updateKey":"missingKey",_,S,w,$e?he:M),b){const bt=this.resolve(w,{...d,keySeparator:!1});bt&&bt.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Te=[];const ke=this.languageUtils.getFallbackCodes(this.options.fallbackLng,d.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ke&&ke[0])for(let bt=0;bt<ke.length;bt++)Te.push(ke[bt]);else this.options.saveMissingTo==="all"?Te=this.languageUtils.toResolveHierarchy(d.lng||this.language):Te.push(d.lng||this.language);const Je=(bt,qe,_t)=>{var ft;const At=Q&&_t!==M?_t:Se;this.options.missingKeyHandler?this.options.missingKeyHandler(bt,S,qe,At,$e,d):(ft=this.backendConnector)!=null&&ft.saveMissing&&this.backendConnector.saveMissing(bt,S,qe,At,$e,d),this.emit("missingKey",bt,S,qe,M)};this.options.saveMissing&&(this.options.saveMissingPlurals&&H?Te.forEach(bt=>{const qe=this.pluralResolver.getSuffixes(bt,d);ae&&d[`defaultValue${this.options.pluralSeparator}zero`]&&qe.indexOf(`${this.options.pluralSeparator}zero`)<0&&qe.push(`${this.options.pluralSeparator}zero`),qe.forEach(_t=>{Je([bt],w+_t,d[`defaultValue${_t}`]||he)})}):Je(Te,w,he))}M=this.extendTranslation(M,i,d,R,c),fe&&M===w&&this.options.appendNamespaceToMissingKey&&(M=`${S}${k}${w}`),(fe||Y)&&this.options.parseMissingKeyHandler&&(M=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${S}${k}${w}`:w,Y?M:void 0,d))}return g?(R.res=M,R.usedParams=this.getUsedParamsDetails(d),R):M}extendTranslation(i,a,c,d,g){var E,S;if((E=this.i18nFormat)!=null&&E.parse)i=this.i18nFormat.parse(i,{...this.options.interpolation.defaultVariables,...c},c.lng||this.language||d.usedLng,d.usedNS,d.usedKey,{resolved:d});else if(!c.skipInterpolation){c.interpolation&&this.interpolator.init({...c,interpolation:{...this.options.interpolation,...c.interpolation}});const k=yo(i)&&(((S=c==null?void 0:c.interpolation)==null?void 0:S.skipOnVariables)!==void 0?c.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let _;if(k){const R=i.match(this.interpolator.nestingRegexp);_=R&&R.length}let C=c.replace&&!yo(c.replace)?c.replace:c;if(this.options.interpolation.defaultVariables&&(C={...this.options.interpolation.defaultVariables,...C}),i=this.interpolator.interpolate(i,C,c.lng||this.language||d.usedLng,c),k){const R=i.match(this.interpolator.nestingRegexp),M=R&&R.length;_<M&&(c.nest=!1)}!c.lng&&d&&d.res&&(c.lng=this.language||d.usedLng),c.nest!==!1&&(i=this.interpolator.nest(i,(...R)=>(g==null?void 0:g[0])===R[0]&&!c.context?(this.logger.warn(`It seems you are nesting recursively key: ${R[0]} in key: ${a[0]}`),null):this.translate(...R,a),c)),c.interpolation&&this.interpolator.reset()}const b=c.postProcess||this.options.postProcess,w=yo(b)?[b]:b;return i!=null&&(w!=null&&w.length)&&c.applyPostProcessor!==!1&&(i=KUt.handle(w,i,a,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...d,usedParams:this.getUsedParamsDetails(c)},...c}:c,this)),i}resolve(i,a={}){let c,d,g,b,w;return yo(i)&&(i=[i]),i.forEach(E=>{if(this.isValidLookup(c))return;const S=this.extractFromKey(E,a),k=S.key;d=k;let _=S.namespaces;this.options.fallbackNS&&(_=_.concat(this.options.fallbackNS));const C=a.count!==void 0&&!yo(a.count),R=C&&!a.ordinal&&a.count===0,M=a.context!==void 0&&(yo(a.context)||typeof a.context=="number")&&a.context!=="",D=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);_.forEach(B=>{var F,$;this.isValidLookup(c)||(w=B,!YMt[`${D[0]}-${B}`]&&((F=this.utils)!=null&&F.hasLoadedNamespace)&&!(($=this.utils)!=null&&$.hasLoadedNamespace(w))&&(YMt[`${D[0]}-${B}`]=!0,this.logger.warn(`key "${d}" for languages "${D.join(", ")}" won't get resolved as namespace "${w}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),D.forEach(P=>{var re;if(this.isValidLookup(c))return;b=P;const H=[k];if((re=this.i18nFormat)!=null&&re.addLookupKeys)this.i18nFormat.addLookupKeys(H,k,P,B,a);else{let ee;C&&(ee=this.pluralResolver.getSuffix(P,a.count,a));const ae=`${this.options.pluralSeparator}zero`,he=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(C&&(a.ordinal&&ee.indexOf(he)===0&&H.push(k+ee.replace(he,this.options.pluralSeparator)),H.push(k+ee),R&&H.push(k+ae)),M){const ve=`${k}${this.options.contextSeparator||"_"}${a.context}`;H.push(ve),C&&(a.ordinal&&ee.indexOf(he)===0&&H.push(ve+ee.replace(he,this.options.pluralSeparator)),H.push(ve+ee),R&&H.push(ve+ae))}}let Q;for(;Q=H.pop();)this.isValidLookup(c)||(g=Q,c=this.getResource(P,B,Q,a))}))})}),{res:c,usedKey:d,exactUsedKey:g,usedLng:b,usedNS:w}}isValidLookup(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}getResource(i,a,c,d={}){var g;return(g=this.i18nFormat)!=null&&g.getResource?this.i18nFormat.getResource(i,a,c,d):this.resourceStore.getResource(i,a,c,d)}getUsedParamsDetails(i={}){const a=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],c=i.replace&&!yo(i.replace);let d=c?i.replace:i;if(c&&typeof i.count<"u"&&(d.count=i.count),this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),!c){d={...d};for(const g of a)delete d[g]}return d}static hasDefaultValue(i){const a="defaultValue";for(const c in i)if(Object.prototype.hasOwnProperty.call(i,c)&&a===c.substring(0,a.length)&&i[c]!==void 0)return!0;return!1}}class JMt{constructor(i){this.options=i,this.supportedLngs=this.options.supportedLngs||!1,this.logger=D2.create("languageUtils")}getScriptPartFromCode(i){if(i=UH(i),!i||i.indexOf("-")<0)return null;const a=i.split("-");return a.length===2||(a.pop(),a[a.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(a.join("-"))}getLanguagePartFromCode(i){if(i=UH(i),!i||i.indexOf("-")<0)return i;const a=i.split("-");return this.formatLanguageCode(a[0])}formatLanguageCode(i){if(yo(i)&&i.indexOf("-")>-1){let a;try{a=Intl.getCanonicalLocales(i)[0]}catch{}return a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a||(this.options.lowerCaseLng?i.toLowerCase():i)}return this.options.cleanCode||this.options.lowerCaseLng?i.toLowerCase():i}isSupportedCode(i){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(i=this.getLanguagePartFromCode(i)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(i)>-1}getBestMatchFromCodes(i){if(!i)return null;let a;return i.forEach(c=>{if(a)return;const d=this.formatLanguageCode(c);(!this.options.supportedLngs||this.isSupportedCode(d))&&(a=d)}),!a&&this.options.supportedLngs&&i.forEach(c=>{if(a)return;const d=this.getScriptPartFromCode(c);if(this.isSupportedCode(d))return a=d;const g=this.getLanguagePartFromCode(c);if(this.isSupportedCode(g))return a=g;a=this.options.supportedLngs.find(b=>{if(b===g)return b;if(!(b.indexOf("-")<0&&g.indexOf("-")<0)&&(b.indexOf("-")>0&&g.indexOf("-")<0&&b.substring(0,b.indexOf("-"))===g||b.indexOf(g)===0&&g.length>1))return b})}),a||(a=this.getFallbackCodes(this.options.fallbackLng)[0]),a}getFallbackCodes(i,a){if(!i)return[];if(typeof i=="function"&&(i=i(a)),yo(i)&&(i=[i]),Array.isArray(i))return i;if(!a)return i.default||[];let c=i[a];return c||(c=i[this.getScriptPartFromCode(a)]),c||(c=i[this.formatLanguageCode(a)]),c||(c=i[this.getLanguagePartFromCode(a)]),c||(c=i.default),c||[]}toResolveHierarchy(i,a){const c=this.getFallbackCodes((a===!1?[]:a)||this.options.fallbackLng||[],i),d=[],g=b=>{b&&(this.isSupportedCode(b)?d.push(b):this.logger.warn(`rejecting language code not found in supportedLngs: ${b}`))};return yo(i)&&(i.indexOf("-")>-1||i.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&g(this.formatLanguageCode(i)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&g(this.getScriptPartFromCode(i)),this.options.load!=="currentOnly"&&g(this.getLanguagePartFromCode(i))):yo(i)&&g(this.formatLanguageCode(i)),c.forEach(b=>{d.indexOf(b)<0&&g(this.formatLanguageCode(b))}),d}}const XMt={zero:0,one:1,two:2,few:3,many:4,other:5},ZMt={select:n=>n===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class P4n{constructor(i,a={}){this.languageUtils=i,this.options=a,this.logger=D2.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(i,a={}){const c=UH(i==="dev"?"en":i),d=a.ordinal?"ordinal":"cardinal",g=JSON.stringify({cleanedCode:c,type:d});if(g in this.pluralRulesCache)return this.pluralRulesCache[g];let b;try{b=new Intl.PluralRules(c,{type:d})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),ZMt;if(!i.match(/-|_/))return ZMt;const E=this.languageUtils.getLanguagePartFromCode(i);b=this.getRule(E,a)}return this.pluralRulesCache[g]=b,b}needsPlural(i,a={}){let c=this.getRule(i,a);return c||(c=this.getRule("dev",a)),(c==null?void 0:c.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(i,a,c={}){return this.getSuffixes(i,c).map(d=>`${a}${d}`)}getSuffixes(i,a={}){let c=this.getRule(i,a);return c||(c=this.getRule("dev",a)),c?c.resolvedOptions().pluralCategories.sort((d,g)=>XMt[d]-XMt[g]).map(d=>`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${d}`):[]}getSuffix(i,a,c={}){const d=this.getRule(i,c);return d?`${this.options.prepend}${c.ordinal?`ordinal${this.options.prepend}`:""}${d.select(a)}`:(this.logger.warn(`no plural rule found for: ${i}`),this.getSuffix("dev",a,c))}}const QMt=(n,i,a,c=".",d=!0)=>{let g=k4n(n,i,a);return!g&&d&&yo(a)&&(g=H6e(n,a,c),g===void 0&&(g=H6e(i,a,c))),g},TCe=n=>n.replace(/\$/g,"$$$$");class e5t{constructor(i={}){var a;this.logger=D2.create("interpolator"),this.options=i,this.format=((a=i==null?void 0:i.interpolation)==null?void 0:a.format)||(c=>c),this.init(i)}init(i={}){i.interpolation||(i.interpolation={escapeValue:!0});const{escape:a,escapeValue:c,useRawValueToEscape:d,prefix:g,prefixEscaped:b,suffix:w,suffixEscaped:E,formatSeparator:S,unescapeSuffix:k,unescapePrefix:_,nestingPrefix:C,nestingPrefixEscaped:R,nestingSuffix:M,nestingSuffixEscaped:D,nestingOptionsSeparator:B,maxReplaces:F,alwaysFormat:$}=i.interpolation;this.escape=a!==void 0?a:N4n,this.escapeValue=c!==void 0?c:!0,this.useRawValueToEscape=d!==void 0?d:!1,this.prefix=g?pM(g):b||"{{",this.suffix=w?pM(w):E||"}}",this.formatSeparator=S||",",this.unescapePrefix=k?"":_||"-",this.unescapeSuffix=this.unescapePrefix?"":k||"",this.nestingPrefix=C?pM(C):R||pM("$t("),this.nestingSuffix=M?pM(M):D||pM(")"),this.nestingOptionsSeparator=B||",",this.maxReplaces=F||1e3,this.alwaysFormat=$!==void 0?$:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const i=(a,c)=>(a==null?void 0:a.source)===c?(a.lastIndex=0,a):new RegExp(c,"g");this.regexp=i(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=i(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=i(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(i,a,c,d){var R;let g,b,w;const E=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},S=M=>{if(M.indexOf(this.formatSeparator)<0){const $=QMt(a,E,M,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format($,void 0,c,{...d,...a,interpolationkey:M}):$}const D=M.split(this.formatSeparator),B=D.shift().trim(),F=D.join(this.formatSeparator).trim();return this.format(QMt(a,E,B,this.options.keySeparator,this.options.ignoreJSONStructure),F,c,{...d,...a,interpolationkey:B})};this.resetRegExp();const k=(d==null?void 0:d.missingInterpolationHandler)||this.options.missingInterpolationHandler,_=((R=d==null?void 0:d.interpolation)==null?void 0:R.skipOnVariables)!==void 0?d.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:M=>TCe(M)},{regex:this.regexp,safeValue:M=>this.escapeValue?TCe(this.escape(M)):TCe(M)}].forEach(M=>{for(w=0;g=M.regex.exec(i);){const D=g[1].trim();if(b=S(D),b===void 0)if(typeof k=="function"){const F=k(i,g,d);b=yo(F)?F:""}else if(d&&Object.prototype.hasOwnProperty.call(d,D))b="";else if(_){b=g[0];continue}else this.logger.warn(`missed to pass in variable ${D} for interpolating ${i}`),b="";else!yo(b)&&!this.useRawValueToEscape&&(b=GMt(b));const B=M.safeValue(b);if(i=i.replace(g[0],B),_?(M.regex.lastIndex+=b.length,M.regex.lastIndex-=g[0].length):M.regex.lastIndex=0,w++,w>=this.maxReplaces)break}}),i}nest(i,a,c={}){let d,g,b;const w=(E,S)=>{const k=this.nestingOptionsSeparator;if(E.indexOf(k)<0)return E;const _=E.split(new RegExp(`${k}[ ]*{`));let C=`{${_[1]}`;E=_[0],C=this.interpolate(C,b);const R=C.match(/'/g),M=C.match(/"/g);(((R==null?void 0:R.length)??0)%2===0&&!M||M.length%2!==0)&&(C=C.replace(/'/g,'"'));try{b=JSON.parse(C),S&&(b={...S,...b})}catch(D){return this.logger.warn(`failed parsing options string in nesting for key ${E}`,D),`${E}${k}${C}`}return b.defaultValue&&b.defaultValue.indexOf(this.prefix)>-1&&delete b.defaultValue,E};for(;d=this.nestingRegexp.exec(i);){let E=[];b={...c},b=b.replace&&!yo(b.replace)?b.replace:b,b.applyPostProcessor=!1,delete b.defaultValue;const S=/{.*}/.test(d[1])?d[1].lastIndexOf("}")+1:d[1].indexOf(this.formatSeparator);if(S!==-1&&(E=d[1].slice(S).split(this.formatSeparator).map(k=>k.trim()).filter(Boolean),d[1]=d[1].slice(0,S)),g=a(w.call(this,d[1].trim(),b),b),g&&d[0]===i&&!yo(g))return g;yo(g)||(g=GMt(g)),g||(this.logger.warn(`missed to resolve ${d[1]} for nesting ${i}`),g=""),E.length&&(g=E.reduce((k,_)=>this.format(k,_,c.lng,{...c,interpolationkey:d[1].trim()}),g.trim())),i=i.replace(d[0],g),this.regexp.lastIndex=0}return i}}const j4n=n=>{let i=n.toLowerCase().trim();const a={};if(n.indexOf("(")>-1){const c=n.split("(");i=c[0].toLowerCase().trim();const d=c[1].substring(0,c[1].length-1);i==="currency"&&d.indexOf(":")<0?a.currency||(a.currency=d.trim()):i==="relativetime"&&d.indexOf(":")<0?a.range||(a.range=d.trim()):d.split(";").forEach(b=>{if(b){const[w,...E]=b.split(":"),S=E.join(":").trim().replace(/^'+|'+$/g,""),k=w.trim();a[k]||(a[k]=S),S==="false"&&(a[k]=!1),S==="true"&&(a[k]=!0),isNaN(S)||(a[k]=parseInt(S,10))}})}return{formatName:i,formatOptions:a}},t5t=n=>{const i={};return(a,c,d)=>{let g=d;d&&d.interpolationkey&&d.formatParams&&d.formatParams[d.interpolationkey]&&d[d.interpolationkey]&&(g={...g,[d.interpolationkey]:void 0});const b=c+JSON.stringify(g);let w=i[b];return w||(w=n(UH(c),d),i[b]=w),w(a)}},F4n=n=>(i,a,c)=>n(UH(a),c)(i);class $4n{constructor(i={}){this.logger=D2.create("formatter"),this.options=i,this.init(i)}init(i,a={interpolation:{}}){this.formatSeparator=a.interpolation.formatSeparator||",";const c=a.cacheInBuiltFormats?t5t:F4n;this.formats={number:c((d,g)=>{const b=new Intl.NumberFormat(d,{...g});return w=>b.format(w)}),currency:c((d,g)=>{const b=new Intl.NumberFormat(d,{...g,style:"currency"});return w=>b.format(w)}),datetime:c((d,g)=>{const b=new Intl.DateTimeFormat(d,{...g});return w=>b.format(w)}),relativetime:c((d,g)=>{const b=new Intl.RelativeTimeFormat(d,{...g});return w=>b.format(w,g.range||"day")}),list:c((d,g)=>{const b=new Intl.ListFormat(d,{...g});return w=>b.format(w)})}}add(i,a){this.formats[i.toLowerCase().trim()]=a}addCached(i,a){this.formats[i.toLowerCase().trim()]=t5t(a)}format(i,a,c,d={}){const g=a.split(this.formatSeparator);if(g.length>1&&g[0].indexOf("(")>1&&g[0].indexOf(")")<0&&g.find(w=>w.indexOf(")")>-1)){const w=g.findIndex(E=>E.indexOf(")")>-1);g[0]=[g[0],...g.splice(1,w)].join(this.formatSeparator)}return g.reduce((w,E)=>{var _;const{formatName:S,formatOptions:k}=j4n(E);if(this.formats[S]){let C=w;try{const R=((_=d==null?void 0:d.formatParams)==null?void 0:_[d.interpolationkey])||{},M=R.locale||R.lng||d.locale||d.lng||c;C=this.formats[S](w,M,{...k,...d,...R})}catch(R){this.logger.warn(R)}return C}else this.logger.warn(`there was no format function for ${S}`);return w},i)}}const B4n=(n,i)=>{n.pending[i]!==void 0&&(delete n.pending[i],n.pendingCount--)};class U4n extends $se{constructor(i,a,c,d={}){var g,b;super(),this.backend=i,this.store=a,this.services=c,this.languageUtils=c.languageUtils,this.options=d,this.logger=D2.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=d.maxParallelReads||10,this.readingCalls=0,this.maxRetries=d.maxRetries>=0?d.maxRetries:5,this.retryTimeout=d.retryTimeout>=1?d.retryTimeout:350,this.state={},this.queue=[],(b=(g=this.backend)==null?void 0:g.init)==null||b.call(g,c,d.backend,d)}queueLoad(i,a,c,d){const g={},b={},w={},E={};return i.forEach(S=>{let k=!0;a.forEach(_=>{const C=`${S}|${_}`;!c.reload&&this.store.hasResourceBundle(S,_)?this.state[C]=2:this.state[C]<0||(this.state[C]===1?b[C]===void 0&&(b[C]=!0):(this.state[C]=1,k=!1,b[C]===void 0&&(b[C]=!0),g[C]===void 0&&(g[C]=!0),E[_]===void 0&&(E[_]=!0)))}),k||(w[S]=!0)}),(Object.keys(g).length||Object.keys(b).length)&&this.queue.push({pending:b,pendingCount:Object.keys(b).length,loaded:{},errors:[],callback:d}),{toLoad:Object.keys(g),pending:Object.keys(b),toLoadLanguages:Object.keys(w),toLoadNamespaces:Object.keys(E)}}loaded(i,a,c){const d=i.split("|"),g=d[0],b=d[1];a&&this.emit("failedLoading",g,b,a),!a&&c&&this.store.addResourceBundle(g,b,c,void 0,void 0,{skipCopy:!0}),this.state[i]=a?-1:2,a&&c&&(this.state[i]=0);const w={};this.queue.forEach(E=>{_4n(E.loaded,[g],b),B4n(E,i),a&&E.errors.push(a),E.pendingCount===0&&!E.done&&(Object.keys(E.loaded).forEach(S=>{w[S]||(w[S]={});const k=E.loaded[S];k.length&&k.forEach(_=>{w[S][_]===void 0&&(w[S][_]=!0)})}),E.done=!0,E.errors.length?E.callback(E.errors):E.callback())}),this.emit("loaded",w),this.queue=this.queue.filter(E=>!E.done)}read(i,a,c,d=0,g=this.retryTimeout,b){if(!i.length)return b(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:a,fcName:c,tried:d,wait:g,callback:b});return}this.readingCalls++;const w=(S,k)=>{if(this.readingCalls--,this.waitingReads.length>0){const _=this.waitingReads.shift();this.read(_.lng,_.ns,_.fcName,_.tried,_.wait,_.callback)}if(S&&k&&d<this.maxRetries){setTimeout(()=>{this.read.call(this,i,a,c,d+1,g*2,b)},g);return}b(S,k)},E=this.backend[c].bind(this.backend);if(E.length===2){try{const S=E(i,a);S&&typeof S.then=="function"?S.then(k=>w(null,k)).catch(w):w(null,S)}catch(S){w(S)}return}return E(i,a,w)}prepareLoading(i,a,c={},d){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),d&&d();yo(i)&&(i=this.languageUtils.toResolveHierarchy(i)),yo(a)&&(a=[a]);const g=this.queueLoad(i,a,c,d);if(!g.toLoad.length)return g.pending.length||d(),null;g.toLoad.forEach(b=>{this.loadOne(b)})}load(i,a,c){this.prepareLoading(i,a,{},c)}reload(i,a,c){this.prepareLoading(i,a,{reload:!0},c)}loadOne(i,a=""){const c=i.split("|"),d=c[0],g=c[1];this.read(d,g,"read",void 0,void 0,(b,w)=>{b&&this.logger.warn(`${a}loading namespace ${g} for language ${d} failed`,b),!b&&w&&this.logger.log(`${a}loaded namespace ${g} for language ${d}`,w),this.loaded(i,b,w)})}saveMissing(i,a,c,d,g,b={},w=()=>{}){var E,S,k,_,C;if((S=(E=this.services)==null?void 0:E.utils)!=null&&S.hasLoadedNamespace&&!((_=(k=this.services)==null?void 0:k.utils)!=null&&_.hasLoadedNamespace(a))){this.logger.warn(`did not save key "${c}" as the namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(c==null||c==="")){if((C=this.backend)!=null&&C.create){const R={...b,isUpdate:g},M=this.backend.create.bind(this.backend);if(M.length<6)try{let D;M.length===5?D=M(i,a,c,d,R):D=M(i,a,c,d),D&&typeof D.then=="function"?D.then(B=>w(null,B)).catch(w):w(null,D)}catch(D){w(D)}else M(i,a,c,d,w,R)}!i||!i[0]||this.store.addResource(i[0],a,c,d)}}}const ACe=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:n=>{let i={};if(typeof n[1]=="object"&&(i=n[1]),yo(n[1])&&(i.defaultValue=n[1]),yo(n[2])&&(i.tDescription=n[2]),typeof n[2]=="object"||typeof n[3]=="object"){const a=n[3]||n[2];Object.keys(a).forEach(c=>{i[c]=a[c]})}return i},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),n5t=n=>{var i,a;return yo(n.ns)&&(n.ns=[n.ns]),yo(n.fallbackLng)&&(n.fallbackLng=[n.fallbackLng]),yo(n.fallbackNS)&&(n.fallbackNS=[n.fallbackNS]),((a=(i=n.supportedLngs)==null?void 0:i.indexOf)==null?void 0:a.call(i,"cimode"))<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),typeof n.initImmediate=="boolean"&&(n.initAsync=n.initImmediate),n},aie=()=>{},H4n=n=>{Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(a=>{typeof n[a]=="function"&&(n[a]=n[a].bind(n))})};class gH extends $se{constructor(i={},a){if(super(),this.options=n5t(i),this.services={},this.logger=D2,this.modules={external:[]},H4n(this),a&&!this.isInitialized&&!i.isClone){if(!this.options.initAsync)return this.init(i,a),this;setTimeout(()=>{this.init(i,a)},0)}}init(i={},a){this.isInitializing=!0,typeof i=="function"&&(a=i,i={}),i.defaultNS==null&&i.ns&&(yo(i.ns)?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));const c=ACe();this.options={...c,...this.options,...n5t(i)},this.options.interpolation={...c.interpolation,...this.options.interpolation},i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=c.overloadTranslationOptionHandler),this.options.debug===!0&&typeof console<"u"&&console.warn("i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");const d=S=>S?typeof S=="function"?new S:S:null;if(!this.options.isClone){this.modules.logger?D2.init(d(this.modules.logger),this.options):D2.init(null,this.options);let S;this.modules.formatter?S=this.modules.formatter:S=$4n;const k=new JMt(this.options);this.store=new KMt(this.options.resources,this.options);const _=this.services;_.logger=D2,_.resourceStore=this.store,_.languageUtils=k,_.pluralResolver=new P4n(k,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==c.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),S&&(!this.options.interpolation.format||this.options.interpolation.format===c.interpolation.format)&&(_.formatter=d(S),_.formatter.init&&_.formatter.init(_,this.options),this.options.interpolation.format=_.formatter.format.bind(_.formatter)),_.interpolator=new e5t(this.options),_.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},_.backendConnector=new U4n(d(this.modules.backend),_.resourceStore,_,this.options),_.backendConnector.on("*",(R,...M)=>{this.emit(R,...M)}),this.modules.languageDetector&&(_.languageDetector=d(this.modules.languageDetector),_.languageDetector.init&&_.languageDetector.init(_,this.options.detection,this.options)),this.modules.i18nFormat&&(_.i18nFormat=d(this.modules.i18nFormat),_.i18nFormat.init&&_.i18nFormat.init(this)),this.translator=new Loe(this.services,this.options),this.translator.on("*",(R,...M)=>{this.emit(R,...M)}),this.modules.external.forEach(R=>{R.init&&R.init(this)})}if(this.format=this.options.interpolation.format,a||(a=aie),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const S=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);S.length>0&&S[0]!=="dev"&&(this.options.lng=S[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(S=>{this[S]=(...k)=>this.store[S](...k)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(S=>{this[S]=(...k)=>(this.store[S](...k),this)});const w=MU(),E=()=>{const S=(k,_)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),w.resolve(_),a(k,_)};if(this.languages&&!this.isInitialized)return S(null,this.t.bind(this));this.changeLanguage(this.options.lng,S)};return this.options.resources||!this.options.initAsync?E():setTimeout(E,0),w}loadResources(i,a=aie){var g,b;let c=a;const d=yo(i)?i:this.language;if(typeof i=="function"&&(c=i),!this.options.resources||this.options.partialBundledLanguages){if((d==null?void 0:d.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return c();const w=[],E=S=>{if(!S||S==="cimode")return;this.services.languageUtils.toResolveHierarchy(S).forEach(_=>{_!=="cimode"&&w.indexOf(_)<0&&w.push(_)})};d?E(d):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(k=>E(k)),(b=(g=this.options.preload)==null?void 0:g.forEach)==null||b.call(g,S=>E(S)),this.services.backendConnector.load(w,this.options.ns,S=>{!S&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),c(S)})}else c(null)}reloadResources(i,a,c){const d=MU();return typeof i=="function"&&(c=i,i=void 0),typeof a=="function"&&(c=a,a=void 0),i||(i=this.languages),a||(a=this.options.ns),c||(c=aie),this.services.backendConnector.reload(i,a,g=>{d.resolve(),c(g)}),d}use(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&KUt.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}setResolvedLanguage(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1)){for(let a=0;a<this.languages.length;a++){const c=this.languages[a];if(!(["cimode","dev"].indexOf(c)>-1)&&this.store.hasLanguageSomeTranslations(c)){this.resolvedLanguage=c;break}}!this.resolvedLanguage&&this.languages.indexOf(i)<0&&this.store.hasLanguageSomeTranslations(i)&&(this.resolvedLanguage=i,this.languages.unshift(i))}}changeLanguage(i,a){this.isLanguageChangingTo=i;const c=MU();this.emit("languageChanging",i);const d=w=>{this.language=w,this.languages=this.services.languageUtils.toResolveHierarchy(w),this.resolvedLanguage=void 0,this.setResolvedLanguage(w)},g=(w,E)=>{E?this.isLanguageChangingTo===i&&(d(E),this.translator.changeLanguage(E),this.isLanguageChangingTo=void 0,this.emit("languageChanged",E),this.logger.log("languageChanged",E)):this.isLanguageChangingTo=void 0,c.resolve((...S)=>this.t(...S)),a&&a(w,(...S)=>this.t(...S))},b=w=>{var k,_;!i&&!w&&this.services.languageDetector&&(w=[]);const E=yo(w)?w:w&&w[0],S=this.store.hasLanguageSomeTranslations(E)?E:this.services.languageUtils.getBestMatchFromCodes(yo(w)?[w]:w);S&&(this.language||d(S),this.translator.language||this.translator.changeLanguage(S),(_=(k=this.services.languageDetector)==null?void 0:k.cacheUserLanguage)==null||_.call(k,S)),this.loadResources(S,C=>{g(C,S)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?b(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(b):this.services.languageDetector.detect(b):b(i),c}getFixedT(i,a,c){const d=(g,b,...w)=>{let E;typeof b!="object"?E=this.options.overloadTranslationOptionHandler([g,b].concat(w)):E={...b},E.lng=E.lng||d.lng,E.lngs=E.lngs||d.lngs,E.ns=E.ns||d.ns,E.keyPrefix!==""&&(E.keyPrefix=E.keyPrefix||c||d.keyPrefix);const S=this.options.keySeparator||".";let k;return E.keyPrefix&&Array.isArray(g)?k=g.map(_=>(typeof _=="function"&&(_=G6e(_,{...this.options,...b})),`${E.keyPrefix}${S}${_}`)):(typeof g=="function"&&(g=G6e(g,{...this.options,...b})),k=E.keyPrefix?`${E.keyPrefix}${S}${g}`:g),this.t(k,E)};return yo(i)?d.lng=i:d.lngs=i,d.ns=a,d.keyPrefix=c,d}t(...i){var a;return(a=this.translator)==null?void 0:a.translate(...i)}exists(...i){var a;return(a=this.translator)==null?void 0:a.exists(...i)}setDefaultNamespace(i){this.options.defaultNS=i}hasLoadedNamespace(i,a={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const c=a.lng||this.resolvedLanguage||this.languages[0],d=this.options?this.options.fallbackLng:!1,g=this.languages[this.languages.length-1];if(c.toLowerCase()==="cimode")return!0;const b=(w,E)=>{const S=this.services.backendConnector.state[`${w}|${E}`];return S===-1||S===0||S===2};if(a.precheck){const w=a.precheck(this,b);if(w!==void 0)return w}return!!(this.hasResourceBundle(c,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||b(c,i)&&(!d||b(g,i)))}loadNamespaces(i,a){const c=MU();return this.options.ns?(yo(i)&&(i=[i]),i.forEach(d=>{this.options.ns.indexOf(d)<0&&this.options.ns.push(d)}),this.loadResources(d=>{c.resolve(),a&&a(d)}),c):(a&&a(),Promise.resolve())}loadLanguages(i,a){const c=MU();yo(i)&&(i=[i]);const d=this.options.preload||[],g=i.filter(b=>d.indexOf(b)<0&&this.services.languageUtils.isSupportedCode(b));return g.length?(this.options.preload=d.concat(g),this.loadResources(b=>{c.resolve(),a&&a(b)}),c):(a&&a(),Promise.resolve())}dir(i){var d,g;if(i||(i=this.resolvedLanguage||(((d=this.languages)==null?void 0:d.length)>0?this.languages[0]:this.language)),!i)return"rtl";try{const b=new Intl.Locale(i);if(b&&b.getTextInfo){const w=b.getTextInfo();if(w&&w.direction)return w.direction}}catch{}const a=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],c=((g=this.services)==null?void 0:g.languageUtils)||new JMt(ACe());return i.toLowerCase().indexOf("-latn")>1?"ltr":a.indexOf(c.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(i={},a){const c=new gH(i,a);return c.createInstance=gH.createInstance,c}cloneInstance(i={},a=aie){const c=i.forkResourceStore;c&&delete i.forkResourceStore;const d={...this.options,...i,isClone:!0},g=new gH(d);if((i.debug!==void 0||i.prefix!==void 0)&&(g.logger=g.logger.clone(i)),["store","services","language"].forEach(w=>{g[w]=this[w]}),g.services={...this.services},g.services.utils={hasLoadedNamespace:g.hasLoadedNamespace.bind(g)},c){const w=Object.keys(this.store.data).reduce((E,S)=>(E[S]={...this.store.data[S]},E[S]=Object.keys(E[S]).reduce((k,_)=>(k[_]={...E[S][_]},k),E[S]),E),{});g.store=new KMt(w,d),g.services.resourceStore=g.store}if(i.interpolation){const E={...ACe().interpolation,...this.options.interpolation,...i.interpolation},S={...d,interpolation:E};g.services.interpolator=new e5t(S)}return g.translator=new Loe(g.services,d),g.translator.on("*",(w,...E)=>{g.emit(w,...E)}),g.init(d,a),g.translator.options=d,g.translator.backendConnector.services.utils={hasLoadedNamespace:g.hasLoadedNamespace.bind(g)},g}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Bh=gH.createInstance();Bh.createInstance;Bh.dir;Bh.init;Bh.loadResources;Bh.reloadResources;Bh.use;Bh.changeLanguage;Bh.getFixedT;const Wie=Bh.t;Bh.exists;Bh.setDefaultNamespace;Bh.hasLoadedNamespace;Bh.loadNamespaces;Bh.loadLanguages;const z4n=(n,i,a,c)=>{var g,b,w,E;const d=[a,{code:i,...c||{}}];if((b=(g=n==null?void 0:n.services)==null?void 0:g.logger)!=null&&b.forward)return n.services.logger.forward(d,"warn","react-i18next::",!0);aR(d[0])&&(d[0]=`react-i18next:: ${d[0]}`),(E=(w=n==null?void 0:n.services)==null?void 0:w.logger)!=null&&E.warn?n.services.logger.warn(...d):console!=null&&console.warn&&console.warn(...d)},r5t={},JUt=(n,i,a,c)=>{aR(a)&&r5t[a]||(aR(a)&&(r5t[a]=new Date),z4n(n,i,a,c))},XUt=(n,i)=>()=>{if(n.isInitialized)i();else{const a=()=>{setTimeout(()=>{n.off("initialized",a)},0),i()};n.on("initialized",a)}},q6e=(n,i,a)=>{n.loadNamespaces(i,XUt(n,a))},i5t=(n,i,a,c)=>{if(aR(a)&&(a=[a]),n.options.preload&&n.options.preload.indexOf(i)>-1)return q6e(n,a,c);a.forEach(d=>{n.options.ns.indexOf(d)<0&&n.options.ns.push(d)}),n.loadLanguages(i,XUt(n,c))},G4n=(n,i,a={})=>!i.languages||!i.languages.length?(JUt(i,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:i.languages}),!0):i.hasLoadedNamespace(n,{lng:a.lng,precheck:(c,d)=>{if(a.bindI18n&&a.bindI18n.indexOf("languageChanging")>-1&&c.services.backendConnector.backend&&c.isLanguageChangingTo&&!d(c.isLanguageChangingTo,n))return!1}}),aR=n=>typeof n=="string",q4n=n=>typeof n=="object"&&n!==null,V4n=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,W4n={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},K4n=n=>W4n[n],Y4n=n=>n.replace(V4n,K4n);let V6e={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Y4n,transDefaultProps:void 0};const J4n=(n={})=>{V6e={...V6e,...n}},X4n=()=>V6e;let ZUt;const Z4n=n=>{ZUt=n},Q4n=()=>ZUt,eRn={type:"3rdParty",init(n){J4n(n.options.react),Z4n(n)}},QUt=z.createContext();class tRn{constructor(){this.usedNamespaces={}}addUsedNamespaces(i){i.forEach(a=>{this.usedNamespaces[a]||(this.usedNamespaces[a]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var eHt={exports:{}},tHt={};/**
|
||
* @license React
|
||
* use-sync-external-store-shim.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var b5=z;function nRn(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var rRn=typeof Object.is=="function"?Object.is:nRn,iRn=b5.useState,oRn=b5.useEffect,sRn=b5.useLayoutEffect,aRn=b5.useDebugValue;function uRn(n,i){var a=i(),c=iRn({inst:{value:a,getSnapshot:i}}),d=c[0].inst,g=c[1];return sRn(function(){d.value=a,d.getSnapshot=i,_Ce(d)&&g({inst:d})},[n,a,i]),oRn(function(){return _Ce(d)&&g({inst:d}),n(function(){_Ce(d)&&g({inst:d})})},[n]),aRn(a),a}function _Ce(n){var i=n.getSnapshot;n=n.value;try{var a=i();return!rRn(n,a)}catch{return!0}}function cRn(n,i){return i()}var lRn=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?cRn:uRn;tHt.useSyncExternalStore=b5.useSyncExternalStore!==void 0?b5.useSyncExternalStore:lRn;eHt.exports=tHt;var nHt=eHt.exports;const dRn=(n,i)=>aR(i)?i:q4n(i)&&aR(i.defaultValue)?i.defaultValue:Array.isArray(n)?n[n.length-1]:n,fRn={t:dRn,ready:!1},hRn=()=>()=>{},zs=(n,i={})=>{var he,ve,de;const{i18n:a}=i,{i18n:c,defaultNS:d}=z.useContext(QUt)||{},g=a||c||Q4n();g&&!g.reportNamespaces&&(g.reportNamespaces=new tRn),g||JUt(g,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const b=z.useMemo(()=>{var ge;return{...X4n(),...(ge=g==null?void 0:g.options)==null?void 0:ge.react,...i}},[g,i]),{useSuspense:w,keyPrefix:E}=b,S=n||d||((he=g==null?void 0:g.options)==null?void 0:he.defaultNS),k=aR(S)?[S]:S||["translation"],_=z.useMemo(()=>k,k);(de=(ve=g==null?void 0:g.reportNamespaces)==null?void 0:ve.addUsedNamespaces)==null||de.call(ve,_);const C=z.useRef(0),R=z.useCallback(ge=>{if(!g)return hRn;const{bindI18n:Y,bindI18nStore:fe}=b,De=()=>{C.current+=1,ge()};return Y&&g.on(Y,De),fe&&g.store.on(fe,De),()=>{Y&&Y.split(" ").forEach(Se=>g.off(Se,De)),fe&&fe.split(" ").forEach(Se=>g.store.off(Se,De))}},[g,b]),M=z.useRef(),D=z.useCallback(()=>{if(!g)return fRn;const ge=!!(g.isInitialized||g.initializedStoreOnce)&&_.every(Te=>G4n(Te,g,b)),Y=i.lng||g.language,fe=C.current,De=M.current;if(De&&De.ready===ge&&De.lng===Y&&De.keyPrefix===E&&De.revision===fe)return De;const $e={t:g.getFixedT(Y,b.nsMode==="fallback"?_:_[0],E),ready:ge,lng:Y,keyPrefix:E,revision:fe};return M.current=$e,$e},[g,_,E,b,i.lng]),[B,F]=z.useState(0),{t:$,ready:P}=nHt.useSyncExternalStore(R,D,D);z.useEffect(()=>{if(g&&!P&&!w){const ge=()=>F(Y=>Y+1);i.lng?i5t(g,i.lng,_,ge):q6e(g,_,ge)}},[g,i.lng,_,P,w,B]);const H=g||{},Q=z.useRef(null),re=z.useRef(),ee=ge=>{const Y=Object.getOwnPropertyDescriptors(ge);Y.__original&&delete Y.__original;const fe=Object.create(Object.getPrototypeOf(ge),Y);if(!Object.prototype.hasOwnProperty.call(fe,"__original"))try{Object.defineProperty(fe,"__original",{value:ge,writable:!1,enumerable:!1,configurable:!1})}catch{}return fe},ae=z.useMemo(()=>{const ge=H,Y=ge==null?void 0:ge.language;let fe=ge;ge&&(Q.current&&Q.current.__original===ge?re.current!==Y?(fe=ee(ge),Q.current=fe,re.current=Y):fe=Q.current:(fe=ee(ge),Q.current=fe,re.current=Y));const De=[$,fe,P];return De.t=$,De.i18n=fe,De.ready=P,De},[$,H,P,H.resolvedLanguage,H.language,H.languages]);if(g&&w&&!P)throw new Promise(ge=>{const Y=()=>ge();i.lng?i5t(g,i.lng,_,Y):q6e(g,_,Y)});return ae};function o5t({i18n:n,defaultNS:i,children:a}){const c=z.useMemo(()=>({i18n:n,defaultNS:i}),[n,i]);return z.createElement(QUt.Provider,{value:c},a)}function Bd(n){if(typeof n=="string"||typeof n=="number")return""+n;let i="";if(Array.isArray(n))for(let a=0,c;a<n.length;a++)(c=Bd(n[a]))!==""&&(i+=(i&&" ")+c);else for(let a in n)n[a]&&(i+=(i&&" ")+a);return i}var pRn={value:()=>{}};function Bse(){for(var n=0,i=arguments.length,a={},c;n<i;++n){if(!(c=arguments[n]+"")||c in a||/[\s.]/.test(c))throw new Error("illegal type: "+c);a[c]=[]}return new Kie(a)}function Kie(n){this._=n}function gRn(n,i){return n.trim().split(/^|\s+/).map(function(a){var c="",d=a.indexOf(".");if(d>=0&&(c=a.slice(d+1),a=a.slice(0,d)),a&&!i.hasOwnProperty(a))throw new Error("unknown type: "+a);return{type:a,name:c}})}Kie.prototype=Bse.prototype={constructor:Kie,on:function(n,i){var a=this._,c=gRn(n+"",a),d,g=-1,b=c.length;if(arguments.length<2){for(;++g<b;)if((d=(n=c[g]).type)&&(d=bRn(a[d],n.name)))return d;return}if(i!=null&&typeof i!="function")throw new Error("invalid callback: "+i);for(;++g<b;)if(d=(n=c[g]).type)a[d]=s5t(a[d],n.name,i);else if(i==null)for(d in a)a[d]=s5t(a[d],n.name,null);return this},copy:function(){var n={},i=this._;for(var a in i)n[a]=i[a].slice();return new Kie(n)},call:function(n,i){if((d=arguments.length-2)>0)for(var a=new Array(d),c=0,d,g;c<d;++c)a[c]=arguments[c+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(g=this._[n],c=0,d=g.length;c<d;++c)g[c].value.apply(i,a)},apply:function(n,i,a){if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(var c=this._[n],d=0,g=c.length;d<g;++d)c[d].value.apply(i,a)}};function bRn(n,i){for(var a=0,c=n.length,d;a<c;++a)if((d=n[a]).name===i)return d.value}function s5t(n,i,a){for(var c=0,d=n.length;c<d;++c)if(n[c].name===i){n[c]=pRn,n=n.slice(0,c).concat(n.slice(c+1));break}return a!=null&&n.push({name:i,value:a}),n}var W6e="http://www.w3.org/1999/xhtml";const a5t={svg:"http://www.w3.org/2000/svg",xhtml:W6e,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Use(n){var i=n+="",a=i.indexOf(":");return a>=0&&(i=n.slice(0,a))!=="xmlns"&&(n=n.slice(a+1)),a5t.hasOwnProperty(i)?{space:a5t[i],local:n}:n}function mRn(n){return function(){var i=this.ownerDocument,a=this.namespaceURI;return a===W6e&&i.documentElement.namespaceURI===W6e?i.createElement(n):i.createElementNS(a,n)}}function wRn(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}function rHt(n){var i=Use(n);return(i.local?wRn:mRn)(i)}function yRn(){}function sMe(n){return n==null?yRn:function(){return this.querySelector(n)}}function vRn(n){typeof n!="function"&&(n=sMe(n));for(var i=this._groups,a=i.length,c=new Array(a),d=0;d<a;++d)for(var g=i[d],b=g.length,w=c[d]=new Array(b),E,S,k=0;k<b;++k)(E=g[k])&&(S=n.call(E,E.__data__,k,g))&&("__data__"in E&&(S.__data__=E.__data__),w[k]=S);return new Um(c,this._parents)}function ERn(n){return n==null?[]:Array.isArray(n)?n:Array.from(n)}function SRn(){return[]}function iHt(n){return n==null?SRn:function(){return this.querySelectorAll(n)}}function TRn(n){return function(){return ERn(n.apply(this,arguments))}}function ARn(n){typeof n=="function"?n=TRn(n):n=iHt(n);for(var i=this._groups,a=i.length,c=[],d=[],g=0;g<a;++g)for(var b=i[g],w=b.length,E,S=0;S<w;++S)(E=b[S])&&(c.push(n.call(E,E.__data__,S,b)),d.push(E));return new Um(c,d)}function oHt(n){return function(){return this.matches(n)}}function sHt(n){return function(i){return i.matches(n)}}var _Rn=Array.prototype.find;function kRn(n){return function(){return _Rn.call(this.children,n)}}function xRn(){return this.firstElementChild}function NRn(n){return this.select(n==null?xRn:kRn(typeof n=="function"?n:sHt(n)))}var CRn=Array.prototype.filter;function IRn(){return Array.from(this.children)}function RRn(n){return function(){return CRn.call(this.children,n)}}function ORn(n){return this.selectAll(n==null?IRn:RRn(typeof n=="function"?n:sHt(n)))}function DRn(n){typeof n!="function"&&(n=oHt(n));for(var i=this._groups,a=i.length,c=new Array(a),d=0;d<a;++d)for(var g=i[d],b=g.length,w=c[d]=[],E,S=0;S<b;++S)(E=g[S])&&n.call(E,E.__data__,S,g)&&w.push(E);return new Um(c,this._parents)}function aHt(n){return new Array(n.length)}function LRn(){return new Um(this._enter||this._groups.map(aHt),this._parents)}function Moe(n,i){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=i}Moe.prototype={constructor:Moe,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,i){return this._parent.insertBefore(n,i)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};function MRn(n){return function(){return n}}function PRn(n,i,a,c,d,g){for(var b=0,w,E=i.length,S=g.length;b<S;++b)(w=i[b])?(w.__data__=g[b],c[b]=w):a[b]=new Moe(n,g[b]);for(;b<E;++b)(w=i[b])&&(d[b]=w)}function jRn(n,i,a,c,d,g,b){var w,E,S=new Map,k=i.length,_=g.length,C=new Array(k),R;for(w=0;w<k;++w)(E=i[w])&&(C[w]=R=b.call(E,E.__data__,w,i)+"",S.has(R)?d[w]=E:S.set(R,E));for(w=0;w<_;++w)R=b.call(n,g[w],w,g)+"",(E=S.get(R))?(c[w]=E,E.__data__=g[w],S.delete(R)):a[w]=new Moe(n,g[w]);for(w=0;w<k;++w)(E=i[w])&&S.get(C[w])===E&&(d[w]=E)}function FRn(n){return n.__data__}function $Rn(n,i){if(!arguments.length)return Array.from(this,FRn);var a=i?jRn:PRn,c=this._parents,d=this._groups;typeof n!="function"&&(n=MRn(n));for(var g=d.length,b=new Array(g),w=new Array(g),E=new Array(g),S=0;S<g;++S){var k=c[S],_=d[S],C=_.length,R=BRn(n.call(k,k&&k.__data__,S,c)),M=R.length,D=w[S]=new Array(M),B=b[S]=new Array(M),F=E[S]=new Array(C);a(k,_,D,B,F,R,i);for(var $=0,P=0,H,Q;$<M;++$)if(H=D[$]){for($>=P&&(P=$+1);!(Q=B[P])&&++P<M;);H._next=Q||null}}return b=new Um(b,c),b._enter=w,b._exit=E,b}function BRn(n){return typeof n=="object"&&"length"in n?n:Array.from(n)}function URn(){return new Um(this._exit||this._groups.map(aHt),this._parents)}function HRn(n,i,a){var c=this.enter(),d=this,g=this.exit();return typeof n=="function"?(c=n(c),c&&(c=c.selection())):c=c.append(n+""),i!=null&&(d=i(d),d&&(d=d.selection())),a==null?g.remove():a(g),c&&d?c.merge(d).order():d}function zRn(n){for(var i=n.selection?n.selection():n,a=this._groups,c=i._groups,d=a.length,g=c.length,b=Math.min(d,g),w=new Array(d),E=0;E<b;++E)for(var S=a[E],k=c[E],_=S.length,C=w[E]=new Array(_),R,M=0;M<_;++M)(R=S[M]||k[M])&&(C[M]=R);for(;E<d;++E)w[E]=a[E];return new Um(w,this._parents)}function GRn(){for(var n=this._groups,i=-1,a=n.length;++i<a;)for(var c=n[i],d=c.length-1,g=c[d],b;--d>=0;)(b=c[d])&&(g&&b.compareDocumentPosition(g)^4&&g.parentNode.insertBefore(b,g),g=b);return this}function qRn(n){n||(n=VRn);function i(_,C){return _&&C?n(_.__data__,C.__data__):!_-!C}for(var a=this._groups,c=a.length,d=new Array(c),g=0;g<c;++g){for(var b=a[g],w=b.length,E=d[g]=new Array(w),S,k=0;k<w;++k)(S=b[k])&&(E[k]=S);E.sort(i)}return new Um(d,this._parents).order()}function VRn(n,i){return n<i?-1:n>i?1:n>=i?0:NaN}function WRn(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this}function KRn(){return Array.from(this)}function YRn(){for(var n=this._groups,i=0,a=n.length;i<a;++i)for(var c=n[i],d=0,g=c.length;d<g;++d){var b=c[d];if(b)return b}return null}function JRn(){let n=0;for(const i of this)++n;return n}function XRn(){return!this.node()}function ZRn(n){for(var i=this._groups,a=0,c=i.length;a<c;++a)for(var d=i[a],g=0,b=d.length,w;g<b;++g)(w=d[g])&&n.call(w,w.__data__,g,d);return this}function QRn(n){return function(){this.removeAttribute(n)}}function eOn(n){return function(){this.removeAttributeNS(n.space,n.local)}}function tOn(n,i){return function(){this.setAttribute(n,i)}}function nOn(n,i){return function(){this.setAttributeNS(n.space,n.local,i)}}function rOn(n,i){return function(){var a=i.apply(this,arguments);a==null?this.removeAttribute(n):this.setAttribute(n,a)}}function iOn(n,i){return function(){var a=i.apply(this,arguments);a==null?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,a)}}function oOn(n,i){var a=Use(n);if(arguments.length<2){var c=this.node();return a.local?c.getAttributeNS(a.space,a.local):c.getAttribute(a)}return this.each((i==null?a.local?eOn:QRn:typeof i=="function"?a.local?iOn:rOn:a.local?nOn:tOn)(a,i))}function uHt(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function sOn(n){return function(){this.style.removeProperty(n)}}function aOn(n,i,a){return function(){this.style.setProperty(n,i,a)}}function uOn(n,i,a){return function(){var c=i.apply(this,arguments);c==null?this.style.removeProperty(n):this.style.setProperty(n,c,a)}}function cOn(n,i,a){return arguments.length>1?this.each((i==null?sOn:typeof i=="function"?uOn:aOn)(n,i,a??"")):m5(this.node(),n)}function m5(n,i){return n.style.getPropertyValue(i)||uHt(n).getComputedStyle(n,null).getPropertyValue(i)}function lOn(n){return function(){delete this[n]}}function dOn(n,i){return function(){this[n]=i}}function fOn(n,i){return function(){var a=i.apply(this,arguments);a==null?delete this[n]:this[n]=a}}function hOn(n,i){return arguments.length>1?this.each((i==null?lOn:typeof i=="function"?fOn:dOn)(n,i)):this.node()[n]}function cHt(n){return n.trim().split(/^|\s+/)}function aMe(n){return n.classList||new lHt(n)}function lHt(n){this._node=n,this._names=cHt(n.getAttribute("class")||"")}lHt.prototype={add:function(n){var i=this._names.indexOf(n);i<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var i=this._names.indexOf(n);i>=0&&(this._names.splice(i,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};function dHt(n,i){for(var a=aMe(n),c=-1,d=i.length;++c<d;)a.add(i[c])}function fHt(n,i){for(var a=aMe(n),c=-1,d=i.length;++c<d;)a.remove(i[c])}function pOn(n){return function(){dHt(this,n)}}function gOn(n){return function(){fHt(this,n)}}function bOn(n,i){return function(){(i.apply(this,arguments)?dHt:fHt)(this,n)}}function mOn(n,i){var a=cHt(n+"");if(arguments.length<2){for(var c=aMe(this.node()),d=-1,g=a.length;++d<g;)if(!c.contains(a[d]))return!1;return!0}return this.each((typeof i=="function"?bOn:i?pOn:gOn)(a,i))}function wOn(){this.textContent=""}function yOn(n){return function(){this.textContent=n}}function vOn(n){return function(){var i=n.apply(this,arguments);this.textContent=i??""}}function EOn(n){return arguments.length?this.each(n==null?wOn:(typeof n=="function"?vOn:yOn)(n)):this.node().textContent}function SOn(){this.innerHTML=""}function TOn(n){return function(){this.innerHTML=n}}function AOn(n){return function(){var i=n.apply(this,arguments);this.innerHTML=i??""}}function _On(n){return arguments.length?this.each(n==null?SOn:(typeof n=="function"?AOn:TOn)(n)):this.node().innerHTML}function kOn(){this.nextSibling&&this.parentNode.appendChild(this)}function xOn(){return this.each(kOn)}function NOn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function COn(){return this.each(NOn)}function IOn(n){var i=typeof n=="function"?n:rHt(n);return this.select(function(){return this.appendChild(i.apply(this,arguments))})}function ROn(){return null}function OOn(n,i){var a=typeof n=="function"?n:rHt(n),c=i==null?ROn:typeof i=="function"?i:sMe(i);return this.select(function(){return this.insertBefore(a.apply(this,arguments),c.apply(this,arguments)||null)})}function DOn(){var n=this.parentNode;n&&n.removeChild(this)}function LOn(){return this.each(DOn)}function MOn(){var n=this.cloneNode(!1),i=this.parentNode;return i?i.insertBefore(n,this.nextSibling):n}function POn(){var n=this.cloneNode(!0),i=this.parentNode;return i?i.insertBefore(n,this.nextSibling):n}function jOn(n){return this.select(n?POn:MOn)}function FOn(n){return arguments.length?this.property("__data__",n):this.node().__data__}function $On(n){return function(i){n.call(this,i,this.__data__)}}function BOn(n){return n.trim().split(/^|\s+/).map(function(i){var a="",c=i.indexOf(".");return c>=0&&(a=i.slice(c+1),i=i.slice(0,c)),{type:i,name:a}})}function UOn(n){return function(){var i=this.__on;if(i){for(var a=0,c=-1,d=i.length,g;a<d;++a)g=i[a],(!n.type||g.type===n.type)&&g.name===n.name?this.removeEventListener(g.type,g.listener,g.options):i[++c]=g;++c?i.length=c:delete this.__on}}}function HOn(n,i,a){return function(){var c=this.__on,d,g=$On(i);if(c){for(var b=0,w=c.length;b<w;++b)if((d=c[b]).type===n.type&&d.name===n.name){this.removeEventListener(d.type,d.listener,d.options),this.addEventListener(d.type,d.listener=g,d.options=a),d.value=i;return}}this.addEventListener(n.type,g,a),d={type:n.type,name:n.name,value:i,listener:g,options:a},c?c.push(d):this.__on=[d]}}function zOn(n,i,a){var c=BOn(n+""),d,g=c.length,b;if(arguments.length<2){var w=this.node().__on;if(w){for(var E=0,S=w.length,k;E<S;++E)for(d=0,k=w[E];d<g;++d)if((b=c[d]).type===k.type&&b.name===k.name)return k.value}return}for(w=i?HOn:UOn,d=0;d<g;++d)this.each(w(c[d],i,a));return this}function hHt(n,i,a){var c=uHt(n),d=c.CustomEvent;typeof d=="function"?d=new d(i,a):(d=c.document.createEvent("Event"),a?(d.initEvent(i,a.bubbles,a.cancelable),d.detail=a.detail):d.initEvent(i,!1,!1)),n.dispatchEvent(d)}function GOn(n,i){return function(){return hHt(this,n,i)}}function qOn(n,i){return function(){return hHt(this,n,i.apply(this,arguments))}}function VOn(n,i){return this.each((typeof i=="function"?qOn:GOn)(n,i))}function*WOn(){for(var n=this._groups,i=0,a=n.length;i<a;++i)for(var c=n[i],d=0,g=c.length,b;d<g;++d)(b=c[d])&&(yield b)}var pHt=[null];function Um(n,i){this._groups=n,this._parents=i}function bz(){return new Um([[document.documentElement]],pHt)}function KOn(){return this}Um.prototype=bz.prototype={constructor:Um,select:vRn,selectAll:ARn,selectChild:NRn,selectChildren:ORn,filter:DRn,data:$Rn,enter:LRn,exit:URn,join:HRn,merge:zRn,selection:KOn,order:GRn,sort:qRn,call:WRn,nodes:KRn,node:YRn,size:JRn,empty:XRn,each:ZRn,attr:oOn,style:cOn,property:hOn,classed:mOn,text:EOn,html:_On,raise:xOn,lower:COn,append:IOn,insert:OOn,remove:LOn,clone:jOn,datum:FOn,on:zOn,dispatch:VOn,[Symbol.iterator]:WOn};function Mm(n){return typeof n=="string"?new Um([[document.querySelector(n)]],[document.documentElement]):new Um([[n]],pHt)}function YOn(n){let i;for(;i=n.sourceEvent;)n=i;return n}function xv(n,i){if(n=YOn(n),i===void 0&&(i=n.currentTarget),i){var a=i.ownerSVGElement||i;if(a.createSVGPoint){var c=a.createSVGPoint();return c.x=n.clientX,c.y=n.clientY,c=c.matrixTransform(i.getScreenCTM().inverse()),[c.x,c.y]}if(i.getBoundingClientRect){var d=i.getBoundingClientRect();return[n.clientX-d.left-i.clientLeft,n.clientY-d.top-i.clientTop]}}return[n.pageX,n.pageY]}const JOn={passive:!1},HH={capture:!0,passive:!1};function kCe(n){n.stopImmediatePropagation()}function QM(n){n.preventDefault(),n.stopImmediatePropagation()}function gHt(n){var i=n.document.documentElement,a=Mm(n).on("dragstart.drag",QM,HH);"onselectstart"in i?a.on("selectstart.drag",QM,HH):(i.__noselect=i.style.MozUserSelect,i.style.MozUserSelect="none")}function bHt(n,i){var a=n.document.documentElement,c=Mm(n).on("dragstart.drag",null);i&&(c.on("click.drag",QM,HH),setTimeout(function(){c.on("click.drag",null)},0)),"onselectstart"in a?c.on("selectstart.drag",null):(a.style.MozUserSelect=a.__noselect,delete a.__noselect)}const uie=n=>()=>n;function K6e(n,{sourceEvent:i,subject:a,target:c,identifier:d,active:g,x:b,y:w,dx:E,dy:S,dispatch:k}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:i,enumerable:!0,configurable:!0},subject:{value:a,enumerable:!0,configurable:!0},target:{value:c,enumerable:!0,configurable:!0},identifier:{value:d,enumerable:!0,configurable:!0},active:{value:g,enumerable:!0,configurable:!0},x:{value:b,enumerable:!0,configurable:!0},y:{value:w,enumerable:!0,configurable:!0},dx:{value:E,enumerable:!0,configurable:!0},dy:{value:S,enumerable:!0,configurable:!0},_:{value:k}})}K6e.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};function XOn(n){return!n.ctrlKey&&!n.button}function ZOn(){return this.parentNode}function QOn(n,i){return i??{x:n.x,y:n.y}}function e6n(){return navigator.maxTouchPoints||"ontouchstart"in this}function mHt(){var n=XOn,i=ZOn,a=QOn,c=e6n,d={},g=Bse("start","drag","end"),b=0,w,E,S,k,_=0;function C(H){H.on("mousedown.drag",R).filter(c).on("touchstart.drag",B).on("touchmove.drag",F,JOn).on("touchend.drag touchcancel.drag",$).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(H,Q){if(!(k||!n.call(this,H,Q))){var re=P(this,i.call(this,H,Q),H,Q,"mouse");re&&(Mm(H.view).on("mousemove.drag",M,HH).on("mouseup.drag",D,HH),gHt(H.view),kCe(H),S=!1,w=H.clientX,E=H.clientY,re("start",H))}}function M(H){if(QM(H),!S){var Q=H.clientX-w,re=H.clientY-E;S=Q*Q+re*re>_}d.mouse("drag",H)}function D(H){Mm(H.view).on("mousemove.drag mouseup.drag",null),bHt(H.view,S),QM(H),d.mouse("end",H)}function B(H,Q){if(n.call(this,H,Q)){var re=H.changedTouches,ee=i.call(this,H,Q),ae=re.length,he,ve;for(he=0;he<ae;++he)(ve=P(this,ee,H,Q,re[he].identifier,re[he]))&&(kCe(H),ve("start",H,re[he]))}}function F(H){var Q=H.changedTouches,re=Q.length,ee,ae;for(ee=0;ee<re;++ee)(ae=d[Q[ee].identifier])&&(QM(H),ae("drag",H,Q[ee]))}function $(H){var Q=H.changedTouches,re=Q.length,ee,ae;for(k&&clearTimeout(k),k=setTimeout(function(){k=null},500),ee=0;ee<re;++ee)(ae=d[Q[ee].identifier])&&(kCe(H),ae("end",H,Q[ee]))}function P(H,Q,re,ee,ae,he){var ve=g.copy(),de=xv(he||re,Q),ge,Y,fe;if((fe=a.call(H,new K6e("beforestart",{sourceEvent:re,target:C,identifier:ae,active:b,x:de[0],y:de[1],dx:0,dy:0,dispatch:ve}),ee))!=null)return ge=fe.x-de[0]||0,Y=fe.y-de[1]||0,function De(Se,$e,Te){var ke=de,Je;switch(Se){case"start":d[ae]=De,Je=b++;break;case"end":delete d[ae],--b;case"drag":de=xv(Te||$e,Q),Je=b;break}ve.call(Se,H,new K6e(Se,{sourceEvent:$e,subject:fe,target:C,identifier:ae,active:Je,x:de[0]+ge,y:de[1]+Y,dx:de[0]-ke[0],dy:de[1]-ke[1],dispatch:ve}),ee)}}return C.filter=function(H){return arguments.length?(n=typeof H=="function"?H:uie(!!H),C):n},C.container=function(H){return arguments.length?(i=typeof H=="function"?H:uie(H),C):i},C.subject=function(H){return arguments.length?(a=typeof H=="function"?H:uie(H),C):a},C.touchable=function(H){return arguments.length?(c=typeof H=="function"?H:uie(!!H),C):c},C.on=function(){var H=g.on.apply(g,arguments);return H===g?C:H},C.clickDistance=function(H){return arguments.length?(_=(H=+H)*H,C):Math.sqrt(_)},C}function uMe(n,i,a){n.prototype=i.prototype=a,a.constructor=n}function wHt(n,i){var a=Object.create(n.prototype);for(var c in i)a[c]=i[c];return a}function mz(){}var zH=.7,Poe=1/zH,e5="\\s*([+-]?\\d+)\\s*",GH="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",F2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",t6n=/^#([0-9a-f]{3,8})$/,n6n=new RegExp(`^rgb\\(${e5},${e5},${e5}\\)$`),r6n=new RegExp(`^rgb\\(${F2},${F2},${F2}\\)$`),i6n=new RegExp(`^rgba\\(${e5},${e5},${e5},${GH}\\)$`),o6n=new RegExp(`^rgba\\(${F2},${F2},${F2},${GH}\\)$`),s6n=new RegExp(`^hsl\\(${GH},${F2},${F2}\\)$`),a6n=new RegExp(`^hsla\\(${GH},${F2},${F2},${GH}\\)$`),u5t={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};uMe(mz,uR,{copy(n){return Object.assign(new this.constructor,this,n)},displayable(){return this.rgb().displayable()},hex:c5t,formatHex:c5t,formatHex8:u6n,formatHsl:c6n,formatRgb:l5t,toString:l5t});function c5t(){return this.rgb().formatHex()}function u6n(){return this.rgb().formatHex8()}function c6n(){return yHt(this).formatHsl()}function l5t(){return this.rgb().formatRgb()}function uR(n){var i,a;return n=(n+"").trim().toLowerCase(),(i=t6n.exec(n))?(a=i[1].length,i=parseInt(i[1],16),a===6?d5t(i):a===3?new ab(i>>8&15|i>>4&240,i>>4&15|i&240,(i&15)<<4|i&15,1):a===8?cie(i>>24&255,i>>16&255,i>>8&255,(i&255)/255):a===4?cie(i>>12&15|i>>8&240,i>>8&15|i>>4&240,i>>4&15|i&240,((i&15)<<4|i&15)/255):null):(i=n6n.exec(n))?new ab(i[1],i[2],i[3],1):(i=r6n.exec(n))?new ab(i[1]*255/100,i[2]*255/100,i[3]*255/100,1):(i=i6n.exec(n))?cie(i[1],i[2],i[3],i[4]):(i=o6n.exec(n))?cie(i[1]*255/100,i[2]*255/100,i[3]*255/100,i[4]):(i=s6n.exec(n))?p5t(i[1],i[2]/100,i[3]/100,1):(i=a6n.exec(n))?p5t(i[1],i[2]/100,i[3]/100,i[4]):u5t.hasOwnProperty(n)?d5t(u5t[n]):n==="transparent"?new ab(NaN,NaN,NaN,0):null}function d5t(n){return new ab(n>>16&255,n>>8&255,n&255,1)}function cie(n,i,a,c){return c<=0&&(n=i=a=NaN),new ab(n,i,a,c)}function l6n(n){return n instanceof mz||(n=uR(n)),n?(n=n.rgb(),new ab(n.r,n.g,n.b,n.opacity)):new ab}function Y6e(n,i,a,c){return arguments.length===1?l6n(n):new ab(n,i,a,c??1)}function ab(n,i,a,c){this.r=+n,this.g=+i,this.b=+a,this.opacity=+c}uMe(ab,Y6e,wHt(mz,{brighter(n){return n=n==null?Poe:Math.pow(Poe,n),new ab(this.r*n,this.g*n,this.b*n,this.opacity)},darker(n){return n=n==null?zH:Math.pow(zH,n),new ab(this.r*n,this.g*n,this.b*n,this.opacity)},rgb(){return this},clamp(){return new ab(Z4(this.r),Z4(this.g),Z4(this.b),joe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:f5t,formatHex:f5t,formatHex8:d6n,formatRgb:h5t,toString:h5t}));function f5t(){return`#${Y4(this.r)}${Y4(this.g)}${Y4(this.b)}`}function d6n(){return`#${Y4(this.r)}${Y4(this.g)}${Y4(this.b)}${Y4((isNaN(this.opacity)?1:this.opacity)*255)}`}function h5t(){const n=joe(this.opacity);return`${n===1?"rgb(":"rgba("}${Z4(this.r)}, ${Z4(this.g)}, ${Z4(this.b)}${n===1?")":`, ${n})`}`}function joe(n){return isNaN(n)?1:Math.max(0,Math.min(1,n))}function Z4(n){return Math.max(0,Math.min(255,Math.round(n)||0))}function Y4(n){return n=Z4(n),(n<16?"0":"")+n.toString(16)}function p5t(n,i,a,c){return c<=0?n=i=a=NaN:a<=0||a>=1?n=i=NaN:i<=0&&(n=NaN),new Cv(n,i,a,c)}function yHt(n){if(n instanceof Cv)return new Cv(n.h,n.s,n.l,n.opacity);if(n instanceof mz||(n=uR(n)),!n)return new Cv;if(n instanceof Cv)return n;n=n.rgb();var i=n.r/255,a=n.g/255,c=n.b/255,d=Math.min(i,a,c),g=Math.max(i,a,c),b=NaN,w=g-d,E=(g+d)/2;return w?(i===g?b=(a-c)/w+(a<c)*6:a===g?b=(c-i)/w+2:b=(i-a)/w+4,w/=E<.5?g+d:2-g-d,b*=60):w=E>0&&E<1?0:b,new Cv(b,w,E,n.opacity)}function f6n(n,i,a,c){return arguments.length===1?yHt(n):new Cv(n,i,a,c??1)}function Cv(n,i,a,c){this.h=+n,this.s=+i,this.l=+a,this.opacity=+c}uMe(Cv,f6n,wHt(mz,{brighter(n){return n=n==null?Poe:Math.pow(Poe,n),new Cv(this.h,this.s,this.l*n,this.opacity)},darker(n){return n=n==null?zH:Math.pow(zH,n),new Cv(this.h,this.s,this.l*n,this.opacity)},rgb(){var n=this.h%360+(this.h<0)*360,i=isNaN(n)||isNaN(this.s)?0:this.s,a=this.l,c=a+(a<.5?a:1-a)*i,d=2*a-c;return new ab(xCe(n>=240?n-240:n+120,d,c),xCe(n,d,c),xCe(n<120?n+240:n-120,d,c),this.opacity)},clamp(){return new Cv(g5t(this.h),lie(this.s),lie(this.l),joe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const n=joe(this.opacity);return`${n===1?"hsl(":"hsla("}${g5t(this.h)}, ${lie(this.s)*100}%, ${lie(this.l)*100}%${n===1?")":`, ${n})`}`}}));function g5t(n){return n=(n||0)%360,n<0?n+360:n}function lie(n){return Math.max(0,Math.min(1,n||0))}function xCe(n,i,a){return(n<60?i+(a-i)*n/60:n<180?a:n<240?i+(a-i)*(240-n)/60:i)*255}const cMe=n=>()=>n;function h6n(n,i){return function(a){return n+a*i}}function p6n(n,i,a){return n=Math.pow(n,a),i=Math.pow(i,a)-n,a=1/a,function(c){return Math.pow(n+c*i,a)}}function g6n(n){return(n=+n)==1?vHt:function(i,a){return a-i?p6n(i,a,n):cMe(isNaN(i)?a:i)}}function vHt(n,i){var a=i-n;return a?h6n(n,a):cMe(isNaN(n)?i:n)}const Foe=function n(i){var a=g6n(i);function c(d,g){var b=a((d=Y6e(d)).r,(g=Y6e(g)).r),w=a(d.g,g.g),E=a(d.b,g.b),S=vHt(d.opacity,g.opacity);return function(k){return d.r=b(k),d.g=w(k),d.b=E(k),d.opacity=S(k),d+""}}return c.gamma=n,c}(1);function b6n(n,i){i||(i=[]);var a=n?Math.min(i.length,n.length):0,c=i.slice(),d;return function(g){for(d=0;d<a;++d)c[d]=n[d]*(1-g)+i[d]*g;return c}}function m6n(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function w6n(n,i){var a=i?i.length:0,c=n?Math.min(a,n.length):0,d=new Array(c),g=new Array(a),b;for(b=0;b<c;++b)d[b]=bH(n[b],i[b]);for(;b<a;++b)g[b]=i[b];return function(w){for(b=0;b<c;++b)g[b]=d[b](w);return g}}function y6n(n,i){var a=new Date;return n=+n,i=+i,function(c){return a.setTime(n*(1-c)+i*c),a}}function C2(n,i){return n=+n,i=+i,function(a){return n*(1-a)+i*a}}function v6n(n,i){var a={},c={},d;(n===null||typeof n!="object")&&(n={}),(i===null||typeof i!="object")&&(i={});for(d in i)d in n?a[d]=bH(n[d],i[d]):c[d]=i[d];return function(g){for(d in a)c[d]=a[d](g);return c}}var J6e=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,NCe=new RegExp(J6e.source,"g");function E6n(n){return function(){return n}}function S6n(n){return function(i){return n(i)+""}}function EHt(n,i){var a=J6e.lastIndex=NCe.lastIndex=0,c,d,g,b=-1,w=[],E=[];for(n=n+"",i=i+"";(c=J6e.exec(n))&&(d=NCe.exec(i));)(g=d.index)>a&&(g=i.slice(a,g),w[b]?w[b]+=g:w[++b]=g),(c=c[0])===(d=d[0])?w[b]?w[b]+=d:w[++b]=d:(w[++b]=null,E.push({i:b,x:C2(c,d)})),a=NCe.lastIndex;return a<i.length&&(g=i.slice(a),w[b]?w[b]+=g:w[++b]=g),w.length<2?E[0]?S6n(E[0].x):E6n(i):(i=E.length,function(S){for(var k=0,_;k<i;++k)w[(_=E[k]).i]=_.x(S);return w.join("")})}function bH(n,i){var a=typeof i,c;return i==null||a==="boolean"?cMe(i):(a==="number"?C2:a==="string"?(c=uR(i))?(i=c,Foe):EHt:i instanceof uR?Foe:i instanceof Date?y6n:m6n(i)?b6n:Array.isArray(i)?w6n:typeof i.valueOf!="function"&&typeof i.toString!="function"||isNaN(i)?v6n:C2)(n,i)}var b5t=180/Math.PI,X6e={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function SHt(n,i,a,c,d,g){var b,w,E;return(b=Math.sqrt(n*n+i*i))&&(n/=b,i/=b),(E=n*a+i*c)&&(a-=n*E,c-=i*E),(w=Math.sqrt(a*a+c*c))&&(a/=w,c/=w,E/=w),n*c<i*a&&(n=-n,i=-i,E=-E,b=-b),{translateX:d,translateY:g,rotate:Math.atan2(i,n)*b5t,skewX:Math.atan(E)*b5t,scaleX:b,scaleY:w}}var die;function T6n(n){const i=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(n+"");return i.isIdentity?X6e:SHt(i.a,i.b,i.c,i.d,i.e,i.f)}function A6n(n){return n==null||(die||(die=document.createElementNS("http://www.w3.org/2000/svg","g")),die.setAttribute("transform",n),!(n=die.transform.baseVal.consolidate()))?X6e:(n=n.matrix,SHt(n.a,n.b,n.c,n.d,n.e,n.f))}function THt(n,i,a,c){function d(S){return S.length?S.pop()+" ":""}function g(S,k,_,C,R,M){if(S!==_||k!==C){var D=R.push("translate(",null,i,null,a);M.push({i:D-4,x:C2(S,_)},{i:D-2,x:C2(k,C)})}else(_||C)&&R.push("translate("+_+i+C+a)}function b(S,k,_,C){S!==k?(S-k>180?k+=360:k-S>180&&(S+=360),C.push({i:_.push(d(_)+"rotate(",null,c)-2,x:C2(S,k)})):k&&_.push(d(_)+"rotate("+k+c)}function w(S,k,_,C){S!==k?C.push({i:_.push(d(_)+"skewX(",null,c)-2,x:C2(S,k)}):k&&_.push(d(_)+"skewX("+k+c)}function E(S,k,_,C,R,M){if(S!==_||k!==C){var D=R.push(d(R)+"scale(",null,",",null,")");M.push({i:D-4,x:C2(S,_)},{i:D-2,x:C2(k,C)})}else(_!==1||C!==1)&&R.push(d(R)+"scale("+_+","+C+")")}return function(S,k){var _=[],C=[];return S=n(S),k=n(k),g(S.translateX,S.translateY,k.translateX,k.translateY,_,C),b(S.rotate,k.rotate,_,C),w(S.skewX,k.skewX,_,C),E(S.scaleX,S.scaleY,k.scaleX,k.scaleY,_,C),S=k=null,function(R){for(var M=-1,D=C.length,B;++M<D;)_[(B=C[M]).i]=B.x(R);return _.join("")}}}var _6n=THt(T6n,"px, ","px)","deg)"),k6n=THt(A6n,", ",")",")"),x6n=1e-12;function m5t(n){return((n=Math.exp(n))+1/n)/2}function N6n(n){return((n=Math.exp(n))-1/n)/2}function C6n(n){return((n=Math.exp(2*n))-1)/(n+1)}const Yie=function n(i,a,c){function d(g,b){var w=g[0],E=g[1],S=g[2],k=b[0],_=b[1],C=b[2],R=k-w,M=_-E,D=R*R+M*M,B,F;if(D<x6n)F=Math.log(C/S)/i,B=function(ee){return[w+ee*R,E+ee*M,S*Math.exp(i*ee*F)]};else{var $=Math.sqrt(D),P=(C*C-S*S+c*D)/(2*S*a*$),H=(C*C-S*S-c*D)/(2*C*a*$),Q=Math.log(Math.sqrt(P*P+1)-P),re=Math.log(Math.sqrt(H*H+1)-H);F=(re-Q)/i,B=function(ee){var ae=ee*F,he=m5t(Q),ve=S/(a*$)*(he*C6n(i*ae+Q)-N6n(Q));return[w+ve*R,E+ve*M,S*he/m5t(i*ae+Q)]}}return B.duration=F*1e3*i/Math.SQRT2,B}return d.rho=function(g){var b=Math.max(.001,+g),w=b*b,E=w*w;return n(b,w,E)},d}(Math.SQRT2,2,4);var w5=0,KU=0,PU=0,AHt=1e3,$oe,YU,Boe=0,cR=0,Hse=0,qH=typeof performance=="object"&&performance.now?performance:Date,_Ht=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function lMe(){return cR||(_Ht(I6n),cR=qH.now()+Hse)}function I6n(){cR=0}function Uoe(){this._call=this._time=this._next=null}Uoe.prototype=kHt.prototype={constructor:Uoe,restart:function(n,i,a){if(typeof n!="function")throw new TypeError("callback is not a function");a=(a==null?lMe():+a)+(i==null?0:+i),!this._next&&YU!==this&&(YU?YU._next=this:$oe=this,YU=this),this._call=n,this._time=a,Z6e()},stop:function(){this._call&&(this._call=null,this._time=1/0,Z6e())}};function kHt(n,i,a){var c=new Uoe;return c.restart(n,i,a),c}function R6n(){lMe(),++w5;for(var n=$oe,i;n;)(i=cR-n._time)>=0&&n._call.call(void 0,i),n=n._next;--w5}function w5t(){cR=(Boe=qH.now())+Hse,w5=KU=0;try{R6n()}finally{w5=0,D6n(),cR=0}}function O6n(){var n=qH.now(),i=n-Boe;i>AHt&&(Hse-=i,Boe=n)}function D6n(){for(var n,i=$oe,a,c=1/0;i;)i._call?(c>i._time&&(c=i._time),n=i,i=i._next):(a=i._next,i._next=null,i=n?n._next=a:$oe=a);YU=n,Z6e(c)}function Z6e(n){if(!w5){KU&&(KU=clearTimeout(KU));var i=n-cR;i>24?(n<1/0&&(KU=setTimeout(w5t,n-qH.now()-Hse)),PU&&(PU=clearInterval(PU))):(PU||(Boe=qH.now(),PU=setInterval(O6n,AHt)),w5=1,_Ht(w5t))}}function y5t(n,i,a){var c=new Uoe;return i=i==null?0:+i,c.restart(d=>{c.stop(),n(d+i)},i,a),c}var L6n=Bse("start","end","cancel","interrupt"),M6n=[],xHt=0,v5t=1,Q6e=2,Jie=3,E5t=4,eDe=5,Xie=6;function zse(n,i,a,c,d,g){var b=n.__transition;if(!b)n.__transition={};else if(a in b)return;P6n(n,a,{name:i,index:c,group:d,on:L6n,tween:M6n,time:g.time,delay:g.delay,duration:g.duration,ease:g.ease,timer:null,state:xHt})}function dMe(n,i){var a=Bv(n,i);if(a.state>xHt)throw new Error("too late; already scheduled");return a}function V2(n,i){var a=Bv(n,i);if(a.state>Jie)throw new Error("too late; already running");return a}function Bv(n,i){var a=n.__transition;if(!a||!(a=a[i]))throw new Error("transition not found");return a}function P6n(n,i,a){var c=n.__transition,d;c[i]=a,a.timer=kHt(g,0,a.time);function g(S){a.state=v5t,a.timer.restart(b,a.delay,a.time),a.delay<=S&&b(S-a.delay)}function b(S){var k,_,C,R;if(a.state!==v5t)return E();for(k in c)if(R=c[k],R.name===a.name){if(R.state===Jie)return y5t(b);R.state===E5t?(R.state=Xie,R.timer.stop(),R.on.call("interrupt",n,n.__data__,R.index,R.group),delete c[k]):+k<i&&(R.state=Xie,R.timer.stop(),R.on.call("cancel",n,n.__data__,R.index,R.group),delete c[k])}if(y5t(function(){a.state===Jie&&(a.state=E5t,a.timer.restart(w,a.delay,a.time),w(S))}),a.state=Q6e,a.on.call("start",n,n.__data__,a.index,a.group),a.state===Q6e){for(a.state=Jie,d=new Array(C=a.tween.length),k=0,_=-1;k<C;++k)(R=a.tween[k].value.call(n,n.__data__,a.index,a.group))&&(d[++_]=R);d.length=_+1}}function w(S){for(var k=S<a.duration?a.ease.call(null,S/a.duration):(a.timer.restart(E),a.state=eDe,1),_=-1,C=d.length;++_<C;)d[_].call(n,k);a.state===eDe&&(a.on.call("end",n,n.__data__,a.index,a.group),E())}function E(){a.state=Xie,a.timer.stop(),delete c[i];for(var S in c)return;delete n.__transition}}function Zie(n,i){var a=n.__transition,c,d,g=!0,b;if(a){i=i==null?null:i+"";for(b in a){if((c=a[b]).name!==i){g=!1;continue}d=c.state>Q6e&&c.state<eDe,c.state=Xie,c.timer.stop(),c.on.call(d?"interrupt":"cancel",n,n.__data__,c.index,c.group),delete a[b]}g&&delete n.__transition}}function j6n(n){return this.each(function(){Zie(this,n)})}function F6n(n,i){var a,c;return function(){var d=V2(this,n),g=d.tween;if(g!==a){c=a=g;for(var b=0,w=c.length;b<w;++b)if(c[b].name===i){c=c.slice(),c.splice(b,1);break}}d.tween=c}}function $6n(n,i,a){var c,d;if(typeof a!="function")throw new Error;return function(){var g=V2(this,n),b=g.tween;if(b!==c){d=(c=b).slice();for(var w={name:i,value:a},E=0,S=d.length;E<S;++E)if(d[E].name===i){d[E]=w;break}E===S&&d.push(w)}g.tween=d}}function B6n(n,i){var a=this._id;if(n+="",arguments.length<2){for(var c=Bv(this.node(),a).tween,d=0,g=c.length,b;d<g;++d)if((b=c[d]).name===n)return b.value;return null}return this.each((i==null?F6n:$6n)(a,n,i))}function fMe(n,i,a){var c=n._id;return n.each(function(){var d=V2(this,c);(d.value||(d.value={}))[i]=a.apply(this,arguments)}),function(d){return Bv(d,c).value[i]}}function NHt(n,i){var a;return(typeof i=="number"?C2:i instanceof uR?Foe:(a=uR(i))?(i=a,Foe):EHt)(n,i)}function U6n(n){return function(){this.removeAttribute(n)}}function H6n(n){return function(){this.removeAttributeNS(n.space,n.local)}}function z6n(n,i,a){var c,d=a+"",g;return function(){var b=this.getAttribute(n);return b===d?null:b===c?g:g=i(c=b,a)}}function G6n(n,i,a){var c,d=a+"",g;return function(){var b=this.getAttributeNS(n.space,n.local);return b===d?null:b===c?g:g=i(c=b,a)}}function q6n(n,i,a){var c,d,g;return function(){var b,w=a(this),E;return w==null?void this.removeAttribute(n):(b=this.getAttribute(n),E=w+"",b===E?null:b===c&&E===d?g:(d=E,g=i(c=b,w)))}}function V6n(n,i,a){var c,d,g;return function(){var b,w=a(this),E;return w==null?void this.removeAttributeNS(n.space,n.local):(b=this.getAttributeNS(n.space,n.local),E=w+"",b===E?null:b===c&&E===d?g:(d=E,g=i(c=b,w)))}}function W6n(n,i){var a=Use(n),c=a==="transform"?k6n:NHt;return this.attrTween(n,typeof i=="function"?(a.local?V6n:q6n)(a,c,fMe(this,"attr."+n,i)):i==null?(a.local?H6n:U6n)(a):(a.local?G6n:z6n)(a,c,i))}function K6n(n,i){return function(a){this.setAttribute(n,i.call(this,a))}}function Y6n(n,i){return function(a){this.setAttributeNS(n.space,n.local,i.call(this,a))}}function J6n(n,i){var a,c;function d(){var g=i.apply(this,arguments);return g!==c&&(a=(c=g)&&Y6n(n,g)),a}return d._value=i,d}function X6n(n,i){var a,c;function d(){var g=i.apply(this,arguments);return g!==c&&(a=(c=g)&&K6n(n,g)),a}return d._value=i,d}function Z6n(n,i){var a="attr."+n;if(arguments.length<2)return(a=this.tween(a))&&a._value;if(i==null)return this.tween(a,null);if(typeof i!="function")throw new Error;var c=Use(n);return this.tween(a,(c.local?J6n:X6n)(c,i))}function Q6n(n,i){return function(){dMe(this,n).delay=+i.apply(this,arguments)}}function eDn(n,i){return i=+i,function(){dMe(this,n).delay=i}}function tDn(n){var i=this._id;return arguments.length?this.each((typeof n=="function"?Q6n:eDn)(i,n)):Bv(this.node(),i).delay}function nDn(n,i){return function(){V2(this,n).duration=+i.apply(this,arguments)}}function rDn(n,i){return i=+i,function(){V2(this,n).duration=i}}function iDn(n){var i=this._id;return arguments.length?this.each((typeof n=="function"?nDn:rDn)(i,n)):Bv(this.node(),i).duration}function oDn(n,i){if(typeof i!="function")throw new Error;return function(){V2(this,n).ease=i}}function sDn(n){var i=this._id;return arguments.length?this.each(oDn(i,n)):Bv(this.node(),i).ease}function aDn(n,i){return function(){var a=i.apply(this,arguments);if(typeof a!="function")throw new Error;V2(this,n).ease=a}}function uDn(n){if(typeof n!="function")throw new Error;return this.each(aDn(this._id,n))}function cDn(n){typeof n!="function"&&(n=oHt(n));for(var i=this._groups,a=i.length,c=new Array(a),d=0;d<a;++d)for(var g=i[d],b=g.length,w=c[d]=[],E,S=0;S<b;++S)(E=g[S])&&n.call(E,E.__data__,S,g)&&w.push(E);return new mA(c,this._parents,this._name,this._id)}function lDn(n){if(n._id!==this._id)throw new Error;for(var i=this._groups,a=n._groups,c=i.length,d=a.length,g=Math.min(c,d),b=new Array(c),w=0;w<g;++w)for(var E=i[w],S=a[w],k=E.length,_=b[w]=new Array(k),C,R=0;R<k;++R)(C=E[R]||S[R])&&(_[R]=C);for(;w<c;++w)b[w]=i[w];return new mA(b,this._parents,this._name,this._id)}function dDn(n){return(n+"").trim().split(/^|\s+/).every(function(i){var a=i.indexOf(".");return a>=0&&(i=i.slice(0,a)),!i||i==="start"})}function fDn(n,i,a){var c,d,g=dDn(i)?dMe:V2;return function(){var b=g(this,n),w=b.on;w!==c&&(d=(c=w).copy()).on(i,a),b.on=d}}function hDn(n,i){var a=this._id;return arguments.length<2?Bv(this.node(),a).on.on(n):this.each(fDn(a,n,i))}function pDn(n){return function(){var i=this.parentNode;for(var a in this.__transition)if(+a!==n)return;i&&i.removeChild(this)}}function gDn(){return this.on("end.remove",pDn(this._id))}function bDn(n){var i=this._name,a=this._id;typeof n!="function"&&(n=sMe(n));for(var c=this._groups,d=c.length,g=new Array(d),b=0;b<d;++b)for(var w=c[b],E=w.length,S=g[b]=new Array(E),k,_,C=0;C<E;++C)(k=w[C])&&(_=n.call(k,k.__data__,C,w))&&("__data__"in k&&(_.__data__=k.__data__),S[C]=_,zse(S[C],i,a,C,S,Bv(k,a)));return new mA(g,this._parents,i,a)}function mDn(n){var i=this._name,a=this._id;typeof n!="function"&&(n=iHt(n));for(var c=this._groups,d=c.length,g=[],b=[],w=0;w<d;++w)for(var E=c[w],S=E.length,k,_=0;_<S;++_)if(k=E[_]){for(var C=n.call(k,k.__data__,_,E),R,M=Bv(k,a),D=0,B=C.length;D<B;++D)(R=C[D])&&zse(R,i,a,D,C,M);g.push(C),b.push(k)}return new mA(g,b,i,a)}var wDn=bz.prototype.constructor;function yDn(){return new wDn(this._groups,this._parents)}function vDn(n,i){var a,c,d;return function(){var g=m5(this,n),b=(this.style.removeProperty(n),m5(this,n));return g===b?null:g===a&&b===c?d:d=i(a=g,c=b)}}function CHt(n){return function(){this.style.removeProperty(n)}}function EDn(n,i,a){var c,d=a+"",g;return function(){var b=m5(this,n);return b===d?null:b===c?g:g=i(c=b,a)}}function SDn(n,i,a){var c,d,g;return function(){var b=m5(this,n),w=a(this),E=w+"";return w==null&&(E=w=(this.style.removeProperty(n),m5(this,n))),b===E?null:b===c&&E===d?g:(d=E,g=i(c=b,w))}}function TDn(n,i){var a,c,d,g="style."+i,b="end."+g,w;return function(){var E=V2(this,n),S=E.on,k=E.value[g]==null?w||(w=CHt(i)):void 0;(S!==a||d!==k)&&(c=(a=S).copy()).on(b,d=k),E.on=c}}function ADn(n,i,a){var c=(n+="")=="transform"?_6n:NHt;return i==null?this.styleTween(n,vDn(n,c)).on("end.style."+n,CHt(n)):typeof i=="function"?this.styleTween(n,SDn(n,c,fMe(this,"style."+n,i))).each(TDn(this._id,n)):this.styleTween(n,EDn(n,c,i),a).on("end.style."+n,null)}function _Dn(n,i,a){return function(c){this.style.setProperty(n,i.call(this,c),a)}}function kDn(n,i,a){var c,d;function g(){var b=i.apply(this,arguments);return b!==d&&(c=(d=b)&&_Dn(n,b,a)),c}return g._value=i,g}function xDn(n,i,a){var c="style."+(n+="");if(arguments.length<2)return(c=this.tween(c))&&c._value;if(i==null)return this.tween(c,null);if(typeof i!="function")throw new Error;return this.tween(c,kDn(n,i,a??""))}function NDn(n){return function(){this.textContent=n}}function CDn(n){return function(){var i=n(this);this.textContent=i??""}}function IDn(n){return this.tween("text",typeof n=="function"?CDn(fMe(this,"text",n)):NDn(n==null?"":n+""))}function RDn(n){return function(i){this.textContent=n.call(this,i)}}function ODn(n){var i,a;function c(){var d=n.apply(this,arguments);return d!==a&&(i=(a=d)&&RDn(d)),i}return c._value=n,c}function DDn(n){var i="text";if(arguments.length<1)return(i=this.tween(i))&&i._value;if(n==null)return this.tween(i,null);if(typeof n!="function")throw new Error;return this.tween(i,ODn(n))}function LDn(){for(var n=this._name,i=this._id,a=IHt(),c=this._groups,d=c.length,g=0;g<d;++g)for(var b=c[g],w=b.length,E,S=0;S<w;++S)if(E=b[S]){var k=Bv(E,i);zse(E,n,a,S,b,{time:k.time+k.delay+k.duration,delay:0,duration:k.duration,ease:k.ease})}return new mA(c,this._parents,n,a)}function MDn(){var n,i,a=this,c=a._id,d=a.size();return new Promise(function(g,b){var w={value:b},E={value:function(){--d===0&&g()}};a.each(function(){var S=V2(this,c),k=S.on;k!==n&&(i=(n=k).copy(),i._.cancel.push(w),i._.interrupt.push(w),i._.end.push(E)),S.on=i}),d===0&&g()})}var PDn=0;function mA(n,i,a,c){this._groups=n,this._parents=i,this._name=a,this._id=c}function IHt(){return++PDn}var eA=bz.prototype;mA.prototype={constructor:mA,select:bDn,selectAll:mDn,selectChild:eA.selectChild,selectChildren:eA.selectChildren,filter:cDn,merge:lDn,selection:yDn,transition:LDn,call:eA.call,nodes:eA.nodes,node:eA.node,size:eA.size,empty:eA.empty,each:eA.each,on:hDn,attr:W6n,attrTween:Z6n,style:ADn,styleTween:xDn,text:IDn,textTween:DDn,remove:gDn,tween:B6n,delay:tDn,duration:iDn,ease:sDn,easeVarying:uDn,end:MDn,[Symbol.iterator]:eA[Symbol.iterator]};function jDn(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}var FDn={time:null,delay:0,duration:250,ease:jDn};function $Dn(n,i){for(var a;!(a=n.__transition)||!(a=a[i]);)if(!(n=n.parentNode))throw new Error(`transition ${i} not found`);return a}function BDn(n){var i,a;n instanceof mA?(i=n._id,n=n._name):(i=IHt(),(a=FDn).time=lMe(),n=n==null?null:n+"");for(var c=this._groups,d=c.length,g=0;g<d;++g)for(var b=c[g],w=b.length,E,S=0;S<w;++S)(E=b[S])&&zse(E,n,i,S,b,a||$Dn(E,i));return new mA(c,this._parents,n,i)}bz.prototype.interrupt=j6n;bz.prototype.transition=BDn;const fie=n=>()=>n;function UDn(n,{sourceEvent:i,target:a,transform:c,dispatch:d}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:i,enumerable:!0,configurable:!0},target:{value:a,enumerable:!0,configurable:!0},transform:{value:c,enumerable:!0,configurable:!0},_:{value:d}})}function uA(n,i,a){this.k=n,this.x=i,this.y=a}uA.prototype={constructor:uA,scale:function(n){return n===1?this:new uA(this.k*n,this.x,this.y)},translate:function(n,i){return n===0&i===0?this:new uA(this.k,this.x+this.k*n,this.y+this.k*i)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){return n.copy().domain(n.range().map(this.invertX,this).map(n.invert,n))},rescaleY:function(n){return n.copy().domain(n.range().map(this.invertY,this).map(n.invert,n))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Gse=new uA(1,0,0);RHt.prototype=uA.prototype;function RHt(n){for(;!n.__zoom;)if(!(n=n.parentNode))return Gse;return n.__zoom}function CCe(n){n.stopImmediatePropagation()}function jU(n){n.preventDefault(),n.stopImmediatePropagation()}function HDn(n){return(!n.ctrlKey||n.type==="wheel")&&!n.button}function zDn(){var n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n,n.hasAttribute("viewBox")?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n.width,n.y+n.height]]):[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]):[[0,0],[n.clientWidth,n.clientHeight]]}function S5t(){return this.__zoom||Gse}function GDn(n){return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*(n.ctrlKey?10:1)}function qDn(){return navigator.maxTouchPoints||"ontouchstart"in this}function VDn(n,i,a){var c=n.invertX(i[0][0])-a[0][0],d=n.invertX(i[1][0])-a[1][0],g=n.invertY(i[0][1])-a[0][1],b=n.invertY(i[1][1])-a[1][1];return n.translate(d>c?(c+d)/2:Math.min(0,c)||Math.max(0,d),b>g?(g+b)/2:Math.min(0,g)||Math.max(0,b))}function OHt(){var n=HDn,i=zDn,a=VDn,c=GDn,d=qDn,g=[0,1/0],b=[[-1/0,-1/0],[1/0,1/0]],w=250,E=Yie,S=Bse("start","zoom","end"),k,_,C,R=500,M=150,D=0,B=10;function F(fe){fe.property("__zoom",S5t).on("wheel.zoom",ae,{passive:!1}).on("mousedown.zoom",he).on("dblclick.zoom",ve).filter(d).on("touchstart.zoom",de).on("touchmove.zoom",ge).on("touchend.zoom touchcancel.zoom",Y).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}F.transform=function(fe,De,Se,$e){var Te=fe.selection?fe.selection():fe;Te.property("__zoom",S5t),fe!==Te?Q(fe,De,Se,$e):Te.interrupt().each(function(){re(this,arguments).event($e).start().zoom(null,typeof De=="function"?De.apply(this,arguments):De).end()})},F.scaleBy=function(fe,De,Se,$e){F.scaleTo(fe,function(){var Te=this.__zoom.k,ke=typeof De=="function"?De.apply(this,arguments):De;return Te*ke},Se,$e)},F.scaleTo=function(fe,De,Se,$e){F.transform(fe,function(){var Te=i.apply(this,arguments),ke=this.__zoom,Je=Se==null?H(Te):typeof Se=="function"?Se.apply(this,arguments):Se,bt=ke.invert(Je),qe=typeof De=="function"?De.apply(this,arguments):De;return a(P($(ke,qe),Je,bt),Te,b)},Se,$e)},F.translateBy=function(fe,De,Se,$e){F.transform(fe,function(){return a(this.__zoom.translate(typeof De=="function"?De.apply(this,arguments):De,typeof Se=="function"?Se.apply(this,arguments):Se),i.apply(this,arguments),b)},null,$e)},F.translateTo=function(fe,De,Se,$e,Te){F.transform(fe,function(){var ke=i.apply(this,arguments),Je=this.__zoom,bt=$e==null?H(ke):typeof $e=="function"?$e.apply(this,arguments):$e;return a(Gse.translate(bt[0],bt[1]).scale(Je.k).translate(typeof De=="function"?-De.apply(this,arguments):-De,typeof Se=="function"?-Se.apply(this,arguments):-Se),ke,b)},$e,Te)};function $(fe,De){return De=Math.max(g[0],Math.min(g[1],De)),De===fe.k?fe:new uA(De,fe.x,fe.y)}function P(fe,De,Se){var $e=De[0]-Se[0]*fe.k,Te=De[1]-Se[1]*fe.k;return $e===fe.x&&Te===fe.y?fe:new uA(fe.k,$e,Te)}function H(fe){return[(+fe[0][0]+ +fe[1][0])/2,(+fe[0][1]+ +fe[1][1])/2]}function Q(fe,De,Se,$e){fe.on("start.zoom",function(){re(this,arguments).event($e).start()}).on("interrupt.zoom end.zoom",function(){re(this,arguments).event($e).end()}).tween("zoom",function(){var Te=this,ke=arguments,Je=re(Te,ke).event($e),bt=i.apply(Te,ke),qe=Se==null?H(bt):typeof Se=="function"?Se.apply(Te,ke):Se,_t=Math.max(bt[1][0]-bt[0][0],bt[1][1]-bt[0][1]),At=Te.__zoom,ft=typeof De=="function"?De.apply(Te,ke):De,Kt=E(At.invert(qe).concat(_t/At.k),ft.invert(qe).concat(_t/ft.k));return function(kt){if(kt===1)kt=ft;else{var It=Kt(kt),Xt=_t/It[2];kt=new uA(Xt,qe[0]-It[0]*Xt,qe[1]-It[1]*Xt)}Je.zoom(null,kt)}})}function re(fe,De,Se){return!Se&&fe.__zooming||new ee(fe,De)}function ee(fe,De){this.that=fe,this.args=De,this.active=0,this.sourceEvent=null,this.extent=i.apply(fe,De),this.taps=0}ee.prototype={event:function(fe){return fe&&(this.sourceEvent=fe),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(fe,De){return this.mouse&&fe!=="mouse"&&(this.mouse[1]=De.invert(this.mouse[0])),this.touch0&&fe!=="touch"&&(this.touch0[1]=De.invert(this.touch0[0])),this.touch1&&fe!=="touch"&&(this.touch1[1]=De.invert(this.touch1[0])),this.that.__zoom=De,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(fe){var De=Mm(this.that).datum();S.call(fe,this.that,new UDn(fe,{sourceEvent:this.sourceEvent,target:F,transform:this.that.__zoom,dispatch:S}),De)}};function ae(fe,...De){if(!n.apply(this,arguments))return;var Se=re(this,De).event(fe),$e=this.__zoom,Te=Math.max(g[0],Math.min(g[1],$e.k*Math.pow(2,c.apply(this,arguments)))),ke=xv(fe);if(Se.wheel)(Se.mouse[0][0]!==ke[0]||Se.mouse[0][1]!==ke[1])&&(Se.mouse[1]=$e.invert(Se.mouse[0]=ke)),clearTimeout(Se.wheel);else{if($e.k===Te)return;Se.mouse=[ke,$e.invert(ke)],Zie(this),Se.start()}jU(fe),Se.wheel=setTimeout(Je,M),Se.zoom("mouse",a(P($($e,Te),Se.mouse[0],Se.mouse[1]),Se.extent,b));function Je(){Se.wheel=null,Se.end()}}function he(fe,...De){if(C||!n.apply(this,arguments))return;var Se=fe.currentTarget,$e=re(this,De,!0).event(fe),Te=Mm(fe.view).on("mousemove.zoom",qe,!0).on("mouseup.zoom",_t,!0),ke=xv(fe,Se),Je=fe.clientX,bt=fe.clientY;gHt(fe.view),CCe(fe),$e.mouse=[ke,this.__zoom.invert(ke)],Zie(this),$e.start();function qe(At){if(jU(At),!$e.moved){var ft=At.clientX-Je,Kt=At.clientY-bt;$e.moved=ft*ft+Kt*Kt>D}$e.event(At).zoom("mouse",a(P($e.that.__zoom,$e.mouse[0]=xv(At,Se),$e.mouse[1]),$e.extent,b))}function _t(At){Te.on("mousemove.zoom mouseup.zoom",null),bHt(At.view,$e.moved),jU(At),$e.event(At).end()}}function ve(fe,...De){if(n.apply(this,arguments)){var Se=this.__zoom,$e=xv(fe.changedTouches?fe.changedTouches[0]:fe,this),Te=Se.invert($e),ke=Se.k*(fe.shiftKey?.5:2),Je=a(P($(Se,ke),$e,Te),i.apply(this,De),b);jU(fe),w>0?Mm(this).transition().duration(w).call(Q,Je,$e,fe):Mm(this).call(F.transform,Je,$e,fe)}}function de(fe,...De){if(n.apply(this,arguments)){var Se=fe.touches,$e=Se.length,Te=re(this,De,fe.changedTouches.length===$e).event(fe),ke,Je,bt,qe;for(CCe(fe),Je=0;Je<$e;++Je)bt=Se[Je],qe=xv(bt,this),qe=[qe,this.__zoom.invert(qe),bt.identifier],Te.touch0?!Te.touch1&&Te.touch0[2]!==qe[2]&&(Te.touch1=qe,Te.taps=0):(Te.touch0=qe,ke=!0,Te.taps=1+!!k);k&&(k=clearTimeout(k)),ke&&(Te.taps<2&&(_=qe[0],k=setTimeout(function(){k=null},R)),Zie(this),Te.start())}}function ge(fe,...De){if(this.__zooming){var Se=re(this,De).event(fe),$e=fe.changedTouches,Te=$e.length,ke,Je,bt,qe;for(jU(fe),ke=0;ke<Te;++ke)Je=$e[ke],bt=xv(Je,this),Se.touch0&&Se.touch0[2]===Je.identifier?Se.touch0[0]=bt:Se.touch1&&Se.touch1[2]===Je.identifier&&(Se.touch1[0]=bt);if(Je=Se.that.__zoom,Se.touch1){var _t=Se.touch0[0],At=Se.touch0[1],ft=Se.touch1[0],Kt=Se.touch1[1],kt=(kt=ft[0]-_t[0])*kt+(kt=ft[1]-_t[1])*kt,It=(It=Kt[0]-At[0])*It+(It=Kt[1]-At[1])*It;Je=$(Je,Math.sqrt(kt/It)),bt=[(_t[0]+ft[0])/2,(_t[1]+ft[1])/2],qe=[(At[0]+Kt[0])/2,(At[1]+Kt[1])/2]}else if(Se.touch0)bt=Se.touch0[0],qe=Se.touch0[1];else return;Se.zoom("touch",a(P(Je,bt,qe),Se.extent,b))}}function Y(fe,...De){if(this.__zooming){var Se=re(this,De).event(fe),$e=fe.changedTouches,Te=$e.length,ke,Je;for(CCe(fe),C&&clearTimeout(C),C=setTimeout(function(){C=null},R),ke=0;ke<Te;++ke)Je=$e[ke],Se.touch0&&Se.touch0[2]===Je.identifier?delete Se.touch0:Se.touch1&&Se.touch1[2]===Je.identifier&&delete Se.touch1;if(Se.touch1&&!Se.touch0&&(Se.touch0=Se.touch1,delete Se.touch1),Se.touch0)Se.touch0[1]=this.__zoom.invert(Se.touch0[0]);else if(Se.end(),Se.taps===2&&(Je=xv(Je,this),Math.hypot(_[0]-Je[0],_[1]-Je[1])<B)){var bt=Mm(this).on("dblclick.zoom");bt&&bt.apply(this,arguments)}}}return F.wheelDelta=function(fe){return arguments.length?(c=typeof fe=="function"?fe:fie(+fe),F):c},F.filter=function(fe){return arguments.length?(n=typeof fe=="function"?fe:fie(!!fe),F):n},F.touchable=function(fe){return arguments.length?(d=typeof fe=="function"?fe:fie(!!fe),F):d},F.extent=function(fe){return arguments.length?(i=typeof fe=="function"?fe:fie([[+fe[0][0],+fe[0][1]],[+fe[1][0],+fe[1][1]]]),F):i},F.scaleExtent=function(fe){return arguments.length?(g[0]=+fe[0],g[1]=+fe[1],F):[g[0],g[1]]},F.translateExtent=function(fe){return arguments.length?(b[0][0]=+fe[0][0],b[1][0]=+fe[1][0],b[0][1]=+fe[0][1],b[1][1]=+fe[1][1],F):[[b[0][0],b[0][1]],[b[1][0],b[1][1]]]},F.constrain=function(fe){return arguments.length?(a=fe,F):a},F.duration=function(fe){return arguments.length?(w=+fe,F):w},F.interpolate=function(fe){return arguments.length?(E=fe,F):E},F.on=function(){var fe=S.on.apply(S,arguments);return fe===S?F:fe},F.clickDistance=function(fe){return arguments.length?(D=(fe=+fe)*fe,F):Math.sqrt(D)},F.tapDistance=function(fe){return arguments.length?(B=+fe,F):B},F}const H2={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:n=>`Node type "${n}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:n=>`The old edge with id=${n} does not exist.`,error009:n=>`Marker type "${n}" doesn't exist.`,error008:(n,{id:i,sourceHandle:a,targetHandle:c})=>`Couldn't create edge for ${n} handle id: "${n==="source"?a:c}", edge id: ${i}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:n=>`Edge type "${n}" not found. Using fallback type "default".`,error012:n=>`Node with id "${n}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(n="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${n}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},VH=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],DHt=["Enter"," ","Escape"],LHt={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:n,x:i,y:a})=>`Moved selected node ${n}. New position, x: ${i}, y: ${a}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var y5;(function(n){n.Strict="strict",n.Loose="loose"})(y5||(y5={}));var Q4;(function(n){n.Free="free",n.Vertical="vertical",n.Horizontal="horizontal"})(Q4||(Q4={}));var WH;(function(n){n.Partial="partial",n.Full="full"})(WH||(WH={}));const MHt={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var $x;(function(n){n.Bezier="default",n.Straight="straight",n.Step="step",n.SmoothStep="smoothstep",n.SimpleBezier="simplebezier"})($x||($x={}));var iA;(function(n){n.Arrow="arrow",n.ArrowClosed="arrowclosed"})(iA||(iA={}));var Vr;(function(n){n.Left="left",n.Top="top",n.Right="right",n.Bottom="bottom"})(Vr||(Vr={}));const T5t={[Vr.Left]:Vr.Right,[Vr.Right]:Vr.Left,[Vr.Top]:Vr.Bottom,[Vr.Bottom]:Vr.Top};function PHt(n){return n===null?null:n?"valid":"invalid"}const jHt=n=>"id"in n&&"source"in n&&"target"in n,WDn=n=>"id"in n&&"position"in n&&!("source"in n)&&!("target"in n),hMe=n=>"id"in n&&"internals"in n&&!("source"in n)&&!("target"in n),wz=(n,i=[0,0])=>{const{width:a,height:c}=TA(n),d=n.origin??i,g=a*d[0],b=c*d[1];return{x:n.position.x-g,y:n.position.y-b}},KDn=(n,i={nodeOrigin:[0,0]})=>{if(n.length===0)return{x:0,y:0,width:0,height:0};const a=n.reduce((c,d)=>{const g=typeof d=="string";let b=!i.nodeLookup&&!g?d:void 0;i.nodeLookup&&(b=g?i.nodeLookup.get(d):hMe(d)?d:i.nodeLookup.get(d.id));const w=b?Hoe(b,i.nodeOrigin):{x:0,y:0,x2:0,y2:0};return qse(c,w)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Vse(a)},yz=(n,i={})=>{let a={x:1/0,y:1/0,x2:-1/0,y2:-1/0},c=!1;return n.forEach(d=>{(i.filter===void 0||i.filter(d))&&(a=qse(a,Hoe(d)),c=!0)}),c?Vse(a):{x:0,y:0,width:0,height:0}},pMe=(n,i,[a,c,d]=[0,0,1],g=!1,b=!1)=>{const w={...Ez(i,[a,c,d]),width:i.width/d,height:i.height/d},E=[];for(const S of n.values()){const{measured:k,selectable:_=!0,hidden:C=!1}=S;if(b&&!_||C)continue;const R=k.width??S.width??S.initialWidth??null,M=k.height??S.height??S.initialHeight??null,D=KH(w,E5(S)),B=(R??0)*(M??0),F=g&&D>0;(!S.internals.handleBounds||F||D>=B||S.dragging)&&E.push(S)}return E},YDn=(n,i)=>{const a=new Set;return n.forEach(c=>{a.add(c.id)}),i.filter(c=>a.has(c.source)||a.has(c.target))};function JDn(n,i){const a=new Map,c=i!=null&&i.nodes?new Set(i.nodes.map(d=>d.id)):null;return n.forEach(d=>{d.measured.width&&d.measured.height&&((i==null?void 0:i.includeHiddenNodes)||!d.hidden)&&(!c||c.has(d.id))&&a.set(d.id,d)}),a}async function XDn({nodes:n,width:i,height:a,panZoom:c,minZoom:d,maxZoom:g},b){if(n.size===0)return Promise.resolve(!0);const w=JDn(n,b),E=yz(w),S=gMe(E,i,a,(b==null?void 0:b.minZoom)??d,(b==null?void 0:b.maxZoom)??g,(b==null?void 0:b.padding)??.1);return await c.setViewport(S,{duration:b==null?void 0:b.duration,ease:b==null?void 0:b.ease,interpolate:b==null?void 0:b.interpolate}),Promise.resolve(!0)}function FHt({nodeId:n,nextPosition:i,nodeLookup:a,nodeOrigin:c=[0,0],nodeExtent:d,onError:g}){const b=a.get(n),w=b.parentId?a.get(b.parentId):void 0,{x:E,y:S}=w?w.internals.positionAbsolute:{x:0,y:0},k=b.origin??c;let _=b.extent||d;if(b.extent==="parent"&&!b.expandParent)if(!w)g==null||g("005",H2.error005());else{const R=w.measured.width,M=w.measured.height;R&&M&&(_=[[E,S],[E+R,S+M]])}else w&&S5(b.extent)&&(_=[[b.extent[0][0]+E,b.extent[0][1]+S],[b.extent[1][0]+E,b.extent[1][1]+S]]);const C=S5(_)?lR(i,_,b.measured):i;return(b.measured.width===void 0||b.measured.height===void 0)&&(g==null||g("015",H2.error015())),{position:{x:C.x-E+(b.measured.width??0)*k[0],y:C.y-S+(b.measured.height??0)*k[1]},positionAbsolute:C}}async function ZDn({nodesToRemove:n=[],edgesToRemove:i=[],nodes:a,edges:c,onBeforeDelete:d}){const g=new Set(n.map(C=>C.id)),b=[];for(const C of a){if(C.deletable===!1)continue;const R=g.has(C.id),M=!R&&C.parentId&&b.find(D=>D.id===C.parentId);(R||M)&&b.push(C)}const w=new Set(i.map(C=>C.id)),E=c.filter(C=>C.deletable!==!1),k=YDn(b,E);for(const C of E)w.has(C.id)&&!k.find(M=>M.id===C.id)&&k.push(C);if(!d)return{edges:k,nodes:b};const _=await d({nodes:b,edges:k});return typeof _=="boolean"?_?{edges:k,nodes:b}:{edges:[],nodes:[]}:_}const v5=(n,i=0,a=1)=>Math.min(Math.max(n,i),a),lR=(n={x:0,y:0},i,a)=>({x:v5(n.x,i[0][0],i[1][0]-((a==null?void 0:a.width)??0)),y:v5(n.y,i[0][1],i[1][1]-((a==null?void 0:a.height)??0))});function $Ht(n,i,a){const{width:c,height:d}=TA(a),{x:g,y:b}=a.internals.positionAbsolute;return lR(n,[[g,b],[g+c,b+d]],i)}const A5t=(n,i,a)=>n<i?v5(Math.abs(n-i),1,i)/i:n>a?-v5(Math.abs(n-a),1,i)/i:0,BHt=(n,i,a=15,c=40)=>{const d=A5t(n.x,c,i.width-c)*a,g=A5t(n.y,c,i.height-c)*a;return[d,g]},qse=(n,i)=>({x:Math.min(n.x,i.x),y:Math.min(n.y,i.y),x2:Math.max(n.x2,i.x2),y2:Math.max(n.y2,i.y2)}),tDe=({x:n,y:i,width:a,height:c})=>({x:n,y:i,x2:n+a,y2:i+c}),Vse=({x:n,y:i,x2:a,y2:c})=>({x:n,y:i,width:a-n,height:c-i}),E5=(n,i=[0,0])=>{var d,g;const{x:a,y:c}=hMe(n)?n.internals.positionAbsolute:wz(n,i);return{x:a,y:c,width:((d=n.measured)==null?void 0:d.width)??n.width??n.initialWidth??0,height:((g=n.measured)==null?void 0:g.height)??n.height??n.initialHeight??0}},Hoe=(n,i=[0,0])=>{var d,g;const{x:a,y:c}=hMe(n)?n.internals.positionAbsolute:wz(n,i);return{x:a,y:c,x2:a+(((d=n.measured)==null?void 0:d.width)??n.width??n.initialWidth??0),y2:c+(((g=n.measured)==null?void 0:g.height)??n.height??n.initialHeight??0)}},UHt=(n,i)=>Vse(qse(tDe(n),tDe(i))),KH=(n,i)=>{const a=Math.max(0,Math.min(n.x+n.width,i.x+i.width)-Math.max(n.x,i.x)),c=Math.max(0,Math.min(n.y+n.height,i.y+i.height)-Math.max(n.y,i.y));return Math.ceil(a*c)},_5t=n=>Iv(n.width)&&Iv(n.height)&&Iv(n.x)&&Iv(n.y),Iv=n=>!isNaN(n)&&isFinite(n),QDn=(n,i)=>{},vz=(n,i=[1,1])=>({x:i[0]*Math.round(n.x/i[0]),y:i[1]*Math.round(n.y/i[1])}),Ez=({x:n,y:i},[a,c,d],g=!1,b=[1,1])=>{const w={x:(n-a)/d,y:(i-c)/d};return g?vz(w,b):w},zoe=({x:n,y:i},[a,c,d])=>({x:n*d+a,y:i*d+c});function gM(n,i){if(typeof n=="number")return Math.floor((i-i/(1+n))*.5);if(typeof n=="string"&&n.endsWith("px")){const a=parseFloat(n);if(!Number.isNaN(a))return Math.floor(a)}if(typeof n=="string"&&n.endsWith("%")){const a=parseFloat(n);if(!Number.isNaN(a))return Math.floor(i*a*.01)}return console.error(`[React Flow] The padding value "${n}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function eLn(n,i,a){if(typeof n=="string"||typeof n=="number"){const c=gM(n,a),d=gM(n,i);return{top:c,right:d,bottom:c,left:d,x:d*2,y:c*2}}if(typeof n=="object"){const c=gM(n.top??n.y??0,a),d=gM(n.bottom??n.y??0,a),g=gM(n.left??n.x??0,i),b=gM(n.right??n.x??0,i);return{top:c,right:b,bottom:d,left:g,x:g+b,y:c+d}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function tLn(n,i,a,c,d,g){const{x:b,y:w}=zoe(n,[i,a,c]),{x:E,y:S}=zoe({x:n.x+n.width,y:n.y+n.height},[i,a,c]),k=d-E,_=g-S;return{left:Math.floor(b),top:Math.floor(w),right:Math.floor(k),bottom:Math.floor(_)}}const gMe=(n,i,a,c,d,g)=>{const b=eLn(g,i,a),w=(i-b.x)/n.width,E=(a-b.y)/n.height,S=Math.min(w,E),k=v5(S,c,d),_=n.x+n.width/2,C=n.y+n.height/2,R=i/2-_*k,M=a/2-C*k,D=tLn(n,R,M,k,i,a),B={left:Math.min(D.left-b.left,0),top:Math.min(D.top-b.top,0),right:Math.min(D.right-b.right,0),bottom:Math.min(D.bottom-b.bottom,0)};return{x:R-B.left+B.right,y:M-B.top+B.bottom,zoom:k}},YH=()=>{var n;return typeof navigator<"u"&&((n=navigator==null?void 0:navigator.userAgent)==null?void 0:n.indexOf("Mac"))>=0};function S5(n){return n!=null&&n!=="parent"}function TA(n){var i,a;return{width:((i=n.measured)==null?void 0:i.width)??n.width??n.initialWidth??0,height:((a=n.measured)==null?void 0:a.height)??n.height??n.initialHeight??0}}function HHt(n){var i,a;return(((i=n.measured)==null?void 0:i.width)??n.width??n.initialWidth)!==void 0&&(((a=n.measured)==null?void 0:a.height)??n.height??n.initialHeight)!==void 0}function zHt(n,i={width:0,height:0},a,c,d){const g={...n},b=c.get(a);if(b){const w=b.origin||d;g.x+=b.internals.positionAbsolute.x-(i.width??0)*w[0],g.y+=b.internals.positionAbsolute.y-(i.height??0)*w[1]}return g}function k5t(n,i){if(n.size!==i.size)return!1;for(const a of n)if(!i.has(a))return!1;return!0}function nLn(){let n,i;return{promise:new Promise((c,d)=>{n=c,i=d}),resolve:n,reject:i}}function rLn(n){return{...LHt,...n||{}}}function mH(n,{snapGrid:i=[0,0],snapToGrid:a=!1,transform:c,containerBounds:d}){const{x:g,y:b}=Rv(n),w=Ez({x:g-((d==null?void 0:d.left)??0),y:b-((d==null?void 0:d.top)??0)},c),{x:E,y:S}=a?vz(w,i):w;return{xSnapped:E,ySnapped:S,...w}}const bMe=n=>({width:n.offsetWidth,height:n.offsetHeight}),GHt=n=>{var i;return((i=n==null?void 0:n.getRootNode)==null?void 0:i.call(n))||(window==null?void 0:window.document)},iLn=["INPUT","SELECT","TEXTAREA"];function qHt(n){var c,d;const i=((d=(c=n.composedPath)==null?void 0:c.call(n))==null?void 0:d[0])||n.target;return(i==null?void 0:i.nodeType)!==1?!1:iLn.includes(i.nodeName)||i.hasAttribute("contenteditable")||!!i.closest(".nokey")}const VHt=n=>"clientX"in n,Rv=(n,i)=>{var g,b;const a=VHt(n),c=a?n.clientX:(g=n.touches)==null?void 0:g[0].clientX,d=a?n.clientY:(b=n.touches)==null?void 0:b[0].clientY;return{x:c-((i==null?void 0:i.left)??0),y:d-((i==null?void 0:i.top)??0)}},x5t=(n,i,a,c,d)=>{const g=i.querySelectorAll(`.${n}`);return!g||!g.length?null:Array.from(g).map(b=>{const w=b.getBoundingClientRect();return{id:b.getAttribute("data-handleid"),type:n,nodeId:d,position:b.getAttribute("data-handlepos"),x:(w.left-a.left)/c,y:(w.top-a.top)/c,...bMe(b)}})};function WHt({sourceX:n,sourceY:i,targetX:a,targetY:c,sourceControlX:d,sourceControlY:g,targetControlX:b,targetControlY:w}){const E=n*.125+d*.375+b*.375+a*.125,S=i*.125+g*.375+w*.375+c*.125,k=Math.abs(E-n),_=Math.abs(S-i);return[E,S,k,_]}function hie(n,i){return n>=0?.5*n:i*25*Math.sqrt(-n)}function N5t({pos:n,x1:i,y1:a,x2:c,y2:d,c:g}){switch(n){case Vr.Left:return[i-hie(i-c,g),a];case Vr.Right:return[i+hie(c-i,g),a];case Vr.Top:return[i,a-hie(a-d,g)];case Vr.Bottom:return[i,a+hie(d-a,g)]}}function KHt({sourceX:n,sourceY:i,sourcePosition:a=Vr.Bottom,targetX:c,targetY:d,targetPosition:g=Vr.Top,curvature:b=.25}){const[w,E]=N5t({pos:a,x1:n,y1:i,x2:c,y2:d,c:b}),[S,k]=N5t({pos:g,x1:c,y1:d,x2:n,y2:i,c:b}),[_,C,R,M]=WHt({sourceX:n,sourceY:i,targetX:c,targetY:d,sourceControlX:w,sourceControlY:E,targetControlX:S,targetControlY:k});return[`M${n},${i} C${w},${E} ${S},${k} ${c},${d}`,_,C,R,M]}function YHt({sourceX:n,sourceY:i,targetX:a,targetY:c}){const d=Math.abs(a-n)/2,g=a<n?a+d:a-d,b=Math.abs(c-i)/2,w=c<i?c+b:c-b;return[g,w,d,b]}function oLn({sourceNode:n,targetNode:i,selected:a=!1,zIndex:c=0,elevateOnSelect:d=!1,zIndexMode:g="basic"}){if(g==="manual")return c;const b=d&&a?c+1e3:c,w=Math.max(n.parentId||d&&n.selected?n.internals.z:0,i.parentId||d&&i.selected?i.internals.z:0);return b+w}function sLn({sourceNode:n,targetNode:i,width:a,height:c,transform:d}){const g=qse(Hoe(n),Hoe(i));g.x===g.x2&&(g.x2+=1),g.y===g.y2&&(g.y2+=1);const b={x:-d[0]/d[2],y:-d[1]/d[2],width:a/d[2],height:c/d[2]};return KH(b,Vse(g))>0}const aLn=({source:n,sourceHandle:i,target:a,targetHandle:c})=>`xy-edge__${n}${i||""}-${a}${c||""}`,uLn=(n,i)=>i.some(a=>a.source===n.source&&a.target===n.target&&(a.sourceHandle===n.sourceHandle||!a.sourceHandle&&!n.sourceHandle)&&(a.targetHandle===n.targetHandle||!a.targetHandle&&!n.targetHandle)),JHt=(n,i,a={})=>{if(!n.source||!n.target)return i;const c=a.getEdgeId||aLn;let d;return jHt(n)?d={...n}:d={...n,id:c(n)},uLn(d,i)?i:(d.sourceHandle===null&&delete d.sourceHandle,d.targetHandle===null&&delete d.targetHandle,i.concat(d))};function XHt({sourceX:n,sourceY:i,targetX:a,targetY:c}){const[d,g,b,w]=YHt({sourceX:n,sourceY:i,targetX:a,targetY:c});return[`M ${n},${i}L ${a},${c}`,d,g,b,w]}const C5t={[Vr.Left]:{x:-1,y:0},[Vr.Right]:{x:1,y:0},[Vr.Top]:{x:0,y:-1},[Vr.Bottom]:{x:0,y:1}},cLn=({source:n,sourcePosition:i=Vr.Bottom,target:a})=>i===Vr.Left||i===Vr.Right?n.x<a.x?{x:1,y:0}:{x:-1,y:0}:n.y<a.y?{x:0,y:1}:{x:0,y:-1},I5t=(n,i)=>Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2));function lLn({source:n,sourcePosition:i=Vr.Bottom,target:a,targetPosition:c=Vr.Top,center:d,offset:g,stepPosition:b}){const w=C5t[i],E=C5t[c],S={x:n.x+w.x*g,y:n.y+w.y*g},k={x:a.x+E.x*g,y:a.y+E.y*g},_=cLn({source:S,sourcePosition:i,target:k}),C=_.x!==0?"x":"y",R=_[C];let M=[],D,B;const F={x:0,y:0},$={x:0,y:0},[,,P,H]=YHt({sourceX:n.x,sourceY:n.y,targetX:a.x,targetY:a.y});if(w[C]*E[C]===-1){C==="x"?(D=d.x??S.x+(k.x-S.x)*b,B=d.y??(S.y+k.y)/2):(D=d.x??(S.x+k.x)/2,B=d.y??S.y+(k.y-S.y)*b);const re=[{x:D,y:S.y},{x:D,y:k.y}],ee=[{x:S.x,y:B},{x:k.x,y:B}];w[C]===R?M=C==="x"?re:ee:M=C==="x"?ee:re}else{const re=[{x:S.x,y:k.y}],ee=[{x:k.x,y:S.y}];if(C==="x"?M=w.x===R?ee:re:M=w.y===R?re:ee,i===c){const ge=Math.abs(n[C]-a[C]);if(ge<=g){const Y=Math.min(g-1,g-ge);w[C]===R?F[C]=(S[C]>n[C]?-1:1)*Y:$[C]=(k[C]>a[C]?-1:1)*Y}}if(i!==c){const ge=C==="x"?"y":"x",Y=w[C]===E[ge],fe=S[ge]>k[ge],De=S[ge]<k[ge];(w[C]===1&&(!Y&&fe||Y&&De)||w[C]!==1&&(!Y&&De||Y&&fe))&&(M=C==="x"?re:ee)}const ae={x:S.x+F.x,y:S.y+F.y},he={x:k.x+$.x,y:k.y+$.y},ve=Math.max(Math.abs(ae.x-M[0].x),Math.abs(he.x-M[0].x)),de=Math.max(Math.abs(ae.y-M[0].y),Math.abs(he.y-M[0].y));ve>=de?(D=(ae.x+he.x)/2,B=M[0].y):(D=M[0].x,B=(ae.y+he.y)/2)}return[[n,{x:S.x+F.x,y:S.y+F.y},...M,{x:k.x+$.x,y:k.y+$.y},a],D,B,P,H]}function dLn(n,i,a,c){const d=Math.min(I5t(n,i)/2,I5t(i,a)/2,c),{x:g,y:b}=i;if(n.x===g&&g===a.x||n.y===b&&b===a.y)return`L${g} ${b}`;if(n.y===b){const S=n.x<a.x?-1:1,k=n.y<a.y?1:-1;return`L ${g+d*S},${b}Q ${g},${b} ${g},${b+d*k}`}const w=n.x<a.x?1:-1,E=n.y<a.y?-1:1;return`L ${g},${b+d*E}Q ${g},${b} ${g+d*w},${b}`}function Goe({sourceX:n,sourceY:i,sourcePosition:a=Vr.Bottom,targetX:c,targetY:d,targetPosition:g=Vr.Top,borderRadius:b=5,centerX:w,centerY:E,offset:S=20,stepPosition:k=.5}){const[_,C,R,M,D]=lLn({source:{x:n,y:i},sourcePosition:a,target:{x:c,y:d},targetPosition:g,center:{x:w,y:E},offset:S,stepPosition:k});return[_.reduce((F,$,P)=>{let H="";return P>0&&P<_.length-1?H=dLn(_[P-1],$,_[P+1],b):H=`${P===0?"M":"L"}${$.x} ${$.y}`,F+=H,F},""),C,R,M,D]}function R5t(n){var i;return n&&!!(n.internals.handleBounds||(i=n.handles)!=null&&i.length)&&!!(n.measured.width||n.width||n.initialWidth)}function fLn(n){var _;const{sourceNode:i,targetNode:a}=n;if(!R5t(i)||!R5t(a))return null;const c=i.internals.handleBounds||O5t(i.handles),d=a.internals.handleBounds||O5t(a.handles),g=D5t((c==null?void 0:c.source)??[],n.sourceHandle),b=D5t(n.connectionMode===y5.Strict?(d==null?void 0:d.target)??[]:((d==null?void 0:d.target)??[]).concat((d==null?void 0:d.source)??[]),n.targetHandle);if(!g||!b)return(_=n.onError)==null||_.call(n,"008",H2.error008(g?"target":"source",{id:n.id,sourceHandle:n.sourceHandle,targetHandle:n.targetHandle})),null;const w=(g==null?void 0:g.position)||Vr.Bottom,E=(b==null?void 0:b.position)||Vr.Top,S=dR(i,g,w),k=dR(a,b,E);return{sourceX:S.x,sourceY:S.y,targetX:k.x,targetY:k.y,sourcePosition:w,targetPosition:E}}function O5t(n){if(!n)return null;const i=[],a=[];for(const c of n)c.width=c.width??1,c.height=c.height??1,c.type==="source"?i.push(c):c.type==="target"&&a.push(c);return{source:i,target:a}}function dR(n,i,a=Vr.Left,c=!1){const d=((i==null?void 0:i.x)??0)+n.internals.positionAbsolute.x,g=((i==null?void 0:i.y)??0)+n.internals.positionAbsolute.y,{width:b,height:w}=i??TA(n);if(c)return{x:d+b/2,y:g+w/2};switch((i==null?void 0:i.position)??a){case Vr.Top:return{x:d+b/2,y:g};case Vr.Right:return{x:d+b,y:g+w/2};case Vr.Bottom:return{x:d+b/2,y:g+w};case Vr.Left:return{x:d,y:g+w/2}}}function D5t(n,i){return n&&(i?n.find(a=>a.id===i):n[0])||null}function nDe(n,i){return n?typeof n=="string"?n:`${i?`${i}__`:""}${Object.keys(n).sort().map(c=>`${c}=${n[c]}`).join("&")}`:""}function hLn(n,{id:i,defaultColor:a,defaultMarkerStart:c,defaultMarkerEnd:d}){const g=new Set;return n.reduce((b,w)=>([w.markerStart||c,w.markerEnd||d].forEach(E=>{if(E&&typeof E=="object"){const S=nDe(E,i);g.has(S)||(b.push({id:S,color:E.color||a,...E}),g.add(S))}}),b),[]).sort((b,w)=>b.id.localeCompare(w.id))}const ZHt=1e3,pLn=10,mMe={nodeOrigin:[0,0],nodeExtent:VH,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},gLn={...mMe,checkEquality:!0};function wMe(n,i){const a={...n};for(const c in i)i[c]!==void 0&&(a[c]=i[c]);return a}function bLn(n,i,a){const c=wMe(mMe,a);for(const d of n.values())if(d.parentId)vMe(d,n,i,c);else{const g=wz(d,c.nodeOrigin),b=S5(d.extent)?d.extent:c.nodeExtent,w=lR(g,b,TA(d));d.internals.positionAbsolute=w}}function mLn(n,i){if(!n.handles)return n.measured?i==null?void 0:i.internals.handleBounds:void 0;const a=[],c=[];for(const d of n.handles){const g={id:d.id,width:d.width??1,height:d.height??1,nodeId:n.id,x:d.x,y:d.y,position:d.position,type:d.type};d.type==="source"?a.push(g):d.type==="target"&&c.push(g)}return{source:a,target:c}}function yMe(n){return n==="manual"}function rDe(n,i,a,c={}){var S,k;const d=wMe(gLn,c),g={i:0},b=new Map(i),w=d!=null&&d.elevateNodesOnSelect&&!yMe(d.zIndexMode)?ZHt:0;let E=n.length>0;i.clear(),a.clear();for(const _ of n){let C=b.get(_.id);if(d.checkEquality&&_===(C==null?void 0:C.internals.userNode))i.set(_.id,C);else{const R=wz(_,d.nodeOrigin),M=S5(_.extent)?_.extent:d.nodeExtent,D=lR(R,M,TA(_));C={...d.defaults,..._,measured:{width:(S=_.measured)==null?void 0:S.width,height:(k=_.measured)==null?void 0:k.height},internals:{positionAbsolute:D,handleBounds:mLn(_,C),z:QHt(_,w,d.zIndexMode),userNode:_}},i.set(_.id,C)}(C.measured===void 0||C.measured.width===void 0||C.measured.height===void 0)&&!C.hidden&&(E=!1),_.parentId&&vMe(C,i,a,c,g)}return E}function wLn(n,i){if(!n.parentId)return;const a=i.get(n.parentId);a?a.set(n.id,n):i.set(n.parentId,new Map([[n.id,n]]))}function vMe(n,i,a,c,d){const{elevateNodesOnSelect:g,nodeOrigin:b,nodeExtent:w,zIndexMode:E}=wMe(mMe,c),S=n.parentId,k=i.get(S);if(!k){console.warn(`Parent node ${S} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}wLn(n,a),d&&!k.parentId&&k.internals.rootParentIndex===void 0&&E==="auto"&&(k.internals.rootParentIndex=++d.i,k.internals.z=k.internals.z+d.i*pLn),d&&k.internals.rootParentIndex!==void 0&&(d.i=k.internals.rootParentIndex);const _=g&&!yMe(E)?ZHt:0,{x:C,y:R,z:M}=yLn(n,k,b,w,_,E),{positionAbsolute:D}=n.internals,B=C!==D.x||R!==D.y;(B||M!==n.internals.z)&&i.set(n.id,{...n,internals:{...n.internals,positionAbsolute:B?{x:C,y:R}:D,z:M}})}function QHt(n,i,a){const c=Iv(n.zIndex)?n.zIndex:0;return yMe(a)?c:c+(n.selected?i:0)}function yLn(n,i,a,c,d,g){const{x:b,y:w}=i.internals.positionAbsolute,E=TA(n),S=wz(n,a),k=S5(n.extent)?lR(S,n.extent,E):S;let _=lR({x:b+k.x,y:w+k.y},c,E);n.extent==="parent"&&(_=$Ht(_,E,i));const C=QHt(n,d,g),R=i.internals.z??0;return{x:_.x,y:_.y,z:R>=C?R+1:C}}function EMe(n,i,a,c=[0,0]){var b;const d=[],g=new Map;for(const w of n){const E=i.get(w.parentId);if(!E)continue;const S=((b=g.get(w.parentId))==null?void 0:b.expandedRect)??E5(E),k=UHt(S,w.rect);g.set(w.parentId,{expandedRect:k,parent:E})}return g.size>0&&g.forEach(({expandedRect:w,parent:E},S)=>{var P;const k=E.internals.positionAbsolute,_=TA(E),C=E.origin??c,R=w.x<k.x?Math.round(Math.abs(k.x-w.x)):0,M=w.y<k.y?Math.round(Math.abs(k.y-w.y)):0,D=Math.max(_.width,Math.round(w.width)),B=Math.max(_.height,Math.round(w.height)),F=(D-_.width)*C[0],$=(B-_.height)*C[1];(R>0||M>0||F||$)&&(d.push({id:S,type:"position",position:{x:E.position.x-R+F,y:E.position.y-M+$}}),(P=a.get(S))==null||P.forEach(H=>{n.some(Q=>Q.id===H.id)||d.push({id:H.id,type:"position",position:{x:H.position.x+R,y:H.position.y+M}})})),(_.width<w.width||_.height<w.height||R||M)&&d.push({id:S,type:"dimensions",setAttributes:!0,dimensions:{width:D+(R?C[0]*R-F:0),height:B+(M?C[1]*M-$:0)}})}),d}function vLn(n,i,a,c,d,g,b){const w=c==null?void 0:c.querySelector(".xyflow__viewport");let E=!1;if(!w)return{changes:[],updatedInternals:E};const S=[],k=window.getComputedStyle(w),{m22:_}=new window.DOMMatrixReadOnly(k.transform),C=[];for(const R of n.values()){const M=i.get(R.id);if(!M)continue;if(M.hidden){i.set(M.id,{...M,internals:{...M.internals,handleBounds:void 0}}),E=!0;continue}const D=bMe(R.nodeElement),B=M.measured.width!==D.width||M.measured.height!==D.height;if(!!(D.width&&D.height&&(B||!M.internals.handleBounds||R.force))){const $=R.nodeElement.getBoundingClientRect(),P=S5(M.extent)?M.extent:g;let{positionAbsolute:H}=M.internals;M.parentId&&M.extent==="parent"?H=$Ht(H,D,i.get(M.parentId)):P&&(H=lR(H,P,D));const Q={...M,measured:D,internals:{...M.internals,positionAbsolute:H,handleBounds:{source:x5t("source",R.nodeElement,$,_,M.id),target:x5t("target",R.nodeElement,$,_,M.id)}}};i.set(M.id,Q),M.parentId&&vMe(Q,i,a,{nodeOrigin:d,zIndexMode:b}),E=!0,B&&(S.push({id:M.id,type:"dimensions",dimensions:D}),M.expandParent&&M.parentId&&C.push({id:M.id,parentId:M.parentId,rect:E5(Q,d)}))}}if(C.length>0){const R=EMe(C,i,a,d);S.push(...R)}return{changes:S,updatedInternals:E}}async function ELn({delta:n,panZoom:i,transform:a,translateExtent:c,width:d,height:g}){if(!i||!n.x&&!n.y)return Promise.resolve(!1);const b=await i.setViewportConstrained({x:a[0]+n.x,y:a[1]+n.y,zoom:a[2]},[[0,0],[d,g]],c),w=!!b&&(b.x!==a[0]||b.y!==a[1]||b.k!==a[2]);return Promise.resolve(w)}function L5t(n,i,a,c,d,g){let b=d;const w=c.get(b)||new Map;c.set(b,w.set(a,i)),b=`${d}-${n}`;const E=c.get(b)||new Map;if(c.set(b,E.set(a,i)),g){b=`${d}-${n}-${g}`;const S=c.get(b)||new Map;c.set(b,S.set(a,i))}}function ezt(n,i,a){n.clear(),i.clear();for(const c of a){const{source:d,target:g,sourceHandle:b=null,targetHandle:w=null}=c,E={edgeId:c.id,source:d,target:g,sourceHandle:b,targetHandle:w},S=`${d}-${b}--${g}-${w}`,k=`${g}-${w}--${d}-${b}`;L5t("source",E,k,n,d,b),L5t("target",E,S,n,g,w),i.set(c.id,c)}}function tzt(n,i){if(!n.parentId)return!1;const a=i.get(n.parentId);return a?a.selected?!0:tzt(a,i):!1}function M5t(n,i,a){var d;let c=n;do{if((d=c==null?void 0:c.matches)!=null&&d.call(c,i))return!0;if(c===a)return!1;c=c==null?void 0:c.parentElement}while(c);return!1}function SLn(n,i,a,c){const d=new Map;for(const[g,b]of n)if((b.selected||b.id===c)&&(!b.parentId||!tzt(b,n))&&(b.draggable||i&&typeof b.draggable>"u")){const w=n.get(g);w&&d.set(g,{id:g,position:w.position||{x:0,y:0},distance:{x:a.x-w.internals.positionAbsolute.x,y:a.y-w.internals.positionAbsolute.y},extent:w.extent,parentId:w.parentId,origin:w.origin,expandParent:w.expandParent,internals:{positionAbsolute:w.internals.positionAbsolute||{x:0,y:0}},measured:{width:w.measured.width??0,height:w.measured.height??0}})}return d}function ICe({nodeId:n,dragItems:i,nodeLookup:a,dragging:c=!0}){var b,w,E;const d=[];for(const[S,k]of i){const _=(b=a.get(S))==null?void 0:b.internals.userNode;_&&d.push({..._,position:k.position,dragging:c})}if(!n)return[d[0],d];const g=(w=a.get(n))==null?void 0:w.internals.userNode;return[g?{...g,position:((E=i.get(n))==null?void 0:E.position)||g.position,dragging:c}:d[0],d]}function TLn({dragItems:n,snapGrid:i,x:a,y:c}){const d=n.values().next().value;if(!d)return null;const g={x:a-d.distance.x,y:c-d.distance.y},b=vz(g,i);return{x:b.x-g.x,y:b.y-g.y}}function ALn({onNodeMouseDown:n,getStoreItems:i,onDragStart:a,onDrag:c,onDragStop:d}){let g={x:null,y:null},b=0,w=new Map,E=!1,S={x:0,y:0},k=null,_=!1,C=null,R=!1,M=!1,D=null;function B({noDragClassName:$,handleSelector:P,domNode:H,isSelectable:Q,nodeId:re,nodeClickDistance:ee=0}){C=Mm(H);function ae({x:ge,y:Y}){const{nodeLookup:fe,nodeExtent:De,snapGrid:Se,snapToGrid:$e,nodeOrigin:Te,onNodeDrag:ke,onSelectionDrag:Je,onError:bt,updateNodePositions:qe}=i();g={x:ge,y:Y};let _t=!1;const At=w.size>1,ft=At&&De?tDe(yz(w)):null,Kt=At&&$e?TLn({dragItems:w,snapGrid:Se,x:ge,y:Y}):null;for(const[kt,It]of w){if(!fe.has(kt))continue;let Xt={x:ge-It.distance.x,y:Y-It.distance.y};$e&&(Xt=Kt?{x:Math.round(Xt.x+Kt.x),y:Math.round(Xt.y+Kt.y)}:vz(Xt,Se));let Bn=null;if(At&&De&&!It.extent&&ft){const{positionAbsolute:Dr}=It.internals,Ui=Dr.x-ft.x+De[0][0],Qr=Dr.x+It.measured.width-ft.x2+De[1][0],Hi=Dr.y-ft.y+De[0][1],ai=Dr.y+It.measured.height-ft.y2+De[1][1];Bn=[[Ui,Hi],[Qr,ai]]}const{position:tr,positionAbsolute:Zn}=FHt({nodeId:kt,nextPosition:Xt,nodeLookup:fe,nodeExtent:Bn||De,nodeOrigin:Te,onError:bt});_t=_t||It.position.x!==tr.x||It.position.y!==tr.y,It.position=tr,It.internals.positionAbsolute=Zn}if(M=M||_t,!!_t&&(qe(w,!0),D&&(c||ke||!re&&Je))){const[kt,It]=ICe({nodeId:re,dragItems:w,nodeLookup:fe});c==null||c(D,w,kt,It),ke==null||ke(D,kt,It),re||Je==null||Je(D,It)}}async function he(){if(!k)return;const{transform:ge,panBy:Y,autoPanSpeed:fe,autoPanOnNodeDrag:De}=i();if(!De){E=!1,cancelAnimationFrame(b);return}const[Se,$e]=BHt(S,k,fe);(Se!==0||$e!==0)&&(g.x=(g.x??0)-Se/ge[2],g.y=(g.y??0)-$e/ge[2],await Y({x:Se,y:$e})&&ae(g)),b=requestAnimationFrame(he)}function ve(ge){var At;const{nodeLookup:Y,multiSelectionActive:fe,nodesDraggable:De,transform:Se,snapGrid:$e,snapToGrid:Te,selectNodesOnDrag:ke,onNodeDragStart:Je,onSelectionDragStart:bt,unselectNodesAndEdges:qe}=i();_=!0,(!ke||!Q)&&!fe&&re&&((At=Y.get(re))!=null&&At.selected||qe()),Q&&ke&&re&&(n==null||n(re));const _t=mH(ge.sourceEvent,{transform:Se,snapGrid:$e,snapToGrid:Te,containerBounds:k});if(g=_t,w=SLn(Y,De,_t,re),w.size>0&&(a||Je||!re&&bt)){const[ft,Kt]=ICe({nodeId:re,dragItems:w,nodeLookup:Y});a==null||a(ge.sourceEvent,w,ft,Kt),Je==null||Je(ge.sourceEvent,ft,Kt),re||bt==null||bt(ge.sourceEvent,Kt)}}const de=mHt().clickDistance(ee).on("start",ge=>{const{domNode:Y,nodeDragThreshold:fe,transform:De,snapGrid:Se,snapToGrid:$e}=i();k=(Y==null?void 0:Y.getBoundingClientRect())||null,R=!1,M=!1,D=ge.sourceEvent,fe===0&&ve(ge),g=mH(ge.sourceEvent,{transform:De,snapGrid:Se,snapToGrid:$e,containerBounds:k}),S=Rv(ge.sourceEvent,k)}).on("drag",ge=>{const{autoPanOnNodeDrag:Y,transform:fe,snapGrid:De,snapToGrid:Se,nodeDragThreshold:$e,nodeLookup:Te}=i(),ke=mH(ge.sourceEvent,{transform:fe,snapGrid:De,snapToGrid:Se,containerBounds:k});if(D=ge.sourceEvent,(ge.sourceEvent.type==="touchmove"&&ge.sourceEvent.touches.length>1||re&&!Te.has(re))&&(R=!0),!R){if(!E&&Y&&_&&(E=!0,he()),!_){const Je=Rv(ge.sourceEvent,k),bt=Je.x-S.x,qe=Je.y-S.y;Math.sqrt(bt*bt+qe*qe)>$e&&ve(ge)}(g.x!==ke.xSnapped||g.y!==ke.ySnapped)&&w&&_&&(S=Rv(ge.sourceEvent,k),ae(ke))}}).on("end",ge=>{if(!(!_||R)&&(E=!1,_=!1,cancelAnimationFrame(b),w.size>0)){const{nodeLookup:Y,updateNodePositions:fe,onNodeDragStop:De,onSelectionDragStop:Se}=i();if(M&&(fe(w,!1),M=!1),d||De||!re&&Se){const[$e,Te]=ICe({nodeId:re,dragItems:w,nodeLookup:Y,dragging:!1});d==null||d(ge.sourceEvent,w,$e,Te),De==null||De(ge.sourceEvent,$e,Te),re||Se==null||Se(ge.sourceEvent,Te)}}}).filter(ge=>{const Y=ge.target;return!ge.button&&(!$||!M5t(Y,`.${$}`,H))&&(!P||M5t(Y,P,H))});C.call(de)}function F(){C==null||C.on(".drag",null)}return{update:B,destroy:F}}function _Ln(n,i,a){const c=[],d={x:n.x-a,y:n.y-a,width:a*2,height:a*2};for(const g of i.values())KH(d,E5(g))>0&&c.push(g);return c}const kLn=250;function xLn(n,i,a,c){var w,E;let d=[],g=1/0;const b=_Ln(n,a,i+kLn);for(const S of b){const k=[...((w=S.internals.handleBounds)==null?void 0:w.source)??[],...((E=S.internals.handleBounds)==null?void 0:E.target)??[]];for(const _ of k){if(c.nodeId===_.nodeId&&c.type===_.type&&c.id===_.id)continue;const{x:C,y:R}=dR(S,_,_.position,!0),M=Math.sqrt(Math.pow(C-n.x,2)+Math.pow(R-n.y,2));M>i||(M<g?(d=[{..._,x:C,y:R}],g=M):M===g&&d.push({..._,x:C,y:R}))}}if(!d.length)return null;if(d.length>1){const S=c.type==="source"?"target":"source";return d.find(k=>k.type===S)??d[0]}return d[0]}function nzt(n,i,a,c,d,g=!1){var S,k,_;const b=c.get(n);if(!b)return null;const w=d==="strict"?(S=b.internals.handleBounds)==null?void 0:S[i]:[...((k=b.internals.handleBounds)==null?void 0:k.source)??[],...((_=b.internals.handleBounds)==null?void 0:_.target)??[]],E=(a?w==null?void 0:w.find(C=>C.id===a):w==null?void 0:w[0])??null;return E&&g?{...E,...dR(b,E,E.position,!0)}:E}function rzt(n,i){return n||(i!=null&&i.classList.contains("target")?"target":i!=null&&i.classList.contains("source")?"source":null)}function NLn(n,i){let a=null;return i?a=!0:n&&!i&&(a=!1),a}const izt=()=>!0;function CLn(n,{connectionMode:i,connectionRadius:a,handleId:c,nodeId:d,edgeUpdaterType:g,isTarget:b,domNode:w,nodeLookup:E,lib:S,autoPanOnConnect:k,flowId:_,panBy:C,cancelConnection:R,onConnectStart:M,onConnect:D,onConnectEnd:B,isValidConnection:F=izt,onReconnectEnd:$,updateConnection:P,getTransform:H,getFromHandle:Q,autoPanSpeed:re,dragThreshold:ee=1,handleDomNode:ae}){const he=GHt(n.target);let ve=0,de;const{x:ge,y:Y}=Rv(n),fe=rzt(g,ae),De=w==null?void 0:w.getBoundingClientRect();let Se=!1;if(!De||!fe)return;const $e=nzt(d,fe,c,E,i);if(!$e)return;let Te=Rv(n,De),ke=!1,Je=null,bt=!1,qe=null;function _t(){if(!k||!De)return;const[tr,Zn]=BHt(Te,De,re);C({x:tr,y:Zn}),ve=requestAnimationFrame(_t)}const At={...$e,nodeId:d,type:fe,position:$e.position},ft=E.get(d);let kt={inProgress:!0,isValid:null,from:dR(ft,At,Vr.Left,!0),fromHandle:At,fromPosition:At.position,fromNode:ft,to:Te,toHandle:null,toPosition:T5t[At.position],toNode:null,pointer:Te};function It(){Se=!0,P(kt),M==null||M(n,{nodeId:d,handleId:c,handleType:fe})}ee===0&&It();function Xt(tr){if(!Se){const{x:ai,y:jc}=Rv(tr),Xs=ai-ge,as=jc-Y;if(!(Xs*Xs+as*as>ee*ee))return;It()}if(!Q()||!At){Bn(tr);return}const Zn=H();Te=Rv(tr,De),de=xLn(Ez(Te,Zn,!1,[1,1]),a,E,At),ke||(_t(),ke=!0);const Dr=ozt(tr,{handle:de,connectionMode:i,fromNodeId:d,fromHandleId:c,fromType:b?"target":"source",isValidConnection:F,doc:he,lib:S,flowId:_,nodeLookup:E});qe=Dr.handleDomNode,Je=Dr.connection,bt=NLn(!!de,Dr.isValid);const Ui=E.get(d),Qr=Ui?dR(Ui,At,Vr.Left,!0):kt.from,Hi={...kt,from:Qr,isValid:bt,to:Dr.toHandle&&bt?zoe({x:Dr.toHandle.x,y:Dr.toHandle.y},Zn):Te,toHandle:Dr.toHandle,toPosition:bt&&Dr.toHandle?Dr.toHandle.position:T5t[At.position],toNode:Dr.toHandle?E.get(Dr.toHandle.nodeId):null,pointer:Te};P(Hi),kt=Hi}function Bn(tr){if(!("touches"in tr&&tr.touches.length>0)){if(Se){(de||qe)&&Je&&bt&&(D==null||D(Je));const{inProgress:Zn,...Dr}=kt,Ui={...Dr,toPosition:kt.toHandle?kt.toPosition:null};B==null||B(tr,Ui),g&&($==null||$(tr,Ui))}R(),cancelAnimationFrame(ve),ke=!1,bt=!1,Je=null,qe=null,he.removeEventListener("mousemove",Xt),he.removeEventListener("mouseup",Bn),he.removeEventListener("touchmove",Xt),he.removeEventListener("touchend",Bn)}}he.addEventListener("mousemove",Xt),he.addEventListener("mouseup",Bn),he.addEventListener("touchmove",Xt),he.addEventListener("touchend",Bn)}function ozt(n,{handle:i,connectionMode:a,fromNodeId:c,fromHandleId:d,fromType:g,doc:b,lib:w,flowId:E,isValidConnection:S=izt,nodeLookup:k}){const _=g==="target",C=i?b.querySelector(`.${w}-flow__handle[data-id="${E}-${i==null?void 0:i.nodeId}-${i==null?void 0:i.id}-${i==null?void 0:i.type}"]`):null,{x:R,y:M}=Rv(n),D=b.elementFromPoint(R,M),B=D!=null&&D.classList.contains(`${w}-flow__handle`)?D:C,F={handleDomNode:B,isValid:!1,connection:null,toHandle:null};if(B){const $=rzt(void 0,B),P=B.getAttribute("data-nodeid"),H=B.getAttribute("data-handleid"),Q=B.classList.contains("connectable"),re=B.classList.contains("connectableend");if(!P||!$)return F;const ee={source:_?P:c,sourceHandle:_?H:d,target:_?c:P,targetHandle:_?d:H};F.connection=ee;const he=Q&&re&&(a===y5.Strict?_&&$==="source"||!_&&$==="target":P!==c||H!==d);F.isValid=he&&S(ee),F.toHandle=nzt(P,$,H,k,a,!0)}return F}const iDe={onPointerDown:CLn,isValid:ozt};function ILn({domNode:n,panZoom:i,getTransform:a,getViewScale:c}){const d=Mm(n);function g({translateExtent:w,width:E,height:S,zoomStep:k=1,pannable:_=!0,zoomable:C=!0,inversePan:R=!1}){const M=P=>{if(P.sourceEvent.type!=="wheel"||!i)return;const H=a(),Q=P.sourceEvent.ctrlKey&&YH()?10:1,re=-P.sourceEvent.deltaY*(P.sourceEvent.deltaMode===1?.05:P.sourceEvent.deltaMode?1:.002)*k,ee=H[2]*Math.pow(2,re*Q);i.scaleTo(ee)};let D=[0,0];const B=P=>{(P.sourceEvent.type==="mousedown"||P.sourceEvent.type==="touchstart")&&(D=[P.sourceEvent.clientX??P.sourceEvent.touches[0].clientX,P.sourceEvent.clientY??P.sourceEvent.touches[0].clientY])},F=P=>{const H=a();if(P.sourceEvent.type!=="mousemove"&&P.sourceEvent.type!=="touchmove"||!i)return;const Q=[P.sourceEvent.clientX??P.sourceEvent.touches[0].clientX,P.sourceEvent.clientY??P.sourceEvent.touches[0].clientY],re=[Q[0]-D[0],Q[1]-D[1]];D=Q;const ee=c()*Math.max(H[2],Math.log(H[2]))*(R?-1:1),ae={x:H[0]-re[0]*ee,y:H[1]-re[1]*ee},he=[[0,0],[E,S]];i.setViewportConstrained({x:ae.x,y:ae.y,zoom:H[2]},he,w)},$=OHt().on("start",B).on("zoom",_?F:null).on("zoom.wheel",C?M:null);d.call($,{})}function b(){d.on("zoom",null)}return{update:g,destroy:b,pointer:xv}}const Wse=n=>({x:n.x,y:n.y,zoom:n.k}),RCe=({x:n,y:i,zoom:a})=>Gse.translate(n,i).scale(a),BM=(n,i)=>n.target.closest(`.${i}`),szt=(n,i)=>i===2&&Array.isArray(n)&&n.includes(2),RLn=n=>((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2,OCe=(n,i=0,a=RLn,c=()=>{})=>{const d=typeof i=="number"&&i>0;return d||c(),d?n.transition().duration(i).ease(a).on("end",c):n},azt=n=>{const i=n.ctrlKey&&YH()?10:1;return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*i};function OLn({zoomPanValues:n,noWheelClassName:i,d3Selection:a,d3Zoom:c,panOnScrollMode:d,panOnScrollSpeed:g,zoomOnPinch:b,onPanZoomStart:w,onPanZoom:E,onPanZoomEnd:S}){return k=>{if(BM(k,i))return k.ctrlKey&&k.preventDefault(),!1;k.preventDefault(),k.stopImmediatePropagation();const _=a.property("__zoom").k||1;if(k.ctrlKey&&b){const B=xv(k),F=azt(k),$=_*Math.pow(2,F);c.scaleTo(a,$,B,k);return}const C=k.deltaMode===1?20:1;let R=d===Q4.Vertical?0:k.deltaX*C,M=d===Q4.Horizontal?0:k.deltaY*C;!YH()&&k.shiftKey&&d!==Q4.Vertical&&(R=k.deltaY*C,M=0),c.translateBy(a,-(R/_)*g,-(M/_)*g,{internal:!0});const D=Wse(a.property("__zoom"));clearTimeout(n.panScrollTimeout),n.isPanScrolling?(E==null||E(k,D),n.panScrollTimeout=setTimeout(()=>{S==null||S(k,D),n.isPanScrolling=!1},150)):(n.isPanScrolling=!0,w==null||w(k,D))}}function DLn({noWheelClassName:n,preventScrolling:i,d3ZoomHandler:a}){return function(c,d){const g=c.type==="wheel",b=!i&&g&&!c.ctrlKey,w=BM(c,n);if(c.ctrlKey&&g&&w&&c.preventDefault(),b||w)return null;c.preventDefault(),a.call(this,c,d)}}function LLn({zoomPanValues:n,onDraggingChange:i,onPanZoomStart:a}){return c=>{var g,b,w;if((g=c.sourceEvent)!=null&&g.internal)return;const d=Wse(c.transform);n.mouseButton=((b=c.sourceEvent)==null?void 0:b.button)||0,n.isZoomingOrPanning=!0,n.prevViewport=d,((w=c.sourceEvent)==null?void 0:w.type)==="mousedown"&&i(!0),a&&(a==null||a(c.sourceEvent,d))}}function MLn({zoomPanValues:n,panOnDrag:i,onPaneContextMenu:a,onTransformChange:c,onPanZoom:d}){return g=>{var b,w;n.usedRightMouseButton=!!(a&&szt(i,n.mouseButton??0)),(b=g.sourceEvent)!=null&&b.sync||c([g.transform.x,g.transform.y,g.transform.k]),d&&!((w=g.sourceEvent)!=null&&w.internal)&&(d==null||d(g.sourceEvent,Wse(g.transform)))}}function PLn({zoomPanValues:n,panOnDrag:i,panOnScroll:a,onDraggingChange:c,onPanZoomEnd:d,onPaneContextMenu:g}){return b=>{var w;if(!((w=b.sourceEvent)!=null&&w.internal)&&(n.isZoomingOrPanning=!1,g&&szt(i,n.mouseButton??0)&&!n.usedRightMouseButton&&b.sourceEvent&&g(b.sourceEvent),n.usedRightMouseButton=!1,c(!1),d)){const E=Wse(b.transform);n.prevViewport=E,clearTimeout(n.timerId),n.timerId=setTimeout(()=>{d==null||d(b.sourceEvent,E)},a?150:0)}}}function jLn({zoomActivationKeyPressed:n,zoomOnScroll:i,zoomOnPinch:a,panOnDrag:c,panOnScroll:d,zoomOnDoubleClick:g,userSelectionActive:b,noWheelClassName:w,noPanClassName:E,lib:S,connectionInProgress:k}){return _=>{var B;const C=n||i,R=a&&_.ctrlKey,M=_.type==="wheel";if(_.button===1&&_.type==="mousedown"&&(BM(_,`${S}-flow__node`)||BM(_,`${S}-flow__edge`)))return!0;if(!c&&!C&&!d&&!g&&!a||b||k&&!M||BM(_,w)&&M||BM(_,E)&&(!M||d&&M&&!n)||!a&&_.ctrlKey&&M)return!1;if(!a&&_.type==="touchstart"&&((B=_.touches)==null?void 0:B.length)>1)return _.preventDefault(),!1;if(!C&&!d&&!R&&M||!c&&(_.type==="mousedown"||_.type==="touchstart")||Array.isArray(c)&&!c.includes(_.button)&&_.type==="mousedown")return!1;const D=Array.isArray(c)&&c.includes(_.button)||!_.button||_.button<=1;return(!_.ctrlKey||M)&&D}}function FLn({domNode:n,minZoom:i,maxZoom:a,translateExtent:c,viewport:d,onPanZoom:g,onPanZoomStart:b,onPanZoomEnd:w,onDraggingChange:E}){const S={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},k=n.getBoundingClientRect(),_=OHt().scaleExtent([i,a]).translateExtent(c),C=Mm(n).call(_);$({x:d.x,y:d.y,zoom:v5(d.zoom,i,a)},[[0,0],[k.width,k.height]],c);const R=C.on("wheel.zoom"),M=C.on("dblclick.zoom");_.wheelDelta(azt);function D(de,ge){return C?new Promise(Y=>{_==null||_.interpolate((ge==null?void 0:ge.interpolate)==="linear"?bH:Yie).transform(OCe(C,ge==null?void 0:ge.duration,ge==null?void 0:ge.ease,()=>Y(!0)),de)}):Promise.resolve(!1)}function B({noWheelClassName:de,noPanClassName:ge,onPaneContextMenu:Y,userSelectionActive:fe,panOnScroll:De,panOnDrag:Se,panOnScrollMode:$e,panOnScrollSpeed:Te,preventScrolling:ke,zoomOnPinch:Je,zoomOnScroll:bt,zoomOnDoubleClick:qe,zoomActivationKeyPressed:_t,lib:At,onTransformChange:ft,connectionInProgress:Kt,paneClickDistance:kt,selectionOnDrag:It}){fe&&!S.isZoomingOrPanning&&F();const Xt=De&&!_t&&!fe;_.clickDistance(It?1/0:!Iv(kt)||kt<0?0:kt);const Bn=Xt?OLn({zoomPanValues:S,noWheelClassName:de,d3Selection:C,d3Zoom:_,panOnScrollMode:$e,panOnScrollSpeed:Te,zoomOnPinch:Je,onPanZoomStart:b,onPanZoom:g,onPanZoomEnd:w}):DLn({noWheelClassName:de,preventScrolling:ke,d3ZoomHandler:R});if(C.on("wheel.zoom",Bn,{passive:!1}),!fe){const Zn=LLn({zoomPanValues:S,onDraggingChange:E,onPanZoomStart:b});_.on("start",Zn);const Dr=MLn({zoomPanValues:S,panOnDrag:Se,onPaneContextMenu:!!Y,onPanZoom:g,onTransformChange:ft});_.on("zoom",Dr);const Ui=PLn({zoomPanValues:S,panOnDrag:Se,panOnScroll:De,onPaneContextMenu:Y,onPanZoomEnd:w,onDraggingChange:E});_.on("end",Ui)}const tr=jLn({zoomActivationKeyPressed:_t,panOnDrag:Se,zoomOnScroll:bt,panOnScroll:De,zoomOnDoubleClick:qe,zoomOnPinch:Je,userSelectionActive:fe,noPanClassName:ge,noWheelClassName:de,lib:At,connectionInProgress:Kt});_.filter(tr),qe?C.on("dblclick.zoom",M):C.on("dblclick.zoom",null)}function F(){_.on("zoom",null)}async function $(de,ge,Y){const fe=RCe(de),De=_==null?void 0:_.constrain()(fe,ge,Y);return De&&await D(De),new Promise(Se=>Se(De))}async function P(de,ge){const Y=RCe(de);return await D(Y,ge),new Promise(fe=>fe(Y))}function H(de){if(C){const ge=RCe(de),Y=C.property("__zoom");(Y.k!==de.zoom||Y.x!==de.x||Y.y!==de.y)&&(_==null||_.transform(C,ge,null,{sync:!0}))}}function Q(){const de=C?RHt(C.node()):{x:0,y:0,k:1};return{x:de.x,y:de.y,zoom:de.k}}function re(de,ge){return C?new Promise(Y=>{_==null||_.interpolate((ge==null?void 0:ge.interpolate)==="linear"?bH:Yie).scaleTo(OCe(C,ge==null?void 0:ge.duration,ge==null?void 0:ge.ease,()=>Y(!0)),de)}):Promise.resolve(!1)}function ee(de,ge){return C?new Promise(Y=>{_==null||_.interpolate((ge==null?void 0:ge.interpolate)==="linear"?bH:Yie).scaleBy(OCe(C,ge==null?void 0:ge.duration,ge==null?void 0:ge.ease,()=>Y(!0)),de)}):Promise.resolve(!1)}function ae(de){_==null||_.scaleExtent(de)}function he(de){_==null||_.translateExtent(de)}function ve(de){const ge=!Iv(de)||de<0?0:de;_==null||_.clickDistance(ge)}return{update:B,destroy:F,setViewport:P,setViewportConstrained:$,getViewport:Q,scaleTo:re,scaleBy:ee,setScaleExtent:ae,setTranslateExtent:he,syncViewport:H,setClickDistance:ve}}var T5;(function(n){n.Line="line",n.Handle="handle"})(T5||(T5={}));function $Ln({width:n,prevWidth:i,height:a,prevHeight:c,affectsX:d,affectsY:g}){const b=n-i,w=a-c,E=[b>0?1:b<0?-1:0,w>0?1:w<0?-1:0];return b&&d&&(E[0]=E[0]*-1),w&&g&&(E[1]=E[1]*-1),E}function P5t(n){const i=n.includes("right")||n.includes("left"),a=n.includes("bottom")||n.includes("top"),c=n.includes("left"),d=n.includes("top");return{isHorizontal:i,isVertical:a,affectsX:c,affectsY:d}}function Nx(n,i){return Math.max(0,i-n)}function Cx(n,i){return Math.max(0,n-i)}function pie(n,i,a){return Math.max(0,i-n,n-a)}function j5t(n,i){return n?!i:i}function BLn(n,i,a,c,d,g,b,w){let{affectsX:E,affectsY:S}=i;const{isHorizontal:k,isVertical:_}=i,C=k&&_,{xSnapped:R,ySnapped:M}=a,{minWidth:D,maxWidth:B,minHeight:F,maxHeight:$}=c,{x:P,y:H,width:Q,height:re,aspectRatio:ee}=n;let ae=Math.floor(k?R-n.pointerX:0),he=Math.floor(_?M-n.pointerY:0);const ve=Q+(E?-ae:ae),de=re+(S?-he:he),ge=-g[0]*Q,Y=-g[1]*re;let fe=pie(ve,D,B),De=pie(de,F,$);if(b){let Te=0,ke=0;E&&ae<0?Te=Nx(P+ae+ge,b[0][0]):!E&&ae>0&&(Te=Cx(P+ve+ge,b[1][0])),S&&he<0?ke=Nx(H+he+Y,b[0][1]):!S&&he>0&&(ke=Cx(H+de+Y,b[1][1])),fe=Math.max(fe,Te),De=Math.max(De,ke)}if(w){let Te=0,ke=0;E&&ae>0?Te=Cx(P+ae,w[0][0]):!E&&ae<0&&(Te=Nx(P+ve,w[1][0])),S&&he>0?ke=Cx(H+he,w[0][1]):!S&&he<0&&(ke=Nx(H+de,w[1][1])),fe=Math.max(fe,Te),De=Math.max(De,ke)}if(d){if(k){const Te=pie(ve/ee,F,$)*ee;if(fe=Math.max(fe,Te),b){let ke=0;!E&&!S||E&&!S&&C?ke=Cx(H+Y+ve/ee,b[1][1])*ee:ke=Nx(H+Y+(E?ae:-ae)/ee,b[0][1])*ee,fe=Math.max(fe,ke)}if(w){let ke=0;!E&&!S||E&&!S&&C?ke=Nx(H+ve/ee,w[1][1])*ee:ke=Cx(H+(E?ae:-ae)/ee,w[0][1])*ee,fe=Math.max(fe,ke)}}if(_){const Te=pie(de*ee,D,B)/ee;if(De=Math.max(De,Te),b){let ke=0;!E&&!S||S&&!E&&C?ke=Cx(P+de*ee+ge,b[1][0])/ee:ke=Nx(P+(S?he:-he)*ee+ge,b[0][0])/ee,De=Math.max(De,ke)}if(w){let ke=0;!E&&!S||S&&!E&&C?ke=Nx(P+de*ee,w[1][0])/ee:ke=Cx(P+(S?he:-he)*ee,w[0][0])/ee,De=Math.max(De,ke)}}}he=he+(he<0?De:-De),ae=ae+(ae<0?fe:-fe),d&&(C?ve>de*ee?he=(j5t(E,S)?-ae:ae)/ee:ae=(j5t(E,S)?-he:he)*ee:k?(he=ae/ee,S=E):(ae=he*ee,E=S));const Se=E?P+ae:P,$e=S?H+he:H;return{width:Q+(E?-ae:ae),height:re+(S?-he:he),x:g[0]*ae*(E?-1:1)+Se,y:g[1]*he*(S?-1:1)+$e}}const uzt={width:0,height:0,x:0,y:0},ULn={...uzt,pointerX:0,pointerY:0,aspectRatio:1};function HLn(n){return[[0,0],[n.measured.width,n.measured.height]]}function zLn(n,i,a){const c=i.position.x+n.position.x,d=i.position.y+n.position.y,g=n.measured.width??0,b=n.measured.height??0,w=a[0]*g,E=a[1]*b;return[[c-w,d-E],[c+g-w,d+b-E]]}function GLn({domNode:n,nodeId:i,getStoreItems:a,onChange:c,onEnd:d}){const g=Mm(n);let b={controlDirection:P5t("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function w({controlPosition:S,boundaries:k,keepAspectRatio:_,resizeDirection:C,onResizeStart:R,onResize:M,onResizeEnd:D,shouldResize:B}){let F={...uzt},$={...ULn};b={boundaries:k,resizeDirection:C,keepAspectRatio:_,controlDirection:P5t(S)};let P,H=null,Q=[],re,ee,ae,he=!1;const ve=mHt().on("start",de=>{const{nodeLookup:ge,transform:Y,snapGrid:fe,snapToGrid:De,nodeOrigin:Se,paneDomNode:$e}=a();if(P=ge.get(i),!P)return;H=($e==null?void 0:$e.getBoundingClientRect())??null;const{xSnapped:Te,ySnapped:ke}=mH(de.sourceEvent,{transform:Y,snapGrid:fe,snapToGrid:De,containerBounds:H});F={width:P.measured.width??0,height:P.measured.height??0,x:P.position.x??0,y:P.position.y??0},$={...F,pointerX:Te,pointerY:ke,aspectRatio:F.width/F.height},re=void 0,P.parentId&&(P.extent==="parent"||P.expandParent)&&(re=ge.get(P.parentId),ee=re&&P.extent==="parent"?HLn(re):void 0),Q=[],ae=void 0;for(const[Je,bt]of ge)if(bt.parentId===i&&(Q.push({id:Je,position:{...bt.position},extent:bt.extent}),bt.extent==="parent"||bt.expandParent)){const qe=zLn(bt,P,bt.origin??Se);ae?ae=[[Math.min(qe[0][0],ae[0][0]),Math.min(qe[0][1],ae[0][1])],[Math.max(qe[1][0],ae[1][0]),Math.max(qe[1][1],ae[1][1])]]:ae=qe}R==null||R(de,{...F})}).on("drag",de=>{const{transform:ge,snapGrid:Y,snapToGrid:fe,nodeOrigin:De}=a(),Se=mH(de.sourceEvent,{transform:ge,snapGrid:Y,snapToGrid:fe,containerBounds:H}),$e=[];if(!P)return;const{x:Te,y:ke,width:Je,height:bt}=F,qe={},_t=P.origin??De,{width:At,height:ft,x:Kt,y:kt}=BLn($,b.controlDirection,Se,b.boundaries,b.keepAspectRatio,_t,ee,ae),It=At!==Je,Xt=ft!==bt,Bn=Kt!==Te&&It,tr=kt!==ke&&Xt;if(!Bn&&!tr&&!It&&!Xt)return;if((Bn||tr||_t[0]===1||_t[1]===1)&&(qe.x=Bn?Kt:F.x,qe.y=tr?kt:F.y,F.x=qe.x,F.y=qe.y,Q.length>0)){const Qr=Kt-Te,Hi=kt-ke;for(const ai of Q)ai.position={x:ai.position.x-Qr+_t[0]*(At-Je),y:ai.position.y-Hi+_t[1]*(ft-bt)},$e.push(ai)}if((It||Xt)&&(qe.width=It&&(!b.resizeDirection||b.resizeDirection==="horizontal")?At:F.width,qe.height=Xt&&(!b.resizeDirection||b.resizeDirection==="vertical")?ft:F.height,F.width=qe.width,F.height=qe.height),re&&P.expandParent){const Qr=_t[0]*(qe.width??0);qe.x&&qe.x<Qr&&(F.x=Qr,$.x=$.x-(qe.x-Qr));const Hi=_t[1]*(qe.height??0);qe.y&&qe.y<Hi&&(F.y=Hi,$.y=$.y-(qe.y-Hi))}const Zn=$Ln({width:F.width,prevWidth:Je,height:F.height,prevHeight:bt,affectsX:b.controlDirection.affectsX,affectsY:b.controlDirection.affectsY}),Dr={...F,direction:Zn};(B==null?void 0:B(de,Dr))!==!1&&(he=!0,M==null||M(de,Dr),c(qe,$e))}).on("end",de=>{he&&(D==null||D(de,{...F}),d==null||d({...F}),he=!1)});g.call(ve)}function E(){g.on(".drag",null)}return{update:w,destroy:E}}var czt={exports:{}},lzt={};/**
|
||
* @license React
|
||
* use-sync-external-store-shim/with-selector.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Kse=z,qLn=nHt;function VLn(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var WLn=typeof Object.is=="function"?Object.is:VLn,KLn=qLn.useSyncExternalStore,YLn=Kse.useRef,JLn=Kse.useEffect,XLn=Kse.useMemo,ZLn=Kse.useDebugValue;lzt.useSyncExternalStoreWithSelector=function(n,i,a,c,d){var g=YLn(null);if(g.current===null){var b={hasValue:!1,value:null};g.current=b}else b=g.current;g=XLn(function(){function E(R){if(!S){if(S=!0,k=R,R=c(R),d!==void 0&&b.hasValue){var M=b.value;if(d(M,R))return _=M}return _=R}if(M=_,WLn(k,R))return M;var D=c(R);return d!==void 0&&d(M,D)?(k=R,M):(k=R,_=D)}var S=!1,k,_,C=a===void 0?null:a;return[function(){return E(i())},C===null?void 0:function(){return E(C())}]},[i,a,c,d]);var w=KLn(n,g[0],g[1]);return JLn(function(){b.hasValue=!0,b.value=w},[w]),ZLn(w),w};czt.exports=lzt;var QLn=czt.exports;const eMn=vR(QLn),tMn={},F5t=n=>{let i;const a=new Set,c=(k,_)=>{const C=typeof k=="function"?k(i):k;if(!Object.is(C,i)){const R=i;i=_??(typeof C!="object"||C===null)?C:Object.assign({},i,C),a.forEach(M=>M(i,R))}},d=()=>i,E={setState:c,getState:d,getInitialState:()=>S,subscribe:k=>(a.add(k),()=>a.delete(k)),destroy:()=>{(tMn?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),a.clear()}},S=i=n(c,d,E);return E},nMn=n=>n?F5t(n):F5t,{useDebugValue:rMn}=Hn,{useSyncExternalStoreWithSelector:iMn}=eMn,oMn=n=>n;function dzt(n,i=oMn,a){const c=iMn(n.subscribe,n.getState,n.getServerState||n.getInitialState,i,a);return rMn(c),c}const $5t=(n,i)=>{const a=nMn(n),c=(d,g=i)=>dzt(a,d,g);return Object.assign(c,a),c},sMn=(n,i)=>n?$5t(n,i):$5t;function Lc(n,i){if(Object.is(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;if(n instanceof Map&&i instanceof Map){if(n.size!==i.size)return!1;for(const[c,d]of n)if(!Object.is(d,i.get(c)))return!1;return!0}if(n instanceof Set&&i instanceof Set){if(n.size!==i.size)return!1;for(const c of n)if(!i.has(c))return!1;return!0}const a=Object.keys(n);if(a.length!==Object.keys(i).length)return!1;for(const c of a)if(!Object.prototype.hasOwnProperty.call(i,c)||!Object.is(n[c],i[c]))return!1;return!0}const Yse=z.createContext(null),aMn=Yse.Provider,fzt=H2.error001();function Js(n,i){const a=z.useContext(Yse);if(a===null)throw new Error(fzt);return dzt(a,n,i)}function Mc(){const n=z.useContext(Yse);if(n===null)throw new Error(fzt);return z.useMemo(()=>({getState:n.getState,setState:n.setState,subscribe:n.subscribe}),[n])}const B5t={display:"none"},uMn={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},hzt="react-flow__node-desc",pzt="react-flow__edge-desc",cMn="react-flow__aria-live",lMn=n=>n.ariaLiveMessage,dMn=n=>n.ariaLabelConfig;function fMn({rfId:n}){const i=Js(lMn);return O.jsx("div",{id:`${cMn}-${n}`,"aria-live":"assertive","aria-atomic":"true",style:uMn,children:i})}function hMn({rfId:n,disableKeyboardA11y:i}){const a=Js(dMn);return O.jsxs(O.Fragment,{children:[O.jsx("div",{id:`${hzt}-${n}`,style:B5t,children:i?a["node.a11yDescription.default"]:a["node.a11yDescription.keyboardDisabled"]}),O.jsx("div",{id:`${pzt}-${n}`,style:B5t,children:a["edge.a11yDescription.default"]}),!i&&O.jsx(fMn,{rfId:n})]})}const fR=z.forwardRef(({position:n="top-left",children:i,className:a,style:c,...d},g)=>{const b=`${n}`.split("-");return O.jsx("div",{className:Bd(["react-flow__panel",a,...b]),style:c,ref:g,...d,children:i})});fR.displayName="Panel";function pMn({proOptions:n,position:i="bottom-right"}){return n!=null&&n.hideAttribution?null:O.jsx(fR,{position:i,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:O.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const gMn=n=>{const i=[],a=[];for(const[,c]of n.nodeLookup)c.selected&&i.push(c.internals.userNode);for(const[,c]of n.edgeLookup)c.selected&&a.push(c);return{selectedNodes:i,selectedEdges:a}},gie=n=>n.id;function bMn(n,i){return Lc(n.selectedNodes.map(gie),i.selectedNodes.map(gie))&&Lc(n.selectedEdges.map(gie),i.selectedEdges.map(gie))}function mMn({onSelectionChange:n}){const i=Mc(),{selectedNodes:a,selectedEdges:c}=Js(gMn,bMn);return z.useEffect(()=>{const d={nodes:a,edges:c};n==null||n(d),i.getState().onSelectionChangeHandlers.forEach(g=>g(d))},[a,c,n]),null}const wMn=n=>!!n.onSelectionChangeHandlers;function yMn({onSelectionChange:n}){const i=Js(wMn);return n||i?O.jsx(mMn,{onSelectionChange:n}):null}const gzt=[0,0],vMn={x:0,y:0,zoom:1},EMn=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],U5t=[...EMn,"rfId"],SMn=n=>({setNodes:n.setNodes,setEdges:n.setEdges,setMinZoom:n.setMinZoom,setMaxZoom:n.setMaxZoom,setTranslateExtent:n.setTranslateExtent,setNodeExtent:n.setNodeExtent,reset:n.reset,setDefaultNodesAndEdges:n.setDefaultNodesAndEdges}),H5t={translateExtent:VH,nodeOrigin:gzt,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function TMn(n){const{setNodes:i,setEdges:a,setMinZoom:c,setMaxZoom:d,setTranslateExtent:g,setNodeExtent:b,reset:w,setDefaultNodesAndEdges:E}=Js(SMn,Lc),S=Mc();z.useEffect(()=>(E(n.defaultNodes,n.defaultEdges),()=>{k.current=H5t,w()}),[]);const k=z.useRef(H5t);return z.useEffect(()=>{for(const _ of U5t){const C=n[_],R=k.current[_];C!==R&&(typeof n[_]>"u"||(_==="nodes"?i(C):_==="edges"?a(C):_==="minZoom"?c(C):_==="maxZoom"?d(C):_==="translateExtent"?g(C):_==="nodeExtent"?b(C):_==="ariaLabelConfig"?S.setState({ariaLabelConfig:rLn(C)}):_==="fitView"?S.setState({fitViewQueued:C}):_==="fitViewOptions"?S.setState({fitViewOptions:C}):S.setState({[_]:C})))}k.current=n},U5t.map(_=>n[_])),null}function z5t(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function AMn(n){var c;const[i,a]=z.useState(n==="system"?null:n);return z.useEffect(()=>{if(n!=="system"){a(n);return}const d=z5t(),g=()=>a(d!=null&&d.matches?"dark":"light");return g(),d==null||d.addEventListener("change",g),()=>{d==null||d.removeEventListener("change",g)}},[n]),i!==null?i:(c=z5t())!=null&&c.matches?"dark":"light"}const G5t=typeof document<"u"?document:null;function JH(n=null,i={target:G5t,actInsideInputWithModifier:!0}){const[a,c]=z.useState(!1),d=z.useRef(!1),g=z.useRef(new Set([])),[b,w]=z.useMemo(()=>{if(n!==null){const S=(Array.isArray(n)?n:[n]).filter(_=>typeof _=="string").map(_=>_.replace("+",`
|
||
`).replace(`
|
||
|
||
`,`
|
||
+`).split(`
|
||
`)),k=S.reduce((_,C)=>_.concat(...C),[]);return[S,k]}return[[],[]]},[n]);return z.useEffect(()=>{const E=(i==null?void 0:i.target)??G5t,S=(i==null?void 0:i.actInsideInputWithModifier)??!0;if(n!==null){const k=R=>{var B,F;if(d.current=R.ctrlKey||R.metaKey||R.shiftKey||R.altKey,(!d.current||d.current&&!S)&&qHt(R))return!1;const D=V5t(R.code,w);if(g.current.add(R[D]),q5t(b,g.current,!1)){const $=((F=(B=R.composedPath)==null?void 0:B.call(R))==null?void 0:F[0])||R.target,P=($==null?void 0:$.nodeName)==="BUTTON"||($==null?void 0:$.nodeName)==="A";i.preventDefault!==!1&&(d.current||!P)&&R.preventDefault(),c(!0)}},_=R=>{const M=V5t(R.code,w);q5t(b,g.current,!0)?(c(!1),g.current.clear()):g.current.delete(R[M]),R.key==="Meta"&&g.current.clear(),d.current=!1},C=()=>{g.current.clear(),c(!1)};return E==null||E.addEventListener("keydown",k),E==null||E.addEventListener("keyup",_),window.addEventListener("blur",C),window.addEventListener("contextmenu",C),()=>{E==null||E.removeEventListener("keydown",k),E==null||E.removeEventListener("keyup",_),window.removeEventListener("blur",C),window.removeEventListener("contextmenu",C)}}},[n,c]),a}function q5t(n,i,a){return n.filter(c=>a||c.length===i.size).some(c=>c.every(d=>i.has(d)))}function V5t(n,i){return i.includes(n)?"code":"key"}const _Mn=()=>{const n=Mc();return z.useMemo(()=>({zoomIn:i=>{const{panZoom:a}=n.getState();return a?a.scaleBy(1.2,{duration:i==null?void 0:i.duration}):Promise.resolve(!1)},zoomOut:i=>{const{panZoom:a}=n.getState();return a?a.scaleBy(1/1.2,{duration:i==null?void 0:i.duration}):Promise.resolve(!1)},zoomTo:(i,a)=>{const{panZoom:c}=n.getState();return c?c.scaleTo(i,{duration:a==null?void 0:a.duration}):Promise.resolve(!1)},getZoom:()=>n.getState().transform[2],setViewport:async(i,a)=>{const{transform:[c,d,g],panZoom:b}=n.getState();return b?(await b.setViewport({x:i.x??c,y:i.y??d,zoom:i.zoom??g},a),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[i,a,c]=n.getState().transform;return{x:i,y:a,zoom:c}},setCenter:async(i,a,c)=>n.getState().setCenter(i,a,c),fitBounds:async(i,a)=>{const{width:c,height:d,minZoom:g,maxZoom:b,panZoom:w}=n.getState(),E=gMe(i,c,d,g,b,(a==null?void 0:a.padding)??.1);return w?(await w.setViewport(E,{duration:a==null?void 0:a.duration,ease:a==null?void 0:a.ease,interpolate:a==null?void 0:a.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(i,a={})=>{const{transform:c,snapGrid:d,snapToGrid:g,domNode:b}=n.getState();if(!b)return i;const{x:w,y:E}=b.getBoundingClientRect(),S={x:i.x-w,y:i.y-E},k=a.snapGrid??d,_=a.snapToGrid??g;return Ez(S,c,_,k)},flowToScreenPosition:i=>{const{transform:a,domNode:c}=n.getState();if(!c)return i;const{x:d,y:g}=c.getBoundingClientRect(),b=zoe(i,a);return{x:b.x+d,y:b.y+g}}}),[])};function bzt(n,i){const a=[],c=new Map,d=[];for(const g of n)if(g.type==="add"){d.push(g);continue}else if(g.type==="remove"||g.type==="replace")c.set(g.id,[g]);else{const b=c.get(g.id);b?b.push(g):c.set(g.id,[g])}for(const g of i){const b=c.get(g.id);if(!b){a.push(g);continue}if(b[0].type==="remove")continue;if(b[0].type==="replace"){a.push({...b[0].item});continue}const w={...g};for(const E of b)kMn(E,w);a.push(w)}return d.length&&d.forEach(g=>{g.index!==void 0?a.splice(g.index,0,{...g.item}):a.push({...g.item})}),a}function kMn(n,i){switch(n.type){case"select":{i.selected=n.selected;break}case"position":{typeof n.position<"u"&&(i.position=n.position),typeof n.dragging<"u"&&(i.dragging=n.dragging);break}case"dimensions":{typeof n.dimensions<"u"&&(i.measured={...n.dimensions},n.setAttributes&&((n.setAttributes===!0||n.setAttributes==="width")&&(i.width=n.dimensions.width),(n.setAttributes===!0||n.setAttributes==="height")&&(i.height=n.dimensions.height))),typeof n.resizing=="boolean"&&(i.resizing=n.resizing);break}}}function mzt(n,i){return bzt(n,i)}function wzt(n,i){return bzt(n,i)}function G4(n,i){return{id:n,type:"select",selected:i}}function UM(n,i=new Set,a=!1){const c=[];for(const[d,g]of n){const b=i.has(d);!(g.selected===void 0&&!b)&&g.selected!==b&&(a&&(g.selected=b),c.push(G4(g.id,b)))}return c}function W5t({items:n=[],lookup:i}){var d;const a=[],c=new Map(n.map(g=>[g.id,g]));for(const[g,b]of n.entries()){const w=i.get(b.id),E=((d=w==null?void 0:w.internals)==null?void 0:d.userNode)??w;E!==void 0&&E!==b&&a.push({id:b.id,item:b,type:"replace"}),E===void 0&&a.push({item:b,type:"add",index:g})}for(const[g]of i)c.get(g)===void 0&&a.push({id:g,type:"remove"});return a}function K5t(n){return{id:n.id,type:"remove"}}const Y5t=n=>WDn(n),xMn=n=>jHt(n);function yzt(n){return z.forwardRef(n)}const NMn=typeof window<"u"?z.useLayoutEffect:z.useEffect;function J5t(n){const[i,a]=z.useState(BigInt(0)),[c]=z.useState(()=>CMn(()=>a(d=>d+BigInt(1))));return NMn(()=>{const d=c.get();d.length&&(n(d),c.reset())},[i]),c}function CMn(n){let i=[];return{get:()=>i,reset:()=>{i=[]},push:a=>{i.push(a),n()}}}const vzt=z.createContext(null);function IMn({children:n}){const i=Mc(),a=z.useCallback(w=>{const{nodes:E=[],setNodes:S,hasDefaultNodes:k,onNodesChange:_,nodeLookup:C,fitViewQueued:R,onNodesChangeMiddlewareMap:M}=i.getState();let D=E;for(const F of w)D=typeof F=="function"?F(D):F;let B=W5t({items:D,lookup:C});for(const F of M.values())B=F(B);k&&S(D),B.length>0?_==null||_(B):R&&window.requestAnimationFrame(()=>{const{fitViewQueued:F,nodes:$,setNodes:P}=i.getState();F&&P($)})},[]),c=J5t(a),d=z.useCallback(w=>{const{edges:E=[],setEdges:S,hasDefaultEdges:k,onEdgesChange:_,edgeLookup:C}=i.getState();let R=E;for(const M of w)R=typeof M=="function"?M(R):M;k?S(R):_&&_(W5t({items:R,lookup:C}))},[]),g=J5t(d),b=z.useMemo(()=>({nodeQueue:c,edgeQueue:g}),[]);return O.jsx(vzt.Provider,{value:b,children:n})}function RMn(){const n=z.useContext(vzt);if(!n)throw new Error("useBatchContext must be used within a BatchProvider");return n}const OMn=n=>!!n.panZoom;function AR(){const n=_Mn(),i=Mc(),a=RMn(),c=Js(OMn),d=z.useMemo(()=>{const g=_=>i.getState().nodeLookup.get(_),b=_=>{a.nodeQueue.push(_)},w=_=>{a.edgeQueue.push(_)},E=_=>{var F,$;const{nodeLookup:C,nodeOrigin:R}=i.getState(),M=Y5t(_)?_:C.get(_.id),D=M.parentId?zHt(M.position,M.measured,M.parentId,C,R):M.position,B={...M,position:D,width:((F=M.measured)==null?void 0:F.width)??M.width,height:(($=M.measured)==null?void 0:$.height)??M.height};return E5(B)},S=(_,C,R={replace:!1})=>{b(M=>M.map(D=>{if(D.id===_){const B=typeof C=="function"?C(D):C;return R.replace&&Y5t(B)?B:{...D,...B}}return D}))},k=(_,C,R={replace:!1})=>{w(M=>M.map(D=>{if(D.id===_){const B=typeof C=="function"?C(D):C;return R.replace&&xMn(B)?B:{...D,...B}}return D}))};return{getNodes:()=>i.getState().nodes.map(_=>({..._})),getNode:_=>{var C;return(C=g(_))==null?void 0:C.internals.userNode},getInternalNode:g,getEdges:()=>{const{edges:_=[]}=i.getState();return _.map(C=>({...C}))},getEdge:_=>i.getState().edgeLookup.get(_),setNodes:b,setEdges:w,addNodes:_=>{const C=Array.isArray(_)?_:[_];a.nodeQueue.push(R=>[...R,...C])},addEdges:_=>{const C=Array.isArray(_)?_:[_];a.edgeQueue.push(R=>[...R,...C])},toObject:()=>{const{nodes:_=[],edges:C=[],transform:R}=i.getState(),[M,D,B]=R;return{nodes:_.map(F=>({...F})),edges:C.map(F=>({...F})),viewport:{x:M,y:D,zoom:B}}},deleteElements:async({nodes:_=[],edges:C=[]})=>{const{nodes:R,edges:M,onNodesDelete:D,onEdgesDelete:B,triggerNodeChanges:F,triggerEdgeChanges:$,onDelete:P,onBeforeDelete:H}=i.getState(),{nodes:Q,edges:re}=await ZDn({nodesToRemove:_,edgesToRemove:C,nodes:R,edges:M,onBeforeDelete:H}),ee=re.length>0,ae=Q.length>0;if(ee){const he=re.map(K5t);B==null||B(re),$(he)}if(ae){const he=Q.map(K5t);D==null||D(Q),F(he)}return(ae||ee)&&(P==null||P({nodes:Q,edges:re})),{deletedNodes:Q,deletedEdges:re}},getIntersectingNodes:(_,C=!0,R)=>{const M=_5t(_),D=M?_:E(_),B=R!==void 0;return D?(R||i.getState().nodes).filter(F=>{const $=i.getState().nodeLookup.get(F.id);if($&&!M&&(F.id===_.id||!$.internals.positionAbsolute))return!1;const P=E5(B?F:$),H=KH(P,D);return C&&H>0||H>=P.width*P.height||H>=D.width*D.height}):[]},isNodeIntersecting:(_,C,R=!0)=>{const D=_5t(_)?_:E(_);if(!D)return!1;const B=KH(D,C);return R&&B>0||B>=C.width*C.height||B>=D.width*D.height},updateNode:S,updateNodeData:(_,C,R={replace:!1})=>{S(_,M=>{const D=typeof C=="function"?C(M):C;return R.replace?{...M,data:D}:{...M,data:{...M.data,...D}}},R)},updateEdge:k,updateEdgeData:(_,C,R={replace:!1})=>{k(_,M=>{const D=typeof C=="function"?C(M):C;return R.replace?{...M,data:D}:{...M,data:{...M.data,...D}}},R)},getNodesBounds:_=>{const{nodeLookup:C,nodeOrigin:R}=i.getState();return KDn(_,{nodeLookup:C,nodeOrigin:R})},getHandleConnections:({type:_,id:C,nodeId:R})=>{var M;return Array.from(((M=i.getState().connectionLookup.get(`${R}-${_}${C?`-${C}`:""}`))==null?void 0:M.values())??[])},getNodeConnections:({type:_,handleId:C,nodeId:R})=>{var M;return Array.from(((M=i.getState().connectionLookup.get(`${R}${_?C?`-${_}-${C}`:`-${_}`:""}`))==null?void 0:M.values())??[])},fitView:async _=>{const C=i.getState().fitViewResolver??nLn();return i.setState({fitViewQueued:!0,fitViewOptions:_,fitViewResolver:C}),a.nodeQueue.push(R=>[...R]),C.promise}}},[]);return z.useMemo(()=>({...d,...n,viewportInitialized:c}),[c])}const X5t=n=>n.selected,DMn=typeof window<"u"?window:void 0;function LMn({deleteKeyCode:n,multiSelectionKeyCode:i}){const a=Mc(),{deleteElements:c}=AR(),d=JH(n,{actInsideInputWithModifier:!1}),g=JH(i,{target:DMn});z.useEffect(()=>{if(d){const{edges:b,nodes:w}=a.getState();c({nodes:w.filter(X5t),edges:b.filter(X5t)}),a.setState({nodesSelectionActive:!1})}},[d]),z.useEffect(()=>{a.setState({multiSelectionActive:g})},[g])}function MMn(n){const i=Mc();z.useEffect(()=>{const a=()=>{var d,g,b,w;if(!n.current||!(((g=(d=n.current).checkVisibility)==null?void 0:g.call(d))??!0))return!1;const c=bMe(n.current);(c.height===0||c.width===0)&&((w=(b=i.getState()).onError)==null||w.call(b,"004",H2.error004())),i.setState({width:c.width||500,height:c.height||500})};if(n.current){a(),window.addEventListener("resize",a);const c=new ResizeObserver(()=>a());return c.observe(n.current),()=>{window.removeEventListener("resize",a),c&&n.current&&c.unobserve(n.current)}}},[])}const Jse={position:"absolute",width:"100%",height:"100%",top:0,left:0},PMn=n=>({userSelectionActive:n.userSelectionActive,lib:n.lib,connectionInProgress:n.connection.inProgress});function jMn({onPaneContextMenu:n,zoomOnScroll:i=!0,zoomOnPinch:a=!0,panOnScroll:c=!1,panOnScrollSpeed:d=.5,panOnScrollMode:g=Q4.Free,zoomOnDoubleClick:b=!0,panOnDrag:w=!0,defaultViewport:E,translateExtent:S,minZoom:k,maxZoom:_,zoomActivationKeyCode:C,preventScrolling:R=!0,children:M,noWheelClassName:D,noPanClassName:B,onViewportChange:F,isControlledViewport:$,paneClickDistance:P,selectionOnDrag:H}){const Q=Mc(),re=z.useRef(null),{userSelectionActive:ee,lib:ae,connectionInProgress:he}=Js(PMn,Lc),ve=JH(C),de=z.useRef();MMn(re);const ge=z.useCallback(Y=>{F==null||F({x:Y[0],y:Y[1],zoom:Y[2]}),$||Q.setState({transform:Y})},[F,$]);return z.useEffect(()=>{if(re.current){de.current=FLn({domNode:re.current,minZoom:k,maxZoom:_,translateExtent:S,viewport:E,onDraggingChange:Se=>Q.setState({paneDragging:Se}),onPanZoomStart:(Se,$e)=>{const{onViewportChangeStart:Te,onMoveStart:ke}=Q.getState();ke==null||ke(Se,$e),Te==null||Te($e)},onPanZoom:(Se,$e)=>{const{onViewportChange:Te,onMove:ke}=Q.getState();ke==null||ke(Se,$e),Te==null||Te($e)},onPanZoomEnd:(Se,$e)=>{const{onViewportChangeEnd:Te,onMoveEnd:ke}=Q.getState();ke==null||ke(Se,$e),Te==null||Te($e)}});const{x:Y,y:fe,zoom:De}=de.current.getViewport();return Q.setState({panZoom:de.current,transform:[Y,fe,De],domNode:re.current.closest(".react-flow")}),()=>{var Se;(Se=de.current)==null||Se.destroy()}}},[]),z.useEffect(()=>{var Y;(Y=de.current)==null||Y.update({onPaneContextMenu:n,zoomOnScroll:i,zoomOnPinch:a,panOnScroll:c,panOnScrollSpeed:d,panOnScrollMode:g,zoomOnDoubleClick:b,panOnDrag:w,zoomActivationKeyPressed:ve,preventScrolling:R,noPanClassName:B,userSelectionActive:ee,noWheelClassName:D,lib:ae,onTransformChange:ge,connectionInProgress:he,selectionOnDrag:H,paneClickDistance:P})},[n,i,a,c,d,g,b,w,ve,R,B,ee,D,ae,ge,he,H,P]),O.jsx("div",{className:"react-flow__renderer",ref:re,style:Jse,children:M})}const FMn=n=>({userSelectionActive:n.userSelectionActive,userSelectionRect:n.userSelectionRect});function $Mn(){const{userSelectionActive:n,userSelectionRect:i}=Js(FMn,Lc);return n&&i?O.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:i.width,height:i.height,transform:`translate(${i.x}px, ${i.y}px)`}}):null}const DCe=(n,i)=>a=>{a.target===i.current&&(n==null||n(a))},BMn=n=>({userSelectionActive:n.userSelectionActive,elementsSelectable:n.elementsSelectable,connectionInProgress:n.connection.inProgress,dragging:n.paneDragging});function UMn({isSelecting:n,selectionKeyPressed:i,selectionMode:a=WH.Full,panOnDrag:c,paneClickDistance:d,selectionOnDrag:g,onSelectionStart:b,onSelectionEnd:w,onPaneClick:E,onPaneContextMenu:S,onPaneScroll:k,onPaneMouseEnter:_,onPaneMouseMove:C,onPaneMouseLeave:R,children:M}){const D=Mc(),{userSelectionActive:B,elementsSelectable:F,dragging:$,connectionInProgress:P}=Js(BMn,Lc),H=F&&(n||B),Q=z.useRef(null),re=z.useRef(),ee=z.useRef(new Set),ae=z.useRef(new Set),he=z.useRef(!1),ve=Te=>{if(he.current||P){he.current=!1;return}E==null||E(Te),D.getState().resetSelectedElements(),D.setState({nodesSelectionActive:!1})},de=Te=>{if(Array.isArray(c)&&(c!=null&&c.includes(2))){Te.preventDefault();return}S==null||S(Te)},ge=k?Te=>k(Te):void 0,Y=Te=>{he.current&&(Te.stopPropagation(),he.current=!1)},fe=Te=>{var ft,Kt;const{domNode:ke}=D.getState();if(re.current=ke==null?void 0:ke.getBoundingClientRect(),!re.current)return;const Je=Te.target===Q.current;if(!Je&&!!Te.target.closest(".nokey")||!n||!(g&&Je||i)||Te.button!==0||!Te.isPrimary)return;(Kt=(ft=Te.target)==null?void 0:ft.setPointerCapture)==null||Kt.call(ft,Te.pointerId),he.current=!1;const{x:_t,y:At}=Rv(Te.nativeEvent,re.current);D.setState({userSelectionRect:{width:0,height:0,startX:_t,startY:At,x:_t,y:At}}),Je||(Te.stopPropagation(),Te.preventDefault())},De=Te=>{const{userSelectionRect:ke,transform:Je,nodeLookup:bt,edgeLookup:qe,connectionLookup:_t,triggerNodeChanges:At,triggerEdgeChanges:ft,defaultEdgeOptions:Kt,resetSelectedElements:kt}=D.getState();if(!re.current||!ke)return;const{x:It,y:Xt}=Rv(Te.nativeEvent,re.current),{startX:Bn,startY:tr}=ke;if(!he.current){const Hi=i?0:d;if(Math.hypot(It-Bn,Xt-tr)<=Hi)return;kt(),b==null||b(Te)}he.current=!0;const Zn={startX:Bn,startY:tr,x:It<Bn?It:Bn,y:Xt<tr?Xt:tr,width:Math.abs(It-Bn),height:Math.abs(Xt-tr)},Dr=ee.current,Ui=ae.current;ee.current=new Set(pMe(bt,Zn,Je,a===WH.Partial,!0).map(Hi=>Hi.id)),ae.current=new Set;const Qr=(Kt==null?void 0:Kt.selectable)??!0;for(const Hi of ee.current){const ai=_t.get(Hi);if(ai)for(const{edgeId:jc}of ai.values()){const Xs=qe.get(jc);Xs&&(Xs.selectable??Qr)&&ae.current.add(jc)}}if(!k5t(Dr,ee.current)){const Hi=UM(bt,ee.current,!0);At(Hi)}if(!k5t(Ui,ae.current)){const Hi=UM(qe,ae.current);ft(Hi)}D.setState({userSelectionRect:Zn,userSelectionActive:!0,nodesSelectionActive:!1})},Se=Te=>{var ke,Je;Te.button===0&&((Je=(ke=Te.target)==null?void 0:ke.releasePointerCapture)==null||Je.call(ke,Te.pointerId),!B&&Te.target===Q.current&&D.getState().userSelectionRect&&(ve==null||ve(Te)),D.setState({userSelectionActive:!1,userSelectionRect:null}),he.current&&(w==null||w(Te),D.setState({nodesSelectionActive:ee.current.size>0})))},$e=c===!0||Array.isArray(c)&&c.includes(0);return O.jsxs("div",{className:Bd(["react-flow__pane",{draggable:$e,dragging:$,selection:n}]),onClick:H?void 0:DCe(ve,Q),onContextMenu:DCe(de,Q),onWheel:DCe(ge,Q),onPointerEnter:H?void 0:_,onPointerMove:H?De:C,onPointerUp:H?Se:void 0,onPointerDownCapture:H?fe:void 0,onClickCapture:H?Y:void 0,onPointerLeave:R,ref:Q,style:Jse,children:[M,O.jsx($Mn,{})]})}function oDe({id:n,store:i,unselect:a=!1,nodeRef:c}){const{addSelectedNodes:d,unselectNodesAndEdges:g,multiSelectionActive:b,nodeLookup:w,onError:E}=i.getState(),S=w.get(n);if(!S){E==null||E("012",H2.error012(n));return}i.setState({nodesSelectionActive:!1}),S.selected?(a||S.selected&&b)&&(g({nodes:[S],edges:[]}),requestAnimationFrame(()=>{var k;return(k=c==null?void 0:c.current)==null?void 0:k.blur()})):d([n])}function Ezt({nodeRef:n,disabled:i=!1,noDragClassName:a,handleSelector:c,nodeId:d,isSelectable:g,nodeClickDistance:b}){const w=Mc(),[E,S]=z.useState(!1),k=z.useRef();return z.useEffect(()=>{k.current=ALn({getStoreItems:()=>w.getState(),onNodeMouseDown:_=>{oDe({id:_,store:w,nodeRef:n})},onDragStart:()=>{S(!0)},onDragStop:()=>{S(!1)}})},[]),z.useEffect(()=>{var _,C;if(i)(_=k.current)==null||_.destroy();else if(n.current)return(C=k.current)==null||C.update({noDragClassName:a,handleSelector:c,domNode:n.current,isSelectable:g,nodeId:d,nodeClickDistance:b}),()=>{var R;(R=k.current)==null||R.destroy()}},[a,c,i,g,n,d]),E}const HMn=n=>i=>i.selected&&(i.draggable||n&&typeof i.draggable>"u");function Szt(){const n=Mc();return z.useCallback(a=>{const{nodeExtent:c,snapToGrid:d,snapGrid:g,nodesDraggable:b,onError:w,updateNodePositions:E,nodeLookup:S,nodeOrigin:k}=n.getState(),_=new Map,C=HMn(b),R=d?g[0]:5,M=d?g[1]:5,D=a.direction.x*R*a.factor,B=a.direction.y*M*a.factor;for(const[,F]of S){if(!C(F))continue;let $={x:F.internals.positionAbsolute.x+D,y:F.internals.positionAbsolute.y+B};d&&($=vz($,g));const{position:P,positionAbsolute:H}=FHt({nodeId:F.id,nextPosition:$,nodeLookup:S,nodeExtent:c,nodeOrigin:k,onError:w});F.position=P,F.internals.positionAbsolute=H,_.set(F.id,F)}E(_)},[])}const SMe=z.createContext(null),zMn=SMe.Provider;SMe.Consumer;const Tzt=()=>z.useContext(SMe),GMn=n=>({connectOnClick:n.connectOnClick,noPanClassName:n.noPanClassName,rfId:n.rfId}),qMn=(n,i,a)=>c=>{const{connectionClickStartHandle:d,connectionMode:g,connection:b}=c,{fromHandle:w,toHandle:E,isValid:S}=b,k=(E==null?void 0:E.nodeId)===n&&(E==null?void 0:E.id)===i&&(E==null?void 0:E.type)===a;return{connectingFrom:(w==null?void 0:w.nodeId)===n&&(w==null?void 0:w.id)===i&&(w==null?void 0:w.type)===a,connectingTo:k,clickConnecting:(d==null?void 0:d.nodeId)===n&&(d==null?void 0:d.id)===i&&(d==null?void 0:d.type)===a,isPossibleEndHandle:g===y5.Strict?(w==null?void 0:w.type)!==a:n!==(w==null?void 0:w.nodeId)||i!==(w==null?void 0:w.id),connectionInProcess:!!w,clickConnectionInProcess:!!d,valid:k&&S}};function VMn({type:n="source",position:i=Vr.Top,isValidConnection:a,isConnectable:c=!0,isConnectableStart:d=!0,isConnectableEnd:g=!0,id:b,onConnect:w,children:E,className:S,onMouseDown:k,onTouchStart:_,...C},R){var De,Se;const M=b||null,D=n==="target",B=Mc(),F=Tzt(),{connectOnClick:$,noPanClassName:P,rfId:H}=Js(GMn,Lc),{connectingFrom:Q,connectingTo:re,clickConnecting:ee,isPossibleEndHandle:ae,connectionInProcess:he,clickConnectionInProcess:ve,valid:de}=Js(qMn(F,M,n),Lc);F||(Se=(De=B.getState()).onError)==null||Se.call(De,"010",H2.error010());const ge=$e=>{const{defaultEdgeOptions:Te,onConnect:ke,hasDefaultEdges:Je}=B.getState(),bt={...Te,...$e};if(Je){const{edges:qe,setEdges:_t}=B.getState();_t(JHt(bt,qe))}ke==null||ke(bt),w==null||w(bt)},Y=$e=>{if(!F)return;const Te=VHt($e.nativeEvent);if(d&&(Te&&$e.button===0||!Te)){const ke=B.getState();iDe.onPointerDown($e.nativeEvent,{handleDomNode:$e.currentTarget,autoPanOnConnect:ke.autoPanOnConnect,connectionMode:ke.connectionMode,connectionRadius:ke.connectionRadius,domNode:ke.domNode,nodeLookup:ke.nodeLookup,lib:ke.lib,isTarget:D,handleId:M,nodeId:F,flowId:ke.rfId,panBy:ke.panBy,cancelConnection:ke.cancelConnection,onConnectStart:ke.onConnectStart,onConnectEnd:ke.onConnectEnd,updateConnection:ke.updateConnection,onConnect:ge,isValidConnection:a||ke.isValidConnection,getTransform:()=>B.getState().transform,getFromHandle:()=>B.getState().connection.fromHandle,autoPanSpeed:ke.autoPanSpeed,dragThreshold:ke.connectionDragThreshold})}Te?k==null||k($e):_==null||_($e)},fe=$e=>{const{onClickConnectStart:Te,onClickConnectEnd:ke,connectionClickStartHandle:Je,connectionMode:bt,isValidConnection:qe,lib:_t,rfId:At,nodeLookup:ft,connection:Kt}=B.getState();if(!F||!Je&&!d)return;if(!Je){Te==null||Te($e.nativeEvent,{nodeId:F,handleId:M,handleType:n}),B.setState({connectionClickStartHandle:{nodeId:F,type:n,id:M}});return}const kt=GHt($e.target),It=a||qe,{connection:Xt,isValid:Bn}=iDe.isValid($e.nativeEvent,{handle:{nodeId:F,id:M,type:n},connectionMode:bt,fromNodeId:Je.nodeId,fromHandleId:Je.id||null,fromType:Je.type,isValidConnection:It,flowId:At,doc:kt,lib:_t,nodeLookup:ft});Bn&&Xt&&ge(Xt);const tr=structuredClone(Kt);delete tr.inProgress,tr.toPosition=tr.toHandle?tr.toHandle.position:null,ke==null||ke($e,tr),B.setState({connectionClickStartHandle:null})};return O.jsx("div",{"data-handleid":M,"data-nodeid":F,"data-handlepos":i,"data-id":`${H}-${F}-${M}-${n}`,className:Bd(["react-flow__handle",`react-flow__handle-${i}`,"nodrag",P,S,{source:!D,target:D,connectable:c,connectablestart:d,connectableend:g,clickconnecting:ee,connectingfrom:Q,connectingto:re,valid:de,connectionindicator:c&&(!he||ae)&&(he||ve?g:d)}]),onMouseDown:Y,onTouchStart:Y,onClick:$?fe:void 0,ref:R,...C,children:E})}const jp=z.memo(yzt(VMn));function WMn({data:n,isConnectable:i,sourcePosition:a=Vr.Bottom}){return O.jsxs(O.Fragment,{children:[n==null?void 0:n.label,O.jsx(jp,{type:"source",position:a,isConnectable:i})]})}function KMn({data:n,isConnectable:i,targetPosition:a=Vr.Top,sourcePosition:c=Vr.Bottom}){return O.jsxs(O.Fragment,{children:[O.jsx(jp,{type:"target",position:a,isConnectable:i}),n==null?void 0:n.label,O.jsx(jp,{type:"source",position:c,isConnectable:i})]})}function YMn(){return null}function JMn({data:n,isConnectable:i,targetPosition:a=Vr.Top}){return O.jsxs(O.Fragment,{children:[O.jsx(jp,{type:"target",position:a,isConnectable:i}),n==null?void 0:n.label]})}const qoe={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Z5t={input:WMn,default:KMn,output:JMn,group:YMn};function XMn(n){var i,a,c,d;return n.internals.handleBounds===void 0?{width:n.width??n.initialWidth??((i=n.style)==null?void 0:i.width),height:n.height??n.initialHeight??((a=n.style)==null?void 0:a.height)}:{width:n.width??((c=n.style)==null?void 0:c.width),height:n.height??((d=n.style)==null?void 0:d.height)}}const ZMn=n=>{const{width:i,height:a,x:c,y:d}=yz(n.nodeLookup,{filter:g=>!!g.selected});return{width:Iv(i)?i:null,height:Iv(a)?a:null,userSelectionActive:n.userSelectionActive,transformString:`translate(${n.transform[0]}px,${n.transform[1]}px) scale(${n.transform[2]}) translate(${c}px,${d}px)`}};function QMn({onSelectionContextMenu:n,noPanClassName:i,disableKeyboardA11y:a}){const c=Mc(),{width:d,height:g,transformString:b,userSelectionActive:w}=Js(ZMn,Lc),E=Szt(),S=z.useRef(null);if(z.useEffect(()=>{var C;a||(C=S.current)==null||C.focus({preventScroll:!0})},[a]),Ezt({nodeRef:S}),w||!d||!g)return null;const k=n?C=>{const R=c.getState().nodes.filter(M=>M.selected);n(C,R)}:void 0,_=C=>{Object.prototype.hasOwnProperty.call(qoe,C.key)&&(C.preventDefault(),E({direction:qoe[C.key],factor:C.shiftKey?4:1}))};return O.jsx("div",{className:Bd(["react-flow__nodesselection","react-flow__container",i]),style:{transform:b},children:O.jsx("div",{ref:S,className:"react-flow__nodesselection-rect",onContextMenu:k,tabIndex:a?void 0:-1,onKeyDown:a?void 0:_,style:{width:d,height:g}})})}const Q5t=typeof window<"u"?window:void 0,e5n=n=>({nodesSelectionActive:n.nodesSelectionActive,userSelectionActive:n.userSelectionActive});function Azt({children:n,onPaneClick:i,onPaneMouseEnter:a,onPaneMouseMove:c,onPaneMouseLeave:d,onPaneContextMenu:g,onPaneScroll:b,paneClickDistance:w,deleteKeyCode:E,selectionKeyCode:S,selectionOnDrag:k,selectionMode:_,onSelectionStart:C,onSelectionEnd:R,multiSelectionKeyCode:M,panActivationKeyCode:D,zoomActivationKeyCode:B,elementsSelectable:F,zoomOnScroll:$,zoomOnPinch:P,panOnScroll:H,panOnScrollSpeed:Q,panOnScrollMode:re,zoomOnDoubleClick:ee,panOnDrag:ae,defaultViewport:he,translateExtent:ve,minZoom:de,maxZoom:ge,preventScrolling:Y,onSelectionContextMenu:fe,noWheelClassName:De,noPanClassName:Se,disableKeyboardA11y:$e,onViewportChange:Te,isControlledViewport:ke}){const{nodesSelectionActive:Je,userSelectionActive:bt}=Js(e5n,Lc),qe=JH(S,{target:Q5t}),_t=JH(D,{target:Q5t}),At=_t||ae,ft=_t||H,Kt=k&&At!==!0,kt=qe||bt||Kt;return LMn({deleteKeyCode:E,multiSelectionKeyCode:M}),O.jsx(jMn,{onPaneContextMenu:g,elementsSelectable:F,zoomOnScroll:$,zoomOnPinch:P,panOnScroll:ft,panOnScrollSpeed:Q,panOnScrollMode:re,zoomOnDoubleClick:ee,panOnDrag:!qe&&At,defaultViewport:he,translateExtent:ve,minZoom:de,maxZoom:ge,zoomActivationKeyCode:B,preventScrolling:Y,noWheelClassName:De,noPanClassName:Se,onViewportChange:Te,isControlledViewport:ke,paneClickDistance:w,selectionOnDrag:Kt,children:O.jsxs(UMn,{onSelectionStart:C,onSelectionEnd:R,onPaneClick:i,onPaneMouseEnter:a,onPaneMouseMove:c,onPaneMouseLeave:d,onPaneContextMenu:g,onPaneScroll:b,panOnDrag:At,isSelecting:!!kt,selectionMode:_,selectionKeyPressed:qe,paneClickDistance:w,selectionOnDrag:Kt,children:[n,Je&&O.jsx(QMn,{onSelectionContextMenu:fe,noPanClassName:Se,disableKeyboardA11y:$e})]})})}Azt.displayName="FlowRenderer";const t5n=z.memo(Azt),n5n=n=>i=>n?pMe(i.nodeLookup,{x:0,y:0,width:i.width,height:i.height},i.transform,!0).map(a=>a.id):Array.from(i.nodeLookup.keys());function r5n(n){return Js(z.useCallback(n5n(n),[n]),Lc)}const i5n=n=>n.updateNodeInternals;function o5n(){const n=Js(i5n),[i]=z.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(a=>{const c=new Map;a.forEach(d=>{const g=d.target.getAttribute("data-id");c.set(g,{id:g,nodeElement:d.target,force:!0})}),n(c)}));return z.useEffect(()=>()=>{i==null||i.disconnect()},[i]),i}function s5n({node:n,nodeType:i,hasDimensions:a,resizeObserver:c}){const d=Mc(),g=z.useRef(null),b=z.useRef(null),w=z.useRef(n.sourcePosition),E=z.useRef(n.targetPosition),S=z.useRef(i),k=a&&!!n.internals.handleBounds;return z.useEffect(()=>{g.current&&!n.hidden&&(!k||b.current!==g.current)&&(b.current&&(c==null||c.unobserve(b.current)),c==null||c.observe(g.current),b.current=g.current)},[k,n.hidden]),z.useEffect(()=>()=>{b.current&&(c==null||c.unobserve(b.current),b.current=null)},[]),z.useEffect(()=>{if(g.current){const _=S.current!==i,C=w.current!==n.sourcePosition,R=E.current!==n.targetPosition;(_||C||R)&&(S.current=i,w.current=n.sourcePosition,E.current=n.targetPosition,d.getState().updateNodeInternals(new Map([[n.id,{id:n.id,nodeElement:g.current,force:!0}]])))}},[n.id,i,n.sourcePosition,n.targetPosition]),g}function a5n({id:n,onClick:i,onMouseEnter:a,onMouseMove:c,onMouseLeave:d,onContextMenu:g,onDoubleClick:b,nodesDraggable:w,elementsSelectable:E,nodesConnectable:S,nodesFocusable:k,resizeObserver:_,noDragClassName:C,noPanClassName:R,disableKeyboardA11y:M,rfId:D,nodeTypes:B,nodeClickDistance:F,onError:$}){const{node:P,internals:H,isParent:Q}=Js(It=>{const Xt=It.nodeLookup.get(n),Bn=It.parentLookup.has(n);return{node:Xt,internals:Xt.internals,isParent:Bn}},Lc);let re=P.type||"default",ee=(B==null?void 0:B[re])||Z5t[re];ee===void 0&&($==null||$("003",H2.error003(re)),re="default",ee=(B==null?void 0:B.default)||Z5t.default);const ae=!!(P.draggable||w&&typeof P.draggable>"u"),he=!!(P.selectable||E&&typeof P.selectable>"u"),ve=!!(P.connectable||S&&typeof P.connectable>"u"),de=!!(P.focusable||k&&typeof P.focusable>"u"),ge=Mc(),Y=HHt(P),fe=s5n({node:P,nodeType:re,hasDimensions:Y,resizeObserver:_}),De=Ezt({nodeRef:fe,disabled:P.hidden||!ae,noDragClassName:C,handleSelector:P.dragHandle,nodeId:n,isSelectable:he,nodeClickDistance:F}),Se=Szt();if(P.hidden)return null;const $e=TA(P),Te=XMn(P),ke=he||ae||i||a||c||d,Je=a?It=>a(It,{...H.userNode}):void 0,bt=c?It=>c(It,{...H.userNode}):void 0,qe=d?It=>d(It,{...H.userNode}):void 0,_t=g?It=>g(It,{...H.userNode}):void 0,At=b?It=>b(It,{...H.userNode}):void 0,ft=It=>{const{selectNodesOnDrag:Xt,nodeDragThreshold:Bn}=ge.getState();he&&(!Xt||!ae||Bn>0)&&oDe({id:n,store:ge,nodeRef:fe}),i&&i(It,{...H.userNode})},Kt=It=>{if(!(qHt(It.nativeEvent)||M)){if(DHt.includes(It.key)&&he){const Xt=It.key==="Escape";oDe({id:n,store:ge,unselect:Xt,nodeRef:fe})}else if(ae&&P.selected&&Object.prototype.hasOwnProperty.call(qoe,It.key)){It.preventDefault();const{ariaLabelConfig:Xt}=ge.getState();ge.setState({ariaLiveMessage:Xt["node.a11yDescription.ariaLiveMessage"]({direction:It.key.replace("Arrow","").toLowerCase(),x:~~H.positionAbsolute.x,y:~~H.positionAbsolute.y})}),Se({direction:qoe[It.key],factor:It.shiftKey?4:1})}}},kt=()=>{var Ui;if(M||!((Ui=fe.current)!=null&&Ui.matches(":focus-visible")))return;const{transform:It,width:Xt,height:Bn,autoPanOnNodeFocus:tr,setCenter:Zn}=ge.getState();if(!tr)return;pMe(new Map([[n,P]]),{x:0,y:0,width:Xt,height:Bn},It,!0).length>0||Zn(P.position.x+$e.width/2,P.position.y+$e.height/2,{zoom:It[2]})};return O.jsx("div",{className:Bd(["react-flow__node",`react-flow__node-${re}`,{[R]:ae},P.className,{selected:P.selected,selectable:he,parent:Q,draggable:ae,dragging:De}]),ref:fe,style:{zIndex:H.z,transform:`translate(${H.positionAbsolute.x}px,${H.positionAbsolute.y}px)`,pointerEvents:ke?"all":"none",visibility:Y?"visible":"hidden",...P.style,...Te},"data-id":n,"data-testid":`rf__node-${n}`,onMouseEnter:Je,onMouseMove:bt,onMouseLeave:qe,onContextMenu:_t,onClick:ft,onDoubleClick:At,onKeyDown:de?Kt:void 0,tabIndex:de?0:void 0,onFocus:de?kt:void 0,role:P.ariaRole??(de?"group":void 0),"aria-roledescription":"node","aria-describedby":M?void 0:`${hzt}-${D}`,"aria-label":P.ariaLabel,...P.domAttributes,children:O.jsx(zMn,{value:n,children:O.jsx(ee,{id:n,data:P.data,type:re,positionAbsoluteX:H.positionAbsolute.x,positionAbsoluteY:H.positionAbsolute.y,selected:P.selected??!1,selectable:he,draggable:ae,deletable:P.deletable??!0,isConnectable:ve,sourcePosition:P.sourcePosition,targetPosition:P.targetPosition,dragging:De,dragHandle:P.dragHandle,zIndex:H.z,parentId:P.parentId,...$e})})})}var u5n=z.memo(a5n);const c5n=n=>({nodesDraggable:n.nodesDraggable,nodesConnectable:n.nodesConnectable,nodesFocusable:n.nodesFocusable,elementsSelectable:n.elementsSelectable,onError:n.onError});function _zt(n){const{nodesDraggable:i,nodesConnectable:a,nodesFocusable:c,elementsSelectable:d,onError:g}=Js(c5n,Lc),b=r5n(n.onlyRenderVisibleElements),w=o5n();return O.jsx("div",{className:"react-flow__nodes",style:Jse,children:b.map(E=>O.jsx(u5n,{id:E,nodeTypes:n.nodeTypes,nodeExtent:n.nodeExtent,onClick:n.onNodeClick,onMouseEnter:n.onNodeMouseEnter,onMouseMove:n.onNodeMouseMove,onMouseLeave:n.onNodeMouseLeave,onContextMenu:n.onNodeContextMenu,onDoubleClick:n.onNodeDoubleClick,noDragClassName:n.noDragClassName,noPanClassName:n.noPanClassName,rfId:n.rfId,disableKeyboardA11y:n.disableKeyboardA11y,resizeObserver:w,nodesDraggable:i,nodesConnectable:a,nodesFocusable:c,elementsSelectable:d,nodeClickDistance:n.nodeClickDistance,onError:g},E))})}_zt.displayName="NodeRenderer";const l5n=z.memo(_zt);function d5n(n){return Js(z.useCallback(a=>{if(!n)return a.edges.map(d=>d.id);const c=[];if(a.width&&a.height)for(const d of a.edges){const g=a.nodeLookup.get(d.source),b=a.nodeLookup.get(d.target);g&&b&&sLn({sourceNode:g,targetNode:b,width:a.width,height:a.height,transform:a.transform})&&c.push(d.id)}return c},[n]),Lc)}const f5n=({color:n="none",strokeWidth:i=1})=>{const a={strokeWidth:i,...n&&{stroke:n}};return O.jsx("polyline",{className:"arrow",style:a,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},h5n=({color:n="none",strokeWidth:i=1})=>{const a={strokeWidth:i,...n&&{stroke:n,fill:n}};return O.jsx("polyline",{className:"arrowclosed",style:a,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},e9t={[iA.Arrow]:f5n,[iA.ArrowClosed]:h5n};function p5n(n){const i=Mc();return z.useMemo(()=>{var d,g;return Object.prototype.hasOwnProperty.call(e9t,n)?e9t[n]:((g=(d=i.getState()).onError)==null||g.call(d,"009",H2.error009(n)),null)},[n])}const g5n=({id:n,type:i,color:a,width:c=12.5,height:d=12.5,markerUnits:g="strokeWidth",strokeWidth:b,orient:w="auto-start-reverse"})=>{const E=p5n(i);return E?O.jsx("marker",{className:"react-flow__arrowhead",id:n,markerWidth:`${c}`,markerHeight:`${d}`,viewBox:"-10 -10 20 20",markerUnits:g,orient:w,refX:"0",refY:"0",children:O.jsx(E,{color:a,strokeWidth:b})}):null},kzt=({defaultColor:n,rfId:i})=>{const a=Js(g=>g.edges),c=Js(g=>g.defaultEdgeOptions),d=z.useMemo(()=>hLn(a,{id:i,defaultColor:n,defaultMarkerStart:c==null?void 0:c.markerStart,defaultMarkerEnd:c==null?void 0:c.markerEnd}),[a,c,i,n]);return d.length?O.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:O.jsx("defs",{children:d.map(g=>O.jsx(g5n,{id:g.id,type:g.type,color:g.color,width:g.width,height:g.height,markerUnits:g.markerUnits,strokeWidth:g.strokeWidth,orient:g.orient},g.id))})}):null};kzt.displayName="MarkerDefinitions";var b5n=z.memo(kzt);function xzt({x:n,y:i,label:a,labelStyle:c,labelShowBg:d=!0,labelBgStyle:g,labelBgPadding:b=[2,4],labelBgBorderRadius:w=2,children:E,className:S,...k}){const[_,C]=z.useState({x:1,y:0,width:0,height:0}),R=Bd(["react-flow__edge-textwrapper",S]),M=z.useRef(null);return z.useEffect(()=>{if(M.current){const D=M.current.getBBox();C({x:D.x,y:D.y,width:D.width,height:D.height})}},[a]),a?O.jsxs("g",{transform:`translate(${n-_.width/2} ${i-_.height/2})`,className:R,visibility:_.width?"visible":"hidden",...k,children:[d&&O.jsx("rect",{width:_.width+2*b[0],x:-b[0],y:-b[1],height:_.height+2*b[1],className:"react-flow__edge-textbg",style:g,rx:w,ry:w}),O.jsx("text",{className:"react-flow__edge-text",y:_.height/2,dy:"0.3em",ref:M,style:c,children:a}),E]}):null}xzt.displayName="EdgeText";const m5n=z.memo(xzt);function Sz({path:n,labelX:i,labelY:a,label:c,labelStyle:d,labelShowBg:g,labelBgStyle:b,labelBgPadding:w,labelBgBorderRadius:E,interactionWidth:S=20,...k}){return O.jsxs(O.Fragment,{children:[O.jsx("path",{...k,d:n,fill:"none",className:Bd(["react-flow__edge-path",k.className])}),S?O.jsx("path",{d:n,fill:"none",strokeOpacity:0,strokeWidth:S,className:"react-flow__edge-interaction"}):null,c&&Iv(i)&&Iv(a)?O.jsx(m5n,{x:i,y:a,label:c,labelStyle:d,labelShowBg:g,labelBgStyle:b,labelBgPadding:w,labelBgBorderRadius:E}):null]})}function t9t({pos:n,x1:i,y1:a,x2:c,y2:d}){return n===Vr.Left||n===Vr.Right?[.5*(i+c),a]:[i,.5*(a+d)]}function Nzt({sourceX:n,sourceY:i,sourcePosition:a=Vr.Bottom,targetX:c,targetY:d,targetPosition:g=Vr.Top}){const[b,w]=t9t({pos:a,x1:n,y1:i,x2:c,y2:d}),[E,S]=t9t({pos:g,x1:c,y1:d,x2:n,y2:i}),[k,_,C,R]=WHt({sourceX:n,sourceY:i,targetX:c,targetY:d,sourceControlX:b,sourceControlY:w,targetControlX:E,targetControlY:S});return[`M${n},${i} C${b},${w} ${E},${S} ${c},${d}`,k,_,C,R]}function Czt(n){return z.memo(({id:i,sourceX:a,sourceY:c,targetX:d,targetY:g,sourcePosition:b,targetPosition:w,label:E,labelStyle:S,labelShowBg:k,labelBgStyle:_,labelBgPadding:C,labelBgBorderRadius:R,style:M,markerEnd:D,markerStart:B,interactionWidth:F})=>{const[$,P,H]=Nzt({sourceX:a,sourceY:c,sourcePosition:b,targetX:d,targetY:g,targetPosition:w}),Q=n.isInternal?void 0:i;return O.jsx(Sz,{id:Q,path:$,labelX:P,labelY:H,label:E,labelStyle:S,labelShowBg:k,labelBgStyle:_,labelBgPadding:C,labelBgBorderRadius:R,style:M,markerEnd:D,markerStart:B,interactionWidth:F})})}const w5n=Czt({isInternal:!1}),Izt=Czt({isInternal:!0});w5n.displayName="SimpleBezierEdge";Izt.displayName="SimpleBezierEdgeInternal";function Rzt(n){return z.memo(({id:i,sourceX:a,sourceY:c,targetX:d,targetY:g,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:k,labelBgBorderRadius:_,style:C,sourcePosition:R=Vr.Bottom,targetPosition:M=Vr.Top,markerEnd:D,markerStart:B,pathOptions:F,interactionWidth:$})=>{const[P,H,Q]=Goe({sourceX:a,sourceY:c,sourcePosition:R,targetX:d,targetY:g,targetPosition:M,borderRadius:F==null?void 0:F.borderRadius,offset:F==null?void 0:F.offset,stepPosition:F==null?void 0:F.stepPosition}),re=n.isInternal?void 0:i;return O.jsx(Sz,{id:re,path:P,labelX:H,labelY:Q,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:k,labelBgBorderRadius:_,style:C,markerEnd:D,markerStart:B,interactionWidth:$})})}const Ozt=Rzt({isInternal:!1}),Dzt=Rzt({isInternal:!0});Ozt.displayName="SmoothStepEdge";Dzt.displayName="SmoothStepEdgeInternal";function Lzt(n){return z.memo(({id:i,...a})=>{var d;const c=n.isInternal?void 0:i;return O.jsx(Ozt,{...a,id:c,pathOptions:z.useMemo(()=>{var g;return{borderRadius:0,offset:(g=a.pathOptions)==null?void 0:g.offset}},[(d=a.pathOptions)==null?void 0:d.offset])})})}const y5n=Lzt({isInternal:!1}),Mzt=Lzt({isInternal:!0});y5n.displayName="StepEdge";Mzt.displayName="StepEdgeInternal";function Pzt(n){return z.memo(({id:i,sourceX:a,sourceY:c,targetX:d,targetY:g,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:k,labelBgBorderRadius:_,style:C,markerEnd:R,markerStart:M,interactionWidth:D})=>{const[B,F,$]=XHt({sourceX:a,sourceY:c,targetX:d,targetY:g}),P=n.isInternal?void 0:i;return O.jsx(Sz,{id:P,path:B,labelX:F,labelY:$,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:k,labelBgBorderRadius:_,style:C,markerEnd:R,markerStart:M,interactionWidth:D})})}const v5n=Pzt({isInternal:!1}),jzt=Pzt({isInternal:!0});v5n.displayName="StraightEdge";jzt.displayName="StraightEdgeInternal";function Fzt(n){return z.memo(({id:i,sourceX:a,sourceY:c,targetX:d,targetY:g,sourcePosition:b=Vr.Bottom,targetPosition:w=Vr.Top,label:E,labelStyle:S,labelShowBg:k,labelBgStyle:_,labelBgPadding:C,labelBgBorderRadius:R,style:M,markerEnd:D,markerStart:B,pathOptions:F,interactionWidth:$})=>{const[P,H,Q]=KHt({sourceX:a,sourceY:c,sourcePosition:b,targetX:d,targetY:g,targetPosition:w,curvature:F==null?void 0:F.curvature}),re=n.isInternal?void 0:i;return O.jsx(Sz,{id:re,path:P,labelX:H,labelY:Q,label:E,labelStyle:S,labelShowBg:k,labelBgStyle:_,labelBgPadding:C,labelBgBorderRadius:R,style:M,markerEnd:D,markerStart:B,interactionWidth:$})})}const E5n=Fzt({isInternal:!1}),$zt=Fzt({isInternal:!0});E5n.displayName="BezierEdge";$zt.displayName="BezierEdgeInternal";const n9t={default:$zt,straight:jzt,step:Mzt,smoothstep:Dzt,simplebezier:Izt},r9t={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},S5n=(n,i,a)=>a===Vr.Left?n-i:a===Vr.Right?n+i:n,T5n=(n,i,a)=>a===Vr.Top?n-i:a===Vr.Bottom?n+i:n,i9t="react-flow__edgeupdater";function o9t({position:n,centerX:i,centerY:a,radius:c=10,onMouseDown:d,onMouseEnter:g,onMouseOut:b,type:w}){return O.jsx("circle",{onMouseDown:d,onMouseEnter:g,onMouseOut:b,className:Bd([i9t,`${i9t}-${w}`]),cx:S5n(i,c,n),cy:T5n(a,c,n),r:c,stroke:"transparent",fill:"transparent"})}function A5n({isReconnectable:n,reconnectRadius:i,edge:a,sourceX:c,sourceY:d,targetX:g,targetY:b,sourcePosition:w,targetPosition:E,onReconnect:S,onReconnectStart:k,onReconnectEnd:_,setReconnecting:C,setUpdateHover:R}){const M=Mc(),D=(H,Q)=>{if(H.button!==0)return;const{autoPanOnConnect:re,domNode:ee,isValidConnection:ae,connectionMode:he,connectionRadius:ve,lib:de,onConnectStart:ge,onConnectEnd:Y,cancelConnection:fe,nodeLookup:De,rfId:Se,panBy:$e,updateConnection:Te}=M.getState(),ke=Q.type==="target",Je=(_t,At)=>{C(!1),_==null||_(_t,a,Q.type,At)},bt=_t=>S==null?void 0:S(a,_t),qe=(_t,At)=>{C(!0),k==null||k(H,a,Q.type),ge==null||ge(_t,At)};iDe.onPointerDown(H.nativeEvent,{autoPanOnConnect:re,connectionMode:he,connectionRadius:ve,domNode:ee,handleId:Q.id,nodeId:Q.nodeId,nodeLookup:De,isTarget:ke,edgeUpdaterType:Q.type,lib:de,flowId:Se,cancelConnection:fe,panBy:$e,isValidConnection:ae,onConnect:bt,onConnectStart:qe,onConnectEnd:Y,onReconnectEnd:Je,updateConnection:Te,getTransform:()=>M.getState().transform,getFromHandle:()=>M.getState().connection.fromHandle,dragThreshold:M.getState().connectionDragThreshold,handleDomNode:H.currentTarget})},B=H=>D(H,{nodeId:a.target,id:a.targetHandle??null,type:"target"}),F=H=>D(H,{nodeId:a.source,id:a.sourceHandle??null,type:"source"}),$=()=>R(!0),P=()=>R(!1);return O.jsxs(O.Fragment,{children:[(n===!0||n==="source")&&O.jsx(o9t,{position:w,centerX:c,centerY:d,radius:i,onMouseDown:B,onMouseEnter:$,onMouseOut:P,type:"source"}),(n===!0||n==="target")&&O.jsx(o9t,{position:E,centerX:g,centerY:b,radius:i,onMouseDown:F,onMouseEnter:$,onMouseOut:P,type:"target"})]})}function _5n({id:n,edgesFocusable:i,edgesReconnectable:a,elementsSelectable:c,onClick:d,onDoubleClick:g,onContextMenu:b,onMouseEnter:w,onMouseMove:E,onMouseLeave:S,reconnectRadius:k,onReconnect:_,onReconnectStart:C,onReconnectEnd:R,rfId:M,edgeTypes:D,noPanClassName:B,onError:F,disableKeyboardA11y:$}){let P=Js(Zn=>Zn.edgeLookup.get(n));const H=Js(Zn=>Zn.defaultEdgeOptions);P=H?{...H,...P}:P;let Q=P.type||"default",re=(D==null?void 0:D[Q])||n9t[Q];re===void 0&&(F==null||F("011",H2.error011(Q)),Q="default",re=(D==null?void 0:D.default)||n9t.default);const ee=!!(P.focusable||i&&typeof P.focusable>"u"),ae=typeof _<"u"&&(P.reconnectable||a&&typeof P.reconnectable>"u"),he=!!(P.selectable||c&&typeof P.selectable>"u"),ve=z.useRef(null),[de,ge]=z.useState(!1),[Y,fe]=z.useState(!1),De=Mc(),{zIndex:Se,sourceX:$e,sourceY:Te,targetX:ke,targetY:Je,sourcePosition:bt,targetPosition:qe}=Js(z.useCallback(Zn=>{const Dr=Zn.nodeLookup.get(P.source),Ui=Zn.nodeLookup.get(P.target);if(!Dr||!Ui)return{zIndex:P.zIndex,...r9t};const Qr=fLn({id:n,sourceNode:Dr,targetNode:Ui,sourceHandle:P.sourceHandle||null,targetHandle:P.targetHandle||null,connectionMode:Zn.connectionMode,onError:F});return{zIndex:oLn({selected:P.selected,zIndex:P.zIndex,sourceNode:Dr,targetNode:Ui,elevateOnSelect:Zn.elevateEdgesOnSelect,zIndexMode:Zn.zIndexMode}),...Qr||r9t}},[P.source,P.target,P.sourceHandle,P.targetHandle,P.selected,P.zIndex]),Lc),_t=z.useMemo(()=>P.markerStart?`url('#${nDe(P.markerStart,M)}')`:void 0,[P.markerStart,M]),At=z.useMemo(()=>P.markerEnd?`url('#${nDe(P.markerEnd,M)}')`:void 0,[P.markerEnd,M]);if(P.hidden||$e===null||Te===null||ke===null||Je===null)return null;const ft=Zn=>{var Hi;const{addSelectedEdges:Dr,unselectNodesAndEdges:Ui,multiSelectionActive:Qr}=De.getState();he&&(De.setState({nodesSelectionActive:!1}),P.selected&&Qr?(Ui({nodes:[],edges:[P]}),(Hi=ve.current)==null||Hi.blur()):Dr([n])),d&&d(Zn,P)},Kt=g?Zn=>{g(Zn,{...P})}:void 0,kt=b?Zn=>{b(Zn,{...P})}:void 0,It=w?Zn=>{w(Zn,{...P})}:void 0,Xt=E?Zn=>{E(Zn,{...P})}:void 0,Bn=S?Zn=>{S(Zn,{...P})}:void 0,tr=Zn=>{var Dr;if(!$&&DHt.includes(Zn.key)&&he){const{unselectNodesAndEdges:Ui,addSelectedEdges:Qr}=De.getState();Zn.key==="Escape"?((Dr=ve.current)==null||Dr.blur(),Ui({edges:[P]})):Qr([n])}};return O.jsx("svg",{style:{zIndex:Se},children:O.jsxs("g",{className:Bd(["react-flow__edge",`react-flow__edge-${Q}`,P.className,B,{selected:P.selected,animated:P.animated,inactive:!he&&!d,updating:de,selectable:he}]),onClick:ft,onDoubleClick:Kt,onContextMenu:kt,onMouseEnter:It,onMouseMove:Xt,onMouseLeave:Bn,onKeyDown:ee?tr:void 0,tabIndex:ee?0:void 0,role:P.ariaRole??(ee?"group":"img"),"aria-roledescription":"edge","data-id":n,"data-testid":`rf__edge-${n}`,"aria-label":P.ariaLabel===null?void 0:P.ariaLabel||`Edge from ${P.source} to ${P.target}`,"aria-describedby":ee?`${pzt}-${M}`:void 0,ref:ve,...P.domAttributes,children:[!Y&&O.jsx(re,{id:n,source:P.source,target:P.target,type:P.type,selected:P.selected,animated:P.animated,selectable:he,deletable:P.deletable??!0,label:P.label,labelStyle:P.labelStyle,labelShowBg:P.labelShowBg,labelBgStyle:P.labelBgStyle,labelBgPadding:P.labelBgPadding,labelBgBorderRadius:P.labelBgBorderRadius,sourceX:$e,sourceY:Te,targetX:ke,targetY:Je,sourcePosition:bt,targetPosition:qe,data:P.data,style:P.style,sourceHandleId:P.sourceHandle,targetHandleId:P.targetHandle,markerStart:_t,markerEnd:At,pathOptions:"pathOptions"in P?P.pathOptions:void 0,interactionWidth:P.interactionWidth}),ae&&O.jsx(A5n,{edge:P,isReconnectable:ae,reconnectRadius:k,onReconnect:_,onReconnectStart:C,onReconnectEnd:R,sourceX:$e,sourceY:Te,targetX:ke,targetY:Je,sourcePosition:bt,targetPosition:qe,setUpdateHover:ge,setReconnecting:fe})]})})}var k5n=z.memo(_5n);const x5n=n=>({edgesFocusable:n.edgesFocusable,edgesReconnectable:n.edgesReconnectable,elementsSelectable:n.elementsSelectable,connectionMode:n.connectionMode,onError:n.onError});function Bzt({defaultMarkerColor:n,onlyRenderVisibleElements:i,rfId:a,edgeTypes:c,noPanClassName:d,onReconnect:g,onEdgeContextMenu:b,onEdgeMouseEnter:w,onEdgeMouseMove:E,onEdgeMouseLeave:S,onEdgeClick:k,reconnectRadius:_,onEdgeDoubleClick:C,onReconnectStart:R,onReconnectEnd:M,disableKeyboardA11y:D}){const{edgesFocusable:B,edgesReconnectable:F,elementsSelectable:$,onError:P}=Js(x5n,Lc),H=d5n(i);return O.jsxs("div",{className:"react-flow__edges",children:[O.jsx(b5n,{defaultColor:n,rfId:a}),H.map(Q=>O.jsx(k5n,{id:Q,edgesFocusable:B,edgesReconnectable:F,elementsSelectable:$,noPanClassName:d,onReconnect:g,onContextMenu:b,onMouseEnter:w,onMouseMove:E,onMouseLeave:S,onClick:k,reconnectRadius:_,onDoubleClick:C,onReconnectStart:R,onReconnectEnd:M,rfId:a,onError:P,edgeTypes:c,disableKeyboardA11y:D},Q))]})}Bzt.displayName="EdgeRenderer";const N5n=z.memo(Bzt),C5n=n=>`translate(${n.transform[0]}px,${n.transform[1]}px) scale(${n.transform[2]})`;function I5n({children:n}){const i=Js(C5n);return O.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:i},children:n})}function R5n(n){const i=AR(),a=z.useRef(!1);z.useEffect(()=>{!a.current&&i.viewportInitialized&&n&&(setTimeout(()=>n(i),1),a.current=!0)},[n,i.viewportInitialized])}const O5n=n=>{var i;return(i=n.panZoom)==null?void 0:i.syncViewport};function D5n(n){const i=Js(O5n),a=Mc();return z.useEffect(()=>{n&&(i==null||i(n),a.setState({transform:[n.x,n.y,n.zoom]}))},[n,i]),null}function L5n(n){return n.connection.inProgress?{...n.connection,to:Ez(n.connection.to,n.transform)}:{...n.connection}}function M5n(n){return L5n}function P5n(n){const i=M5n();return Js(i,Lc)}const j5n=n=>({nodesConnectable:n.nodesConnectable,isValid:n.connection.isValid,inProgress:n.connection.inProgress,width:n.width,height:n.height});function F5n({containerStyle:n,style:i,type:a,component:c}){const{nodesConnectable:d,width:g,height:b,isValid:w,inProgress:E}=Js(j5n,Lc);return!(g&&d&&E)?null:O.jsx("svg",{style:n,width:g,height:b,className:"react-flow__connectionline react-flow__container",children:O.jsx("g",{className:Bd(["react-flow__connection",PHt(w)]),children:O.jsx(Uzt,{style:i,type:a,CustomComponent:c,isValid:w})})})}const Uzt=({style:n,type:i=$x.Bezier,CustomComponent:a,isValid:c})=>{const{inProgress:d,from:g,fromNode:b,fromHandle:w,fromPosition:E,to:S,toNode:k,toHandle:_,toPosition:C,pointer:R}=P5n();if(!d)return;if(a)return O.jsx(a,{connectionLineType:i,connectionLineStyle:n,fromNode:b,fromHandle:w,fromX:g.x,fromY:g.y,toX:S.x,toY:S.y,fromPosition:E,toPosition:C,connectionStatus:PHt(c),toNode:k,toHandle:_,pointer:R});let M="";const D={sourceX:g.x,sourceY:g.y,sourcePosition:E,targetX:S.x,targetY:S.y,targetPosition:C};switch(i){case $x.Bezier:[M]=KHt(D);break;case $x.SimpleBezier:[M]=Nzt(D);break;case $x.Step:[M]=Goe({...D,borderRadius:0});break;case $x.SmoothStep:[M]=Goe(D);break;default:[M]=XHt(D)}return O.jsx("path",{d:M,fill:"none",className:"react-flow__connection-path",style:n})};Uzt.displayName="ConnectionLine";const $5n={};function s9t(n=$5n){z.useRef(n),Mc(),z.useEffect(()=>{},[n])}function B5n(){Mc(),z.useRef(!1),z.useEffect(()=>{},[])}function Hzt({nodeTypes:n,edgeTypes:i,onInit:a,onNodeClick:c,onEdgeClick:d,onNodeDoubleClick:g,onEdgeDoubleClick:b,onNodeMouseEnter:w,onNodeMouseMove:E,onNodeMouseLeave:S,onNodeContextMenu:k,onSelectionContextMenu:_,onSelectionStart:C,onSelectionEnd:R,connectionLineType:M,connectionLineStyle:D,connectionLineComponent:B,connectionLineContainerStyle:F,selectionKeyCode:$,selectionOnDrag:P,selectionMode:H,multiSelectionKeyCode:Q,panActivationKeyCode:re,zoomActivationKeyCode:ee,deleteKeyCode:ae,onlyRenderVisibleElements:he,elementsSelectable:ve,defaultViewport:de,translateExtent:ge,minZoom:Y,maxZoom:fe,preventScrolling:De,defaultMarkerColor:Se,zoomOnScroll:$e,zoomOnPinch:Te,panOnScroll:ke,panOnScrollSpeed:Je,panOnScrollMode:bt,zoomOnDoubleClick:qe,panOnDrag:_t,onPaneClick:At,onPaneMouseEnter:ft,onPaneMouseMove:Kt,onPaneMouseLeave:kt,onPaneScroll:It,onPaneContextMenu:Xt,paneClickDistance:Bn,nodeClickDistance:tr,onEdgeContextMenu:Zn,onEdgeMouseEnter:Dr,onEdgeMouseMove:Ui,onEdgeMouseLeave:Qr,reconnectRadius:Hi,onReconnect:ai,onReconnectStart:jc,onReconnectEnd:Xs,noDragClassName:as,noWheelClassName:Jo,noPanClassName:xa,disableKeyboardA11y:xi,nodeExtent:gb,rfId:Yg,viewport:qh,onViewportChange:bb}){return s9t(n),s9t(i),B5n(),R5n(a),D5n(qh),O.jsx(t5n,{onPaneClick:At,onPaneMouseEnter:ft,onPaneMouseMove:Kt,onPaneMouseLeave:kt,onPaneContextMenu:Xt,onPaneScroll:It,paneClickDistance:Bn,deleteKeyCode:ae,selectionKeyCode:$,selectionOnDrag:P,selectionMode:H,onSelectionStart:C,onSelectionEnd:R,multiSelectionKeyCode:Q,panActivationKeyCode:re,zoomActivationKeyCode:ee,elementsSelectable:ve,zoomOnScroll:$e,zoomOnPinch:Te,zoomOnDoubleClick:qe,panOnScroll:ke,panOnScrollSpeed:Je,panOnScrollMode:bt,panOnDrag:_t,defaultViewport:de,translateExtent:ge,minZoom:Y,maxZoom:fe,onSelectionContextMenu:_,preventScrolling:De,noDragClassName:as,noWheelClassName:Jo,noPanClassName:xa,disableKeyboardA11y:xi,onViewportChange:bb,isControlledViewport:!!qh,children:O.jsxs(I5n,{children:[O.jsx(N5n,{edgeTypes:i,onEdgeClick:d,onEdgeDoubleClick:b,onReconnect:ai,onReconnectStart:jc,onReconnectEnd:Xs,onlyRenderVisibleElements:he,onEdgeContextMenu:Zn,onEdgeMouseEnter:Dr,onEdgeMouseMove:Ui,onEdgeMouseLeave:Qr,reconnectRadius:Hi,defaultMarkerColor:Se,noPanClassName:xa,disableKeyboardA11y:xi,rfId:Yg}),O.jsx(F5n,{style:D,type:M,component:B,containerStyle:F}),O.jsx("div",{className:"react-flow__edgelabel-renderer"}),O.jsx(l5n,{nodeTypes:n,onNodeClick:c,onNodeDoubleClick:g,onNodeMouseEnter:w,onNodeMouseMove:E,onNodeMouseLeave:S,onNodeContextMenu:k,nodeClickDistance:tr,onlyRenderVisibleElements:he,noPanClassName:xa,noDragClassName:as,disableKeyboardA11y:xi,nodeExtent:gb,rfId:Yg}),O.jsx("div",{className:"react-flow__viewport-portal"})]})})}Hzt.displayName="GraphView";const U5n=z.memo(Hzt),a9t=({nodes:n,edges:i,defaultNodes:a,defaultEdges:c,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E=.5,maxZoom:S=2,nodeOrigin:k,nodeExtent:_,zIndexMode:C="basic"}={})=>{const R=new Map,M=new Map,D=new Map,B=new Map,F=c??i??[],$=a??n??[],P=k??[0,0],H=_??VH;ezt(D,B,F);const Q=rDe($,R,M,{nodeOrigin:P,nodeExtent:H,zIndexMode:C});let re=[0,0,1];if(b&&d&&g){const ee=yz(R,{filter:de=>!!((de.width||de.initialWidth)&&(de.height||de.initialHeight))}),{x:ae,y:he,zoom:ve}=gMe(ee,d,g,E,S,(w==null?void 0:w.padding)??.1);re=[ae,he,ve]}return{rfId:"1",width:d??0,height:g??0,transform:re,nodes:$,nodesInitialized:Q,nodeLookup:R,parentLookup:M,edges:F,edgeLookup:B,connectionLookup:D,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:a!==void 0,hasDefaultEdges:c!==void 0,panZoom:null,minZoom:E,maxZoom:S,translateExtent:VH,nodeExtent:H,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:y5.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:P,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:b??!1,fitViewOptions:w,fitViewResolver:null,connection:{...MHt},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:QDn,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:LHt,zIndexMode:C,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},H5n=({nodes:n,edges:i,defaultNodes:a,defaultEdges:c,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E,maxZoom:S,nodeOrigin:k,nodeExtent:_,zIndexMode:C})=>sMn((R,M)=>{async function D(){const{nodeLookup:B,panZoom:F,fitViewOptions:$,fitViewResolver:P,width:H,height:Q,minZoom:re,maxZoom:ee}=M();F&&(await XDn({nodes:B,width:H,height:Q,panZoom:F,minZoom:re,maxZoom:ee},$),P==null||P.resolve(!0),R({fitViewResolver:null}))}return{...a9t({nodes:n,edges:i,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E,maxZoom:S,nodeOrigin:k,nodeExtent:_,defaultNodes:a,defaultEdges:c,zIndexMode:C}),setNodes:B=>{const{nodeLookup:F,parentLookup:$,nodeOrigin:P,elevateNodesOnSelect:H,fitViewQueued:Q,zIndexMode:re}=M(),ee=rDe(B,F,$,{nodeOrigin:P,nodeExtent:_,elevateNodesOnSelect:H,checkEquality:!0,zIndexMode:re});Q&&ee?(D(),R({nodes:B,nodesInitialized:ee,fitViewQueued:!1,fitViewOptions:void 0})):R({nodes:B,nodesInitialized:ee})},setEdges:B=>{const{connectionLookup:F,edgeLookup:$}=M();ezt(F,$,B),R({edges:B})},setDefaultNodesAndEdges:(B,F)=>{if(B){const{setNodes:$}=M();$(B),R({hasDefaultNodes:!0})}if(F){const{setEdges:$}=M();$(F),R({hasDefaultEdges:!0})}},updateNodeInternals:B=>{const{triggerNodeChanges:F,nodeLookup:$,parentLookup:P,domNode:H,nodeOrigin:Q,nodeExtent:re,debug:ee,fitViewQueued:ae,zIndexMode:he}=M(),{changes:ve,updatedInternals:de}=vLn(B,$,P,H,Q,re,he);de&&(bLn($,P,{nodeOrigin:Q,nodeExtent:re,zIndexMode:he}),ae?(D(),R({fitViewQueued:!1,fitViewOptions:void 0})):R({}),(ve==null?void 0:ve.length)>0&&(ee&&console.log("React Flow: trigger node changes",ve),F==null||F(ve)))},updateNodePositions:(B,F=!1)=>{const $=[];let P=[];const{nodeLookup:H,triggerNodeChanges:Q,connection:re,updateConnection:ee,onNodesChangeMiddlewareMap:ae}=M();for(const[he,ve]of B){const de=H.get(he),ge=!!(de!=null&&de.expandParent&&(de!=null&&de.parentId)&&(ve!=null&&ve.position)),Y={id:he,type:"position",position:ge?{x:Math.max(0,ve.position.x),y:Math.max(0,ve.position.y)}:ve.position,dragging:F};if(de&&re.inProgress&&re.fromNode.id===de.id){const fe=dR(de,re.fromHandle,Vr.Left,!0);ee({...re,from:fe})}ge&&de.parentId&&$.push({id:he,parentId:de.parentId,rect:{...ve.internals.positionAbsolute,width:ve.measured.width??0,height:ve.measured.height??0}}),P.push(Y)}if($.length>0){const{parentLookup:he,nodeOrigin:ve}=M(),de=EMe($,H,he,ve);P.push(...de)}for(const he of ae.values())P=he(P);Q(P)},triggerNodeChanges:B=>{const{onNodesChange:F,setNodes:$,nodes:P,hasDefaultNodes:H,debug:Q}=M();if(B!=null&&B.length){if(H){const re=mzt(B,P);$(re)}Q&&console.log("React Flow: trigger node changes",B),F==null||F(B)}},triggerEdgeChanges:B=>{const{onEdgesChange:F,setEdges:$,edges:P,hasDefaultEdges:H,debug:Q}=M();if(B!=null&&B.length){if(H){const re=wzt(B,P);$(re)}Q&&console.log("React Flow: trigger edge changes",B),F==null||F(B)}},addSelectedNodes:B=>{const{multiSelectionActive:F,edgeLookup:$,nodeLookup:P,triggerNodeChanges:H,triggerEdgeChanges:Q}=M();if(F){const re=B.map(ee=>G4(ee,!0));H(re);return}H(UM(P,new Set([...B]),!0)),Q(UM($))},addSelectedEdges:B=>{const{multiSelectionActive:F,edgeLookup:$,nodeLookup:P,triggerNodeChanges:H,triggerEdgeChanges:Q}=M();if(F){const re=B.map(ee=>G4(ee,!0));Q(re);return}Q(UM($,new Set([...B]))),H(UM(P,new Set,!0))},unselectNodesAndEdges:({nodes:B,edges:F}={})=>{const{edges:$,nodes:P,nodeLookup:H,triggerNodeChanges:Q,triggerEdgeChanges:re}=M(),ee=B||P,ae=F||$,he=ee.map(de=>{const ge=H.get(de.id);return ge&&(ge.selected=!1),G4(de.id,!1)}),ve=ae.map(de=>G4(de.id,!1));Q(he),re(ve)},setMinZoom:B=>{const{panZoom:F,maxZoom:$}=M();F==null||F.setScaleExtent([B,$]),R({minZoom:B})},setMaxZoom:B=>{const{panZoom:F,minZoom:$}=M();F==null||F.setScaleExtent([$,B]),R({maxZoom:B})},setTranslateExtent:B=>{var F;(F=M().panZoom)==null||F.setTranslateExtent(B),R({translateExtent:B})},resetSelectedElements:()=>{const{edges:B,nodes:F,triggerNodeChanges:$,triggerEdgeChanges:P,elementsSelectable:H}=M();if(!H)return;const Q=F.reduce((ee,ae)=>ae.selected?[...ee,G4(ae.id,!1)]:ee,[]),re=B.reduce((ee,ae)=>ae.selected?[...ee,G4(ae.id,!1)]:ee,[]);$(Q),P(re)},setNodeExtent:B=>{const{nodes:F,nodeLookup:$,parentLookup:P,nodeOrigin:H,elevateNodesOnSelect:Q,nodeExtent:re,zIndexMode:ee}=M();B[0][0]===re[0][0]&&B[0][1]===re[0][1]&&B[1][0]===re[1][0]&&B[1][1]===re[1][1]||(rDe(F,$,P,{nodeOrigin:H,nodeExtent:B,elevateNodesOnSelect:Q,checkEquality:!1,zIndexMode:ee}),R({nodeExtent:B}))},panBy:B=>{const{transform:F,width:$,height:P,panZoom:H,translateExtent:Q}=M();return ELn({delta:B,panZoom:H,transform:F,translateExtent:Q,width:$,height:P})},setCenter:async(B,F,$)=>{const{width:P,height:H,maxZoom:Q,panZoom:re}=M();if(!re)return Promise.resolve(!1);const ee=typeof($==null?void 0:$.zoom)<"u"?$.zoom:Q;return await re.setViewport({x:P/2-B*ee,y:H/2-F*ee,zoom:ee},{duration:$==null?void 0:$.duration,ease:$==null?void 0:$.ease,interpolate:$==null?void 0:$.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{R({connection:{...MHt}})},updateConnection:B=>{R({connection:B})},reset:()=>R({...a9t()})}},Object.is);function zzt({initialNodes:n,initialEdges:i,defaultNodes:a,defaultEdges:c,initialWidth:d,initialHeight:g,initialMinZoom:b,initialMaxZoom:w,initialFitViewOptions:E,fitView:S,nodeOrigin:k,nodeExtent:_,zIndexMode:C,children:R}){const[M]=z.useState(()=>H5n({nodes:n,edges:i,defaultNodes:a,defaultEdges:c,width:d,height:g,fitView:S,minZoom:b,maxZoom:w,fitViewOptions:E,nodeOrigin:k,nodeExtent:_,zIndexMode:C}));return O.jsx(aMn,{value:M,children:O.jsx(IMn,{children:R})})}function z5n({children:n,nodes:i,edges:a,defaultNodes:c,defaultEdges:d,width:g,height:b,fitView:w,fitViewOptions:E,minZoom:S,maxZoom:k,nodeOrigin:_,nodeExtent:C,zIndexMode:R}){return z.useContext(Yse)?O.jsx(O.Fragment,{children:n}):O.jsx(zzt,{initialNodes:i,initialEdges:a,defaultNodes:c,defaultEdges:d,initialWidth:g,initialHeight:b,fitView:w,initialFitViewOptions:E,initialMinZoom:S,initialMaxZoom:k,nodeOrigin:_,nodeExtent:C,zIndexMode:R,children:n})}const G5n={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function q5n({nodes:n,edges:i,defaultNodes:a,defaultEdges:c,className:d,nodeTypes:g,edgeTypes:b,onNodeClick:w,onEdgeClick:E,onInit:S,onMove:k,onMoveStart:_,onMoveEnd:C,onConnect:R,onConnectStart:M,onConnectEnd:D,onClickConnectStart:B,onClickConnectEnd:F,onNodeMouseEnter:$,onNodeMouseMove:P,onNodeMouseLeave:H,onNodeContextMenu:Q,onNodeDoubleClick:re,onNodeDragStart:ee,onNodeDrag:ae,onNodeDragStop:he,onNodesDelete:ve,onEdgesDelete:de,onDelete:ge,onSelectionChange:Y,onSelectionDragStart:fe,onSelectionDrag:De,onSelectionDragStop:Se,onSelectionContextMenu:$e,onSelectionStart:Te,onSelectionEnd:ke,onBeforeDelete:Je,connectionMode:bt,connectionLineType:qe=$x.Bezier,connectionLineStyle:_t,connectionLineComponent:At,connectionLineContainerStyle:ft,deleteKeyCode:Kt="Backspace",selectionKeyCode:kt="Shift",selectionOnDrag:It=!1,selectionMode:Xt=WH.Full,panActivationKeyCode:Bn="Space",multiSelectionKeyCode:tr=YH()?"Meta":"Control",zoomActivationKeyCode:Zn=YH()?"Meta":"Control",snapToGrid:Dr,snapGrid:Ui,onlyRenderVisibleElements:Qr=!1,selectNodesOnDrag:Hi,nodesDraggable:ai,autoPanOnNodeFocus:jc,nodesConnectable:Xs,nodesFocusable:as,nodeOrigin:Jo=gzt,edgesFocusable:xa,edgesReconnectable:xi,elementsSelectable:gb=!0,defaultViewport:Yg=vMn,minZoom:qh=.5,maxZoom:bb=2,translateExtent:Vp=VH,preventScrolling:Rw=!0,nodeExtent:Vh,defaultMarkerColor:Y2="#b1b1b7",zoomOnScroll:Jg=!0,zoomOnPinch:Wp=!0,panOnScroll:Xg=!1,panOnScrollSpeed:kN=.5,panOnScrollMode:xN=Q4.Free,zoomOnDoubleClick:HR=!0,panOnDrag:kA=!0,onPaneClick:mb,onPaneMouseEnter:zR,onPaneMouseMove:GR,onPaneMouseLeave:NN,onPaneScroll:CN,onPaneContextMenu:ho,paneClickDistance:Fc=1,nodeClickDistance:Fl=0,children:Tf,onReconnect:J2,onReconnectStart:pl,onReconnectEnd:sh,onEdgeContextMenu:qm,onEdgeDoubleClick:ah,onEdgeMouseEnter:Wh,onEdgeMouseMove:X2,onEdgeMouseLeave:Vm,reconnectRadius:e9=10,onNodesChange:t9,onEdgesChange:Zz,noDragClassName:Qz="nodrag",noWheelClassName:eG="nowheel",noPanClassName:n9="nopan",fitView:r9,fitViewOptions:i9,connectOnClick:tG,attributionPosition:nG,proOptions:rG,defaultEdgeOptions:iG,elevateNodesOnSelect:qR=!0,elevateEdgesOnSelect:oG=!1,disableKeyboardA11y:o9=!1,autoPanOnConnect:sG,autoPanOnNodeDrag:aG,autoPanSpeed:uG,connectionRadius:cG,isValidConnection:lG,onError:dG,style:fG,id:s9,nodeDragThreshold:hG,connectionDragThreshold:a9,viewport:u9,onViewportChange:pG,width:gG,height:bG,colorMode:mG="light",debug:wG,onScroll:IN,ariaLabelConfig:yG,zIndexMode:c9="basic",...vG},EG){const VR=s9||"1",SG=AMn(mG),TG=z.useCallback(l9=>{l9.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),IN==null||IN(l9)},[IN]);return O.jsx("div",{"data-testid":"rf__wrapper",...vG,onScroll:TG,style:{...fG,...G5n},ref:EG,className:Bd(["react-flow",d,SG]),id:s9,role:"application",children:O.jsxs(z5n,{nodes:n,edges:i,width:gG,height:bG,fitView:r9,fitViewOptions:i9,minZoom:qh,maxZoom:bb,nodeOrigin:Jo,nodeExtent:Vh,zIndexMode:c9,children:[O.jsx(U5n,{onInit:S,onNodeClick:w,onEdgeClick:E,onNodeMouseEnter:$,onNodeMouseMove:P,onNodeMouseLeave:H,onNodeContextMenu:Q,onNodeDoubleClick:re,nodeTypes:g,edgeTypes:b,connectionLineType:qe,connectionLineStyle:_t,connectionLineComponent:At,connectionLineContainerStyle:ft,selectionKeyCode:kt,selectionOnDrag:It,selectionMode:Xt,deleteKeyCode:Kt,multiSelectionKeyCode:tr,panActivationKeyCode:Bn,zoomActivationKeyCode:Zn,onlyRenderVisibleElements:Qr,defaultViewport:Yg,translateExtent:Vp,minZoom:qh,maxZoom:bb,preventScrolling:Rw,zoomOnScroll:Jg,zoomOnPinch:Wp,zoomOnDoubleClick:HR,panOnScroll:Xg,panOnScrollSpeed:kN,panOnScrollMode:xN,panOnDrag:kA,onPaneClick:mb,onPaneMouseEnter:zR,onPaneMouseMove:GR,onPaneMouseLeave:NN,onPaneScroll:CN,onPaneContextMenu:ho,paneClickDistance:Fc,nodeClickDistance:Fl,onSelectionContextMenu:$e,onSelectionStart:Te,onSelectionEnd:ke,onReconnect:J2,onReconnectStart:pl,onReconnectEnd:sh,onEdgeContextMenu:qm,onEdgeDoubleClick:ah,onEdgeMouseEnter:Wh,onEdgeMouseMove:X2,onEdgeMouseLeave:Vm,reconnectRadius:e9,defaultMarkerColor:Y2,noDragClassName:Qz,noWheelClassName:eG,noPanClassName:n9,rfId:VR,disableKeyboardA11y:o9,nodeExtent:Vh,viewport:u9,onViewportChange:pG}),O.jsx(TMn,{nodes:n,edges:i,defaultNodes:a,defaultEdges:c,onConnect:R,onConnectStart:M,onConnectEnd:D,onClickConnectStart:B,onClickConnectEnd:F,nodesDraggable:ai,autoPanOnNodeFocus:jc,nodesConnectable:Xs,nodesFocusable:as,edgesFocusable:xa,edgesReconnectable:xi,elementsSelectable:gb,elevateNodesOnSelect:qR,elevateEdgesOnSelect:oG,minZoom:qh,maxZoom:bb,nodeExtent:Vh,onNodesChange:t9,onEdgesChange:Zz,snapToGrid:Dr,snapGrid:Ui,connectionMode:bt,translateExtent:Vp,connectOnClick:tG,defaultEdgeOptions:iG,fitView:r9,fitViewOptions:i9,onNodesDelete:ve,onEdgesDelete:de,onDelete:ge,onNodeDragStart:ee,onNodeDrag:ae,onNodeDragStop:he,onSelectionDrag:De,onSelectionDragStart:fe,onSelectionDragStop:Se,onMove:k,onMoveStart:_,onMoveEnd:C,noPanClassName:n9,nodeOrigin:Jo,rfId:VR,autoPanOnConnect:sG,autoPanOnNodeDrag:aG,autoPanSpeed:uG,onError:dG,connectionRadius:cG,isValidConnection:lG,selectNodesOnDrag:Hi,nodeDragThreshold:hG,connectionDragThreshold:a9,onBeforeDelete:Je,debug:wG,ariaLabelConfig:yG,zIndexMode:c9}),O.jsx(yMn,{onSelectionChange:Y}),Tf,O.jsx(pMn,{proOptions:rG,position:nG}),O.jsx(hMn,{rfId:VR,disableKeyboardA11y:o9})]})})}var V5n=yzt(q5n);const W5n=n=>{var i;return(i=n.domNode)==null?void 0:i.querySelector(".react-flow__edgelabel-renderer")};function u9t({children:n}){const i=Js(W5n);return i?TR.createPortal(n,i):null}function K5n({dimensions:n,lineWidth:i,variant:a,className:c}){return O.jsx("path",{strokeWidth:i,d:`M${n[0]/2} 0 V${n[1]} M0 ${n[1]/2} H${n[0]}`,className:Bd(["react-flow__background-pattern",a,c])})}function Y5n({radius:n,className:i}){return O.jsx("circle",{cx:n,cy:n,r:n,className:Bd(["react-flow__background-pattern","dots",i])})}var fA;(function(n){n.Lines="lines",n.Dots="dots",n.Cross="cross"})(fA||(fA={}));const J5n={[fA.Dots]:1,[fA.Lines]:1,[fA.Cross]:6},X5n=n=>({transform:n.transform,patternId:`pattern-${n.rfId}`});function Gzt({id:n,variant:i=fA.Dots,gap:a=20,size:c,lineWidth:d=1,offset:g=0,color:b,bgColor:w,style:E,className:S,patternClassName:k}){const _=z.useRef(null),{transform:C,patternId:R}=Js(X5n,Lc),M=c||J5n[i],D=i===fA.Dots,B=i===fA.Cross,F=Array.isArray(a)?a:[a,a],$=[F[0]*C[2]||1,F[1]*C[2]||1],P=M*C[2],H=Array.isArray(g)?g:[g,g],Q=B?[P,P]:$,re=[H[0]*C[2]||1+Q[0]/2,H[1]*C[2]||1+Q[1]/2],ee=`${R}${n||""}`;return O.jsxs("svg",{className:Bd(["react-flow__background",S]),style:{...E,...Jse,"--xy-background-color-props":w,"--xy-background-pattern-color-props":b},ref:_,"data-testid":"rf__background",children:[O.jsx("pattern",{id:ee,x:C[0]%$[0],y:C[1]%$[1],width:$[0],height:$[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${re[0]},-${re[1]})`,children:D?O.jsx(Y5n,{radius:P/2,className:k}):O.jsx(K5n,{dimensions:Q,lineWidth:d,variant:i,className:k})}),O.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${ee})`})]})}Gzt.displayName="Background";const Z5n=z.memo(Gzt);function Q5n(){return O.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:O.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function e9n(){return O.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:O.jsx("path",{d:"M0 0h32v4.2H0z"})})}function t9n(){return O.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:O.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function n9n(){return O.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:O.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function r9n(){return O.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:O.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function bie({children:n,className:i,...a}){return O.jsx("button",{type:"button",className:Bd(["react-flow__controls-button",i]),...a,children:n})}const i9n=n=>({isInteractive:n.nodesDraggable||n.nodesConnectable||n.elementsSelectable,minZoomReached:n.transform[2]<=n.minZoom,maxZoomReached:n.transform[2]>=n.maxZoom,ariaLabelConfig:n.ariaLabelConfig});function qzt({style:n,showZoom:i=!0,showFitView:a=!0,showInteractive:c=!0,fitViewOptions:d,onZoomIn:g,onZoomOut:b,onFitView:w,onInteractiveChange:E,className:S,children:k,position:_="bottom-left",orientation:C="vertical","aria-label":R}){const M=Mc(),{isInteractive:D,minZoomReached:B,maxZoomReached:F,ariaLabelConfig:$}=Js(i9n,Lc),{zoomIn:P,zoomOut:H,fitView:Q}=AR(),re=()=>{P(),g==null||g()},ee=()=>{H(),b==null||b()},ae=()=>{Q(d),w==null||w()},he=()=>{M.setState({nodesDraggable:!D,nodesConnectable:!D,elementsSelectable:!D}),E==null||E(!D)},ve=C==="horizontal"?"horizontal":"vertical";return O.jsxs(fR,{className:Bd(["react-flow__controls",ve,S]),position:_,style:n,"data-testid":"rf__controls","aria-label":R??$["controls.ariaLabel"],children:[i&&O.jsxs(O.Fragment,{children:[O.jsx(bie,{onClick:re,className:"react-flow__controls-zoomin",title:$["controls.zoomIn.ariaLabel"],"aria-label":$["controls.zoomIn.ariaLabel"],disabled:F,children:O.jsx(Q5n,{})}),O.jsx(bie,{onClick:ee,className:"react-flow__controls-zoomout",title:$["controls.zoomOut.ariaLabel"],"aria-label":$["controls.zoomOut.ariaLabel"],disabled:B,children:O.jsx(e9n,{})})]}),a&&O.jsx(bie,{className:"react-flow__controls-fitview",onClick:ae,title:$["controls.fitView.ariaLabel"],"aria-label":$["controls.fitView.ariaLabel"],children:O.jsx(t9n,{})}),c&&O.jsx(bie,{className:"react-flow__controls-interactive",onClick:he,title:$["controls.interactive.ariaLabel"],"aria-label":$["controls.interactive.ariaLabel"],children:D?O.jsx(r9n,{}):O.jsx(n9n,{})}),k]})}qzt.displayName="Controls";const o9n=z.memo(qzt);function s9n({id:n,x:i,y:a,width:c,height:d,style:g,color:b,strokeColor:w,strokeWidth:E,className:S,borderRadius:k,shapeRendering:_,selected:C,onClick:R}){const{background:M,backgroundColor:D}=g||{},B=b||M||D;return O.jsx("rect",{className:Bd(["react-flow__minimap-node",{selected:C},S]),x:i,y:a,rx:k,ry:k,width:c,height:d,style:{fill:B,stroke:w,strokeWidth:E},shapeRendering:_,onClick:R?F=>R(F,n):void 0})}const a9n=z.memo(s9n),u9n=n=>n.nodes.map(i=>i.id),LCe=n=>n instanceof Function?n:()=>n;function c9n({nodeStrokeColor:n,nodeColor:i,nodeClassName:a="",nodeBorderRadius:c=5,nodeStrokeWidth:d,nodeComponent:g=a9n,onClick:b}){const w=Js(u9n,Lc),E=LCe(i),S=LCe(n),k=LCe(a),_=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return O.jsx(O.Fragment,{children:w.map(C=>O.jsx(d9n,{id:C,nodeColorFunc:E,nodeStrokeColorFunc:S,nodeClassNameFunc:k,nodeBorderRadius:c,nodeStrokeWidth:d,NodeComponent:g,onClick:b,shapeRendering:_},C))})}function l9n({id:n,nodeColorFunc:i,nodeStrokeColorFunc:a,nodeClassNameFunc:c,nodeBorderRadius:d,nodeStrokeWidth:g,shapeRendering:b,NodeComponent:w,onClick:E}){const{node:S,x:k,y:_,width:C,height:R}=Js(M=>{const{internals:D}=M.nodeLookup.get(n),B=D.userNode,{x:F,y:$}=D.positionAbsolute,{width:P,height:H}=TA(B);return{node:B,x:F,y:$,width:P,height:H}},Lc);return!S||S.hidden||!HHt(S)?null:O.jsx(w,{x:k,y:_,width:C,height:R,style:S.style,selected:!!S.selected,className:c(S),color:i(S),borderRadius:d,strokeColor:a(S),strokeWidth:g,shapeRendering:b,onClick:E,id:S.id})}const d9n=z.memo(l9n);var f9n=z.memo(c9n);const h9n=200,p9n=150,g9n=n=>!n.hidden,b9n=n=>{const i={x:-n.transform[0]/n.transform[2],y:-n.transform[1]/n.transform[2],width:n.width/n.transform[2],height:n.height/n.transform[2]};return{viewBB:i,boundingRect:n.nodeLookup.size>0?UHt(yz(n.nodeLookup,{filter:g9n}),i):i,rfId:n.rfId,panZoom:n.panZoom,translateExtent:n.translateExtent,flowWidth:n.width,flowHeight:n.height,ariaLabelConfig:n.ariaLabelConfig}},m9n="react-flow__minimap-desc";function Vzt({style:n,className:i,nodeStrokeColor:a,nodeColor:c,nodeClassName:d="",nodeBorderRadius:g=5,nodeStrokeWidth:b,nodeComponent:w,bgColor:E,maskColor:S,maskStrokeColor:k,maskStrokeWidth:_,position:C="bottom-right",onClick:R,onNodeClick:M,pannable:D=!1,zoomable:B=!1,ariaLabel:F,inversePan:$,zoomStep:P=1,offsetScale:H=5}){const Q=Mc(),re=z.useRef(null),{boundingRect:ee,viewBB:ae,rfId:he,panZoom:ve,translateExtent:de,flowWidth:ge,flowHeight:Y,ariaLabelConfig:fe}=Js(b9n,Lc),De=(n==null?void 0:n.width)??h9n,Se=(n==null?void 0:n.height)??p9n,$e=ee.width/De,Te=ee.height/Se,ke=Math.max($e,Te),Je=ke*De,bt=ke*Se,qe=H*ke,_t=ee.x-(Je-ee.width)/2-qe,At=ee.y-(bt-ee.height)/2-qe,ft=Je+qe*2,Kt=bt+qe*2,kt=`${m9n}-${he}`,It=z.useRef(0),Xt=z.useRef();It.current=ke,z.useEffect(()=>{if(re.current&&ve)return Xt.current=ILn({domNode:re.current,panZoom:ve,getTransform:()=>Q.getState().transform,getViewScale:()=>It.current}),()=>{var Dr;(Dr=Xt.current)==null||Dr.destroy()}},[ve]),z.useEffect(()=>{var Dr;(Dr=Xt.current)==null||Dr.update({translateExtent:de,width:ge,height:Y,inversePan:$,pannable:D,zoomStep:P,zoomable:B})},[D,B,$,P,de,ge,Y]);const Bn=R?Dr=>{var Hi;const[Ui,Qr]=((Hi=Xt.current)==null?void 0:Hi.pointer(Dr))||[0,0];R(Dr,{x:Ui,y:Qr})}:void 0,tr=M?z.useCallback((Dr,Ui)=>{const Qr=Q.getState().nodeLookup.get(Ui).internals.userNode;M(Dr,Qr)},[]):void 0,Zn=F??fe["minimap.ariaLabel"];return O.jsx(fR,{position:C,style:{...n,"--xy-minimap-background-color-props":typeof E=="string"?E:void 0,"--xy-minimap-mask-background-color-props":typeof S=="string"?S:void 0,"--xy-minimap-mask-stroke-color-props":typeof k=="string"?k:void 0,"--xy-minimap-mask-stroke-width-props":typeof _=="number"?_*ke:void 0,"--xy-minimap-node-background-color-props":typeof c=="string"?c:void 0,"--xy-minimap-node-stroke-color-props":typeof a=="string"?a:void 0,"--xy-minimap-node-stroke-width-props":typeof b=="number"?b:void 0},className:Bd(["react-flow__minimap",i]),"data-testid":"rf__minimap",children:O.jsxs("svg",{width:De,height:Se,viewBox:`${_t} ${At} ${ft} ${Kt}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":kt,ref:re,onClick:Bn,children:[Zn&&O.jsx("title",{id:kt,children:Zn}),O.jsx(f9n,{onClick:tr,nodeColor:c,nodeStrokeColor:a,nodeBorderRadius:g,nodeClassName:d,nodeStrokeWidth:b,nodeComponent:w}),O.jsx("path",{className:"react-flow__minimap-mask",d:`M${_t-qe},${At-qe}h${ft+qe*2}v${Kt+qe*2}h${-ft-qe*2}z
|
||
M${ae.x},${ae.y}h${ae.width}v${ae.height}h${-ae.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}Vzt.displayName="MiniMap";const w9n=z.memo(Vzt),y9n=n=>i=>n?`${Math.max(1/i.transform[2],1)}`:void 0,v9n={[T5.Line]:"right",[T5.Handle]:"bottom-right"};function E9n({nodeId:n,position:i,variant:a=T5.Handle,className:c,style:d=void 0,children:g,color:b,minWidth:w=10,minHeight:E=10,maxWidth:S=Number.MAX_VALUE,maxHeight:k=Number.MAX_VALUE,keepAspectRatio:_=!1,resizeDirection:C,autoScale:R=!0,shouldResize:M,onResizeStart:D,onResize:B,onResizeEnd:F}){const $=Tzt(),P=typeof n=="string"?n:$,H=Mc(),Q=z.useRef(null),re=a===T5.Handle,ee=Js(z.useCallback(y9n(re&&R),[re,R]),Lc),ae=z.useRef(null),he=i??v9n[a];z.useEffect(()=>{if(!(!Q.current||!P))return ae.current||(ae.current=GLn({domNode:Q.current,nodeId:P,getStoreItems:()=>{const{nodeLookup:de,transform:ge,snapGrid:Y,snapToGrid:fe,nodeOrigin:De,domNode:Se}=H.getState();return{nodeLookup:de,transform:ge,snapGrid:Y,snapToGrid:fe,nodeOrigin:De,paneDomNode:Se}},onChange:(de,ge)=>{const{triggerNodeChanges:Y,nodeLookup:fe,parentLookup:De,nodeOrigin:Se}=H.getState(),$e=[],Te={x:de.x,y:de.y},ke=fe.get(P);if(ke&&ke.expandParent&&ke.parentId){const Je=ke.origin??Se,bt=de.width??ke.measured.width??0,qe=de.height??ke.measured.height??0,_t={id:ke.id,parentId:ke.parentId,rect:{width:bt,height:qe,...zHt({x:de.x??ke.position.x,y:de.y??ke.position.y},{width:bt,height:qe},ke.parentId,fe,Je)}},At=EMe([_t],fe,De,Se);$e.push(...At),Te.x=de.x?Math.max(Je[0]*bt,de.x):void 0,Te.y=de.y?Math.max(Je[1]*qe,de.y):void 0}if(Te.x!==void 0&&Te.y!==void 0){const Je={id:P,type:"position",position:{...Te}};$e.push(Je)}if(de.width!==void 0&&de.height!==void 0){const bt={id:P,type:"dimensions",resizing:!0,setAttributes:C?C==="horizontal"?"width":"height":!0,dimensions:{width:de.width,height:de.height}};$e.push(bt)}for(const Je of ge){const bt={...Je,type:"position"};$e.push(bt)}Y($e)},onEnd:({width:de,height:ge})=>{const Y={id:P,type:"dimensions",resizing:!1,dimensions:{width:de,height:ge}};H.getState().triggerNodeChanges([Y])}})),ae.current.update({controlPosition:he,boundaries:{minWidth:w,minHeight:E,maxWidth:S,maxHeight:k},keepAspectRatio:_,resizeDirection:C,onResizeStart:D,onResize:B,onResizeEnd:F,shouldResize:M}),()=>{var de;(de=ae.current)==null||de.destroy()}},[he,w,E,S,k,_,D,B,F,M]);const ve=he.split("-");return O.jsx("div",{className:Bd(["react-flow__resize-control","nodrag",...ve,a,c]),ref:Q,style:{...d,scale:ee,...b&&{[re?"backgroundColor":"borderColor"]:b}},children:g})}z.memo(E9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Wzt=(...n)=>n.filter((i,a,c)=>!!i&&i.trim()!==""&&c.indexOf(i)===a).join(" ").trim();/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const S9n=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const T9n=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,a,c)=>c?c.toUpperCase():a.toLowerCase());/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const c9t=n=>{const i=T9n(n);return i.charAt(0).toUpperCase()+i.slice(1)};/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var A9n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const _9n=n=>{for(const i in n)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1};/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const k9n=z.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:c,className:d="",children:g,iconNode:b,...w},E)=>z.createElement("svg",{ref:E,...A9n,width:i,height:i,stroke:n,strokeWidth:c?Number(a)*24/Number(i):a,className:Wzt("lucide",d),...!g&&!_9n(w)&&{"aria-hidden":"true"},...w},[...b.map(([S,k])=>z.createElement(S,k)),...Array.isArray(g)?g:[g]]));/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Li=(n,i)=>{const a=z.forwardRef(({className:c,...d},g)=>z.createElement(k9n,{ref:g,iconNode:i,className:Wzt(`lucide-${S9n(c9t(n))}`,`lucide-${n}`,c),...d}));return a.displayName=c9t(n),a};/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const x9n=[["rect",{width:"6",height:"16",x:"4",y:"2",rx:"2",key:"z5wdxg"}],["rect",{width:"6",height:"9",x:"14",y:"9",rx:"2",key:"um7a8w"}],["path",{d:"M22 22H2",key:"19qnx5"}]],N9n=Li("align-end-horizontal",x9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const C9n=[["rect",{width:"16",height:"6",x:"2",y:"4",rx:"2",key:"10wcwx"}],["rect",{width:"9",height:"6",x:"9",y:"14",rx:"2",key:"4p5bwg"}],["path",{d:"M22 22V2",key:"12ipfv"}]],I9n=Li("align-end-vertical",C9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const R9n=[["rect",{width:"6",height:"16",x:"4",y:"6",rx:"2",key:"1n4dg1"}],["rect",{width:"6",height:"9",x:"14",y:"6",rx:"2",key:"17khns"}],["path",{d:"M22 2H2",key:"fhrpnj"}]],O9n=Li("align-start-horizontal",R9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const D9n=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],L9n=Li("align-start-vertical",D9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const M9n=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],P9n=Li("arrow-down",M9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const j9n=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],F9n=Li("arrow-up-down",j9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $9n=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],B9n=Li("arrow-up",$9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const U9n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],_R=Li("ban",U9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const H9n=[["path",{d:"m16 22-1-4",key:"1ow2iv"}],["path",{d:"M19 14a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2h-3a1 1 0 0 1-1-1V4a2 2 0 0 0-4 0v5a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v1a1 1 0 0 0 1 1",key:"11gii7"}],["path",{d:"M19 14H5l-1.973 6.767A1 1 0 0 0 4 22h16a1 1 0 0 0 .973-1.233z",key:"bju7h4"}],["path",{d:"m8 22 1-4",key:"s3unb"}]],z9n=Li("brush-cleaning",H9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const G9n=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],L5=Li("check",G9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const q9n=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Xse=Li("chevron-down",q9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const V9n=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],W9n=Li("chevron-right",V9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const K9n=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Y9n=Li("chevron-up",K9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const J9n=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],X9n=Li("chevrons-up-down",J9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Z9n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Pv=Li("circle-alert",Z9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Q9n=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Kzt=Li("circle-check-big",Q9n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const e8n=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],t8n=Li("circle-play",e8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const n8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],r8n=Li("circle",n8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const i8n=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],o8n=Li("clipboard",i8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const s8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],TMe=Li("clock",s8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const a8n=[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],u8n=Li("copy-plus",a8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const c8n=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],AMe=Li("copy",c8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const l8n=[["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z",key:"1ey20j"}],["path",{d:"M8 12h8",key:"1wcyev"}]],Yzt=Li("diamond-plus",l8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const d8n=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],l9t=Li("download",d8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const f8n=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],h8n=Li("external-link",f8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const p8n=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],g8n=Li("file-code",p8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const b8n=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],m8n=Li("file-down",b8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const w8n=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]],y8n=Li("file-up",w8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const v8n=[["path",{d:"m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2",key:"1nmvlm"}],["circle",{cx:"14",cy:"15",r:"1",key:"1gm4qj"}]],E8n=Li("folder-open-dot",v8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const S8n=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],Jzt=Li("git-branch",S8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const T8n=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],A8n=Li("history",T8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const _8n=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],Xzt=Li("hourglass",_8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const k8n=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],x8n=Li("layers",k8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const N8n=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],XH=Li("loader-circle",N8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const C8n=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],I8n=Li("menu",C8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const R8n=[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]],O8n=Li("mouse-pointer-click",R8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const D8n=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Zse=Li("play",D8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const L8n=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Qse=Li("plus",L8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const M8n=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Zzt=Li("rotate-ccw",M8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const P8n=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],Qzt=Li("save",P8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const j8n=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],F8n=Li("scissors",j8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $8n=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],eGt=Li("search",$8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const B8n=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],U8n=Li("settings",B8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const H8n=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],tGt=Li("square",H8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const z8n=[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]],d9t=Li("toggle-left",z8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const G8n=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],M5=Li("trash-2",G8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const q8n=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],f9t=Li("triangle-alert",q8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const V8n=[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]],W8n=Li("unplug",V8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const K8n=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],Y8n=Li("upload",K8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const J8n=[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]],nGt=Li("variable",J8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const X8n=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],Z8n=Li("wifi",X8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Q8n=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],eae=Li("x",Q8n);/**
|
||
* @license lucide-react v0.577.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ePn=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],rGt=Li("zap",ePn),tPn=z.createContext(null),MCe={didCatch:!1,error:null};let nPn=class extends z.Component{constructor(i){super(i),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=MCe}static getDerivedStateFromError(i){return{didCatch:!0,error:i}}resetErrorBoundary(...i){var c,d;const{error:a}=this.state;a!==null&&((d=(c=this.props).onReset)==null||d.call(c,{args:i,reason:"imperative-api"}),this.setState(MCe))}componentDidCatch(i,a){var c,d;(d=(c=this.props).onError)==null||d.call(c,i,a)}componentDidUpdate(i,a){var g,b;const{didCatch:c}=this.state,{resetKeys:d}=this.props;c&&a.error!==null&&rPn(i.resetKeys,d)&&((b=(g=this.props).onReset)==null||b.call(g,{next:d,prev:i.resetKeys,reason:"keys"}),this.setState(MCe))}render(){const{children:i,fallbackRender:a,FallbackComponent:c,fallback:d}=this.props,{didCatch:g,error:b}=this.state;let w=i;if(g){const E={error:b,resetErrorBoundary:this.resetErrorBoundary};if(typeof a=="function")w=a(E);else if(c)w=z.createElement(c,E);else if(d!==void 0)w=d;else throw b}return z.createElement(tPn.Provider,{value:{didCatch:g,error:b,resetErrorBoundary:this.resetErrorBoundary}},w)}};function rPn(n=[],i=[]){return n.length!==i.length||n.some((a,c)=>!Object.is(a,i[c]))}function iPn(n){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",i.appendChild(a),a.styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n))}const oPn=n=>{switch(n){case"success":return uPn;case"info":return lPn;case"warning":return cPn;case"error":return dPn;default:return null}},sPn=Array(12).fill(0),aPn=({visible:n,className:i})=>Hn.createElement("div",{className:["sonner-loading-wrapper",i].filter(Boolean).join(" "),"data-visible":n},Hn.createElement("div",{className:"sonner-spinner"},sPn.map((a,c)=>Hn.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${c}`})))),uPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),cPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),lPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),dPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),fPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Hn.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Hn.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),hPn=()=>{const[n,i]=Hn.useState(document.hidden);return Hn.useEffect(()=>{const a=()=>{i(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),n};let sDe=1;class pPn{constructor(){this.subscribe=i=>(this.subscribers.push(i),()=>{const a=this.subscribers.indexOf(i);this.subscribers.splice(a,1)}),this.publish=i=>{this.subscribers.forEach(a=>a(i))},this.addToast=i=>{this.publish(i),this.toasts=[...this.toasts,i]},this.create=i=>{var a;const{message:c,...d}=i,g=typeof(i==null?void 0:i.id)=="number"||((a=i.id)==null?void 0:a.length)>0?i.id:sDe++,b=this.toasts.find(E=>E.id===g),w=i.dismissible===void 0?!0:i.dismissible;return this.dismissedToasts.has(g)&&this.dismissedToasts.delete(g),b?this.toasts=this.toasts.map(E=>E.id===g?(this.publish({...E,...i,id:g,title:c}),{...E,...i,id:g,dismissible:w,title:c}):E):this.addToast({title:c,...d,dismissible:w,id:g}),g},this.dismiss=i=>(i?(this.dismissedToasts.add(i),requestAnimationFrame(()=>this.subscribers.forEach(a=>a({id:i,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(c=>c({id:a.id,dismiss:!0}))}),i),this.message=(i,a)=>this.create({...a,message:i}),this.error=(i,a)=>this.create({...a,message:i,type:"error"}),this.success=(i,a)=>this.create({...a,type:"success",message:i}),this.info=(i,a)=>this.create({...a,type:"info",message:i}),this.warning=(i,a)=>this.create({...a,type:"warning",message:i}),this.loading=(i,a)=>this.create({...a,type:"loading",message:i}),this.promise=(i,a)=>{if(!a)return;let c;a.loading!==void 0&&(c=this.create({...a,promise:i,type:"loading",message:a.loading,description:typeof a.description!="function"?a.description:void 0}));const d=Promise.resolve(i instanceof Function?i():i);let g=c!==void 0,b;const w=d.then(async S=>{if(b=["resolve",S],Hn.isValidElement(S))g=!1,this.create({id:c,type:"default",message:S});else if(bPn(S)&&!S.ok){g=!1;const _=typeof a.error=="function"?await a.error(`HTTP error! status: ${S.status}`):a.error,C=typeof a.description=="function"?await a.description(`HTTP error! status: ${S.status}`):a.description,M=typeof _=="object"&&!Hn.isValidElement(_)?_:{message:_};this.create({id:c,type:"error",description:C,...M})}else if(S instanceof Error){g=!1;const _=typeof a.error=="function"?await a.error(S):a.error,C=typeof a.description=="function"?await a.description(S):a.description,M=typeof _=="object"&&!Hn.isValidElement(_)?_:{message:_};this.create({id:c,type:"error",description:C,...M})}else if(a.success!==void 0){g=!1;const _=typeof a.success=="function"?await a.success(S):a.success,C=typeof a.description=="function"?await a.description(S):a.description,M=typeof _=="object"&&!Hn.isValidElement(_)?_:{message:_};this.create({id:c,type:"success",description:C,...M})}}).catch(async S=>{if(b=["reject",S],a.error!==void 0){g=!1;const k=typeof a.error=="function"?await a.error(S):a.error,_=typeof a.description=="function"?await a.description(S):a.description,R=typeof k=="object"&&!Hn.isValidElement(k)?k:{message:k};this.create({id:c,type:"error",description:_,...R})}}).finally(()=>{g&&(this.dismiss(c),c=void 0),a.finally==null||a.finally.call(a)}),E=()=>new Promise((S,k)=>w.then(()=>b[0]==="reject"?k(b[1]):S(b[1])).catch(k));return typeof c!="string"&&typeof c!="number"?{unwrap:E}:Object.assign(c,{unwrap:E})},this.custom=(i,a)=>{const c=(a==null?void 0:a.id)||sDe++;return this.create({jsx:i(c),id:c,...a}),c},this.getActiveToasts=()=>this.toasts.filter(i=>!this.dismissedToasts.has(i.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const nb=new pPn,gPn=(n,i)=>{const a=(i==null?void 0:i.id)||sDe++;return nb.addToast({title:n,...i,id:a}),a},bPn=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",mPn=gPn,wPn=()=>nb.toasts,yPn=()=>nb.getActiveToasts(),N2=Object.assign(mPn,{success:nb.success,info:nb.info,warning:nb.warning,error:nb.error,custom:nb.custom,message:nb.message,promise:nb.promise,dismiss:nb.dismiss,loading:nb.loading},{getHistory:wPn,getToasts:yPn});iPn("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function mie(n){return n.label!==void 0}const vPn=3,EPn="24px",SPn="16px",h9t=4e3,TPn=356,APn=14,_Pn=45,kPn=200;function _2(...n){return n.filter(Boolean).join(" ")}function xPn(n){const[i,a]=n.split("-"),c=[];return i&&c.push(i),a&&c.push(a),c}const NPn=n=>{var i,a,c,d,g,b,w,E,S;const{invert:k,toast:_,unstyled:C,interacting:R,setHeights:M,visibleToasts:D,heights:B,index:F,toasts:$,expanded:P,removeToast:H,defaultRichColors:Q,closeButton:re,style:ee,cancelButtonStyle:ae,actionButtonStyle:he,className:ve="",descriptionClassName:de="",duration:ge,position:Y,gap:fe,expandByDefault:De,classNames:Se,icons:$e,closeButtonAriaLabel:Te="Close toast"}=n,[ke,Je]=Hn.useState(null),[bt,qe]=Hn.useState(null),[_t,At]=Hn.useState(!1),[ft,Kt]=Hn.useState(!1),[kt,It]=Hn.useState(!1),[Xt,Bn]=Hn.useState(!1),[tr,Zn]=Hn.useState(!1),[Dr,Ui]=Hn.useState(0),[Qr,Hi]=Hn.useState(0),ai=Hn.useRef(_.duration||ge||h9t),jc=Hn.useRef(null),Xs=Hn.useRef(null),as=F===0,Jo=F+1<=D,xa=_.type,xi=_.dismissible!==!1,gb=_.className||"",Yg=_.descriptionClassName||"",qh=Hn.useMemo(()=>B.findIndex(ho=>ho.toastId===_.id)||0,[B,_.id]),bb=Hn.useMemo(()=>{var ho;return(ho=_.closeButton)!=null?ho:re},[_.closeButton,re]),Vp=Hn.useMemo(()=>_.duration||ge||h9t,[_.duration,ge]),Rw=Hn.useRef(0),Vh=Hn.useRef(0),Y2=Hn.useRef(0),Jg=Hn.useRef(null),[Wp,Xg]=Y.split("-"),kN=Hn.useMemo(()=>B.reduce((ho,Fc,Fl)=>Fl>=qh?ho:ho+Fc.height,0),[B,qh]),xN=hPn(),HR=_.invert||k,kA=xa==="loading";Vh.current=Hn.useMemo(()=>qh*fe+kN,[qh,kN]),Hn.useEffect(()=>{ai.current=Vp},[Vp]),Hn.useEffect(()=>{At(!0)},[]),Hn.useEffect(()=>{const ho=Xs.current;if(ho){const Fc=ho.getBoundingClientRect().height;return Hi(Fc),M(Fl=>[{toastId:_.id,height:Fc,position:_.position},...Fl]),()=>M(Fl=>Fl.filter(Tf=>Tf.toastId!==_.id))}},[M,_.id]),Hn.useLayoutEffect(()=>{if(!_t)return;const ho=Xs.current,Fc=ho.style.height;ho.style.height="auto";const Fl=ho.getBoundingClientRect().height;ho.style.height=Fc,Hi(Fl),M(Tf=>Tf.find(pl=>pl.toastId===_.id)?Tf.map(pl=>pl.toastId===_.id?{...pl,height:Fl}:pl):[{toastId:_.id,height:Fl,position:_.position},...Tf])},[_t,_.title,_.description,M,_.id,_.jsx,_.action,_.cancel]);const mb=Hn.useCallback(()=>{Kt(!0),Ui(Vh.current),M(ho=>ho.filter(Fc=>Fc.toastId!==_.id)),setTimeout(()=>{H(_)},kPn)},[_,H,M,Vh]);Hn.useEffect(()=>{if(_.promise&&xa==="loading"||_.duration===1/0||_.type==="loading")return;let ho;return P||R||xN?(()=>{if(Y2.current<Rw.current){const Tf=new Date().getTime()-Rw.current;ai.current=ai.current-Tf}Y2.current=new Date().getTime()})():(()=>{ai.current!==1/0&&(Rw.current=new Date().getTime(),ho=setTimeout(()=>{_.onAutoClose==null||_.onAutoClose.call(_,_),mb()},ai.current))})(),()=>clearTimeout(ho)},[P,R,_,xa,xN,mb]),Hn.useEffect(()=>{_.delete&&(mb(),_.onDismiss==null||_.onDismiss.call(_,_))},[mb,_.delete]);function zR(){var ho;if($e!=null&&$e.loading){var Fc;return Hn.createElement("div",{className:_2(Se==null?void 0:Se.loader,_==null||(Fc=_.classNames)==null?void 0:Fc.loader,"sonner-loader"),"data-visible":xa==="loading"},$e.loading)}return Hn.createElement(aPn,{className:_2(Se==null?void 0:Se.loader,_==null||(ho=_.classNames)==null?void 0:ho.loader),visible:xa==="loading"})}const GR=_.icon||($e==null?void 0:$e[xa])||oPn(xa);var NN,CN;return Hn.createElement("li",{tabIndex:0,ref:Xs,className:_2(ve,gb,Se==null?void 0:Se.toast,_==null||(i=_.classNames)==null?void 0:i.toast,Se==null?void 0:Se.default,Se==null?void 0:Se[xa],_==null||(a=_.classNames)==null?void 0:a[xa]),"data-sonner-toast":"","data-rich-colors":(NN=_.richColors)!=null?NN:Q,"data-styled":!(_.jsx||_.unstyled||C),"data-mounted":_t,"data-promise":!!_.promise,"data-swiped":tr,"data-removed":ft,"data-visible":Jo,"data-y-position":Wp,"data-x-position":Xg,"data-index":F,"data-front":as,"data-swiping":kt,"data-dismissible":xi,"data-type":xa,"data-invert":HR,"data-swipe-out":Xt,"data-swipe-direction":bt,"data-expanded":!!(P||De&&_t),"data-testid":_.testId,style:{"--index":F,"--toasts-before":F,"--z-index":$.length-F,"--offset":`${ft?Dr:Vh.current}px`,"--initial-height":De?"auto":`${Qr}px`,...ee,..._.style},onDragEnd:()=>{It(!1),Je(null),Jg.current=null},onPointerDown:ho=>{ho.button!==2&&(kA||!xi||(jc.current=new Date,Ui(Vh.current),ho.target.setPointerCapture(ho.pointerId),ho.target.tagName!=="BUTTON"&&(It(!0),Jg.current={x:ho.clientX,y:ho.clientY})))},onPointerUp:()=>{var ho,Fc,Fl;if(Xt||!xi)return;Jg.current=null;const Tf=Number(((ho=Xs.current)==null?void 0:ho.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),J2=Number(((Fc=Xs.current)==null?void 0:Fc.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),pl=new Date().getTime()-((Fl=jc.current)==null?void 0:Fl.getTime()),sh=ke==="x"?Tf:J2,qm=Math.abs(sh)/pl;if(Math.abs(sh)>=_Pn||qm>.11){Ui(Vh.current),_.onDismiss==null||_.onDismiss.call(_,_),qe(ke==="x"?Tf>0?"right":"left":J2>0?"down":"up"),mb(),Bn(!0);return}else{var ah,Wh;(ah=Xs.current)==null||ah.style.setProperty("--swipe-amount-x","0px"),(Wh=Xs.current)==null||Wh.style.setProperty("--swipe-amount-y","0px")}Zn(!1),It(!1),Je(null)},onPointerMove:ho=>{var Fc,Fl,Tf;if(!Jg.current||!xi||((Fc=window.getSelection())==null?void 0:Fc.toString().length)>0)return;const pl=ho.clientY-Jg.current.y,sh=ho.clientX-Jg.current.x;var qm;const ah=(qm=n.swipeDirections)!=null?qm:xPn(Y);!ke&&(Math.abs(sh)>1||Math.abs(pl)>1)&&Je(Math.abs(sh)>Math.abs(pl)?"x":"y");let Wh={x:0,y:0};const X2=Vm=>1/(1.5+Math.abs(Vm)/20);if(ke==="y"){if(ah.includes("top")||ah.includes("bottom"))if(ah.includes("top")&&pl<0||ah.includes("bottom")&&pl>0)Wh.y=pl;else{const Vm=pl*X2(pl);Wh.y=Math.abs(Vm)<Math.abs(pl)?Vm:pl}}else if(ke==="x"&&(ah.includes("left")||ah.includes("right")))if(ah.includes("left")&&sh<0||ah.includes("right")&&sh>0)Wh.x=sh;else{const Vm=sh*X2(sh);Wh.x=Math.abs(Vm)<Math.abs(sh)?Vm:sh}(Math.abs(Wh.x)>0||Math.abs(Wh.y)>0)&&Zn(!0),(Fl=Xs.current)==null||Fl.style.setProperty("--swipe-amount-x",`${Wh.x}px`),(Tf=Xs.current)==null||Tf.style.setProperty("--swipe-amount-y",`${Wh.y}px`)}},bb&&!_.jsx&&xa!=="loading"?Hn.createElement("button",{"aria-label":Te,"data-disabled":kA,"data-close-button":!0,onClick:kA||!xi?()=>{}:()=>{mb(),_.onDismiss==null||_.onDismiss.call(_,_)},className:_2(Se==null?void 0:Se.closeButton,_==null||(c=_.classNames)==null?void 0:c.closeButton)},(CN=$e==null?void 0:$e.close)!=null?CN:fPn):null,(xa||_.icon||_.promise)&&_.icon!==null&&(($e==null?void 0:$e[xa])!==null||_.icon)?Hn.createElement("div",{"data-icon":"",className:_2(Se==null?void 0:Se.icon,_==null||(d=_.classNames)==null?void 0:d.icon)},_.promise||_.type==="loading"&&!_.icon?_.icon||zR():null,_.type!=="loading"?GR:null):null,Hn.createElement("div",{"data-content":"",className:_2(Se==null?void 0:Se.content,_==null||(g=_.classNames)==null?void 0:g.content)},Hn.createElement("div",{"data-title":"",className:_2(Se==null?void 0:Se.title,_==null||(b=_.classNames)==null?void 0:b.title)},_.jsx?_.jsx:typeof _.title=="function"?_.title():_.title),_.description?Hn.createElement("div",{"data-description":"",className:_2(de,Yg,Se==null?void 0:Se.description,_==null||(w=_.classNames)==null?void 0:w.description)},typeof _.description=="function"?_.description():_.description):null),Hn.isValidElement(_.cancel)?_.cancel:_.cancel&&mie(_.cancel)?Hn.createElement("button",{"data-button":!0,"data-cancel":!0,style:_.cancelButtonStyle||ae,onClick:ho=>{mie(_.cancel)&&xi&&(_.cancel.onClick==null||_.cancel.onClick.call(_.cancel,ho),mb())},className:_2(Se==null?void 0:Se.cancelButton,_==null||(E=_.classNames)==null?void 0:E.cancelButton)},_.cancel.label):null,Hn.isValidElement(_.action)?_.action:_.action&&mie(_.action)?Hn.createElement("button",{"data-button":!0,"data-action":!0,style:_.actionButtonStyle||he,onClick:ho=>{mie(_.action)&&(_.action.onClick==null||_.action.onClick.call(_.action,ho),!ho.defaultPrevented&&mb())},className:_2(Se==null?void 0:Se.actionButton,_==null||(S=_.classNames)==null?void 0:S.actionButton)},_.action.label):null)};function p9t(){if(typeof window>"u"||typeof document>"u")return"ltr";const n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function CPn(n,i){const a={};return[n,i].forEach((c,d)=>{const g=d===1,b=g?"--mobile-offset":"--offset",w=g?SPn:EPn;function E(S){["top","right","bottom","left"].forEach(k=>{a[`${b}-${k}`]=typeof S=="number"?`${S}px`:S})}typeof c=="number"||typeof c=="string"?E(c):typeof c=="object"?["top","right","bottom","left"].forEach(S=>{c[S]===void 0?a[`${b}-${S}`]=w:a[`${b}-${S}`]=typeof c[S]=="number"?`${c[S]}px`:c[S]}):E(w)}),a}const IPn=Hn.forwardRef(function(i,a){const{id:c,invert:d,position:g="bottom-right",hotkey:b=["altKey","KeyT"],expand:w,closeButton:E,className:S,offset:k,mobileOffset:_,theme:C="light",richColors:R,duration:M,style:D,visibleToasts:B=vPn,toastOptions:F,dir:$=p9t(),gap:P=APn,icons:H,containerAriaLabel:Q="Notifications"}=i,[re,ee]=Hn.useState([]),ae=Hn.useMemo(()=>c?re.filter(_t=>_t.toasterId===c):re.filter(_t=>!_t.toasterId),[re,c]),he=Hn.useMemo(()=>Array.from(new Set([g].concat(ae.filter(_t=>_t.position).map(_t=>_t.position)))),[ae,g]),[ve,de]=Hn.useState([]),[ge,Y]=Hn.useState(!1),[fe,De]=Hn.useState(!1),[Se,$e]=Hn.useState(C!=="system"?C:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Te=Hn.useRef(null),ke=b.join("+").replace(/Key/g,"").replace(/Digit/g,""),Je=Hn.useRef(null),bt=Hn.useRef(!1),qe=Hn.useCallback(_t=>{ee(At=>{var ft;return(ft=At.find(Kt=>Kt.id===_t.id))!=null&&ft.delete||nb.dismiss(_t.id),At.filter(({id:Kt})=>Kt!==_t.id)})},[]);return Hn.useEffect(()=>nb.subscribe(_t=>{if(_t.dismiss){requestAnimationFrame(()=>{ee(At=>At.map(ft=>ft.id===_t.id?{...ft,delete:!0}:ft))});return}setTimeout(()=>{VUt.flushSync(()=>{ee(At=>{const ft=At.findIndex(Kt=>Kt.id===_t.id);return ft!==-1?[...At.slice(0,ft),{...At[ft],..._t},...At.slice(ft+1)]:[_t,...At]})})})}),[re]),Hn.useEffect(()=>{if(C!=="system"){$e(C);return}if(C==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$e("dark"):$e("light")),typeof window>"u")return;const _t=window.matchMedia("(prefers-color-scheme: dark)");try{_t.addEventListener("change",({matches:At})=>{$e(At?"dark":"light")})}catch{_t.addListener(({matches:ft})=>{try{$e(ft?"dark":"light")}catch(Kt){console.error(Kt)}})}},[C]),Hn.useEffect(()=>{re.length<=1&&Y(!1)},[re]),Hn.useEffect(()=>{const _t=At=>{var ft;if(b.every(It=>At[It]||At.code===It)){var kt;Y(!0),(kt=Te.current)==null||kt.focus()}At.code==="Escape"&&(document.activeElement===Te.current||(ft=Te.current)!=null&&ft.contains(document.activeElement))&&Y(!1)};return document.addEventListener("keydown",_t),()=>document.removeEventListener("keydown",_t)},[b]),Hn.useEffect(()=>{if(Te.current)return()=>{Je.current&&(Je.current.focus({preventScroll:!0}),Je.current=null,bt.current=!1)}},[Te.current]),Hn.createElement("section",{ref:a,"aria-label":`${Q} ${ke}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},he.map((_t,At)=>{var ft;const[Kt,kt]=_t.split("-");return ae.length?Hn.createElement("ol",{key:_t,dir:$==="auto"?p9t():$,tabIndex:-1,ref:Te,className:S,"data-sonner-toaster":!0,"data-sonner-theme":Se,"data-y-position":Kt,"data-x-position":kt,style:{"--front-toast-height":`${((ft=ve[0])==null?void 0:ft.height)||0}px`,"--width":`${TPn}px`,"--gap":`${P}px`,...D,...CPn(k,_)},onBlur:It=>{bt.current&&!It.currentTarget.contains(It.relatedTarget)&&(bt.current=!1,Je.current&&(Je.current.focus({preventScroll:!0}),Je.current=null))},onFocus:It=>{It.target instanceof HTMLElement&&It.target.dataset.dismissible==="false"||bt.current||(bt.current=!0,Je.current=It.relatedTarget)},onMouseEnter:()=>Y(!0),onMouseMove:()=>Y(!0),onMouseLeave:()=>{fe||Y(!1)},onDragEnd:()=>Y(!1),onPointerDown:It=>{It.target instanceof HTMLElement&&It.target.dataset.dismissible==="false"||De(!0)},onPointerUp:()=>De(!1)},ae.filter(It=>!It.position&&At===0||It.position===_t).map((It,Xt)=>{var Bn,tr;return Hn.createElement(NPn,{key:It.id,icons:H,index:Xt,toast:It,defaultRichColors:R,duration:(Bn=F==null?void 0:F.duration)!=null?Bn:M,className:F==null?void 0:F.className,descriptionClassName:F==null?void 0:F.descriptionClassName,invert:d,visibleToasts:B,closeButton:(tr=F==null?void 0:F.closeButton)!=null?tr:E,interacting:fe,position:_t,style:F==null?void 0:F.style,unstyled:F==null?void 0:F.unstyled,classNames:F==null?void 0:F.classNames,cancelButtonStyle:F==null?void 0:F.cancelButtonStyle,actionButtonStyle:F==null?void 0:F.actionButtonStyle,closeButtonAriaLabel:F==null?void 0:F.closeButtonAriaLabel,removeToast:qe,toasts:ae.filter(Zn=>Zn.position==It.position),heights:ve.filter(Zn=>Zn.position==It.position),setHeights:de,expandByDefault:w,gap:P,expanded:ge,swipeDirections:i.swipeDirections})})):null}))}),RPn=typeof window<"u"&&(localStorage.getItem("cafe_debug")==="true"||window.location.search.includes("debug=true")),bM={info:"color: #2196F3; font-weight: bold",warn:"color: #FF9800; font-weight: bold",error:"color: #F44336; font-weight: bold",success:"color: #4CAF50; font-weight: bold",debug:"color: #9C27B0; font-weight: bold"};class OPn{constructor(i=RPn){Xf(this,"enabled");Xf(this,"prefix");this.enabled=i,this.prefix="[C.A.F.E.]"}setEnabled(i){this.enabled=i,typeof window<"u"&&localStorage.setItem("cafe_debug",i.toString())}isEnabled(){return this.enabled}info(i,...a){this.enabled&&console.log(`%c${this.prefix} ${i}`,bM.info,...a)}warn(i,...a){this.enabled&&console.warn(`%c${this.prefix} ${i}`,bM.warn,...a)}error(i,...a){this.enabled&&console.error(`%c${this.prefix} ${i}`,bM.error,...a)}success(i,...a){this.enabled&&console.log(`%c${this.prefix} ${i}`,bM.success,...a)}debug(i,...a){this.enabled&&console.log(`%c${this.prefix} DEBUG: ${i}`,bM.debug,...a)}object(i,a){this.enabled&&(console.group(`%c${this.prefix} ${i}`,bM.info),console.log(a),console.groupEnd())}time(i){this.enabled&&console.time(`${this.prefix} ${i}`)}timeEnd(i){this.enabled&&console.timeEnd(`${this.prefix} ${i}`)}}const yf=new OPn;typeof window<"u"&&(window.cafeLogger=yf);const DPn=1,Voe=2,PCe=3,LPn=4,MPn=5;function PPn(n){return{type:"auth",access_token:n}}function jPn(){return{type:"supported_features",id:1,features:{coalesce_messages:1}}}function FPn(){return{type:"get_states"}}function $Pn(){return{type:"get_services"}}function BPn(n){const i={type:"subscribe_events"};return n&&(i.event_type=n),i}function g9t(n){return{type:"unsubscribe_events",subscription:n}}function UPn(){return{type:"ping"}}function HPn(n,i){return{type:"result",success:!1,error:{code:n,message:i}}}const zPn=(n,i,a=!1)=>{let c;return function(...d){const g=this,b=()=>{c=void 0,a||n.apply(g,d)},w=a&&!c;clearTimeout(c),c=setTimeout(b,i),w&&n.apply(g,d)}},iGt=(n,i,a,c)=>{const[d,g,b]=n.split(".",3);return Number(d)>i||Number(d)===i&&(c===void 0?Number(g)>=a:Number(g)>a)||c!==void 0&&Number(d)===i&&Number(g)===a&&Number(b)>=c},GPn="auth_invalid",qPn="auth_ok";function VPn(n){if(!n.auth)throw LPn;const i=n.auth;let a=i.expired?i.refreshAccessToken().then(()=>{a=void 0},()=>{a=void 0}):void 0;const c=i.wsUrl;function d(g,b,w){const E=new WebSocket(c);let S=!1;const k=()=>{if(E.removeEventListener("close",k),S){w(Voe);return}if(g===0){w(DPn);return}const R=g===-1?-1:g-1;setTimeout(()=>d(R,b,w),1e3)},_=async R=>{try{i.expired&&await(a||i.refreshAccessToken()),E.send(JSON.stringify(PPn(i.accessToken)))}catch(M){S=M===Voe,E.close()}},C=async R=>{const M=JSON.parse(R.data);switch(M.type){case GPn:S=!0,E.close();break;case qPn:E.removeEventListener("open",_),E.removeEventListener("message",C),E.removeEventListener("close",k),E.removeEventListener("error",k),E.haVersion=M.ha_version,iGt(E.haVersion,2022,9)&&E.send(JSON.stringify(jPn())),b(E);break}};E.addEventListener("open",_),E.addEventListener("message",C),E.addEventListener("close",k),E.addEventListener("error",k)}return new Promise((g,b)=>d(n.setupRetry,g,b))}class WPn{constructor(i,a){this._handleMessage=c=>{let d=JSON.parse(c.data);Array.isArray(d)||(d=[d]),d.forEach(g=>{const b=this.commands.get(g.id);switch(g.type){case"event":b?b.callback(g.event):(console.warn(`Received event for unknown subscription ${g.id}. Unsubscribing.`),this.sendMessagePromise(g9t(g.id)).catch(w=>{}));break;case"result":b&&(g.success?(b.resolve(g.result),"subscribe"in b||this.commands.delete(g.id)):(b.reject(g.error),this.commands.delete(g.id)));break;case"pong":b?(b.resolve(),this.commands.delete(g.id)):console.warn(`Received unknown pong response ${g.id}`);break}})},this._handleClose=async()=>{const c=this.commands;if(this.commandId=1,this.oldSubscriptions=this.commands,this.commands=new Map,this.socket=void 0,c.forEach(b=>{"subscribe"in b||b.reject(HPn(PCe,"Connection lost"))}),this.closeRequested)return;this.fireEvent("disconnected");const d=Object.assign(Object.assign({},this.options),{setupRetry:0}),g=b=>{setTimeout(async()=>{if(!this.closeRequested)try{const w=await d.createSocket(d);this._setSocket(w)}catch(w){if(this._queuedMessages){const E=this._queuedMessages;this._queuedMessages=void 0;for(const S of E)S.reject&&S.reject(PCe)}w===Voe?this.fireEvent("reconnect-error",w):g(b+1)}},Math.min(b,5)*1e3)};this.suspendReconnectPromise&&(await this.suspendReconnectPromise,this.suspendReconnectPromise=void 0,this._queuedMessages=[]),g(0)},this.options=a,this.commandId=2,this.commands=new Map,this.eventListeners=new Map,this.closeRequested=!1,this._setSocket(i)}get connected(){return this.socket!==void 0&&this.socket.readyState==this.socket.OPEN}_setSocket(i){this.socket=i,this.haVersion=i.haVersion,i.addEventListener("message",this._handleMessage),i.addEventListener("close",this._handleClose);const a=this.oldSubscriptions;a&&(this.oldSubscriptions=void 0,a.forEach(d=>{"subscribe"in d&&d.subscribe&&d.subscribe().then(g=>{d.unsubscribe=g,d.resolve()})}));const c=this._queuedMessages;if(c){this._queuedMessages=void 0;for(const d of c)d.resolve()}this.fireEvent("ready")}addEventListener(i,a){let c=this.eventListeners.get(i);c||(c=[],this.eventListeners.set(i,c)),c.push(a)}removeEventListener(i,a){const c=this.eventListeners.get(i);if(!c)return;const d=c.indexOf(a);d!==-1&&c.splice(d,1)}fireEvent(i,a){(this.eventListeners.get(i)||[]).forEach(c=>c(this,a))}suspendReconnectUntil(i){this.suspendReconnectPromise=i}suspend(){if(!this.suspendReconnectPromise)throw new Error("Suspend promise not set");this.socket&&this.socket.close()}reconnect(i=!1){if(this.socket){if(!i){this.socket.close();return}this.socket.removeEventListener("message",this._handleMessage),this.socket.removeEventListener("close",this._handleClose),this.socket.close(),this._handleClose()}}close(){this.closeRequested=!0,this.socket&&this.socket.close()}async subscribeEvents(i,a){return this.subscribeMessage(i,BPn(a))}ping(){return this.sendMessagePromise(UPn())}sendMessage(i,a){if(!this.connected)throw PCe;if(this._queuedMessages){if(a)throw new Error("Cannot queue with commandId");this._queuedMessages.push({resolve:()=>this.sendMessage(i)});return}a||(a=this._genCmdId()),i.id=a,this.socket.send(JSON.stringify(i))}sendMessagePromise(i){return new Promise((a,c)=>{if(this._queuedMessages){this._queuedMessages.push({reject:c,resolve:async()=>{try{a(await this.sendMessagePromise(i))}catch(g){c(g)}}});return}const d=this._genCmdId();this.commands.set(d,{resolve:a,reject:c}),this.sendMessage(i,d)})}async subscribeMessage(i,a,c){if(this._queuedMessages&&await new Promise((g,b)=>{this._queuedMessages.push({resolve:g,reject:b})}),c!=null&&c.preCheck&&!await c.preCheck())throw new Error("Pre-check failed");let d;return await new Promise((g,b)=>{const w=this._genCmdId();d={resolve:g,reject:b,callback:i,subscribe:(c==null?void 0:c.resubscribe)!==!1?()=>this.subscribeMessage(i,a,c):void 0,unsubscribe:async()=>{this.connected&&await this.sendMessagePromise(g9t(w)),this.commands.delete(w)}},this.commands.set(w,d);try{this.sendMessage(a,w)}catch{}}),()=>d.unsubscribe()}_genCmdId(){return++this.commandId}}const KPn=n=>n*1e3+Date.now();async function YPn(n,i,a){const c=typeof location<"u"&&location;if(c&&c.protocol==="https:"){const w=document.createElement("a");if(w.href=n,w.protocol==="http:"&&w.hostname!=="localhost")throw MPn}const d=new FormData;i!==null&&d.append("client_id",i),Object.keys(a).forEach(w=>{d.append(w,a[w])});const g=await fetch(`${n}/auth/token`,{method:"POST",credentials:"same-origin",body:d});if(!g.ok)throw g.status===400||g.status===403?Voe:new Error("Unable to fetch tokens");const b=await g.json();return b.hassUrl=n,b.clientId=i,b.expires=KPn(b.expires_in),b}class JPn{constructor(i,a){this.data=i,this._saveTokens=a}get wsUrl(){return`ws${this.data.hassUrl.substr(4)}/api/websocket`}get accessToken(){return this.data.access_token}get expired(){return Date.now()>this.data.expires}async refreshAccessToken(){if(!this.data.refresh_token)throw new Error("No refresh_token");const i=await YPn(this.data.hassUrl,this.data.clientId,{grant_type:"refresh_token",refresh_token:this.data.refresh_token});i.refresh_token=this.data.refresh_token,this.data=i,this._saveTokens&&this._saveTokens(i)}async revoke(){if(!this.data.refresh_token)throw new Error("No refresh_token to revoke");const i=new FormData;i.append("token",this.data.refresh_token),await fetch(`${this.data.hassUrl}/auth/revoke`,{method:"POST",credentials:"same-origin",body:i}),this._saveTokens&&this._saveTokens(null)}}function XPn(n,i){return new JPn({hassUrl:n,clientId:null,expires:Date.now()+1e11,refresh_token:"",access_token:i,expires_in:1e11})}const ZPn=n=>{let i=[];function a(d){let g=[];for(let b=0;b<i.length;b++)i[b]===d?d=null:g.push(i[b]);i=g}function c(d,g){n=g?d:Object.assign(Object.assign({},n),d);let b=i;for(let w=0;w<b.length;w++)b[w](n)}return{get state(){return n},action(d){function g(b){c(b,!1)}return function(){let b=[n];for(let E=0;E<arguments.length;E++)b.push(arguments[E]);let w=d.apply(this,b);if(w!=null)return w instanceof Promise?w.then(g):g(w)}},setState:c,clearState(){n=void 0},subscribe(d){return i.push(d),()=>{a(d)}}}},QPn=5e3,aDe=(n,i,a,c,d={unsubGrace:!0})=>{if(n[i])return n[i];let g=0,b,w,E=ZPn();const S=()=>{if(!a)throw new Error("Collection does not support refresh");return a(n).then(D=>E.setState(D,!0))},k=()=>S().catch(D=>{if(n.connected)throw D}),_=()=>{if(w!==void 0){clearTimeout(w),w=void 0;return}c&&(b=c(n,E)),a&&(n.addEventListener("ready",k),k()),n.addEventListener("disconnected",M)},C=()=>{w=void 0,b&&b.then(D=>{D()}),E.clearState(),n.removeEventListener("ready",S),n.removeEventListener("disconnected",M)},R=()=>{w=setTimeout(C,QPn)},M=()=>{w&&(clearTimeout(w),C())};return n[i]={get state(){return E.state},refresh:S,subscribe(D){g++,g===1&&_();const B=E.subscribe(D);return E.state!==void 0&&setTimeout(()=>D(E.state),0),()=>{B(),g--,g||(d.unsubGrace?R():C())}}},n[i]},ejn=n=>n.sendMessagePromise(FPn()),tjn=n=>n.sendMessagePromise($Pn());function njn(n,i,a){var c;const d=i.state;if(d===void 0)return;const{domain:g,service:b}=a.data;if(!(!((c=d.domain)===null||c===void 0)&&c.service)){const w=Object.assign(Object.assign({},d[g]),{[b]:{description:"",fields:{}}});i.setState({[g]:w})}ijn(n,i)}function rjn(n,i){if(n===void 0)return null;const{domain:a,service:c}=i.data,d=n[a];if(!d||!(c in d))return null;const g={};return Object.keys(d).forEach(b=>{b!==c&&(g[b]=d[b])}),{[a]:g}}const ijn=zPn((n,i)=>oGt(n).then(a=>i.setState(a,!0)),5e3),oGt=n=>tjn(n),ojn=(n,i)=>Promise.all([n.subscribeEvents(a=>njn(n,i,a),"service_registered"),n.subscribeEvents(i.action(rjn),"service_removed")]).then(a=>()=>a.forEach(c=>c())),sjn=n=>aDe(n,"_srv",oGt,ojn),ajn=(n,i)=>sjn(n).subscribe(i);function ujn(n,i){const a=Object.assign({},n.state);if(i.a)for(const c in i.a){const d=i.a[c];let g=new Date(d.lc*1e3).toISOString();a[c]={entity_id:c,state:d.s,attributes:d.a,context:typeof d.c=="string"?{id:d.c,parent_id:null,user_id:null}:d.c,last_changed:g,last_updated:d.lu?new Date(d.lu*1e3).toISOString():g}}if(i.r)for(const c of i.r)delete a[c];if(i.c)for(const c in i.c){let d=a[c];if(!d){console.warn("Received state update for unknown entity",c);continue}d=Object.assign({},d);const{"+":g,"-":b}=i.c[c],w=(g==null?void 0:g.a)||(b==null?void 0:b.a),E=w?Object.assign({},d.attributes):d.attributes;if(g&&(g.s!==void 0&&(d.state=g.s),g.c&&(typeof g.c=="string"?d.context=Object.assign(Object.assign({},d.context),{id:g.c}):d.context=Object.assign(Object.assign({},d.context),g.c)),g.lc?d.last_updated=d.last_changed=new Date(g.lc*1e3).toISOString():g.lu&&(d.last_updated=new Date(g.lu*1e3).toISOString()),g.a&&Object.assign(E,g.a)),b!=null&&b.a)for(const S of b.a)delete E[S];w&&(d.attributes=E),a[c]=d}n.setState(a,!0)}const cjn=(n,i)=>n.subscribeMessage(a=>ujn(i,a),{type:"subscribe_entities"});function ljn(n,i){const a=n.state;if(a===void 0)return;const{entity_id:c,new_state:d}=i.data;if(d)n.setState({[d.entity_id]:d});else{const g=Object.assign({},a);delete g[c],n.setState(g,!0)}}async function djn(n){const i=await ejn(n),a={};for(let c=0;c<i.length;c++){const d=i[c];a[d.entity_id]=d}return a}const fjn=(n,i)=>n.subscribeEvents(a=>ljn(i,a),"state_changed"),hjn=n=>iGt(n.haVersion,2022,4,0)?aDe(n,"_ent",void 0,cjn):aDe(n,"_ent",djn,fjn),pjn=(n,i)=>hjn(n).subscribe(i);async function gjn(n){const i=Object.assign({setupRetry:0,createSocket:VPn},n),a=await i.createSocket(i);return new WPn(a,i)}const sGt="cafe_hass_config";function bjn(){try{const n=localStorage.getItem(sGt);if(n)return JSON.parse(n)}catch{}return{url:"",token:""}}function mjn(n){try{localStorage.setItem(sGt,JSON.stringify(n))}catch{}}const aGt=z.createContext(void 0),b9t=({children:n,forceMode:i,externalHass:a})=>{const[c,d]=z.useState(i?bjn():{url:"",token:""}),[g,b]=z.useState([]),[w,E]=z.useState({}),[S,k]=z.useState(new Map),[_,C]=z.useState(new Map),[R,M]=z.useState(!1),[D,B]=z.useState(null),[F,$]=z.useState(null),P=!!(c.url&&c.token),H=i==="remote",Q=z.useCallback($e=>{d($e),mjn($e),b([]),E({}),k(new Map),C(new Map),B(null)},[]);z.useEffect(()=>{if(!H)return;const Te=(async()=>{M(!0),B(null);try{const ke=XPn(c.url,c.token),Je=await gjn({auth:ke});$(Je),Je.addEventListener("ready",()=>{B(null),M(!1)}),Je.addEventListener("disconnected",()=>{B("Connection lost")}),Je.addEventListener("reconnect-error",At=>{console.error("C.A.F.E.: WebSocket reconnection failed:",At),B("Reconnection failed")});const bt=pjn(Je,At=>{const ft=Object.values(At).map(Kt=>({entity_id:Kt.entity_id,state:Kt.state,attributes:Kt.attributes||{},last_changed:Kt.last_changed||"",last_updated:Kt.last_updated||"",context:Kt.context}));b(ft),M(!1)}),qe=ajn(Je,At=>{E(At)});return(async()=>{try{const At=await Je.sendMessagePromise({type:"config/device_registry/list"}),ft=new Map;for(const It of At)ft.set(It.id,It);k(ft);const Kt=await Je.sendMessagePromise({type:"config/entity_registry/list"}),kt=new Map;for(const It of Kt)kt.set(It.entity_id,It);C(kt)}catch(At){console.error("C.A.F.E.: Failed to fetch registries:",At)}})(),()=>{bt(),qe(),Je.close(),$(null)}}catch(ke){console.error("C.A.F.E.: Failed to establish WebSocket connection:",ke);const Je=ke instanceof Error?ke.message:"Connection failed";B(Je),M(!1)}})();return()=>{Te instanceof Promise&&Te.then(ke=>ke==null?void 0:ke())}},[H,c.url,c.token]),z.useEffect(()=>{if(!(a!=null&&a.connection))return;(async()=>{try{const Te=await a.connection.sendMessagePromise({type:"config/device_registry/list"}),ke=new Map;for(const qe of Te)ke.set(qe.id,qe);k(ke);const Je=await a.connection.sendMessagePromise({type:"config/entity_registry/list"}),bt=new Map;for(const qe of Je)bt.set(qe.entity_id,qe);C(bt)}catch(Te){console.error("C.A.F.E.: Failed to fetch registries from externalHass:",Te)}})()},[a==null?void 0:a.connection]);const re=z.useRef({}),ee=z.useRef({}),ae=z.useRef({});re.current=z.useMemo(()=>Object.fromEntries(g.map($e=>[$e.entity_id,$e])),[g]),ee.current=w,ae.current=z.useMemo(()=>Object.fromEntries(S),[S]);const he=z.useMemo(()=>{if(a)return a;if(F&&H)return{auth:null,get connected(){return F.connected},config:{},themes:{darkMode:!1},panels:{},selectedTheme:null,panelUrl:"",language:"en",locale:{},selectedLanguage:null,resources:{},get devices(){return ae.current},localize:()=>"",translationMetadata:{fragments:[],translations:{}},dockedSidebar:!1,moreInfoEntityId:"",user:null,fetchWithAuth:async()=>new Response,sendWS:async(...$e)=>{F.sendMessage(...$e)},callWS:$e=>F.sendMessagePromise($e),get states(){return re.current},get services(){return ee.current},connection:F,callApi:async($e,Te,ke)=>{if(!c.url||!c.token)throw new Error("No authentication configured");const Je=`${c.url}/api/${Te}`,bt=await fetch(Je,{method:$e,headers:{Authorization:`Bearer ${c.token}`,"Content-Type":"application/json"},body:ke?JSON.stringify(ke):void 0});if(!bt.ok){const qe=await bt.json();throw new Error(`API error: ${qe.message}`)}return await bt.json()},callService:async($e,Te,ke)=>{if(!F)throw new Error("WebSocket connection not available");return F.sendMessagePromise({type:"call_service",domain:$e,service:Te,service_data:ke||{}})}}},[a,H,F,c.url,c.token]),ve=z.useMemo(()=>H?g:Object.values((he==null?void 0:he.states)??{}),[H,g,he==null?void 0:he.states]),de=z.useMemo(()=>H?w:(he==null?void 0:he.services)??{},[H,w,he==null?void 0:he.services]),ge=z.useCallback($e=>ve.filter(Te=>Te.entity_id.startsWith(`${$e}.`)),[ve]),Y=z.useCallback(()=>{const $e=[];for(const[Te,ke]of Object.entries(de))for(const[Je,bt]of Object.entries(ke))$e.push({domain:Te,service:Je,definition:bt});return $e},[de]),fe=z.useCallback($e=>{var Je;if(!$e||!$e.includes("."))return null;const[Te,ke]=$e.split(".");return((Je=de[Te])==null?void 0:Je[ke])||null},[de]),De=z.useCallback($e=>{const Te=_.get($e);if(!(Te!=null&&Te.device_id))return null;const ke=S.get(Te.device_id);return ke&&(ke.name_by_user||ke.name)||null},[_,S]),Se={hass:he,isRemote:H,isLoading:H&&P?R:!1,connectionError:H?D:null,entities:ve,services:de,config:c,setConfig:Q,getEntitiesByDomain:ge,getAllServices:Y,getServiceDefinition:fe,getDeviceNameForEntity:De};return O.jsx(aGt.Provider,{value:Se,children:n})};function Gm(){const n=z.useContext(aGt);if(n===void 0)throw new Error("useHass must be used within a HassProvider");return n}function tae(){var c;const{hass:n}=Gm(),[i,a]=z.useState(((c=n==null?void 0:n.themes)==null?void 0:c.darkMode)??!1);return z.useEffect(()=>{var d,g;if(yf.debug("[C.A.F.E.] useDarkMode effect running",{hasHass:!!n,hasStates:!!(n!=null&&n.states&&Object.keys(n.states).length>0),hasThemes:!!(n!=null&&n.themes),darkMode:(d=n==null?void 0:n.themes)==null?void 0:d.darkMode}),((g=n==null?void 0:n.themes)==null?void 0:g.darkMode)!==void 0){const b=n.themes.darkMode;yf.debug("[C.A.F.E.] Dark mode from hass.themes.darkMode:",b),a(b)}else n&&Object.keys(n.states||{}).length>0?(yf.debug("[C.A.F.E.] Hass available but no themes.darkMode property, defaulting to light mode"),a(!1)):yf.debug("[C.A.F.E.] Hass not available yet or no entities loaded")},[n]),i}function cn(n,i,a){function c(w,E){if(w._zod||Object.defineProperty(w,"_zod",{value:{def:E,constr:b,traits:new Set},enumerable:!1}),w._zod.traits.has(n))return;w._zod.traits.add(n),i(w,E);const S=b.prototype,k=Object.keys(S);for(let _=0;_<k.length;_++){const C=k[_];C in w||(w[C]=S[C].bind(w))}}const d=(a==null?void 0:a.Parent)??Object;class g extends d{}Object.defineProperty(g,"name",{value:n});function b(w){var E;const S=a!=null&&a.Parent?new g:this;c(S,w),(E=S._zod).deferred??(E.deferred=[]);for(const k of S._zod.deferred)k();return S}return Object.defineProperty(b,"init",{value:c}),Object.defineProperty(b,Symbol.hasInstance,{value:w=>{var E,S;return a!=null&&a.Parent&&w instanceof a.Parent?!0:(S=(E=w==null?void 0:w._zod)==null?void 0:E.traits)==null?void 0:S.has(n)}}),Object.defineProperty(b,"name",{value:n}),b}class t5 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class uGt extends Error{constructor(i){super(`Encountered unidirectional transform during encode: ${i}`),this.name="ZodEncodeError"}}const cGt={};function rN(n){return cGt}function lGt(n){const i=Object.values(n).filter(c=>typeof c=="number");return Object.entries(n).filter(([c,d])=>i.indexOf(+c)===-1).map(([c,d])=>d)}function uDe(n,i){return typeof i=="bigint"?i.toString():i}function nae(n){return{get value(){{const i=n();return Object.defineProperty(this,"value",{value:i}),i}}}}function _Me(n){return n==null}function kMe(n){const i=n.startsWith("^")?1:0,a=n.endsWith("$")?n.length-1:n.length;return n.slice(i,a)}function wjn(n,i){const a=(n.toString().split(".")[1]||"").length,c=i.toString();let d=(c.split(".")[1]||"").length;if(d===0&&/\d?e-\d?/.test(c)){const E=c.match(/\d?e-(\d?)/);E!=null&&E[1]&&(d=Number.parseInt(E[1]))}const g=a>d?a:d,b=Number.parseInt(n.toFixed(g).replace(".","")),w=Number.parseInt(i.toFixed(g).replace(".",""));return b%w/10**g}const m9t=Symbol("evaluating");function Ys(n,i,a){let c;Object.defineProperty(n,i,{get(){if(c!==m9t)return c===void 0&&(c=m9t,c=a()),c},set(d){Object.defineProperty(n,i,{value:d})},configurable:!0})}function kR(n,i,a){Object.defineProperty(n,i,{value:a,writable:!0,enumerable:!0,configurable:!0})}function mN(...n){const i={};for(const a of n){const c=Object.getOwnPropertyDescriptors(a);Object.assign(i,c)}return Object.defineProperties({},i)}function w9t(n){return JSON.stringify(n)}function yjn(n){return n.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const dGt="captureStackTrace"in Error?Error.captureStackTrace:(...n)=>{};function ZH(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}const vjn=nae(()=>{var n;if(typeof navigator<"u"&&((n=navigator==null?void 0:navigator.userAgent)!=null&&n.includes("Cloudflare")))return!1;try{const i=Function;return new i(""),!0}catch{return!1}});function A5(n){if(ZH(n)===!1)return!1;const i=n.constructor;if(i===void 0||typeof i!="function")return!0;const a=i.prototype;return!(ZH(a)===!1||Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)}function fGt(n){return A5(n)?{...n}:Array.isArray(n)?[...n]:n}const Ejn=new Set(["string","number","symbol"]);function _5(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function wN(n,i,a){const c=new n._zod.constr(i??n._zod.def);return(!i||a!=null&&a.parent)&&(c._zod.parent=n),c}function wi(n){const i=n;if(!i)return{};if(typeof i=="string")return{error:()=>i};if((i==null?void 0:i.message)!==void 0){if((i==null?void 0:i.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");i.error=i.message}return delete i.message,typeof i.error=="string"?{...i,error:()=>i.error}:i}function Sjn(n){return Object.keys(n).filter(i=>n[i]._zod.optin==="optional"&&n[i]._zod.optout==="optional")}const Tjn={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Ajn(n,i){const a=n._zod.def,c=a.checks;if(c&&c.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const g=mN(n._zod.def,{get shape(){const b={};for(const w in i){if(!(w in a.shape))throw new Error(`Unrecognized key: "${w}"`);i[w]&&(b[w]=a.shape[w])}return kR(this,"shape",b),b},checks:[]});return wN(n,g)}function _jn(n,i){const a=n._zod.def,c=a.checks;if(c&&c.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const g=mN(n._zod.def,{get shape(){const b={...n._zod.def.shape};for(const w in i){if(!(w in a.shape))throw new Error(`Unrecognized key: "${w}"`);i[w]&&delete b[w]}return kR(this,"shape",b),b},checks:[]});return wN(n,g)}function kjn(n,i){if(!A5(i))throw new Error("Invalid input to extend: expected a plain object");const a=n._zod.def.checks;if(a&&a.length>0){const g=n._zod.def.shape;for(const b in i)if(Object.getOwnPropertyDescriptor(g,b)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const d=mN(n._zod.def,{get shape(){const g={...n._zod.def.shape,...i};return kR(this,"shape",g),g}});return wN(n,d)}function xjn(n,i){if(!A5(i))throw new Error("Invalid input to safeExtend: expected a plain object");const a=mN(n._zod.def,{get shape(){const c={...n._zod.def.shape,...i};return kR(this,"shape",c),c}});return wN(n,a)}function Njn(n,i){const a=mN(n._zod.def,{get shape(){const c={...n._zod.def.shape,...i._zod.def.shape};return kR(this,"shape",c),c},get catchall(){return i._zod.def.catchall},checks:[]});return wN(n,a)}function Cjn(n,i,a){const d=i._zod.def.checks;if(d&&d.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const b=mN(i._zod.def,{get shape(){const w=i._zod.def.shape,E={...w};if(a)for(const S in a){if(!(S in w))throw new Error(`Unrecognized key: "${S}"`);a[S]&&(E[S]=n?new n({type:"optional",innerType:w[S]}):w[S])}else for(const S in w)E[S]=n?new n({type:"optional",innerType:w[S]}):w[S];return kR(this,"shape",E),E},checks:[]});return wN(i,b)}function Ijn(n,i,a){const c=mN(i._zod.def,{get shape(){const d=i._zod.def.shape,g={...d};if(a)for(const b in a){if(!(b in g))throw new Error(`Unrecognized key: "${b}"`);a[b]&&(g[b]=new n({type:"nonoptional",innerType:d[b]}))}else for(const b in d)g[b]=new n({type:"nonoptional",innerType:d[b]});return kR(this,"shape",g),g}});return wN(i,c)}function HM(n,i=0){var a;if(n.aborted===!0)return!0;for(let c=i;c<n.issues.length;c++)if(((a=n.issues[c])==null?void 0:a.continue)!==!0)return!0;return!1}function zM(n,i){return i.map(a=>{var c;return(c=a).path??(c.path=[]),a.path.unshift(n),a})}function wie(n){return typeof n=="string"?n:n==null?void 0:n.message}function iN(n,i,a){var d,g,b,w,E,S;const c={...n,path:n.path??[]};if(!n.message){const k=wie((b=(g=(d=n.inst)==null?void 0:d._zod.def)==null?void 0:g.error)==null?void 0:b.call(g,n))??wie((w=i==null?void 0:i.error)==null?void 0:w.call(i,n))??wie((E=a.customError)==null?void 0:E.call(a,n))??wie((S=a.localeError)==null?void 0:S.call(a,n))??"Invalid input";c.message=k}return delete c.inst,delete c.continue,i!=null&&i.reportInput||delete c.input,c}function xMe(n){return Array.isArray(n)?"array":typeof n=="string"?"string":"unknown"}function QH(...n){const[i,a,c]=n;return typeof i=="string"?{message:i,code:"custom",input:a,inst:c}:{...i}}const hGt=(n,i)=>{n.name="$ZodError",Object.defineProperty(n,"_zod",{value:n._zod,enumerable:!1}),Object.defineProperty(n,"issues",{value:i,enumerable:!1}),n.message=JSON.stringify(i,uDe,2),Object.defineProperty(n,"toString",{value:()=>n.message,enumerable:!1})},pGt=cn("$ZodError",hGt),gGt=cn("$ZodError",hGt,{Parent:Error});function Rjn(n,i=a=>a.message){const a={},c=[];for(const d of n.issues)d.path.length>0?(a[d.path[0]]=a[d.path[0]]||[],a[d.path[0]].push(i(d))):c.push(i(d));return{formErrors:c,fieldErrors:a}}function Ojn(n,i=a=>a.message){const a={_errors:[]},c=d=>{for(const g of d.issues)if(g.code==="invalid_union"&&g.errors.length)g.errors.map(b=>c({issues:b}));else if(g.code==="invalid_key")c({issues:g.issues});else if(g.code==="invalid_element")c({issues:g.issues});else if(g.path.length===0)a._errors.push(i(g));else{let b=a,w=0;for(;w<g.path.length;){const E=g.path[w];w===g.path.length-1?(b[E]=b[E]||{_errors:[]},b[E]._errors.push(i(g))):b[E]=b[E]||{_errors:[]},b=b[E],w++}}};return c(n),a}const NMe=n=>(i,a,c,d)=>{const g=c?Object.assign(c,{async:!1}):{async:!1},b=i._zod.run({value:a,issues:[]},g);if(b instanceof Promise)throw new t5;if(b.issues.length){const w=new((d==null?void 0:d.Err)??n)(b.issues.map(E=>iN(E,g,rN())));throw dGt(w,d==null?void 0:d.callee),w}return b.value},CMe=n=>async(i,a,c,d)=>{const g=c?Object.assign(c,{async:!0}):{async:!0};let b=i._zod.run({value:a,issues:[]},g);if(b instanceof Promise&&(b=await b),b.issues.length){const w=new((d==null?void 0:d.Err)??n)(b.issues.map(E=>iN(E,g,rN())));throw dGt(w,d==null?void 0:d.callee),w}return b.value},rae=n=>(i,a,c)=>{const d=c?{...c,async:!1}:{async:!1},g=i._zod.run({value:a,issues:[]},d);if(g instanceof Promise)throw new t5;return g.issues.length?{success:!1,error:new(n??pGt)(g.issues.map(b=>iN(b,d,rN())))}:{success:!0,data:g.value}},Djn=rae(gGt),iae=n=>async(i,a,c)=>{const d=c?Object.assign(c,{async:!0}):{async:!0};let g=i._zod.run({value:a,issues:[]},d);return g instanceof Promise&&(g=await g),g.issues.length?{success:!1,error:new n(g.issues.map(b=>iN(b,d,rN())))}:{success:!0,data:g.value}},Ljn=iae(gGt),Mjn=n=>(i,a,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return NMe(n)(i,a,d)},Pjn=n=>(i,a,c)=>NMe(n)(i,a,c),jjn=n=>async(i,a,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return CMe(n)(i,a,d)},Fjn=n=>async(i,a,c)=>CMe(n)(i,a,c),$jn=n=>(i,a,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return rae(n)(i,a,d)},Bjn=n=>(i,a,c)=>rae(n)(i,a,c),Ujn=n=>async(i,a,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return iae(n)(i,a,d)},Hjn=n=>async(i,a,c)=>iae(n)(i,a,c),zjn=/^[cC][^\s-]{8,}$/,Gjn=/^[0-9a-z]+$/,qjn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Vjn=/^[0-9a-vA-V]{20}$/,Wjn=/^[A-Za-z0-9]{27}$/,Kjn=/^[a-zA-Z0-9_-]{21}$/,Yjn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Jjn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,y9t=n=>n?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${n}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Xjn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Zjn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Qjn(){return new RegExp(Zjn,"u")}const e7n=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,t7n=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,n7n=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,r7n=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,i7n=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,bGt=/^[A-Za-z0-9_-]*$/,o7n=/^\+[1-9]\d{6,14}$/,mGt="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",s7n=new RegExp(`^${mGt}$`);function wGt(n){const i="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof n.precision=="number"?n.precision===-1?`${i}`:n.precision===0?`${i}:[0-5]\\d`:`${i}:[0-5]\\d\\.\\d{${n.precision}}`:`${i}(?::[0-5]\\d(?:\\.\\d+)?)?`}function a7n(n){return new RegExp(`^${wGt(n)}$`)}function u7n(n){const i=wGt({precision:n.precision}),a=["Z"];n.local&&a.push(""),n.offset&&a.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const c=`${i}(?:${a.join("|")})`;return new RegExp(`^${mGt}T(?:${c})$`)}const c7n=n=>{const i=n?`[\\s\\S]{${(n==null?void 0:n.minimum)??0},${(n==null?void 0:n.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${i}$`)},l7n=/^-?\d+$/,yGt=/^-?\d+(?:\.\d+)?$/,d7n=/^(?:true|false)$/i,f7n=/^null$/i,h7n=/^[^A-Z]*$/,p7n=/^[^a-z]*$/,fb=cn("$ZodCheck",(n,i)=>{var a;n._zod??(n._zod={}),n._zod.def=i,(a=n._zod).onattach??(a.onattach=[])}),vGt={number:"number",bigint:"bigint",object:"date"},EGt=cn("$ZodCheckLessThan",(n,i)=>{fb.init(n,i);const a=vGt[typeof i.value];n._zod.onattach.push(c=>{const d=c._zod.bag,g=(i.inclusive?d.maximum:d.exclusiveMaximum)??Number.POSITIVE_INFINITY;i.value<g&&(i.inclusive?d.maximum=i.value:d.exclusiveMaximum=i.value)}),n._zod.check=c=>{(i.inclusive?c.value<=i.value:c.value<i.value)||c.issues.push({origin:a,code:"too_big",maximum:typeof i.value=="object"?i.value.getTime():i.value,input:c.value,inclusive:i.inclusive,inst:n,continue:!i.abort})}}),SGt=cn("$ZodCheckGreaterThan",(n,i)=>{fb.init(n,i);const a=vGt[typeof i.value];n._zod.onattach.push(c=>{const d=c._zod.bag,g=(i.inclusive?d.minimum:d.exclusiveMinimum)??Number.NEGATIVE_INFINITY;i.value>g&&(i.inclusive?d.minimum=i.value:d.exclusiveMinimum=i.value)}),n._zod.check=c=>{(i.inclusive?c.value>=i.value:c.value>i.value)||c.issues.push({origin:a,code:"too_small",minimum:typeof i.value=="object"?i.value.getTime():i.value,input:c.value,inclusive:i.inclusive,inst:n,continue:!i.abort})}}),g7n=cn("$ZodCheckMultipleOf",(n,i)=>{fb.init(n,i),n._zod.onattach.push(a=>{var c;(c=a._zod.bag).multipleOf??(c.multipleOf=i.value)}),n._zod.check=a=>{if(typeof a.value!=typeof i.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof a.value=="bigint"?a.value%i.value===BigInt(0):wjn(a.value,i.value)===0)||a.issues.push({origin:typeof a.value,code:"not_multiple_of",divisor:i.value,input:a.value,inst:n,continue:!i.abort})}}),b7n=cn("$ZodCheckNumberFormat",(n,i)=>{var b;fb.init(n,i),i.format=i.format||"float64";const a=(b=i.format)==null?void 0:b.includes("int"),c=a?"int":"number",[d,g]=Tjn[i.format];n._zod.onattach.push(w=>{const E=w._zod.bag;E.format=i.format,E.minimum=d,E.maximum=g,a&&(E.pattern=l7n)}),n._zod.check=w=>{const E=w.value;if(a){if(!Number.isInteger(E)){w.issues.push({expected:c,format:i.format,code:"invalid_type",continue:!1,input:E,inst:n});return}if(!Number.isSafeInteger(E)){E>0?w.issues.push({input:E,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:n,origin:c,inclusive:!0,continue:!i.abort}):w.issues.push({input:E,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:n,origin:c,inclusive:!0,continue:!i.abort});return}}E<d&&w.issues.push({origin:"number",input:E,code:"too_small",minimum:d,inclusive:!0,inst:n,continue:!i.abort}),E>g&&w.issues.push({origin:"number",input:E,code:"too_big",maximum:g,inclusive:!0,inst:n,continue:!i.abort})}}),m7n=cn("$ZodCheckMaxLength",(n,i)=>{var a;fb.init(n,i),(a=n._zod.def).when??(a.when=c=>{const d=c.value;return!_Me(d)&&d.length!==void 0}),n._zod.onattach.push(c=>{const d=c._zod.bag.maximum??Number.POSITIVE_INFINITY;i.maximum<d&&(c._zod.bag.maximum=i.maximum)}),n._zod.check=c=>{const d=c.value;if(d.length<=i.maximum)return;const b=xMe(d);c.issues.push({origin:b,code:"too_big",maximum:i.maximum,inclusive:!0,input:d,inst:n,continue:!i.abort})}}),w7n=cn("$ZodCheckMinLength",(n,i)=>{var a;fb.init(n,i),(a=n._zod.def).when??(a.when=c=>{const d=c.value;return!_Me(d)&&d.length!==void 0}),n._zod.onattach.push(c=>{const d=c._zod.bag.minimum??Number.NEGATIVE_INFINITY;i.minimum>d&&(c._zod.bag.minimum=i.minimum)}),n._zod.check=c=>{const d=c.value;if(d.length>=i.minimum)return;const b=xMe(d);c.issues.push({origin:b,code:"too_small",minimum:i.minimum,inclusive:!0,input:d,inst:n,continue:!i.abort})}}),y7n=cn("$ZodCheckLengthEquals",(n,i)=>{var a;fb.init(n,i),(a=n._zod.def).when??(a.when=c=>{const d=c.value;return!_Me(d)&&d.length!==void 0}),n._zod.onattach.push(c=>{const d=c._zod.bag;d.minimum=i.length,d.maximum=i.length,d.length=i.length}),n._zod.check=c=>{const d=c.value,g=d.length;if(g===i.length)return;const b=xMe(d),w=g>i.length;c.issues.push({origin:b,...w?{code:"too_big",maximum:i.length}:{code:"too_small",minimum:i.length},inclusive:!0,exact:!0,input:c.value,inst:n,continue:!i.abort})}}),oae=cn("$ZodCheckStringFormat",(n,i)=>{var a,c;fb.init(n,i),n._zod.onattach.push(d=>{const g=d._zod.bag;g.format=i.format,i.pattern&&(g.patterns??(g.patterns=new Set),g.patterns.add(i.pattern))}),i.pattern?(a=n._zod).check??(a.check=d=>{i.pattern.lastIndex=0,!i.pattern.test(d.value)&&d.issues.push({origin:"string",code:"invalid_format",format:i.format,input:d.value,...i.pattern?{pattern:i.pattern.toString()}:{},inst:n,continue:!i.abort})}):(c=n._zod).check??(c.check=()=>{})}),v7n=cn("$ZodCheckRegex",(n,i)=>{oae.init(n,i),n._zod.check=a=>{i.pattern.lastIndex=0,!i.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:"regex",input:a.value,pattern:i.pattern.toString(),inst:n,continue:!i.abort})}}),E7n=cn("$ZodCheckLowerCase",(n,i)=>{i.pattern??(i.pattern=h7n),oae.init(n,i)}),S7n=cn("$ZodCheckUpperCase",(n,i)=>{i.pattern??(i.pattern=p7n),oae.init(n,i)}),T7n=cn("$ZodCheckIncludes",(n,i)=>{fb.init(n,i);const a=_5(i.includes),c=new RegExp(typeof i.position=="number"?`^.{${i.position}}${a}`:a);i.pattern=c,n._zod.onattach.push(d=>{const g=d._zod.bag;g.patterns??(g.patterns=new Set),g.patterns.add(c)}),n._zod.check=d=>{d.value.includes(i.includes,i.position)||d.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:i.includes,input:d.value,inst:n,continue:!i.abort})}}),A7n=cn("$ZodCheckStartsWith",(n,i)=>{fb.init(n,i);const a=new RegExp(`^${_5(i.prefix)}.*`);i.pattern??(i.pattern=a),n._zod.onattach.push(c=>{const d=c._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(a)}),n._zod.check=c=>{c.value.startsWith(i.prefix)||c.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:i.prefix,input:c.value,inst:n,continue:!i.abort})}}),_7n=cn("$ZodCheckEndsWith",(n,i)=>{fb.init(n,i);const a=new RegExp(`.*${_5(i.suffix)}$`);i.pattern??(i.pattern=a),n._zod.onattach.push(c=>{const d=c._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(a)}),n._zod.check=c=>{c.value.endsWith(i.suffix)||c.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:i.suffix,input:c.value,inst:n,continue:!i.abort})}}),k7n=cn("$ZodCheckOverwrite",(n,i)=>{fb.init(n,i),n._zod.check=a=>{a.value=i.tx(a.value)}});class x7n{constructor(i=[]){this.content=[],this.indent=0,this&&(this.args=i)}indented(i){this.indent+=1,i(this),this.indent-=1}write(i){if(typeof i=="function"){i(this,{execution:"sync"}),i(this,{execution:"async"});return}const c=i.split(`
|
||
`).filter(b=>b),d=Math.min(...c.map(b=>b.length-b.trimStart().length)),g=c.map(b=>b.slice(d)).map(b=>" ".repeat(this.indent*2)+b);for(const b of g)this.content.push(b)}compile(){const i=Function,a=this==null?void 0:this.args,d=[...((this==null?void 0:this.content)??[""]).map(g=>` ${g}`)];return new i(...a,d.join(`
|
||
`))}}const N7n={major:4,minor:3,patch:5},Wu=cn("$ZodType",(n,i)=>{var d;var a;n??(n={}),n._zod.def=i,n._zod.bag=n._zod.bag||{},n._zod.version=N7n;const c=[...n._zod.def.checks??[]];n._zod.traits.has("$ZodCheck")&&c.unshift(n);for(const g of c)for(const b of g._zod.onattach)b(n);if(c.length===0)(a=n._zod).deferred??(a.deferred=[]),(d=n._zod.deferred)==null||d.push(()=>{n._zod.run=n._zod.parse});else{const g=(w,E,S)=>{let k=HM(w),_;for(const C of E){if(C._zod.def.when){if(!C._zod.def.when(w))continue}else if(k)continue;const R=w.issues.length,M=C._zod.check(w);if(M instanceof Promise&&(S==null?void 0:S.async)===!1)throw new t5;if(_||M instanceof Promise)_=(_??Promise.resolve()).then(async()=>{await M,w.issues.length!==R&&(k||(k=HM(w,R)))});else{if(w.issues.length===R)continue;k||(k=HM(w,R))}}return _?_.then(()=>w):w},b=(w,E,S)=>{if(HM(w))return w.aborted=!0,w;const k=g(E,c,S);if(k instanceof Promise){if(S.async===!1)throw new t5;return k.then(_=>n._zod.parse(_,S))}return n._zod.parse(k,S)};n._zod.run=(w,E)=>{if(E.skipChecks)return n._zod.parse(w,E);if(E.direction==="backward"){const k=n._zod.parse({value:w.value,issues:[]},{...E,skipChecks:!0});return k instanceof Promise?k.then(_=>b(_,w,E)):b(k,w,E)}const S=n._zod.parse(w,E);if(S instanceof Promise){if(E.async===!1)throw new t5;return S.then(k=>g(k,c,E))}return g(S,c,E)}}Ys(n,"~standard",()=>({validate:g=>{var b;try{const w=Djn(n,g);return w.success?{value:w.data}:{issues:(b=w.error)==null?void 0:b.issues}}catch{return Ljn(n,g).then(E=>{var S;return E.success?{value:E.data}:{issues:(S=E.error)==null?void 0:S.issues}})}},vendor:"zod",version:1}))}),IMe=cn("$ZodString",(n,i)=>{var a;Wu.init(n,i),n._zod.pattern=[...((a=n==null?void 0:n._zod.bag)==null?void 0:a.patterns)??[]].pop()??c7n(n._zod.bag),n._zod.parse=(c,d)=>{if(i.coerce)try{c.value=String(c.value)}catch{}return typeof c.value=="string"||c.issues.push({expected:"string",code:"invalid_type",input:c.value,inst:n}),c}}),Pc=cn("$ZodStringFormat",(n,i)=>{oae.init(n,i),IMe.init(n,i)}),C7n=cn("$ZodGUID",(n,i)=>{i.pattern??(i.pattern=Jjn),Pc.init(n,i)}),I7n=cn("$ZodUUID",(n,i)=>{if(i.version){const c={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[i.version];if(c===void 0)throw new Error(`Invalid UUID version: "${i.version}"`);i.pattern??(i.pattern=y9t(c))}else i.pattern??(i.pattern=y9t());Pc.init(n,i)}),R7n=cn("$ZodEmail",(n,i)=>{i.pattern??(i.pattern=Xjn),Pc.init(n,i)}),O7n=cn("$ZodURL",(n,i)=>{Pc.init(n,i),n._zod.check=a=>{try{const c=a.value.trim(),d=new URL(c);i.hostname&&(i.hostname.lastIndex=0,i.hostname.test(d.hostname)||a.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:i.hostname.source,input:a.value,inst:n,continue:!i.abort})),i.protocol&&(i.protocol.lastIndex=0,i.protocol.test(d.protocol.endsWith(":")?d.protocol.slice(0,-1):d.protocol)||a.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:i.protocol.source,input:a.value,inst:n,continue:!i.abort})),i.normalize?a.value=d.href:a.value=c;return}catch{a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:n,continue:!i.abort})}}}),D7n=cn("$ZodEmoji",(n,i)=>{i.pattern??(i.pattern=Qjn()),Pc.init(n,i)}),L7n=cn("$ZodNanoID",(n,i)=>{i.pattern??(i.pattern=Kjn),Pc.init(n,i)}),M7n=cn("$ZodCUID",(n,i)=>{i.pattern??(i.pattern=zjn),Pc.init(n,i)}),P7n=cn("$ZodCUID2",(n,i)=>{i.pattern??(i.pattern=Gjn),Pc.init(n,i)}),j7n=cn("$ZodULID",(n,i)=>{i.pattern??(i.pattern=qjn),Pc.init(n,i)}),F7n=cn("$ZodXID",(n,i)=>{i.pattern??(i.pattern=Vjn),Pc.init(n,i)}),$7n=cn("$ZodKSUID",(n,i)=>{i.pattern??(i.pattern=Wjn),Pc.init(n,i)}),B7n=cn("$ZodISODateTime",(n,i)=>{i.pattern??(i.pattern=u7n(i)),Pc.init(n,i)}),U7n=cn("$ZodISODate",(n,i)=>{i.pattern??(i.pattern=s7n),Pc.init(n,i)}),H7n=cn("$ZodISOTime",(n,i)=>{i.pattern??(i.pattern=a7n(i)),Pc.init(n,i)}),z7n=cn("$ZodISODuration",(n,i)=>{i.pattern??(i.pattern=Yjn),Pc.init(n,i)}),G7n=cn("$ZodIPv4",(n,i)=>{i.pattern??(i.pattern=e7n),Pc.init(n,i),n._zod.bag.format="ipv4"}),q7n=cn("$ZodIPv6",(n,i)=>{i.pattern??(i.pattern=t7n),Pc.init(n,i),n._zod.bag.format="ipv6",n._zod.check=a=>{try{new URL(`http://[${a.value}]`)}catch{a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:n,continue:!i.abort})}}}),V7n=cn("$ZodCIDRv4",(n,i)=>{i.pattern??(i.pattern=n7n),Pc.init(n,i)}),W7n=cn("$ZodCIDRv6",(n,i)=>{i.pattern??(i.pattern=r7n),Pc.init(n,i),n._zod.check=a=>{const c=a.value.split("/");try{if(c.length!==2)throw new Error;const[d,g]=c;if(!g)throw new Error;const b=Number(g);if(`${b}`!==g)throw new Error;if(b<0||b>128)throw new Error;new URL(`http://[${d}]`)}catch{a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:n,continue:!i.abort})}}});function TGt(n){if(n==="")return!0;if(n.length%4!==0)return!1;try{return atob(n),!0}catch{return!1}}const K7n=cn("$ZodBase64",(n,i)=>{i.pattern??(i.pattern=i7n),Pc.init(n,i),n._zod.bag.contentEncoding="base64",n._zod.check=a=>{TGt(a.value)||a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:n,continue:!i.abort})}});function Y7n(n){if(!bGt.test(n))return!1;const i=n.replace(/[-_]/g,c=>c==="-"?"+":"/"),a=i.padEnd(Math.ceil(i.length/4)*4,"=");return TGt(a)}const J7n=cn("$ZodBase64URL",(n,i)=>{i.pattern??(i.pattern=bGt),Pc.init(n,i),n._zod.bag.contentEncoding="base64url",n._zod.check=a=>{Y7n(a.value)||a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:n,continue:!i.abort})}}),X7n=cn("$ZodE164",(n,i)=>{i.pattern??(i.pattern=o7n),Pc.init(n,i)});function Z7n(n,i=null){try{const a=n.split(".");if(a.length!==3)return!1;const[c]=a;if(!c)return!1;const d=JSON.parse(atob(c));return!("typ"in d&&(d==null?void 0:d.typ)!=="JWT"||!d.alg||i&&(!("alg"in d)||d.alg!==i))}catch{return!1}}const Q7n=cn("$ZodJWT",(n,i)=>{Pc.init(n,i),n._zod.check=a=>{Z7n(a.value,i.alg)||a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:n,continue:!i.abort})}}),AGt=cn("$ZodNumber",(n,i)=>{Wu.init(n,i),n._zod.pattern=n._zod.bag.pattern??yGt,n._zod.parse=(a,c)=>{if(i.coerce)try{a.value=Number(a.value)}catch{}const d=a.value;if(typeof d=="number"&&!Number.isNaN(d)&&Number.isFinite(d))return a;const g=typeof d=="number"?Number.isNaN(d)?"NaN":Number.isFinite(d)?void 0:"Infinity":void 0;return a.issues.push({expected:"number",code:"invalid_type",input:d,inst:n,...g?{received:g}:{}}),a}}),eFn=cn("$ZodNumberFormat",(n,i)=>{b7n.init(n,i),AGt.init(n,i)}),tFn=cn("$ZodBoolean",(n,i)=>{Wu.init(n,i),n._zod.pattern=d7n,n._zod.parse=(a,c)=>{if(i.coerce)try{a.value=!!a.value}catch{}const d=a.value;return typeof d=="boolean"||a.issues.push({expected:"boolean",code:"invalid_type",input:d,inst:n}),a}}),nFn=cn("$ZodNull",(n,i)=>{Wu.init(n,i),n._zod.pattern=f7n,n._zod.values=new Set([null]),n._zod.parse=(a,c)=>{const d=a.value;return d===null||a.issues.push({expected:"null",code:"invalid_type",input:d,inst:n}),a}}),rFn=cn("$ZodAny",(n,i)=>{Wu.init(n,i),n._zod.parse=a=>a}),iFn=cn("$ZodUnknown",(n,i)=>{Wu.init(n,i),n._zod.parse=a=>a}),oFn=cn("$ZodNever",(n,i)=>{Wu.init(n,i),n._zod.parse=(a,c)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:n}),a)});function v9t(n,i,a){n.issues.length&&i.issues.push(...zM(a,n.issues)),i.value[a]=n.value}const sFn=cn("$ZodArray",(n,i)=>{Wu.init(n,i),n._zod.parse=(a,c)=>{const d=a.value;if(!Array.isArray(d))return a.issues.push({expected:"array",code:"invalid_type",input:d,inst:n}),a;a.value=Array(d.length);const g=[];for(let b=0;b<d.length;b++){const w=d[b],E=i.element._zod.run({value:w,issues:[]},c);E instanceof Promise?g.push(E.then(S=>v9t(S,a,b))):v9t(E,a,b)}return g.length?Promise.all(g).then(()=>a):a}});function Woe(n,i,a,c,d){if(n.issues.length){if(d&&!(a in c))return;i.issues.push(...zM(a,n.issues))}n.value===void 0?a in c&&(i.value[a]=void 0):i.value[a]=n.value}function _Gt(n){var c,d,g,b;const i=Object.keys(n.shape);for(const w of i)if(!((b=(g=(d=(c=n.shape)==null?void 0:c[w])==null?void 0:d._zod)==null?void 0:g.traits)!=null&&b.has("$ZodType")))throw new Error(`Invalid element at key "${w}": expected a Zod schema`);const a=Sjn(n.shape);return{...n,keys:i,keySet:new Set(i),numKeys:i.length,optionalKeys:new Set(a)}}function kGt(n,i,a,c,d,g){const b=[],w=d.keySet,E=d.catchall._zod,S=E.def.type,k=E.optout==="optional";for(const _ in i){if(w.has(_))continue;if(S==="never"){b.push(_);continue}const C=E.run({value:i[_],issues:[]},c);C instanceof Promise?n.push(C.then(R=>Woe(R,a,_,i,k))):Woe(C,a,_,i,k)}return b.length&&a.issues.push({code:"unrecognized_keys",keys:b,input:i,inst:g}),n.length?Promise.all(n).then(()=>a):a}const aFn=cn("$ZodObject",(n,i)=>{Wu.init(n,i);const a=Object.getOwnPropertyDescriptor(i,"shape");if(!(a!=null&&a.get)){const w=i.shape;Object.defineProperty(i,"shape",{get:()=>{const E={...w};return Object.defineProperty(i,"shape",{value:E}),E}})}const c=nae(()=>_Gt(i));Ys(n._zod,"propValues",()=>{const w=i.shape,E={};for(const S in w){const k=w[S]._zod;if(k.values){E[S]??(E[S]=new Set);for(const _ of k.values)E[S].add(_)}}return E});const d=ZH,g=i.catchall;let b;n._zod.parse=(w,E)=>{b??(b=c.value);const S=w.value;if(!d(S))return w.issues.push({expected:"object",code:"invalid_type",input:S,inst:n}),w;w.value={};const k=[],_=b.shape;for(const C of b.keys){const R=_[C],M=R._zod.optout==="optional",D=R._zod.run({value:S[C],issues:[]},E);D instanceof Promise?k.push(D.then(B=>Woe(B,w,C,S,M))):Woe(D,w,C,S,M)}return g?kGt(k,S,w,E,c.value,n):k.length?Promise.all(k).then(()=>w):w}}),uFn=cn("$ZodObjectJIT",(n,i)=>{aFn.init(n,i);const a=n._zod.parse,c=nae(()=>_Gt(i)),d=C=>{var P;const R=new x7n(["shape","payload","ctx"]),M=c.value,D=H=>{const Q=w9t(H);return`shape[${Q}]._zod.run({ value: input[${Q}], issues: [] }, ctx)`};R.write("const input = payload.value;");const B=Object.create(null);let F=0;for(const H of M.keys)B[H]=`key_${F++}`;R.write("const newResult = {};");for(const H of M.keys){const Q=B[H],re=w9t(H),ee=C[H],ae=((P=ee==null?void 0:ee._zod)==null?void 0:P.optout)==="optional";R.write(`const ${Q} = ${D(H)};`),ae?R.write(`
|
||
if (${Q}.issues.length) {
|
||
if (${re} in input) {
|
||
payload.issues = payload.issues.concat(${Q}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${re}, ...iss.path] : [${re}]
|
||
})));
|
||
}
|
||
}
|
||
|
||
if (${Q}.value === undefined) {
|
||
if (${re} in input) {
|
||
newResult[${re}] = undefined;
|
||
}
|
||
} else {
|
||
newResult[${re}] = ${Q}.value;
|
||
}
|
||
|
||
`):R.write(`
|
||
if (${Q}.issues.length) {
|
||
payload.issues = payload.issues.concat(${Q}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${re}, ...iss.path] : [${re}]
|
||
})));
|
||
}
|
||
|
||
if (${Q}.value === undefined) {
|
||
if (${re} in input) {
|
||
newResult[${re}] = undefined;
|
||
}
|
||
} else {
|
||
newResult[${re}] = ${Q}.value;
|
||
}
|
||
|
||
`)}R.write("payload.value = newResult;"),R.write("return payload;");const $=R.compile();return(H,Q)=>$(C,H,Q)};let g;const b=ZH,w=!cGt.jitless,S=w&&vjn.value,k=i.catchall;let _;n._zod.parse=(C,R)=>{_??(_=c.value);const M=C.value;return b(M)?w&&S&&(R==null?void 0:R.async)===!1&&R.jitless!==!0?(g||(g=d(i.shape)),C=g(C,R),k?kGt([],M,C,R,_,n):C):a(C,R):(C.issues.push({expected:"object",code:"invalid_type",input:M,inst:n}),C)}});function E9t(n,i,a,c){for(const g of n)if(g.issues.length===0)return i.value=g.value,i;const d=n.filter(g=>!HM(g));return d.length===1?(i.value=d[0].value,d[0]):(i.issues.push({code:"invalid_union",input:i.value,inst:a,errors:n.map(g=>g.issues.map(b=>iN(b,c,rN())))}),i)}const xGt=cn("$ZodUnion",(n,i)=>{Wu.init(n,i),Ys(n._zod,"optin",()=>i.options.some(d=>d._zod.optin==="optional")?"optional":void 0),Ys(n._zod,"optout",()=>i.options.some(d=>d._zod.optout==="optional")?"optional":void 0),Ys(n._zod,"values",()=>{if(i.options.every(d=>d._zod.values))return new Set(i.options.flatMap(d=>Array.from(d._zod.values)))}),Ys(n._zod,"pattern",()=>{if(i.options.every(d=>d._zod.pattern)){const d=i.options.map(g=>g._zod.pattern);return new RegExp(`^(${d.map(g=>kMe(g.source)).join("|")})$`)}});const a=i.options.length===1,c=i.options[0]._zod.run;n._zod.parse=(d,g)=>{if(a)return c(d,g);let b=!1;const w=[];for(const E of i.options){const S=E._zod.run({value:d.value,issues:[]},g);if(S instanceof Promise)w.push(S),b=!0;else{if(S.issues.length===0)return S;w.push(S)}}return b?Promise.all(w).then(E=>E9t(E,d,n,g)):E9t(w,d,n,g)}}),cFn=cn("$ZodDiscriminatedUnion",(n,i)=>{i.inclusive=!1,xGt.init(n,i);const a=n._zod.parse;Ys(n._zod,"propValues",()=>{const d={};for(const g of i.options){const b=g._zod.propValues;if(!b||Object.keys(b).length===0)throw new Error(`Invalid discriminated union option at index "${i.options.indexOf(g)}"`);for(const[w,E]of Object.entries(b)){d[w]||(d[w]=new Set);for(const S of E)d[w].add(S)}}return d});const c=nae(()=>{var b;const d=i.options,g=new Map;for(const w of d){const E=(b=w._zod.propValues)==null?void 0:b[i.discriminator];if(!E||E.size===0)throw new Error(`Invalid discriminated union option at index "${i.options.indexOf(w)}"`);for(const S of E){if(g.has(S))throw new Error(`Duplicate discriminator value "${String(S)}"`);g.set(S,w)}}return g});n._zod.parse=(d,g)=>{const b=d.value;if(!ZH(b))return d.issues.push({code:"invalid_type",expected:"object",input:b,inst:n}),d;const w=c.value.get(b==null?void 0:b[i.discriminator]);return w?w._zod.run(d,g):i.unionFallback?a(d,g):(d.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:i.discriminator,input:b,path:[i.discriminator],inst:n}),d)}}),lFn=cn("$ZodIntersection",(n,i)=>{Wu.init(n,i),n._zod.parse=(a,c)=>{const d=a.value,g=i.left._zod.run({value:d,issues:[]},c),b=i.right._zod.run({value:d,issues:[]},c);return g instanceof Promise||b instanceof Promise?Promise.all([g,b]).then(([E,S])=>S9t(a,E,S)):S9t(a,g,b)}});function cDe(n,i){if(n===i)return{valid:!0,data:n};if(n instanceof Date&&i instanceof Date&&+n==+i)return{valid:!0,data:n};if(A5(n)&&A5(i)){const a=Object.keys(i),c=Object.keys(n).filter(g=>a.indexOf(g)!==-1),d={...n,...i};for(const g of c){const b=cDe(n[g],i[g]);if(!b.valid)return{valid:!1,mergeErrorPath:[g,...b.mergeErrorPath]};d[g]=b.data}return{valid:!0,data:d}}if(Array.isArray(n)&&Array.isArray(i)){if(n.length!==i.length)return{valid:!1,mergeErrorPath:[]};const a=[];for(let c=0;c<n.length;c++){const d=n[c],g=i[c],b=cDe(d,g);if(!b.valid)return{valid:!1,mergeErrorPath:[c,...b.mergeErrorPath]};a.push(b.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function S9t(n,i,a){const c=new Map;let d;for(const w of i.issues)if(w.code==="unrecognized_keys"){d??(d=w);for(const E of w.keys)c.has(E)||c.set(E,{}),c.get(E).l=!0}else n.issues.push(w);for(const w of a.issues)if(w.code==="unrecognized_keys")for(const E of w.keys)c.has(E)||c.set(E,{}),c.get(E).r=!0;else n.issues.push(w);const g=[...c].filter(([,w])=>w.l&&w.r).map(([w])=>w);if(g.length&&d&&n.issues.push({...d,keys:g}),HM(n))return n;const b=cDe(i.value,a.value);if(!b.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(b.mergeErrorPath)}`);return n.value=b.data,n}const dFn=cn("$ZodRecord",(n,i)=>{Wu.init(n,i),n._zod.parse=(a,c)=>{const d=a.value;if(!A5(d))return a.issues.push({expected:"record",code:"invalid_type",input:d,inst:n}),a;const g=[],b=i.keyType._zod.values;if(b){a.value={};const w=new Set;for(const S of b)if(typeof S=="string"||typeof S=="number"||typeof S=="symbol"){w.add(typeof S=="number"?S.toString():S);const k=i.valueType._zod.run({value:d[S],issues:[]},c);k instanceof Promise?g.push(k.then(_=>{_.issues.length&&a.issues.push(...zM(S,_.issues)),a.value[S]=_.value})):(k.issues.length&&a.issues.push(...zM(S,k.issues)),a.value[S]=k.value)}let E;for(const S in d)w.has(S)||(E=E??[],E.push(S));E&&E.length>0&&a.issues.push({code:"unrecognized_keys",input:d,inst:n,keys:E})}else{a.value={};for(const w of Reflect.ownKeys(d)){if(w==="__proto__")continue;let E=i.keyType._zod.run({value:w,issues:[]},c);if(E instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof w=="string"&&yGt.test(w)&&E.issues.length&&E.issues.some(_=>_.code==="invalid_type"&&_.expected==="number")){const _=i.keyType._zod.run({value:Number(w),issues:[]},c);if(_ instanceof Promise)throw new Error("Async schemas not supported in object keys currently");_.issues.length===0&&(E=_)}if(E.issues.length){i.mode==="loose"?a.value[w]=d[w]:a.issues.push({code:"invalid_key",origin:"record",issues:E.issues.map(_=>iN(_,c,rN())),input:w,path:[w],inst:n});continue}const k=i.valueType._zod.run({value:d[w],issues:[]},c);k instanceof Promise?g.push(k.then(_=>{_.issues.length&&a.issues.push(...zM(w,_.issues)),a.value[E.value]=_.value})):(k.issues.length&&a.issues.push(...zM(w,k.issues)),a.value[E.value]=k.value)}}return g.length?Promise.all(g).then(()=>a):a}}),fFn=cn("$ZodEnum",(n,i)=>{Wu.init(n,i);const a=lGt(i.entries),c=new Set(a);n._zod.values=c,n._zod.pattern=new RegExp(`^(${a.filter(d=>Ejn.has(typeof d)).map(d=>typeof d=="string"?_5(d):d.toString()).join("|")})$`),n._zod.parse=(d,g)=>{const b=d.value;return c.has(b)||d.issues.push({code:"invalid_value",values:a,input:b,inst:n}),d}}),hFn=cn("$ZodLiteral",(n,i)=>{if(Wu.init(n,i),i.values.length===0)throw new Error("Cannot create literal schema with no valid values");const a=new Set(i.values);n._zod.values=a,n._zod.pattern=new RegExp(`^(${i.values.map(c=>typeof c=="string"?_5(c):c?_5(c.toString()):String(c)).join("|")})$`),n._zod.parse=(c,d)=>{const g=c.value;return a.has(g)||c.issues.push({code:"invalid_value",values:i.values,input:g,inst:n}),c}}),pFn=cn("$ZodTransform",(n,i)=>{Wu.init(n,i),n._zod.parse=(a,c)=>{if(c.direction==="backward")throw new uGt(n.constructor.name);const d=i.transform(a.value,a);if(c.async)return(d instanceof Promise?d:Promise.resolve(d)).then(b=>(a.value=b,a));if(d instanceof Promise)throw new t5;return a.value=d,a}});function T9t(n,i){return n.issues.length&&i===void 0?{issues:[],value:void 0}:n}const NGt=cn("$ZodOptional",(n,i)=>{Wu.init(n,i),n._zod.optin="optional",n._zod.optout="optional",Ys(n._zod,"values",()=>i.innerType._zod.values?new Set([...i.innerType._zod.values,void 0]):void 0),Ys(n._zod,"pattern",()=>{const a=i.innerType._zod.pattern;return a?new RegExp(`^(${kMe(a.source)})?$`):void 0}),n._zod.parse=(a,c)=>{if(i.innerType._zod.optin==="optional"){const d=i.innerType._zod.run(a,c);return d instanceof Promise?d.then(g=>T9t(g,a.value)):T9t(d,a.value)}return a.value===void 0?a:i.innerType._zod.run(a,c)}}),gFn=cn("$ZodExactOptional",(n,i)=>{NGt.init(n,i),Ys(n._zod,"values",()=>i.innerType._zod.values),Ys(n._zod,"pattern",()=>i.innerType._zod.pattern),n._zod.parse=(a,c)=>i.innerType._zod.run(a,c)}),bFn=cn("$ZodNullable",(n,i)=>{Wu.init(n,i),Ys(n._zod,"optin",()=>i.innerType._zod.optin),Ys(n._zod,"optout",()=>i.innerType._zod.optout),Ys(n._zod,"pattern",()=>{const a=i.innerType._zod.pattern;return a?new RegExp(`^(${kMe(a.source)}|null)$`):void 0}),Ys(n._zod,"values",()=>i.innerType._zod.values?new Set([...i.innerType._zod.values,null]):void 0),n._zod.parse=(a,c)=>a.value===null?a:i.innerType._zod.run(a,c)}),mFn=cn("$ZodDefault",(n,i)=>{Wu.init(n,i),n._zod.optin="optional",Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(a,c)=>{if(c.direction==="backward")return i.innerType._zod.run(a,c);if(a.value===void 0)return a.value=i.defaultValue,a;const d=i.innerType._zod.run(a,c);return d instanceof Promise?d.then(g=>A9t(g,i)):A9t(d,i)}});function A9t(n,i){return n.value===void 0&&(n.value=i.defaultValue),n}const wFn=cn("$ZodPrefault",(n,i)=>{Wu.init(n,i),n._zod.optin="optional",Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(a,c)=>(c.direction==="backward"||a.value===void 0&&(a.value=i.defaultValue),i.innerType._zod.run(a,c))}),yFn=cn("$ZodNonOptional",(n,i)=>{Wu.init(n,i),Ys(n._zod,"values",()=>{const a=i.innerType._zod.values;return a?new Set([...a].filter(c=>c!==void 0)):void 0}),n._zod.parse=(a,c)=>{const d=i.innerType._zod.run(a,c);return d instanceof Promise?d.then(g=>_9t(g,n)):_9t(d,n)}});function _9t(n,i){return!n.issues.length&&n.value===void 0&&n.issues.push({code:"invalid_type",expected:"nonoptional",input:n.value,inst:i}),n}const vFn=cn("$ZodCatch",(n,i)=>{Wu.init(n,i),Ys(n._zod,"optin",()=>i.innerType._zod.optin),Ys(n._zod,"optout",()=>i.innerType._zod.optout),Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(a,c)=>{if(c.direction==="backward")return i.innerType._zod.run(a,c);const d=i.innerType._zod.run(a,c);return d instanceof Promise?d.then(g=>(a.value=g.value,g.issues.length&&(a.value=i.catchValue({...a,error:{issues:g.issues.map(b=>iN(b,c,rN()))},input:a.value}),a.issues=[]),a)):(a.value=d.value,d.issues.length&&(a.value=i.catchValue({...a,error:{issues:d.issues.map(g=>iN(g,c,rN()))},input:a.value}),a.issues=[]),a)}}),EFn=cn("$ZodPipe",(n,i)=>{Wu.init(n,i),Ys(n._zod,"values",()=>i.in._zod.values),Ys(n._zod,"optin",()=>i.in._zod.optin),Ys(n._zod,"optout",()=>i.out._zod.optout),Ys(n._zod,"propValues",()=>i.in._zod.propValues),n._zod.parse=(a,c)=>{if(c.direction==="backward"){const g=i.out._zod.run(a,c);return g instanceof Promise?g.then(b=>yie(b,i.in,c)):yie(g,i.in,c)}const d=i.in._zod.run(a,c);return d instanceof Promise?d.then(g=>yie(g,i.out,c)):yie(d,i.out,c)}});function yie(n,i,a){return n.issues.length?(n.aborted=!0,n):i._zod.run({value:n.value,issues:n.issues},a)}const SFn=cn("$ZodReadonly",(n,i)=>{Wu.init(n,i),Ys(n._zod,"propValues",()=>i.innerType._zod.propValues),Ys(n._zod,"values",()=>i.innerType._zod.values),Ys(n._zod,"optin",()=>{var a,c;return(c=(a=i.innerType)==null?void 0:a._zod)==null?void 0:c.optin}),Ys(n._zod,"optout",()=>{var a,c;return(c=(a=i.innerType)==null?void 0:a._zod)==null?void 0:c.optout}),n._zod.parse=(a,c)=>{if(c.direction==="backward")return i.innerType._zod.run(a,c);const d=i.innerType._zod.run(a,c);return d instanceof Promise?d.then(k9t):k9t(d)}});function k9t(n){return n.value=Object.freeze(n.value),n}const TFn=cn("$ZodLazy",(n,i)=>{Wu.init(n,i),Ys(n._zod,"innerType",()=>i.getter()),Ys(n._zod,"pattern",()=>{var a,c;return(c=(a=n._zod.innerType)==null?void 0:a._zod)==null?void 0:c.pattern}),Ys(n._zod,"propValues",()=>{var a,c;return(c=(a=n._zod.innerType)==null?void 0:a._zod)==null?void 0:c.propValues}),Ys(n._zod,"optin",()=>{var a,c;return((c=(a=n._zod.innerType)==null?void 0:a._zod)==null?void 0:c.optin)??void 0}),Ys(n._zod,"optout",()=>{var a,c;return((c=(a=n._zod.innerType)==null?void 0:a._zod)==null?void 0:c.optout)??void 0}),n._zod.parse=(a,c)=>n._zod.innerType._zod.run(a,c)}),AFn=cn("$ZodCustom",(n,i)=>{fb.init(n,i),Wu.init(n,i),n._zod.parse=(a,c)=>a,n._zod.check=a=>{const c=a.value,d=i.fn(c);if(d instanceof Promise)return d.then(g=>x9t(g,a,c,n));x9t(d,a,c,n)}});function x9t(n,i,a,c){if(!n){const d={code:"custom",input:a,inst:c,path:[...c._zod.def.path??[]],continue:!c._zod.def.abort};c._zod.def.params&&(d.params=c._zod.def.params),i.issues.push(QH(d))}}var N9t;class _Fn{constructor(){this._map=new WeakMap,this._idmap=new Map}add(i,...a){const c=a[0];return this._map.set(i,c),c&&typeof c=="object"&&"id"in c&&this._idmap.set(c.id,i),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(i){const a=this._map.get(i);return a&&typeof a=="object"&&"id"in a&&this._idmap.delete(a.id),this._map.delete(i),this}get(i){const a=i._zod.parent;if(a){const c={...this.get(a)??{}};delete c.id;const d={...c,...this._map.get(i)};return Object.keys(d).length?d:void 0}return this._map.get(i)}has(i){return this._map.has(i)}}function kFn(){return new _Fn}(N9t=globalThis).__zod_globalRegistry??(N9t.__zod_globalRegistry=kFn());const JU=globalThis.__zod_globalRegistry;function xFn(n,i){return new n({type:"string",...wi(i)})}function NFn(n,i){return new n({type:"string",format:"email",check:"string_format",abort:!1,...wi(i)})}function C9t(n,i){return new n({type:"string",format:"guid",check:"string_format",abort:!1,...wi(i)})}function CFn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,...wi(i)})}function IFn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...wi(i)})}function RFn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...wi(i)})}function OFn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...wi(i)})}function DFn(n,i){return new n({type:"string",format:"url",check:"string_format",abort:!1,...wi(i)})}function LFn(n,i){return new n({type:"string",format:"emoji",check:"string_format",abort:!1,...wi(i)})}function MFn(n,i){return new n({type:"string",format:"nanoid",check:"string_format",abort:!1,...wi(i)})}function PFn(n,i){return new n({type:"string",format:"cuid",check:"string_format",abort:!1,...wi(i)})}function jFn(n,i){return new n({type:"string",format:"cuid2",check:"string_format",abort:!1,...wi(i)})}function FFn(n,i){return new n({type:"string",format:"ulid",check:"string_format",abort:!1,...wi(i)})}function $Fn(n,i){return new n({type:"string",format:"xid",check:"string_format",abort:!1,...wi(i)})}function BFn(n,i){return new n({type:"string",format:"ksuid",check:"string_format",abort:!1,...wi(i)})}function UFn(n,i){return new n({type:"string",format:"ipv4",check:"string_format",abort:!1,...wi(i)})}function HFn(n,i){return new n({type:"string",format:"ipv6",check:"string_format",abort:!1,...wi(i)})}function zFn(n,i){return new n({type:"string",format:"cidrv4",check:"string_format",abort:!1,...wi(i)})}function GFn(n,i){return new n({type:"string",format:"cidrv6",check:"string_format",abort:!1,...wi(i)})}function qFn(n,i){return new n({type:"string",format:"base64",check:"string_format",abort:!1,...wi(i)})}function VFn(n,i){return new n({type:"string",format:"base64url",check:"string_format",abort:!1,...wi(i)})}function WFn(n,i){return new n({type:"string",format:"e164",check:"string_format",abort:!1,...wi(i)})}function KFn(n,i){return new n({type:"string",format:"jwt",check:"string_format",abort:!1,...wi(i)})}function YFn(n,i){return new n({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...wi(i)})}function JFn(n,i){return new n({type:"string",format:"date",check:"string_format",...wi(i)})}function XFn(n,i){return new n({type:"string",format:"time",check:"string_format",precision:null,...wi(i)})}function ZFn(n,i){return new n({type:"string",format:"duration",check:"string_format",...wi(i)})}function QFn(n,i){return new n({type:"number",checks:[],...wi(i)})}function e$n(n,i){return new n({type:"number",check:"number_format",abort:!1,format:"safeint",...wi(i)})}function t$n(n,i){return new n({type:"boolean",...wi(i)})}function n$n(n,i){return new n({type:"null",...wi(i)})}function r$n(n){return new n({type:"any"})}function i$n(n){return new n({type:"unknown"})}function o$n(n,i){return new n({type:"never",...wi(i)})}function I9t(n,i){return new EGt({check:"less_than",...wi(i),value:n,inclusive:!1})}function jCe(n,i){return new EGt({check:"less_than",...wi(i),value:n,inclusive:!0})}function R9t(n,i){return new SGt({check:"greater_than",...wi(i),value:n,inclusive:!1})}function FCe(n,i){return new SGt({check:"greater_than",...wi(i),value:n,inclusive:!0})}function O9t(n,i){return new g7n({check:"multiple_of",...wi(i),value:n})}function CGt(n,i){return new m7n({check:"max_length",...wi(i),maximum:n})}function Koe(n,i){return new w7n({check:"min_length",...wi(i),minimum:n})}function IGt(n,i){return new y7n({check:"length_equals",...wi(i),length:n})}function s$n(n,i){return new v7n({check:"string_format",format:"regex",...wi(i),pattern:n})}function a$n(n){return new E7n({check:"string_format",format:"lowercase",...wi(n)})}function u$n(n){return new S7n({check:"string_format",format:"uppercase",...wi(n)})}function c$n(n,i){return new T7n({check:"string_format",format:"includes",...wi(i),includes:n})}function l$n(n,i){return new A7n({check:"string_format",format:"starts_with",...wi(i),prefix:n})}function d$n(n,i){return new _7n({check:"string_format",format:"ends_with",...wi(i),suffix:n})}function P5(n){return new k7n({check:"overwrite",tx:n})}function f$n(n){return P5(i=>i.normalize(n))}function h$n(){return P5(n=>n.trim())}function p$n(){return P5(n=>n.toLowerCase())}function g$n(){return P5(n=>n.toUpperCase())}function b$n(){return P5(n=>yjn(n))}function m$n(n,i,a){return new n({type:"array",element:i,...wi(a)})}function w$n(n,i,a){return new n({type:"custom",check:"custom",fn:i,...wi(a)})}function y$n(n){const i=v$n(a=>(a.addIssue=c=>{if(typeof c=="string")a.issues.push(QH(c,a.value,i._zod.def));else{const d=c;d.fatal&&(d.continue=!1),d.code??(d.code="custom"),d.input??(d.input=a.value),d.inst??(d.inst=i),d.continue??(d.continue=!i._zod.def.abort),a.issues.push(QH(d))}},n(a.value,a)));return i}function v$n(n,i){const a=new fb({check:"custom",...wi(i)});return a._zod.check=n,a}function RGt(n){let i=(n==null?void 0:n.target)??"draft-2020-12";return i==="draft-4"&&(i="draft-04"),i==="draft-7"&&(i="draft-07"),{processors:n.processors??{},metadataRegistry:(n==null?void 0:n.metadata)??JU,target:i,unrepresentable:(n==null?void 0:n.unrepresentable)??"throw",override:(n==null?void 0:n.override)??(()=>{}),io:(n==null?void 0:n.io)??"output",counter:0,seen:new Map,cycles:(n==null?void 0:n.cycles)??"ref",reused:(n==null?void 0:n.reused)??"inline",external:(n==null?void 0:n.external)??void 0}}function gd(n,i,a={path:[],schemaPath:[]}){var k,_;var c;const d=n._zod.def,g=i.seen.get(n);if(g)return g.count++,a.schemaPath.includes(n)&&(g.cycle=a.path),g.schema;const b={schema:{},count:1,cycle:void 0,path:a.path};i.seen.set(n,b);const w=(_=(k=n._zod).toJSONSchema)==null?void 0:_.call(k);if(w)b.schema=w;else{const C={...a,schemaPath:[...a.schemaPath,n],path:a.path};if(n._zod.processJSONSchema)n._zod.processJSONSchema(i,b.schema,C);else{const M=b.schema,D=i.processors[d.type];if(!D)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${d.type}`);D(n,i,M,C)}const R=n._zod.parent;R&&(b.ref||(b.ref=R),gd(R,i,C),i.seen.get(R).isParent=!0)}const E=i.metadataRegistry.get(n);return E&&Object.assign(b.schema,E),i.io==="input"&&Fg(n)&&(delete b.schema.examples,delete b.schema.default),i.io==="input"&&b.schema._prefault&&((c=b.schema).default??(c.default=b.schema._prefault)),delete b.schema._prefault,i.seen.get(n).schema}function OGt(n,i){var b,w,E,S;const a=n.seen.get(i);if(!a)throw new Error("Unprocessed schema. This is a bug in Zod.");const c=new Map;for(const k of n.seen.entries()){const _=(b=n.metadataRegistry.get(k[0]))==null?void 0:b.id;if(_){const C=c.get(_);if(C&&C!==k[0])throw new Error(`Duplicate schema id "${_}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);c.set(_,k[0])}}const d=k=>{var D;const _=n.target==="draft-2020-12"?"$defs":"definitions";if(n.external){const B=(D=n.external.registry.get(k[0]))==null?void 0:D.id,F=n.external.uri??(P=>P);if(B)return{ref:F(B)};const $=k[1].defId??k[1].schema.id??`schema${n.counter++}`;return k[1].defId=$,{defId:$,ref:`${F("__shared")}#/${_}/${$}`}}if(k[1]===a)return{ref:"#"};const R=`#/${_}/`,M=k[1].schema.id??`__schema${n.counter++}`;return{defId:M,ref:R+M}},g=k=>{if(k[1].schema.$ref)return;const _=k[1],{ref:C,defId:R}=d(k);_.def={..._.schema},R&&(_.defId=R);const M=_.schema;for(const D in M)delete M[D];M.$ref=C};if(n.cycles==="throw")for(const k of n.seen.entries()){const _=k[1];if(_.cycle)throw new Error(`Cycle detected: #/${(w=_.cycle)==null?void 0:w.join("/")}/<root>
|
||
|
||
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const k of n.seen.entries()){const _=k[1];if(i===k[0]){g(k);continue}if(n.external){const R=(E=n.external.registry.get(k[0]))==null?void 0:E.id;if(i!==k[0]&&R){g(k);continue}}if((S=n.metadataRegistry.get(k[0]))==null?void 0:S.id){g(k);continue}if(_.cycle){g(k);continue}if(_.count>1&&n.reused==="ref"){g(k);continue}}}function DGt(n,i){var b,w,E;const a=n.seen.get(i);if(!a)throw new Error("Unprocessed schema. This is a bug in Zod.");const c=S=>{const k=n.seen.get(S);if(k.ref===null)return;const _=k.def??k.schema,C={..._},R=k.ref;if(k.ref=null,R){c(R);const D=n.seen.get(R),B=D.schema;if(B.$ref&&(n.target==="draft-07"||n.target==="draft-04"||n.target==="openapi-3.0")?(_.allOf=_.allOf??[],_.allOf.push(B)):Object.assign(_,B),Object.assign(_,C),S._zod.parent===R)for(const $ in _)$==="$ref"||$==="allOf"||$ in C||delete _[$];if(B.$ref)for(const $ in _)$==="$ref"||$==="allOf"||$ in D.def&&JSON.stringify(_[$])===JSON.stringify(D.def[$])&&delete _[$]}const M=S._zod.parent;if(M&&M!==R){c(M);const D=n.seen.get(M);if(D!=null&&D.schema.$ref&&(_.$ref=D.schema.$ref,D.def))for(const B in _)B==="$ref"||B==="allOf"||B in D.def&&JSON.stringify(_[B])===JSON.stringify(D.def[B])&&delete _[B]}n.override({zodSchema:S,jsonSchema:_,path:k.path??[]})};for(const S of[...n.seen.entries()].reverse())c(S[0]);const d={};if(n.target==="draft-2020-12"?d.$schema="https://json-schema.org/draft/2020-12/schema":n.target==="draft-07"?d.$schema="http://json-schema.org/draft-07/schema#":n.target==="draft-04"?d.$schema="http://json-schema.org/draft-04/schema#":n.target,(b=n.external)!=null&&b.uri){const S=(w=n.external.registry.get(i))==null?void 0:w.id;if(!S)throw new Error("Schema is missing an `id` property");d.$id=n.external.uri(S)}Object.assign(d,a.def??a.schema);const g=((E=n.external)==null?void 0:E.defs)??{};for(const S of n.seen.entries()){const k=S[1];k.def&&k.defId&&(g[k.defId]=k.def)}n.external||Object.keys(g).length>0&&(n.target==="draft-2020-12"?d.$defs=g:d.definitions=g);try{const S=JSON.parse(JSON.stringify(d));return Object.defineProperty(S,"~standard",{value:{...i["~standard"],jsonSchema:{input:Yoe(i,"input",n.processors),output:Yoe(i,"output",n.processors)}},enumerable:!1,writable:!1}),S}catch{throw new Error("Error converting schema to JSON.")}}function Fg(n,i){const a=i??{seen:new Set};if(a.seen.has(n))return!1;a.seen.add(n);const c=n._zod.def;if(c.type==="transform")return!0;if(c.type==="array")return Fg(c.element,a);if(c.type==="set")return Fg(c.valueType,a);if(c.type==="lazy")return Fg(c.getter(),a);if(c.type==="promise"||c.type==="optional"||c.type==="nonoptional"||c.type==="nullable"||c.type==="readonly"||c.type==="default"||c.type==="prefault")return Fg(c.innerType,a);if(c.type==="intersection")return Fg(c.left,a)||Fg(c.right,a);if(c.type==="record"||c.type==="map")return Fg(c.keyType,a)||Fg(c.valueType,a);if(c.type==="pipe")return Fg(c.in,a)||Fg(c.out,a);if(c.type==="object"){for(const d in c.shape)if(Fg(c.shape[d],a))return!0;return!1}if(c.type==="union"){for(const d of c.options)if(Fg(d,a))return!0;return!1}if(c.type==="tuple"){for(const d of c.items)if(Fg(d,a))return!0;return!!(c.rest&&Fg(c.rest,a))}return!1}const E$n=(n,i={})=>a=>{const c=RGt({...a,processors:i});return gd(n,c),OGt(c,n),DGt(c,n)},Yoe=(n,i,a={})=>c=>{const{libraryOptions:d,target:g}=c??{},b=RGt({...d??{},target:g,io:i,processors:a});return gd(n,b),OGt(b,n),DGt(b,n)},S$n={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},T$n=(n,i,a,c)=>{const d=a;d.type="string";const{minimum:g,maximum:b,format:w,patterns:E,contentEncoding:S}=n._zod.bag;if(typeof g=="number"&&(d.minLength=g),typeof b=="number"&&(d.maxLength=b),w&&(d.format=S$n[w]??w,d.format===""&&delete d.format,w==="time"&&delete d.format),S&&(d.contentEncoding=S),E&&E.size>0){const k=[...E];k.length===1?d.pattern=k[0].source:k.length>1&&(d.allOf=[...k.map(_=>({...i.target==="draft-07"||i.target==="draft-04"||i.target==="openapi-3.0"?{type:"string"}:{},pattern:_.source}))])}},A$n=(n,i,a,c)=>{const d=a,{minimum:g,maximum:b,format:w,multipleOf:E,exclusiveMaximum:S,exclusiveMinimum:k}=n._zod.bag;typeof w=="string"&&w.includes("int")?d.type="integer":d.type="number",typeof k=="number"&&(i.target==="draft-04"||i.target==="openapi-3.0"?(d.minimum=k,d.exclusiveMinimum=!0):d.exclusiveMinimum=k),typeof g=="number"&&(d.minimum=g,typeof k=="number"&&i.target!=="draft-04"&&(k>=g?delete d.minimum:delete d.exclusiveMinimum)),typeof S=="number"&&(i.target==="draft-04"||i.target==="openapi-3.0"?(d.maximum=S,d.exclusiveMaximum=!0):d.exclusiveMaximum=S),typeof b=="number"&&(d.maximum=b,typeof S=="number"&&i.target!=="draft-04"&&(S<=b?delete d.maximum:delete d.exclusiveMaximum)),typeof E=="number"&&(d.multipleOf=E)},_$n=(n,i,a,c)=>{a.type="boolean"},k$n=(n,i,a,c)=>{i.target==="openapi-3.0"?(a.type="string",a.nullable=!0,a.enum=[null]):a.type="null"},x$n=(n,i,a,c)=>{a.not={}},N$n=(n,i,a,c)=>{},C$n=(n,i,a,c)=>{},I$n=(n,i,a,c)=>{const d=n._zod.def,g=lGt(d.entries);g.every(b=>typeof b=="number")&&(a.type="number"),g.every(b=>typeof b=="string")&&(a.type="string"),a.enum=g},R$n=(n,i,a,c)=>{const d=n._zod.def,g=[];for(const b of d.values)if(b===void 0){if(i.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof b=="bigint"){if(i.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");g.push(Number(b))}else g.push(b);if(g.length!==0)if(g.length===1){const b=g[0];a.type=b===null?"null":typeof b,i.target==="draft-04"||i.target==="openapi-3.0"?a.enum=[b]:a.const=b}else g.every(b=>typeof b=="number")&&(a.type="number"),g.every(b=>typeof b=="string")&&(a.type="string"),g.every(b=>typeof b=="boolean")&&(a.type="boolean"),g.every(b=>b===null)&&(a.type="null"),a.enum=g},O$n=(n,i,a,c)=>{if(i.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},D$n=(n,i,a,c)=>{if(i.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},L$n=(n,i,a,c)=>{const d=a,g=n._zod.def,{minimum:b,maximum:w}=n._zod.bag;typeof b=="number"&&(d.minItems=b),typeof w=="number"&&(d.maxItems=w),d.type="array",d.items=gd(g.element,i,{...c,path:[...c.path,"items"]})},M$n=(n,i,a,c)=>{var S;const d=a,g=n._zod.def;d.type="object",d.properties={};const b=g.shape;for(const k in b)d.properties[k]=gd(b[k],i,{...c,path:[...c.path,"properties",k]});const w=new Set(Object.keys(b)),E=new Set([...w].filter(k=>{const _=g.shape[k]._zod;return i.io==="input"?_.optin===void 0:_.optout===void 0}));E.size>0&&(d.required=Array.from(E)),((S=g.catchall)==null?void 0:S._zod.def.type)==="never"?d.additionalProperties=!1:g.catchall?g.catchall&&(d.additionalProperties=gd(g.catchall,i,{...c,path:[...c.path,"additionalProperties"]})):i.io==="output"&&(d.additionalProperties=!1)},P$n=(n,i,a,c)=>{const d=n._zod.def,g=d.inclusive===!1,b=d.options.map((w,E)=>gd(w,i,{...c,path:[...c.path,g?"oneOf":"anyOf",E]}));g?a.oneOf=b:a.anyOf=b},j$n=(n,i,a,c)=>{const d=n._zod.def,g=gd(d.left,i,{...c,path:[...c.path,"allOf",0]}),b=gd(d.right,i,{...c,path:[...c.path,"allOf",1]}),w=S=>"allOf"in S&&Object.keys(S).length===1,E=[...w(g)?g.allOf:[g],...w(b)?b.allOf:[b]];a.allOf=E},F$n=(n,i,a,c)=>{const d=a,g=n._zod.def;d.type="object";const b=g.keyType,w=b._zod.bag,E=w==null?void 0:w.patterns;if(g.mode==="loose"&&E&&E.size>0){const k=gd(g.valueType,i,{...c,path:[...c.path,"patternProperties","*"]});d.patternProperties={};for(const _ of E)d.patternProperties[_.source]=k}else(i.target==="draft-07"||i.target==="draft-2020-12")&&(d.propertyNames=gd(g.keyType,i,{...c,path:[...c.path,"propertyNames"]})),d.additionalProperties=gd(g.valueType,i,{...c,path:[...c.path,"additionalProperties"]});const S=b._zod.values;if(S){const k=[...S].filter(_=>typeof _=="string"||typeof _=="number");k.length>0&&(d.required=k)}},$$n=(n,i,a,c)=>{const d=n._zod.def,g=gd(d.innerType,i,c),b=i.seen.get(n);i.target==="openapi-3.0"?(b.ref=d.innerType,a.nullable=!0):a.anyOf=[g,{type:"null"}]},B$n=(n,i,a,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType},U$n=(n,i,a,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType,a.default=JSON.parse(JSON.stringify(d.defaultValue))},H$n=(n,i,a,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType,i.io==="input"&&(a._prefault=JSON.parse(JSON.stringify(d.defaultValue)))},z$n=(n,i,a,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType;let b;try{b=d.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}a.default=b},G$n=(n,i,a,c)=>{const d=n._zod.def,g=i.io==="input"?d.in._zod.def.type==="transform"?d.out:d.in:d.out;gd(g,i,c);const b=i.seen.get(n);b.ref=g},q$n=(n,i,a,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType,a.readOnly=!0},LGt=(n,i,a,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType},V$n=(n,i,a,c)=>{const d=n._zod.innerType;gd(d,i,c);const g=i.seen.get(n);g.ref=d},W$n=cn("ZodISODateTime",(n,i)=>{B7n.init(n,i),hl.init(n,i)});function K$n(n){return YFn(W$n,n)}const Y$n=cn("ZodISODate",(n,i)=>{U7n.init(n,i),hl.init(n,i)});function J$n(n){return JFn(Y$n,n)}const X$n=cn("ZodISOTime",(n,i)=>{H7n.init(n,i),hl.init(n,i)});function Z$n(n){return XFn(X$n,n)}const Q$n=cn("ZodISODuration",(n,i)=>{z7n.init(n,i),hl.init(n,i)});function eBn(n){return ZFn(Q$n,n)}const MGt=(n,i)=>{pGt.init(n,i),n.name="ZodError",Object.defineProperties(n,{format:{value:a=>Ojn(n,a)},flatten:{value:a=>Rjn(n,a)},addIssue:{value:a=>{n.issues.push(a),n.message=JSON.stringify(n.issues,uDe,2)}},addIssues:{value:a=>{n.issues.push(...a),n.message=JSON.stringify(n.issues,uDe,2)}},isEmpty:{get(){return n.issues.length===0}}})},tBn=cn("ZodError",MGt),Aw=cn("ZodError",MGt,{Parent:Error}),nBn=NMe(Aw),rBn=CMe(Aw),iBn=rae(Aw),oBn=iae(Aw),sBn=Mjn(Aw),aBn=Pjn(Aw),uBn=jjn(Aw),cBn=Fjn(Aw),lBn=$jn(Aw),dBn=Bjn(Aw),fBn=Ujn(Aw),hBn=Hjn(Aw),Ku=cn("ZodType",(n,i)=>(Wu.init(n,i),Object.assign(n["~standard"],{jsonSchema:{input:Yoe(n,"input"),output:Yoe(n,"output")}}),n.toJSONSchema=E$n(n,{}),n.def=i,n.type=i.type,Object.defineProperty(n,"_def",{value:i}),n.check=(...a)=>n.clone(mN(i,{checks:[...i.checks??[],...a.map(c=>typeof c=="function"?{_zod:{check:c,def:{check:"custom"},onattach:[]}}:c)]}),{parent:!0}),n.with=n.check,n.clone=(a,c)=>wN(n,a,c),n.brand=()=>n,n.register=(a,c)=>(a.add(n,c),n),n.parse=(a,c)=>nBn(n,a,c,{callee:n.parse}),n.safeParse=(a,c)=>iBn(n,a,c),n.parseAsync=async(a,c)=>rBn(n,a,c,{callee:n.parseAsync}),n.safeParseAsync=async(a,c)=>oBn(n,a,c),n.spa=n.safeParseAsync,n.encode=(a,c)=>sBn(n,a,c),n.decode=(a,c)=>aBn(n,a,c),n.encodeAsync=async(a,c)=>uBn(n,a,c),n.decodeAsync=async(a,c)=>cBn(n,a,c),n.safeEncode=(a,c)=>lBn(n,a,c),n.safeDecode=(a,c)=>dBn(n,a,c),n.safeEncodeAsync=async(a,c)=>fBn(n,a,c),n.safeDecodeAsync=async(a,c)=>hBn(n,a,c),n.refine=(a,c)=>n.check(lUn(a,c)),n.superRefine=a=>n.check(dUn(a)),n.overwrite=a=>n.check(P5(a)),n.optional=()=>P9t(n),n.exactOptional=()=>JBn(n),n.nullable=()=>j9t(n),n.nullish=()=>P9t(j9t(n)),n.nonoptional=a=>nUn(n,a),n.array=()=>ss(n),n.or=a=>ls([n,a]),n.and=a=>GBn(n,a),n.transform=a=>F9t(n,KBn(a)),n.default=a=>QBn(n,a),n.prefault=a=>tUn(n,a),n.catch=a=>iUn(n,a),n.pipe=a=>F9t(n,a),n.readonly=()=>aUn(n),n.describe=a=>{const c=n.clone();return JU.add(c,{description:a}),c},Object.defineProperty(n,"description",{get(){var a;return(a=JU.get(n))==null?void 0:a.description},configurable:!0}),n.meta=(...a)=>{if(a.length===0)return JU.get(n);const c=n.clone();return JU.add(c,a[0]),c},n.isOptional=()=>n.safeParse(void 0).success,n.isNullable=()=>n.safeParse(null).success,n.apply=a=>a(n),n)),PGt=cn("_ZodString",(n,i)=>{IMe.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(c,d,g)=>T$n(n,c,d);const a=n._zod.bag;n.format=a.format??null,n.minLength=a.minimum??null,n.maxLength=a.maximum??null,n.regex=(...c)=>n.check(s$n(...c)),n.includes=(...c)=>n.check(c$n(...c)),n.startsWith=(...c)=>n.check(l$n(...c)),n.endsWith=(...c)=>n.check(d$n(...c)),n.min=(...c)=>n.check(Koe(...c)),n.max=(...c)=>n.check(CGt(...c)),n.length=(...c)=>n.check(IGt(...c)),n.nonempty=(...c)=>n.check(Koe(1,...c)),n.lowercase=c=>n.check(a$n(c)),n.uppercase=c=>n.check(u$n(c)),n.trim=()=>n.check(h$n()),n.normalize=(...c)=>n.check(f$n(...c)),n.toLowerCase=()=>n.check(p$n()),n.toUpperCase=()=>n.check(g$n()),n.slugify=()=>n.check(b$n())}),pBn=cn("ZodString",(n,i)=>{IMe.init(n,i),PGt.init(n,i),n.email=a=>n.check(NFn(gBn,a)),n.url=a=>n.check(DFn(bBn,a)),n.jwt=a=>n.check(KFn(RBn,a)),n.emoji=a=>n.check(LFn(mBn,a)),n.guid=a=>n.check(C9t(D9t,a)),n.uuid=a=>n.check(CFn(vie,a)),n.uuidv4=a=>n.check(IFn(vie,a)),n.uuidv6=a=>n.check(RFn(vie,a)),n.uuidv7=a=>n.check(OFn(vie,a)),n.nanoid=a=>n.check(MFn(wBn,a)),n.guid=a=>n.check(C9t(D9t,a)),n.cuid=a=>n.check(PFn(yBn,a)),n.cuid2=a=>n.check(jFn(vBn,a)),n.ulid=a=>n.check(FFn(EBn,a)),n.base64=a=>n.check(qFn(NBn,a)),n.base64url=a=>n.check(VFn(CBn,a)),n.xid=a=>n.check($Fn(SBn,a)),n.ksuid=a=>n.check(BFn(TBn,a)),n.ipv4=a=>n.check(UFn(ABn,a)),n.ipv6=a=>n.check(HFn(_Bn,a)),n.cidrv4=a=>n.check(zFn(kBn,a)),n.cidrv6=a=>n.check(GFn(xBn,a)),n.e164=a=>n.check(WFn(IBn,a)),n.datetime=a=>n.check(K$n(a)),n.date=a=>n.check(J$n(a)),n.time=a=>n.check(Z$n(a)),n.duration=a=>n.check(eBn(a))});function nn(n){return xFn(pBn,n)}const hl=cn("ZodStringFormat",(n,i)=>{Pc.init(n,i),PGt.init(n,i)}),gBn=cn("ZodEmail",(n,i)=>{R7n.init(n,i),hl.init(n,i)}),D9t=cn("ZodGUID",(n,i)=>{C7n.init(n,i),hl.init(n,i)}),vie=cn("ZodUUID",(n,i)=>{I7n.init(n,i),hl.init(n,i)}),bBn=cn("ZodURL",(n,i)=>{O7n.init(n,i),hl.init(n,i)}),mBn=cn("ZodEmoji",(n,i)=>{D7n.init(n,i),hl.init(n,i)}),wBn=cn("ZodNanoID",(n,i)=>{L7n.init(n,i),hl.init(n,i)}),yBn=cn("ZodCUID",(n,i)=>{M7n.init(n,i),hl.init(n,i)}),vBn=cn("ZodCUID2",(n,i)=>{P7n.init(n,i),hl.init(n,i)}),EBn=cn("ZodULID",(n,i)=>{j7n.init(n,i),hl.init(n,i)}),SBn=cn("ZodXID",(n,i)=>{F7n.init(n,i),hl.init(n,i)}),TBn=cn("ZodKSUID",(n,i)=>{$7n.init(n,i),hl.init(n,i)}),ABn=cn("ZodIPv4",(n,i)=>{G7n.init(n,i),hl.init(n,i)}),_Bn=cn("ZodIPv6",(n,i)=>{q7n.init(n,i),hl.init(n,i)}),kBn=cn("ZodCIDRv4",(n,i)=>{V7n.init(n,i),hl.init(n,i)}),xBn=cn("ZodCIDRv6",(n,i)=>{W7n.init(n,i),hl.init(n,i)}),NBn=cn("ZodBase64",(n,i)=>{K7n.init(n,i),hl.init(n,i)}),CBn=cn("ZodBase64URL",(n,i)=>{J7n.init(n,i),hl.init(n,i)}),IBn=cn("ZodE164",(n,i)=>{X7n.init(n,i),hl.init(n,i)}),RBn=cn("ZodJWT",(n,i)=>{Q7n.init(n,i),hl.init(n,i)}),jGt=cn("ZodNumber",(n,i)=>{AGt.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(c,d,g)=>A$n(n,c,d),n.gt=(c,d)=>n.check(R9t(c,d)),n.gte=(c,d)=>n.check(FCe(c,d)),n.min=(c,d)=>n.check(FCe(c,d)),n.lt=(c,d)=>n.check(I9t(c,d)),n.lte=(c,d)=>n.check(jCe(c,d)),n.max=(c,d)=>n.check(jCe(c,d)),n.int=c=>n.check(L9t(c)),n.safe=c=>n.check(L9t(c)),n.positive=c=>n.check(R9t(0,c)),n.nonnegative=c=>n.check(FCe(0,c)),n.negative=c=>n.check(I9t(0,c)),n.nonpositive=c=>n.check(jCe(0,c)),n.multipleOf=(c,d)=>n.check(O9t(c,d)),n.step=(c,d)=>n.check(O9t(c,d)),n.finite=()=>n;const a=n._zod.bag;n.minValue=Math.max(a.minimum??Number.NEGATIVE_INFINITY,a.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,n.maxValue=Math.min(a.maximum??Number.POSITIVE_INFINITY,a.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,n.isInt=(a.format??"").includes("int")||Number.isSafeInteger(a.multipleOf??.5),n.isFinite=!0,n.format=a.format??null});function $a(n){return QFn(jGt,n)}const OBn=cn("ZodNumberFormat",(n,i)=>{eFn.init(n,i),jGt.init(n,i)});function L9t(n){return e$n(OBn,n)}const DBn=cn("ZodBoolean",(n,i)=>{tFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>_$n(n,a,c)});function vw(n){return t$n(DBn,n)}const LBn=cn("ZodNull",(n,i)=>{nFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>k$n(n,a,c)});function M9t(n){return n$n(LBn,n)}const MBn=cn("ZodAny",(n,i)=>{rFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>N$n()});function PBn(){return r$n(MBn)}const jBn=cn("ZodUnknown",(n,i)=>{iFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>C$n()});function lc(){return i$n(jBn)}const FBn=cn("ZodNever",(n,i)=>{oFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>x$n(n,a,c)});function $Bn(n){return o$n(FBn,n)}const BBn=cn("ZodArray",(n,i)=>{sFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>L$n(n,a,c,d),n.element=i.element,n.min=(a,c)=>n.check(Koe(a,c)),n.nonempty=a=>n.check(Koe(1,a)),n.max=(a,c)=>n.check(CGt(a,c)),n.length=(a,c)=>n.check(IGt(a,c)),n.unwrap=()=>n.element});function ss(n,i){return m$n(BBn,n,i)}const FGt=cn("ZodObject",(n,i)=>{uFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>M$n(n,a,c,d),Ys(n,"shape",()=>i.shape),n.keyof=()=>zg(Object.keys(n._zod.def.shape)),n.catchall=a=>n.clone({...n._zod.def,catchall:a}),n.passthrough=()=>n.clone({...n._zod.def,catchall:lc()}),n.loose=()=>n.clone({...n._zod.def,catchall:lc()}),n.strict=()=>n.clone({...n._zod.def,catchall:$Bn()}),n.strip=()=>n.clone({...n._zod.def,catchall:void 0}),n.extend=a=>kjn(n,a),n.safeExtend=a=>xjn(n,a),n.merge=a=>Njn(n,a),n.pick=a=>Ajn(n,a),n.omit=a=>_jn(n,a),n.partial=(...a)=>Cjn(BGt,n,a[0]),n.required=(...a)=>Ijn(UGt,n,a[0])});function Su(n,i){const a={type:"object",shape:n??{},...wi(i)};return new FGt(a)}function Fp(n,i){return new FGt({type:"object",shape:n,catchall:lc(),...wi(i)})}const $Gt=cn("ZodUnion",(n,i)=>{xGt.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>P$n(n,a,c,d),n.options=i.options});function ls(n,i){return new $Gt({type:"union",options:n,...wi(i)})}const UBn=cn("ZodDiscriminatedUnion",(n,i)=>{$Gt.init(n,i),cFn.init(n,i)});function HBn(n,i,a){return new UBn({type:"union",options:i,discriminator:n,...wi(a)})}const zBn=cn("ZodIntersection",(n,i)=>{lFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>j$n(n,a,c,d)});function GBn(n,i){return new zBn({type:"intersection",left:n,right:i})}const qBn=cn("ZodRecord",(n,i)=>{dFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>F$n(n,a,c,d),n.keyType=i.keyType,n.valueType=i.valueType});function th(n,i,a){return new qBn({type:"record",keyType:n,valueType:i,...wi(a)})}const lDe=cn("ZodEnum",(n,i)=>{fFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(c,d,g)=>I$n(n,c,d),n.enum=i.entries,n.options=Object.values(i.entries);const a=new Set(Object.keys(i.entries));n.extract=(c,d)=>{const g={};for(const b of c)if(a.has(b))g[b]=i.entries[b];else throw new Error(`Key ${b} not found in enum`);return new lDe({...i,checks:[],...wi(d),entries:g})},n.exclude=(c,d)=>{const g={...i.entries};for(const b of c)if(a.has(b))delete g[b];else throw new Error(`Key ${b} not found in enum`);return new lDe({...i,checks:[],...wi(d),entries:g})}});function zg(n,i){const a=Array.isArray(n)?Object.fromEntries(n.map(c=>[c,c])):n;return new lDe({type:"enum",entries:a,...wi(i)})}const VBn=cn("ZodLiteral",(n,i)=>{hFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>R$n(n,a,c),n.values=new Set(i.values),Object.defineProperty(n,"value",{get(){if(i.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return i.values[0]}})});function yN(n,i){return new VBn({type:"literal",values:Array.isArray(n)?n:[n],...wi(i)})}const WBn=cn("ZodTransform",(n,i)=>{pFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>D$n(n,a),n._zod.parse=(a,c)=>{if(c.direction==="backward")throw new uGt(n.constructor.name);a.addIssue=g=>{if(typeof g=="string")a.issues.push(QH(g,a.value,i));else{const b=g;b.fatal&&(b.continue=!1),b.code??(b.code="custom"),b.input??(b.input=a.value),b.inst??(b.inst=n),a.issues.push(QH(b))}};const d=i.transform(a.value,a);return d instanceof Promise?d.then(g=>(a.value=g,a)):(a.value=d,a)}});function KBn(n){return new WBn({type:"transform",transform:n})}const BGt=cn("ZodOptional",(n,i)=>{NGt.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>LGt(n,a,c,d),n.unwrap=()=>n._zod.def.innerType});function P9t(n){return new BGt({type:"optional",innerType:n})}const YBn=cn("ZodExactOptional",(n,i)=>{gFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>LGt(n,a,c,d),n.unwrap=()=>n._zod.def.innerType});function JBn(n){return new YBn({type:"optional",innerType:n})}const XBn=cn("ZodNullable",(n,i)=>{bFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>$$n(n,a,c,d),n.unwrap=()=>n._zod.def.innerType});function j9t(n){return new XBn({type:"nullable",innerType:n})}const ZBn=cn("ZodDefault",(n,i)=>{mFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>U$n(n,a,c,d),n.unwrap=()=>n._zod.def.innerType,n.removeDefault=n.unwrap});function QBn(n,i){return new ZBn({type:"default",innerType:n,get defaultValue(){return typeof i=="function"?i():fGt(i)}})}const eUn=cn("ZodPrefault",(n,i)=>{wFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>H$n(n,a,c,d),n.unwrap=()=>n._zod.def.innerType});function tUn(n,i){return new eUn({type:"prefault",innerType:n,get defaultValue(){return typeof i=="function"?i():fGt(i)}})}const UGt=cn("ZodNonOptional",(n,i)=>{yFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>B$n(n,a,c,d),n.unwrap=()=>n._zod.def.innerType});function nUn(n,i){return new UGt({type:"nonoptional",innerType:n,...wi(i)})}const rUn=cn("ZodCatch",(n,i)=>{vFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>z$n(n,a,c,d),n.unwrap=()=>n._zod.def.innerType,n.removeCatch=n.unwrap});function iUn(n,i){return new rUn({type:"catch",innerType:n,catchValue:typeof i=="function"?i:()=>i})}const oUn=cn("ZodPipe",(n,i)=>{EFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>G$n(n,a,c,d),n.in=i.in,n.out=i.out});function F9t(n,i){return new oUn({type:"pipe",in:n,out:i})}const sUn=cn("ZodReadonly",(n,i)=>{SFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>q$n(n,a,c,d),n.unwrap=()=>n._zod.def.innerType});function aUn(n){return new sUn({type:"readonly",innerType:n})}const uUn=cn("ZodLazy",(n,i)=>{TFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>V$n(n,a,c,d),n.unwrap=()=>n._zod.def.getter()});function RMe(n){return new uUn({type:"lazy",getter:n})}const cUn=cn("ZodCustom",(n,i)=>{AFn.init(n,i),Ku.init(n,i),n._zod.processJSONSchema=(a,c,d)=>O$n(n,a)});function lUn(n,i={}){return w$n(cUn,n,i)}function dUn(n){return y$n(n)}const Pl={custom:"custom"};nn().min(1).brand();const $9t=nn().regex(/^[a-z_]+\.[a-z0-9_]+$/,"Entity ID must be in format: domain.entity_name (e.g., light.living_room)"),j5=Su({x:$a(),y:$a()});Su({id:nn(),type:zg(["source","target"]),position:zg(["top","bottom","left","right"])});const fUn=zg(["single","restart","queued","parallel"]),hUn=zg(["silent","warning","critical"]),HGt=Su({id:nn().min(1),source:nn().min(1),target:nn().min(1),sourceHandle:nn().nullable().optional(),targetHandle:nn().nullable().optional(),label:nn().optional(),animated:vw().optional()});HGt.extend({sourceHandle:zg(["true","false"])});const pUn=["sun","mon","tue","wed","thu","fri","sat"],Bg=Fp({alias:nn().optional(),condition:nn().optional(),enabled:vw().optional(),entity_id:ls([nn(),ss(nn())]).optional(),state:ls([nn(),ss(nn())]).optional(),value_template:nn().optional(),after:nn().optional(),before:nn().optional(),weekday:ss(zg(pUn)).optional(),after_offset:nn().optional(),before_offset:nn().optional(),zone:nn().optional(),conditions:ss(RMe(()=>Bg)).optional(),above:ls([nn(),$a()]).optional(),below:ls([nn(),$a()]).optional(),attribute:nn().optional(),id:ls([nn(),ss(nn())]).optional()});zg(["event","template","zone","state","time","time_pattern","mqtt","webhook","sun","numeric_state","homeassistant","device"]);const oN=Fp({alias:nn().optional(),platform:nn().optional(),trigger:nn().optional(),target:Fp({entity_id:ls([nn(),ss(nn())])}).optional(),options:Fp({}).optional(),entity_id:ls([nn(),ss(nn())]).optional(),from:ls([nn(),ss(nn()),M9t()]).optional(),to:ls([nn(),ss(nn()),M9t()]).optional(),for:ls([nn(),Su({hours:$a().optional(),minutes:$a().optional(),seconds:$a().optional()})]).optional(),at:ls([nn(),ss(nn())]).optional(),event_type:nn().optional(),event_data:th(nn(),lc()).optional(),above:ls([nn(),$a()]).optional(),below:ls([nn(),$a()]).optional(),value_template:nn().optional(),template:nn().optional(),webhook_id:nn().optional(),zone:nn().optional(),topic:nn().optional(),payload:nn().optional(),command:ls([nn(),ss(nn())]).optional()}).transform(n=>{const i=n.trigger??n.platform??"state",{platform:a,...c}=n;return{...c,trigger:i}}),B9t=Su({mode:zg(["single","restart","queued","parallel"]).default("single"),max:$a().optional(),max_exceeded:zg(["silent","warning","critical"]).optional(),initial_state:vw().default(!1),hide_entity:vw().optional(),trace:Su({stored_traces:$a().optional()}).optional()});function gUn(n){return typeof n=="object"&&n!==null&&("platform"in n||"trigger"in n||"entity_id"in n)}function bUn(n){return typeof n=="object"&&n!==null&&("condition"in n||"entity_id"in n||"state"in n)}function OMe(n){return typeof n=="object"&&n!==null&&"type"in n&&"device_id"in n&&"domain"in n}const zGt=Su({version:$a(),nodes:th(nn(),Su({x:$a(),y:$a()})),graph_id:nn(),graph_version:$a(),strategy:zg(["native","state-machine"])}),U9t=RMe(()=>Su({conditions:ls([Bg,ss(Bg)]),sequence:ls([jm,ss(jm)]),alias:nn().optional()})),jm=RMe(()=>Fp({service:nn().optional(),action:nn().optional(),event:nn().optional(),event_data:th(nn(),lc()).optional(),id:nn().optional(),alias:nn().optional(),target:th(nn(),lc()).optional(),data:th(nn(),lc()).optional(),data_template:th(nn(),lc()).optional(),response_variable:nn().optional(),continue_on_error:vw().optional(),enabled:vw().optional(),delay:ls([nn(),$a(),th(nn(),$a())]).optional(),wait_template:ls([nn(),th(nn(),lc())]).optional(),timeout:ls([nn(),$a(),th(nn(),$a())]).optional(),continue_on_timeout:vw().optional(),wait_for_trigger:ls([oN,ss(oN)]).optional(),choose:ls([U9t,ss(U9t)]).optional(),default:ss(jm).optional(),if:ss(Bg).optional(),then:ss(jm).optional(),else:ss(jm).optional(),variables:th(nn(),lc()).optional(),repeat:Su({count:ls([nn(),$a()]).optional(),while:ss(Bg).optional(),until:ls([nn(),ss(nn()),ss(Bg)]).optional(),sequence:ss(jm)}).optional()})),mUn=Su({id:nn().optional(),alias:nn().optional(),description:nn().optional(),trigger_variables:th(nn(),lc()).optional(),trigger:ls([oN,ss(oN)]).optional(),condition:ls([Bg,ss(Bg)]).optional(),action:ls([jm,ss(jm)]),mode:zg(["single","restart","queued","parallel"]).optional().default("single"),max:$a().optional(),max_exceeded:zg(["silent","warning"]).optional(),initial_state:vw().optional(),hide_entity:vw().optional(),trace:th(nn(),lc()).optional(),variables:Su({_cafe_metadata:zGt.optional()}).catchall(lc()).optional()});mUn.omit({action:!0}).extend({action:ls([jm,ss(jm)]).optional(),sequence:ls([jm,ss(jm)])});const wUn=Fp({id:nn().optional(),alias:nn().optional(),delay:ls([nn(),Fp({hours:$a().optional(),minutes:$a().optional(),seconds:$a().optional(),milliseconds:$a().optional()})])}),yUn=Fp({id:nn().optional(),alias:nn().optional(),wait_template:nn().optional(),wait_for_trigger:ss(oN).optional(),timeout:ls([nn(),Fp({hours:$a().optional(),minutes:$a().optional(),seconds:$a().optional(),milliseconds:$a().optional()})]).optional(),continue_on_timeout:vw().optional()}).refine(n=>n.wait_template===void 0||n.wait_for_trigger===void 0,{message:"Provide either `wait_template` or `wait_for_trigger`, but not both.",path:["wait_template"]}),vUn=Fp({id:nn().optional(),alias:nn().optional(),variables:th(nn(),lc())}),EUn=Fp({id:nn().min(1),type:yN("trigger"),position:j5,data:oN}),SUn=Fp({id:nn().min(1),type:yN("condition"),position:j5,data:Bg}),TUn=Fp({id:nn().min(1),type:yN("action"),position:j5,data:jm}),AUn=Fp({id:nn().min(1),type:yN("delay"),position:j5,data:wUn}),_Un=Fp({id:nn().min(1),type:yN("wait"),position:j5,data:yUn}),kUn=Fp({id:nn().min(1),type:yN("set_variables"),position:j5,data:vUn}),xUn=HBn("type",[EUn,SUn,TUn,AUn,_Un,kUn]),NUn=Su({mode:fUn.default("single"),max_exceeded:hUn.optional(),max:$a().positive().optional(),initial_state:vw().default(!0),hide_entity:vw().optional(),trace:Su({stored_traces:$a().optional()}).optional()}),CUn=Su({automation_id:nn(),entity_id:nn(),alias:nn(),node_prefix:nn(),imported_at:nn()}),IUn=Su({mode:yN("merged"),sources:ss(CUn)}),GGt=Su({id:nn().uuid(),name:nn().min(1),description:nn().optional(),nodes:ss(xUn),edges:ss(HGt),metadata:NUn.optional(),version:yN(1).default(1),userVariables:th(nn(),lc()).optional(),workspace:IUn.optional()});function qGt(n){const i=[],a=new Set(n.nodes.map(b=>b.id));a.size!==n.nodes.length&&i.push("Duplicate node IDs detected");for(const b of n.edges)a.has(b.source)||i.push(`Edge ${b.id} references non-existent source node: ${b.source}`),a.has(b.target)||i.push(`Edge ${b.id} references non-existent target node: ${b.target}`);const c=n.nodes.filter(b=>b.type==="trigger");c.length===0&&i.push("Graph must have at least one trigger node");const d=new Set(n.edges.map(b=>b.target));for(const b of c)d.has(b.id)&&i.push(`Trigger node ${b.id} should not have incoming edges`);const g=new Set(n.nodes.filter(b=>b.type==="condition").map(b=>b.id));for(const b of n.edges)g.has(b.source)&&b.sourceHandle!=="true"&&b.sourceHandle!=="false"&&i.push(`Edge ${b.id} from condition node must have sourceHandle 'true' or 'false', got: ${b.sourceHandle}`);return{valid:i.length===0,errors:i}}zg(["state","time","time_pattern","event","mqtt","webhook","sun","zone","numeric_state","template","homeassistant","device"]);zg(["state","numeric_state","template","time","zone","and","or","not","sun","device","trigger"]);Su({entity_id:ls([$9t,ss($9t)]).optional(),area_id:ls([nn(),ss(nn())]).optional(),device_id:ls([nn(),ss(nn())]).optional()}).refine(n=>n.entity_id||n.area_id||n.device_id,{message:"At least one target (entity_id, area_id, or device_id) must be specified"});Su({entity_id:ls([nn(),ss(nn())]).optional(),area_id:ls([nn(),ss(nn())]).optional(),device_id:ls([nn(),ss(nn())]).optional()}).optional();th(nn(),lc());th(nn(),nn());const RUn=Su({wait_template:nn().optional(),wait_for_trigger:ss(PBn()).optional(),timeout:ls([nn(),Su({})]).optional()}).passthrough().refine(n=>{const i=n.wait_template&&n.wait_template.trim()!=="",a=n.wait_for_trigger&&n.wait_for_trigger.length>0;return i||a},{message:"Wait node requires either a template condition or trigger. Use a Delay node for simple time-based pauses.",path:["_root"]}),OUn=Su({service:nn().optional(),event:nn().optional()}).passthrough().superRefine((n,i)=>{const a=typeof n.event=="string"&&n.event.trim()!=="",c=typeof n.service=="string"&&n.service.trim()!=="";if(!a&&!c){i.addIssue({code:Pl.custom,message:"Either a service (e.g. light.turn_on) or an event name is required",path:["service"]});return}c&&!n.service.includes(".")&&i.addIssue({code:Pl.custom,message:"Service must be in domain.service format (e.g., light.turn_on)",path:["service"]})});function n5(n){return Array.isArray(n)?n.length>0:typeof n=="string"?n.trim()!=="":!1}function DUn(n){return Array.isArray(n)?n.length>0&&n.every(i=>typeof i=="string"&&i.trim()!==""):typeof n=="string"?n.trim()!=="":!1}const LUn=Su({trigger:nn().optional(),platform:nn().optional(),entity_id:lc().optional(),to:lc().optional(),from:lc().optional(),event_type:nn().optional(),at:lc().optional(),topic:nn().optional(),webhook_id:nn().optional(),device_id:nn().optional(),zone:nn().optional(),event:nn().optional(),value_template:nn().optional()}).passthrough().superRefine((n,i)=>{const a=n.trigger||n.platform;if(!a||a.trim()===""){i.addIssue({code:Pl.custom,message:"Trigger platform is required",path:["trigger"]});return}switch(a){case"state":n5(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for state triggers",path:["entity_id"]});break;case"numeric_state":n5(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for numeric state triggers",path:["entity_id"]});break;case"event":(!n.event_type||n.event_type.trim()==="")&&i.addIssue({code:Pl.custom,message:"Event type is required",path:["event_type"]});break;case"time":n.at||i.addIssue({code:Pl.custom,message:"Time value is required",path:["at"]});break;case"mqtt":(!n.topic||n.topic.trim()==="")&&i.addIssue({code:Pl.custom,message:"MQTT topic is required",path:["topic"]});break;case"webhook":(!n.webhook_id||n.webhook_id.trim()==="")&&i.addIssue({code:Pl.custom,message:"Webhook ID is required",path:["webhook_id"]});break;case"device":(!n.device_id||n.device_id.trim()==="")&&i.addIssue({code:Pl.custom,message:"Device is required",path:["device_id"]});break;case"zone":n5(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for zone triggers",path:["entity_id"]}),(!n.zone||n.zone.trim()==="")&&i.addIssue({code:Pl.custom,message:"Zone is required",path:["zone"]});break;case"sun":case"homeassistant":(!n.event||n.event.trim()==="")&&i.addIssue({code:Pl.custom,message:a==="sun"?"Sun event (sunrise/sunset) is required":"Home Assistant event (start/shutdown) is required",path:["event"]});break;case"template":(!n.value_template||n.value_template.trim()==="")&&i.addIssue({code:Pl.custom,message:"Template is required",path:["value_template"]});break}}),MUn=Su({delay:ls([nn(),Su({})])}).passthrough().refine(n=>typeof n.delay=="string"?n.delay.trim()!=="":!0,{message:"Delay value is required",path:["delay"]}),PUn=Su({condition:nn().min(1,"Condition type is required"),entity_id:lc().optional(),state:lc().optional(),value_template:nn().optional(),zone:nn().optional(),device_id:nn().optional(),id:lc().optional()}).passthrough().superRefine((n,i)=>{switch(n.condition){case"state":n5(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for state conditions",path:["entity_id"]}),(!n.state||typeof n.state=="string"&&n.state.trim()==="")&&i.addIssue({code:Pl.custom,message:"State value is required",path:["state"]});break;case"numeric_state":n5(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for numeric state conditions",path:["entity_id"]});break;case"trigger":DUn(n.id)||i.addIssue({code:Pl.custom,message:"Trigger ID is required",path:["id"]});break;case"template":(!n.value_template||n.value_template.trim()==="")&&i.addIssue({code:Pl.custom,message:"Template is required",path:["value_template"]});break;case"zone":n5(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for zone conditions",path:["entity_id"]}),(!n.zone||n.zone.trim()==="")&&i.addIssue({code:Pl.custom,message:"Zone is required",path:["zone"]});break;case"device":(!n.device_id||n.device_id.trim()==="")&&i.addIssue({code:Pl.custom,message:"Device is required",path:["device_id"]});break}}),jUn=Su({variables:th(nn(),lc()).optional()}).passthrough().refine(n=>n.variables?Object.keys(n.variables).length>0:!1,{message:"At least one variable must be defined",path:["variables"]});function FUn(n){switch(n){case"wait":return RUn;case"action":return OUn;case"trigger":return LUn;case"delay":return MUn;case"condition":return PUn;case"set_variables":return jUn;default:return}}function H9t(n,i){const a=FUn(n);if(!a)return[];const c=a.safeParse(i);return c.success?[]:c.error.issues.map(d=>({path:d.path.map(String),message:d.message}))}function XU(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var $Ce,z9t;function $Un(){if(z9t)return $Ce;z9t=1;function n(){this.__data__=[],this.size=0}return $Ce=n,$Ce}var BCe,G9t;function DMe(){if(G9t)return BCe;G9t=1;function n(i,a){return i===a||i!==i&&a!==a}return BCe=n,BCe}var UCe,q9t;function sae(){if(q9t)return UCe;q9t=1;var n=DMe();function i(a,c){for(var d=a.length;d--;)if(n(a[d][0],c))return d;return-1}return UCe=i,UCe}var HCe,V9t;function BUn(){if(V9t)return HCe;V9t=1;var n=sae(),i=Array.prototype,a=i.splice;function c(d){var g=this.__data__,b=n(g,d);if(b<0)return!1;var w=g.length-1;return b==w?g.pop():a.call(g,b,1),--this.size,!0}return HCe=c,HCe}var zCe,W9t;function UUn(){if(W9t)return zCe;W9t=1;var n=sae();function i(a){var c=this.__data__,d=n(c,a);return d<0?void 0:c[d][1]}return zCe=i,zCe}var GCe,K9t;function HUn(){if(K9t)return GCe;K9t=1;var n=sae();function i(a){return n(this.__data__,a)>-1}return GCe=i,GCe}var qCe,Y9t;function zUn(){if(Y9t)return qCe;Y9t=1;var n=sae();function i(a,c){var d=this.__data__,g=n(d,a);return g<0?(++this.size,d.push([a,c])):d[g][1]=c,this}return qCe=i,qCe}var VCe,J9t;function aae(){if(J9t)return VCe;J9t=1;var n=$Un(),i=BUn(),a=UUn(),c=HUn(),d=zUn();function g(b){var w=-1,E=b==null?0:b.length;for(this.clear();++w<E;){var S=b[w];this.set(S[0],S[1])}}return g.prototype.clear=n,g.prototype.delete=i,g.prototype.get=a,g.prototype.has=c,g.prototype.set=d,VCe=g,VCe}var WCe,X9t;function GUn(){if(X9t)return WCe;X9t=1;var n=aae();function i(){this.__data__=new n,this.size=0}return WCe=i,WCe}var KCe,Z9t;function qUn(){if(Z9t)return KCe;Z9t=1;function n(i){var a=this.__data__,c=a.delete(i);return this.size=a.size,c}return KCe=n,KCe}var YCe,Q9t;function VUn(){if(Q9t)return YCe;Q9t=1;function n(i){return this.__data__.get(i)}return YCe=n,YCe}var JCe,e8t;function WUn(){if(e8t)return JCe;e8t=1;function n(i){return this.__data__.has(i)}return JCe=n,JCe}var XCe,t8t;function VGt(){if(t8t)return XCe;t8t=1;var n=typeof xM=="object"&&xM&&xM.Object===Object&&xM;return XCe=n,XCe}var ZCe,n8t;function W2(){if(n8t)return ZCe;n8t=1;var n=VGt(),i=typeof self=="object"&&self&&self.Object===Object&&self,a=n||i||Function("return this")();return ZCe=a,ZCe}var QCe,r8t;function F5(){if(r8t)return QCe;r8t=1;var n=W2(),i=n.Symbol;return QCe=i,QCe}var eIe,i8t;function KUn(){if(i8t)return eIe;i8t=1;var n=F5(),i=Object.prototype,a=i.hasOwnProperty,c=i.toString,d=n?n.toStringTag:void 0;function g(b){var w=a.call(b,d),E=b[d];try{b[d]=void 0;var S=!0}catch{}var k=c.call(b);return S&&(w?b[d]=E:delete b[d]),k}return eIe=g,eIe}var tIe,o8t;function YUn(){if(o8t)return tIe;o8t=1;var n=Object.prototype,i=n.toString;function a(c){return i.call(c)}return tIe=a,tIe}var nIe,s8t;function $5(){if(s8t)return nIe;s8t=1;var n=F5(),i=KUn(),a=YUn(),c="[object Null]",d="[object Undefined]",g=n?n.toStringTag:void 0;function b(w){return w==null?w===void 0?d:c:g&&g in Object(w)?i(w):a(w)}return nIe=b,nIe}var rIe,a8t;function xR(){if(a8t)return rIe;a8t=1;function n(i){var a=typeof i;return i!=null&&(a=="object"||a=="function")}return rIe=n,rIe}var iIe,u8t;function uae(){if(u8t)return iIe;u8t=1;var n=$5(),i=xR(),a="[object AsyncFunction]",c="[object Function]",d="[object GeneratorFunction]",g="[object Proxy]";function b(w){if(!i(w))return!1;var E=n(w);return E==c||E==d||E==a||E==g}return iIe=b,iIe}var oIe,c8t;function JUn(){if(c8t)return oIe;c8t=1;var n=W2(),i=n["__core-js_shared__"];return oIe=i,oIe}var sIe,l8t;function XUn(){if(l8t)return sIe;l8t=1;var n=JUn(),i=function(){var c=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function a(c){return!!i&&i in c}return sIe=a,sIe}var aIe,d8t;function WGt(){if(d8t)return aIe;d8t=1;var n=Function.prototype,i=n.toString;function a(c){if(c!=null){try{return i.call(c)}catch{}try{return c+""}catch{}}return""}return aIe=a,aIe}var uIe,f8t;function ZUn(){if(f8t)return uIe;f8t=1;var n=uae(),i=XUn(),a=xR(),c=WGt(),d=/[\\^$.*+?()[\]{}|]/g,g=/^\[object .+?Constructor\]$/,b=Function.prototype,w=Object.prototype,E=b.toString,S=w.hasOwnProperty,k=RegExp("^"+E.call(S).replace(d,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _(C){if(!a(C)||i(C))return!1;var R=n(C)?k:g;return R.test(c(C))}return uIe=_,uIe}var cIe,h8t;function QUn(){if(h8t)return cIe;h8t=1;function n(i,a){return i==null?void 0:i[a]}return cIe=n,cIe}var lIe,p8t;function NR(){if(p8t)return lIe;p8t=1;var n=ZUn(),i=QUn();function a(c,d){var g=i(c,d);return n(g)?g:void 0}return lIe=a,lIe}var dIe,g8t;function LMe(){if(g8t)return dIe;g8t=1;var n=NR(),i=W2(),a=n(i,"Map");return dIe=a,dIe}var fIe,b8t;function cae(){if(b8t)return fIe;b8t=1;var n=NR(),i=n(Object,"create");return fIe=i,fIe}var hIe,m8t;function eHn(){if(m8t)return hIe;m8t=1;var n=cae();function i(){this.__data__=n?n(null):{},this.size=0}return hIe=i,hIe}var pIe,w8t;function tHn(){if(w8t)return pIe;w8t=1;function n(i){var a=this.has(i)&&delete this.__data__[i];return this.size-=a?1:0,a}return pIe=n,pIe}var gIe,y8t;function nHn(){if(y8t)return gIe;y8t=1;var n=cae(),i="__lodash_hash_undefined__",a=Object.prototype,c=a.hasOwnProperty;function d(g){var b=this.__data__;if(n){var w=b[g];return w===i?void 0:w}return c.call(b,g)?b[g]:void 0}return gIe=d,gIe}var bIe,v8t;function rHn(){if(v8t)return bIe;v8t=1;var n=cae(),i=Object.prototype,a=i.hasOwnProperty;function c(d){var g=this.__data__;return n?g[d]!==void 0:a.call(g,d)}return bIe=c,bIe}var mIe,E8t;function iHn(){if(E8t)return mIe;E8t=1;var n=cae(),i="__lodash_hash_undefined__";function a(c,d){var g=this.__data__;return this.size+=this.has(c)?0:1,g[c]=n&&d===void 0?i:d,this}return mIe=a,mIe}var wIe,S8t;function oHn(){if(S8t)return wIe;S8t=1;var n=eHn(),i=tHn(),a=nHn(),c=rHn(),d=iHn();function g(b){var w=-1,E=b==null?0:b.length;for(this.clear();++w<E;){var S=b[w];this.set(S[0],S[1])}}return g.prototype.clear=n,g.prototype.delete=i,g.prototype.get=a,g.prototype.has=c,g.prototype.set=d,wIe=g,wIe}var yIe,T8t;function sHn(){if(T8t)return yIe;T8t=1;var n=oHn(),i=aae(),a=LMe();function c(){this.size=0,this.__data__={hash:new n,map:new(a||i),string:new n}}return yIe=c,yIe}var vIe,A8t;function aHn(){if(A8t)return vIe;A8t=1;function n(i){var a=typeof i;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?i!=="__proto__":i===null}return vIe=n,vIe}var EIe,_8t;function lae(){if(_8t)return EIe;_8t=1;var n=aHn();function i(a,c){var d=a.__data__;return n(c)?d[typeof c=="string"?"string":"hash"]:d.map}return EIe=i,EIe}var SIe,k8t;function uHn(){if(k8t)return SIe;k8t=1;var n=lae();function i(a){var c=n(this,a).delete(a);return this.size-=c?1:0,c}return SIe=i,SIe}var TIe,x8t;function cHn(){if(x8t)return TIe;x8t=1;var n=lae();function i(a){return n(this,a).get(a)}return TIe=i,TIe}var AIe,N8t;function lHn(){if(N8t)return AIe;N8t=1;var n=lae();function i(a){return n(this,a).has(a)}return AIe=i,AIe}var _Ie,C8t;function dHn(){if(C8t)return _Ie;C8t=1;var n=lae();function i(a,c){var d=n(this,a),g=d.size;return d.set(a,c),this.size+=d.size==g?0:1,this}return _Ie=i,_Ie}var kIe,I8t;function MMe(){if(I8t)return kIe;I8t=1;var n=sHn(),i=uHn(),a=cHn(),c=lHn(),d=dHn();function g(b){var w=-1,E=b==null?0:b.length;for(this.clear();++w<E;){var S=b[w];this.set(S[0],S[1])}}return g.prototype.clear=n,g.prototype.delete=i,g.prototype.get=a,g.prototype.has=c,g.prototype.set=d,kIe=g,kIe}var xIe,R8t;function fHn(){if(R8t)return xIe;R8t=1;var n=aae(),i=LMe(),a=MMe(),c=200;function d(g,b){var w=this.__data__;if(w instanceof n){var E=w.__data__;if(!i||E.length<c-1)return E.push([g,b]),this.size=++w.size,this;w=this.__data__=new a(E)}return w.set(g,b),this.size=w.size,this}return xIe=d,xIe}var NIe,O8t;function PMe(){if(O8t)return NIe;O8t=1;var n=aae(),i=GUn(),a=qUn(),c=VUn(),d=WUn(),g=fHn();function b(w){var E=this.__data__=new n(w);this.size=E.size}return b.prototype.clear=i,b.prototype.delete=a,b.prototype.get=c,b.prototype.has=d,b.prototype.set=g,NIe=b,NIe}var CIe,D8t;function jMe(){if(D8t)return CIe;D8t=1;function n(i,a){for(var c=-1,d=i==null?0:i.length;++c<d&&a(i[c],c,i)!==!1;);return i}return CIe=n,CIe}var IIe,L8t;function KGt(){if(L8t)return IIe;L8t=1;var n=NR(),i=function(){try{var a=n(Object,"defineProperty");return a({},"",{}),a}catch{}}();return IIe=i,IIe}var RIe,M8t;function YGt(){if(M8t)return RIe;M8t=1;var n=KGt();function i(a,c,d){c=="__proto__"&&n?n(a,c,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[c]=d}return RIe=i,RIe}var OIe,P8t;function JGt(){if(P8t)return OIe;P8t=1;var n=YGt(),i=DMe(),a=Object.prototype,c=a.hasOwnProperty;function d(g,b,w){var E=g[b];(!(c.call(g,b)&&i(E,w))||w===void 0&&!(b in g))&&n(g,b,w)}return OIe=d,OIe}var DIe,j8t;function dae(){if(j8t)return DIe;j8t=1;var n=JGt(),i=YGt();function a(c,d,g,b){var w=!g;g||(g={});for(var E=-1,S=d.length;++E<S;){var k=d[E],_=b?b(g[k],c[k],k,g,c):void 0;_===void 0&&(_=c[k]),w?i(g,k,_):n(g,k,_)}return g}return DIe=a,DIe}var LIe,F8t;function hHn(){if(F8t)return LIe;F8t=1;function n(i,a){for(var c=-1,d=Array(i);++c<i;)d[c]=a(c);return d}return LIe=n,LIe}var MIe,$8t;function AA(){if($8t)return MIe;$8t=1;function n(i){return i!=null&&typeof i=="object"}return MIe=n,MIe}var PIe,B8t;function pHn(){if(B8t)return PIe;B8t=1;var n=$5(),i=AA(),a="[object Arguments]";function c(d){return i(d)&&n(d)==a}return PIe=c,PIe}var jIe,U8t;function fae(){if(U8t)return jIe;U8t=1;var n=pHn(),i=AA(),a=Object.prototype,c=a.hasOwnProperty,d=a.propertyIsEnumerable,g=n(function(){return arguments}())?n:function(b){return i(b)&&c.call(b,"callee")&&!d.call(b,"callee")};return jIe=g,jIe}var FIe,H8t;function ih(){if(H8t)return FIe;H8t=1;var n=Array.isArray;return FIe=n,FIe}var ZU={exports:{}},$Ie,z8t;function gHn(){if(z8t)return $Ie;z8t=1;function n(){return!1}return $Ie=n,$Ie}ZU.exports;var G8t;function Tz(){return G8t||(G8t=1,function(n,i){var a=W2(),c=gHn(),d=i&&!i.nodeType&&i,g=d&&!0&&n&&!n.nodeType&&n,b=g&&g.exports===d,w=b?a.Buffer:void 0,E=w?w.isBuffer:void 0,S=E||c;n.exports=S}(ZU,ZU.exports)),ZU.exports}var BIe,q8t;function XGt(){if(q8t)return BIe;q8t=1;var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function a(c,d){var g=typeof c;return d=d??n,!!d&&(g=="number"||g!="symbol"&&i.test(c))&&c>-1&&c%1==0&&c<d}return BIe=a,BIe}var UIe,V8t;function FMe(){if(V8t)return UIe;V8t=1;var n=9007199254740991;function i(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=n}return UIe=i,UIe}var HIe,W8t;function bHn(){if(W8t)return HIe;W8t=1;var n=$5(),i=FMe(),a=AA(),c="[object Arguments]",d="[object Array]",g="[object Boolean]",b="[object Date]",w="[object Error]",E="[object Function]",S="[object Map]",k="[object Number]",_="[object Object]",C="[object RegExp]",R="[object Set]",M="[object String]",D="[object WeakMap]",B="[object ArrayBuffer]",F="[object DataView]",$="[object Float32Array]",P="[object Float64Array]",H="[object Int8Array]",Q="[object Int16Array]",re="[object Int32Array]",ee="[object Uint8Array]",ae="[object Uint8ClampedArray]",he="[object Uint16Array]",ve="[object Uint32Array]",de={};de[$]=de[P]=de[H]=de[Q]=de[re]=de[ee]=de[ae]=de[he]=de[ve]=!0,de[c]=de[d]=de[B]=de[g]=de[F]=de[b]=de[w]=de[E]=de[S]=de[k]=de[_]=de[C]=de[R]=de[M]=de[D]=!1;function ge(Y){return a(Y)&&i(Y.length)&&!!de[n(Y)]}return HIe=ge,HIe}var zIe,K8t;function $Me(){if(K8t)return zIe;K8t=1;function n(i){return function(a){return i(a)}}return zIe=n,zIe}var QU={exports:{}};QU.exports;var Y8t;function BMe(){return Y8t||(Y8t=1,function(n,i){var a=VGt(),c=i&&!i.nodeType&&i,d=c&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===c,b=g&&a.process,w=function(){try{var E=d&&d.require&&d.require("util").types;return E||b&&b.binding&&b.binding("util")}catch{}}();n.exports=w}(QU,QU.exports)),QU.exports}var GIe,J8t;function hae(){if(J8t)return GIe;J8t=1;var n=bHn(),i=$Me(),a=BMe(),c=a&&a.isTypedArray,d=c?i(c):n;return GIe=d,GIe}var qIe,X8t;function ZGt(){if(X8t)return qIe;X8t=1;var n=hHn(),i=fae(),a=ih(),c=Tz(),d=XGt(),g=hae(),b=Object.prototype,w=b.hasOwnProperty;function E(S,k){var _=a(S),C=!_&&i(S),R=!_&&!C&&c(S),M=!_&&!C&&!R&&g(S),D=_||C||R||M,B=D?n(S.length,String):[],F=B.length;for(var $ in S)(k||w.call(S,$))&&!(D&&($=="length"||R&&($=="offset"||$=="parent")||M&&($=="buffer"||$=="byteLength"||$=="byteOffset")||d($,F)))&&B.push($);return B}return qIe=E,qIe}var VIe,Z8t;function pae(){if(Z8t)return VIe;Z8t=1;var n=Object.prototype;function i(a){var c=a&&a.constructor,d=typeof c=="function"&&c.prototype||n;return a===d}return VIe=i,VIe}var WIe,Q8t;function QGt(){if(Q8t)return WIe;Q8t=1;function n(i,a){return function(c){return i(a(c))}}return WIe=n,WIe}var KIe,ePt;function mHn(){if(ePt)return KIe;ePt=1;var n=QGt(),i=n(Object.keys,Object);return KIe=i,KIe}var YIe,tPt;function UMe(){if(tPt)return YIe;tPt=1;var n=pae(),i=mHn(),a=Object.prototype,c=a.hasOwnProperty;function d(g){if(!n(g))return i(g);var b=[];for(var w in Object(g))c.call(g,w)&&w!="constructor"&&b.push(w);return b}return YIe=d,YIe}var JIe,nPt;function CR(){if(nPt)return JIe;nPt=1;var n=uae(),i=FMe();function a(c){return c!=null&&i(c.length)&&!n(c)}return JIe=a,JIe}var XIe,rPt;function IR(){if(rPt)return XIe;rPt=1;var n=ZGt(),i=UMe(),a=CR();function c(d){return a(d)?n(d):i(d)}return XIe=c,XIe}var ZIe,iPt;function wHn(){if(iPt)return ZIe;iPt=1;var n=dae(),i=IR();function a(c,d){return c&&n(d,i(d),c)}return ZIe=a,ZIe}var QIe,oPt;function yHn(){if(oPt)return QIe;oPt=1;function n(i){var a=[];if(i!=null)for(var c in Object(i))a.push(c);return a}return QIe=n,QIe}var e4e,sPt;function vHn(){if(sPt)return e4e;sPt=1;var n=xR(),i=pae(),a=yHn(),c=Object.prototype,d=c.hasOwnProperty;function g(b){if(!n(b))return a(b);var w=i(b),E=[];for(var S in b)S=="constructor"&&(w||!d.call(b,S))||E.push(S);return E}return e4e=g,e4e}var t4e,aPt;function HMe(){if(aPt)return t4e;aPt=1;var n=ZGt(),i=vHn(),a=CR();function c(d){return a(d)?n(d,!0):i(d)}return t4e=c,t4e}var n4e,uPt;function EHn(){if(uPt)return n4e;uPt=1;var n=dae(),i=HMe();function a(c,d){return c&&n(d,i(d),c)}return n4e=a,n4e}var eH={exports:{}};eH.exports;var cPt;function SHn(){return cPt||(cPt=1,function(n,i){var a=W2(),c=i&&!i.nodeType&&i,d=c&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===c,b=g?a.Buffer:void 0,w=b?b.allocUnsafe:void 0;function E(S,k){if(k)return S.slice();var _=S.length,C=w?w(_):new S.constructor(_);return S.copy(C),C}n.exports=E}(eH,eH.exports)),eH.exports}var r4e,lPt;function THn(){if(lPt)return r4e;lPt=1;function n(i,a){var c=-1,d=i.length;for(a||(a=Array(d));++c<d;)a[c]=i[c];return a}return r4e=n,r4e}var i4e,dPt;function eqt(){if(dPt)return i4e;dPt=1;function n(i,a){for(var c=-1,d=i==null?0:i.length,g=0,b=[];++c<d;){var w=i[c];a(w,c,i)&&(b[g++]=w)}return b}return i4e=n,i4e}var o4e,fPt;function tqt(){if(fPt)return o4e;fPt=1;function n(){return[]}return o4e=n,o4e}var s4e,hPt;function zMe(){if(hPt)return s4e;hPt=1;var n=eqt(),i=tqt(),a=Object.prototype,c=a.propertyIsEnumerable,d=Object.getOwnPropertySymbols,g=d?function(b){return b==null?[]:(b=Object(b),n(d(b),function(w){return c.call(b,w)}))}:i;return s4e=g,s4e}var a4e,pPt;function AHn(){if(pPt)return a4e;pPt=1;var n=dae(),i=zMe();function a(c,d){return n(c,i(c),d)}return a4e=a,a4e}var u4e,gPt;function GMe(){if(gPt)return u4e;gPt=1;function n(i,a){for(var c=-1,d=a.length,g=i.length;++c<d;)i[g+c]=a[c];return i}return u4e=n,u4e}var c4e,bPt;function qMe(){if(bPt)return c4e;bPt=1;var n=QGt(),i=n(Object.getPrototypeOf,Object);return c4e=i,c4e}var l4e,mPt;function nqt(){if(mPt)return l4e;mPt=1;var n=GMe(),i=qMe(),a=zMe(),c=tqt(),d=Object.getOwnPropertySymbols,g=d?function(b){for(var w=[];b;)n(w,a(b)),b=i(b);return w}:c;return l4e=g,l4e}var d4e,wPt;function _Hn(){if(wPt)return d4e;wPt=1;var n=dae(),i=nqt();function a(c,d){return n(c,i(c),d)}return d4e=a,d4e}var f4e,yPt;function rqt(){if(yPt)return f4e;yPt=1;var n=GMe(),i=ih();function a(c,d,g){var b=d(c);return i(c)?b:n(b,g(c))}return f4e=a,f4e}var h4e,vPt;function iqt(){if(vPt)return h4e;vPt=1;var n=rqt(),i=zMe(),a=IR();function c(d){return n(d,a,i)}return h4e=c,h4e}var p4e,EPt;function kHn(){if(EPt)return p4e;EPt=1;var n=rqt(),i=nqt(),a=HMe();function c(d){return n(d,a,i)}return p4e=c,p4e}var g4e,SPt;function xHn(){if(SPt)return g4e;SPt=1;var n=NR(),i=W2(),a=n(i,"DataView");return g4e=a,g4e}var b4e,TPt;function NHn(){if(TPt)return b4e;TPt=1;var n=NR(),i=W2(),a=n(i,"Promise");return b4e=a,b4e}var m4e,APt;function oqt(){if(APt)return m4e;APt=1;var n=NR(),i=W2(),a=n(i,"Set");return m4e=a,m4e}var w4e,_Pt;function CHn(){if(_Pt)return w4e;_Pt=1;var n=NR(),i=W2(),a=n(i,"WeakMap");return w4e=a,w4e}var y4e,kPt;function B5(){if(kPt)return y4e;kPt=1;var n=xHn(),i=LMe(),a=NHn(),c=oqt(),d=CHn(),g=$5(),b=WGt(),w="[object Map]",E="[object Object]",S="[object Promise]",k="[object Set]",_="[object WeakMap]",C="[object DataView]",R=b(n),M=b(i),D=b(a),B=b(c),F=b(d),$=g;return(n&&$(new n(new ArrayBuffer(1)))!=C||i&&$(new i)!=w||a&&$(a.resolve())!=S||c&&$(new c)!=k||d&&$(new d)!=_)&&($=function(P){var H=g(P),Q=H==E?P.constructor:void 0,re=Q?b(Q):"";if(re)switch(re){case R:return C;case M:return w;case D:return S;case B:return k;case F:return _}return H}),y4e=$,y4e}var v4e,xPt;function IHn(){if(xPt)return v4e;xPt=1;var n=Object.prototype,i=n.hasOwnProperty;function a(c){var d=c.length,g=new c.constructor(d);return d&&typeof c[0]=="string"&&i.call(c,"index")&&(g.index=c.index,g.input=c.input),g}return v4e=a,v4e}var E4e,NPt;function sqt(){if(NPt)return E4e;NPt=1;var n=W2(),i=n.Uint8Array;return E4e=i,E4e}var S4e,CPt;function VMe(){if(CPt)return S4e;CPt=1;var n=sqt();function i(a){var c=new a.constructor(a.byteLength);return new n(c).set(new n(a)),c}return S4e=i,S4e}var T4e,IPt;function RHn(){if(IPt)return T4e;IPt=1;var n=VMe();function i(a,c){var d=c?n(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}return T4e=i,T4e}var A4e,RPt;function OHn(){if(RPt)return A4e;RPt=1;var n=/\w*$/;function i(a){var c=new a.constructor(a.source,n.exec(a));return c.lastIndex=a.lastIndex,c}return A4e=i,A4e}var _4e,OPt;function DHn(){if(OPt)return _4e;OPt=1;var n=F5(),i=n?n.prototype:void 0,a=i?i.valueOf:void 0;function c(d){return a?Object(a.call(d)):{}}return _4e=c,_4e}var k4e,DPt;function LHn(){if(DPt)return k4e;DPt=1;var n=VMe();function i(a,c){var d=c?n(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}return k4e=i,k4e}var x4e,LPt;function MHn(){if(LPt)return x4e;LPt=1;var n=VMe(),i=RHn(),a=OHn(),c=DHn(),d=LHn(),g="[object Boolean]",b="[object Date]",w="[object Map]",E="[object Number]",S="[object RegExp]",k="[object Set]",_="[object String]",C="[object Symbol]",R="[object ArrayBuffer]",M="[object DataView]",D="[object Float32Array]",B="[object Float64Array]",F="[object Int8Array]",$="[object Int16Array]",P="[object Int32Array]",H="[object Uint8Array]",Q="[object Uint8ClampedArray]",re="[object Uint16Array]",ee="[object Uint32Array]";function ae(he,ve,de){var ge=he.constructor;switch(ve){case R:return n(he);case g:case b:return new ge(+he);case M:return i(he,de);case D:case B:case F:case $:case P:case H:case Q:case re:case ee:return d(he,de);case w:return new ge;case E:case _:return new ge(he);case S:return a(he);case k:return new ge;case C:return c(he)}}return x4e=ae,x4e}var N4e,MPt;function aqt(){if(MPt)return N4e;MPt=1;var n=xR(),i=Object.create,a=function(){function c(){}return function(d){if(!n(d))return{};if(i)return i(d);c.prototype=d;var g=new c;return c.prototype=void 0,g}}();return N4e=a,N4e}var C4e,PPt;function PHn(){if(PPt)return C4e;PPt=1;var n=aqt(),i=qMe(),a=pae();function c(d){return typeof d.constructor=="function"&&!a(d)?n(i(d)):{}}return C4e=c,C4e}var I4e,jPt;function jHn(){if(jPt)return I4e;jPt=1;var n=B5(),i=AA(),a="[object Map]";function c(d){return i(d)&&n(d)==a}return I4e=c,I4e}var R4e,FPt;function FHn(){if(FPt)return R4e;FPt=1;var n=jHn(),i=$Me(),a=BMe(),c=a&&a.isMap,d=c?i(c):n;return R4e=d,R4e}var O4e,$Pt;function $Hn(){if($Pt)return O4e;$Pt=1;var n=B5(),i=AA(),a="[object Set]";function c(d){return i(d)&&n(d)==a}return O4e=c,O4e}var D4e,BPt;function BHn(){if(BPt)return D4e;BPt=1;var n=$Hn(),i=$Me(),a=BMe(),c=a&&a.isSet,d=c?i(c):n;return D4e=d,D4e}var L4e,UPt;function UHn(){if(UPt)return L4e;UPt=1;var n=PMe(),i=jMe(),a=JGt(),c=wHn(),d=EHn(),g=SHn(),b=THn(),w=AHn(),E=_Hn(),S=iqt(),k=kHn(),_=B5(),C=IHn(),R=MHn(),M=PHn(),D=ih(),B=Tz(),F=FHn(),$=xR(),P=BHn(),H=IR(),Q=HMe(),re=1,ee=2,ae=4,he="[object Arguments]",ve="[object Array]",de="[object Boolean]",ge="[object Date]",Y="[object Error]",fe="[object Function]",De="[object GeneratorFunction]",Se="[object Map]",$e="[object Number]",Te="[object Object]",ke="[object RegExp]",Je="[object Set]",bt="[object String]",qe="[object Symbol]",_t="[object WeakMap]",At="[object ArrayBuffer]",ft="[object DataView]",Kt="[object Float32Array]",kt="[object Float64Array]",It="[object Int8Array]",Xt="[object Int16Array]",Bn="[object Int32Array]",tr="[object Uint8Array]",Zn="[object Uint8ClampedArray]",Dr="[object Uint16Array]",Ui="[object Uint32Array]",Qr={};Qr[he]=Qr[ve]=Qr[At]=Qr[ft]=Qr[de]=Qr[ge]=Qr[Kt]=Qr[kt]=Qr[It]=Qr[Xt]=Qr[Bn]=Qr[Se]=Qr[$e]=Qr[Te]=Qr[ke]=Qr[Je]=Qr[bt]=Qr[qe]=Qr[tr]=Qr[Zn]=Qr[Dr]=Qr[Ui]=!0,Qr[Y]=Qr[fe]=Qr[_t]=!1;function Hi(ai,jc,Xs,as,Jo,xa){var xi,gb=jc&re,Yg=jc&ee,qh=jc&ae;if(Xs&&(xi=Jo?Xs(ai,as,Jo,xa):Xs(ai)),xi!==void 0)return xi;if(!$(ai))return ai;var bb=D(ai);if(bb){if(xi=C(ai),!gb)return b(ai,xi)}else{var Vp=_(ai),Rw=Vp==fe||Vp==De;if(B(ai))return g(ai,gb);if(Vp==Te||Vp==he||Rw&&!Jo){if(xi=Yg||Rw?{}:M(ai),!gb)return Yg?E(ai,d(xi,ai)):w(ai,c(xi,ai))}else{if(!Qr[Vp])return Jo?ai:{};xi=R(ai,Vp,gb)}}xa||(xa=new n);var Vh=xa.get(ai);if(Vh)return Vh;xa.set(ai,xi),P(ai)?ai.forEach(function(Wp){xi.add(Hi(Wp,jc,Xs,Wp,ai,xa))}):F(ai)&&ai.forEach(function(Wp,Xg){xi.set(Xg,Hi(Wp,jc,Xs,Xg,ai,xa))});var Y2=qh?Yg?k:S:Yg?Q:H,Jg=bb?void 0:Y2(ai);return i(Jg||ai,function(Wp,Xg){Jg&&(Xg=Wp,Wp=ai[Xg]),a(xi,Xg,Hi(Wp,jc,Xs,Xg,ai,xa))}),xi}return L4e=Hi,L4e}var M4e,HPt;function HHn(){if(HPt)return M4e;HPt=1;var n=UHn(),i=4;function a(c){return n(c,i)}return M4e=a,M4e}var P4e,zPt;function uqt(){if(zPt)return P4e;zPt=1;function n(i){return function(){return i}}return P4e=n,P4e}var j4e,GPt;function zHn(){if(GPt)return j4e;GPt=1;function n(i){return function(a,c,d){for(var g=-1,b=Object(a),w=d(a),E=w.length;E--;){var S=w[i?E:++g];if(c(b[S],S,b)===!1)break}return a}}return j4e=n,j4e}var F4e,qPt;function GHn(){if(qPt)return F4e;qPt=1;var n=zHn(),i=n();return F4e=i,F4e}var $4e,VPt;function cqt(){if(VPt)return $4e;VPt=1;var n=GHn(),i=IR();function a(c,d){return c&&n(c,d,i)}return $4e=a,$4e}var B4e,WPt;function qHn(){if(WPt)return B4e;WPt=1;var n=CR();function i(a,c){return function(d,g){if(d==null)return d;if(!n(d))return a(d,g);for(var b=d.length,w=c?b:-1,E=Object(d);(c?w--:++w<b)&&g(E[w],w,E)!==!1;);return d}}return B4e=i,B4e}var U4e,KPt;function gae(){if(KPt)return U4e;KPt=1;var n=cqt(),i=qHn(),a=i(n);return U4e=a,U4e}var H4e,YPt;function bae(){if(YPt)return H4e;YPt=1;function n(i){return i}return H4e=n,H4e}var z4e,JPt;function VHn(){if(JPt)return z4e;JPt=1;var n=bae();function i(a){return typeof a=="function"?a:n}return z4e=i,z4e}var G4e,XPt;function WHn(){if(XPt)return G4e;XPt=1;var n=jMe(),i=gae(),a=VHn(),c=ih();function d(g,b){var w=c(g)?n:i;return w(g,a(b))}return G4e=d,G4e}var q4e,ZPt;function KHn(){return ZPt||(ZPt=1,q4e=WHn()),q4e}var V4e,QPt;function YHn(){if(QPt)return V4e;QPt=1;var n=gae();function i(a,c){var d=[];return n(a,function(g,b,w){c(g,b,w)&&d.push(g)}),d}return V4e=i,V4e}var W4e,ejt;function JHn(){if(ejt)return W4e;ejt=1;var n="__lodash_hash_undefined__";function i(a){return this.__data__.set(a,n),this}return W4e=i,W4e}var K4e,tjt;function XHn(){if(tjt)return K4e;tjt=1;function n(i){return this.__data__.has(i)}return K4e=n,K4e}var Y4e,njt;function lqt(){if(njt)return Y4e;njt=1;var n=MMe(),i=JHn(),a=XHn();function c(d){var g=-1,b=d==null?0:d.length;for(this.__data__=new n;++g<b;)this.add(d[g])}return c.prototype.add=c.prototype.push=i,c.prototype.has=a,Y4e=c,Y4e}var J4e,rjt;function ZHn(){if(rjt)return J4e;rjt=1;function n(i,a){for(var c=-1,d=i==null?0:i.length;++c<d;)if(a(i[c],c,i))return!0;return!1}return J4e=n,J4e}var X4e,ijt;function dqt(){if(ijt)return X4e;ijt=1;function n(i,a){return i.has(a)}return X4e=n,X4e}var Z4e,ojt;function fqt(){if(ojt)return Z4e;ojt=1;var n=lqt(),i=ZHn(),a=dqt(),c=1,d=2;function g(b,w,E,S,k,_){var C=E&c,R=b.length,M=w.length;if(R!=M&&!(C&&M>R))return!1;var D=_.get(b),B=_.get(w);if(D&&B)return D==w&&B==b;var F=-1,$=!0,P=E&d?new n:void 0;for(_.set(b,w),_.set(w,b);++F<R;){var H=b[F],Q=w[F];if(S)var re=C?S(Q,H,F,w,b,_):S(H,Q,F,b,w,_);if(re!==void 0){if(re)continue;$=!1;break}if(P){if(!i(w,function(ee,ae){if(!a(P,ae)&&(H===ee||k(H,ee,E,S,_)))return P.push(ae)})){$=!1;break}}else if(!(H===Q||k(H,Q,E,S,_))){$=!1;break}}return _.delete(b),_.delete(w),$}return Z4e=g,Z4e}var Q4e,sjt;function QHn(){if(sjt)return Q4e;sjt=1;function n(i){var a=-1,c=Array(i.size);return i.forEach(function(d,g){c[++a]=[g,d]}),c}return Q4e=n,Q4e}var eRe,ajt;function WMe(){if(ajt)return eRe;ajt=1;function n(i){var a=-1,c=Array(i.size);return i.forEach(function(d){c[++a]=d}),c}return eRe=n,eRe}var tRe,ujt;function ezn(){if(ujt)return tRe;ujt=1;var n=F5(),i=sqt(),a=DMe(),c=fqt(),d=QHn(),g=WMe(),b=1,w=2,E="[object Boolean]",S="[object Date]",k="[object Error]",_="[object Map]",C="[object Number]",R="[object RegExp]",M="[object Set]",D="[object String]",B="[object Symbol]",F="[object ArrayBuffer]",$="[object DataView]",P=n?n.prototype:void 0,H=P?P.valueOf:void 0;function Q(re,ee,ae,he,ve,de,ge){switch(ae){case $:if(re.byteLength!=ee.byteLength||re.byteOffset!=ee.byteOffset)return!1;re=re.buffer,ee=ee.buffer;case F:return!(re.byteLength!=ee.byteLength||!de(new i(re),new i(ee)));case E:case S:case C:return a(+re,+ee);case k:return re.name==ee.name&&re.message==ee.message;case R:case D:return re==ee+"";case _:var Y=d;case M:var fe=he&b;if(Y||(Y=g),re.size!=ee.size&&!fe)return!1;var De=ge.get(re);if(De)return De==ee;he|=w,ge.set(re,ee);var Se=c(Y(re),Y(ee),he,ve,de,ge);return ge.delete(re),Se;case B:if(H)return H.call(re)==H.call(ee)}return!1}return tRe=Q,tRe}var nRe,cjt;function tzn(){if(cjt)return nRe;cjt=1;var n=iqt(),i=1,a=Object.prototype,c=a.hasOwnProperty;function d(g,b,w,E,S,k){var _=w&i,C=n(g),R=C.length,M=n(b),D=M.length;if(R!=D&&!_)return!1;for(var B=R;B--;){var F=C[B];if(!(_?F in b:c.call(b,F)))return!1}var $=k.get(g),P=k.get(b);if($&&P)return $==b&&P==g;var H=!0;k.set(g,b),k.set(b,g);for(var Q=_;++B<R;){F=C[B];var re=g[F],ee=b[F];if(E)var ae=_?E(ee,re,F,b,g,k):E(re,ee,F,g,b,k);if(!(ae===void 0?re===ee||S(re,ee,w,E,k):ae)){H=!1;break}Q||(Q=F=="constructor")}if(H&&!Q){var he=g.constructor,ve=b.constructor;he!=ve&&"constructor"in g&&"constructor"in b&&!(typeof he=="function"&&he instanceof he&&typeof ve=="function"&&ve instanceof ve)&&(H=!1)}return k.delete(g),k.delete(b),H}return nRe=d,nRe}var rRe,ljt;function nzn(){if(ljt)return rRe;ljt=1;var n=PMe(),i=fqt(),a=ezn(),c=tzn(),d=B5(),g=ih(),b=Tz(),w=hae(),E=1,S="[object Arguments]",k="[object Array]",_="[object Object]",C=Object.prototype,R=C.hasOwnProperty;function M(D,B,F,$,P,H){var Q=g(D),re=g(B),ee=Q?k:d(D),ae=re?k:d(B);ee=ee==S?_:ee,ae=ae==S?_:ae;var he=ee==_,ve=ae==_,de=ee==ae;if(de&&b(D)){if(!b(B))return!1;Q=!0,he=!1}if(de&&!he)return H||(H=new n),Q||w(D)?i(D,B,F,$,P,H):a(D,B,ee,F,$,P,H);if(!(F&E)){var ge=he&&R.call(D,"__wrapped__"),Y=ve&&R.call(B,"__wrapped__");if(ge||Y){var fe=ge?D.value():D,De=Y?B.value():B;return H||(H=new n),P(fe,De,F,$,H)}}return de?(H||(H=new n),c(D,B,F,$,P,H)):!1}return rRe=M,rRe}var iRe,djt;function hqt(){if(djt)return iRe;djt=1;var n=nzn(),i=AA();function a(c,d,g,b,w){return c===d?!0:c==null||d==null||!i(c)&&!i(d)?c!==c&&d!==d:n(c,d,g,b,a,w)}return iRe=a,iRe}var oRe,fjt;function rzn(){if(fjt)return oRe;fjt=1;var n=PMe(),i=hqt(),a=1,c=2;function d(g,b,w,E){var S=w.length,k=S,_=!E;if(g==null)return!k;for(g=Object(g);S--;){var C=w[S];if(_&&C[2]?C[1]!==g[C[0]]:!(C[0]in g))return!1}for(;++S<k;){C=w[S];var R=C[0],M=g[R],D=C[1];if(_&&C[2]){if(M===void 0&&!(R in g))return!1}else{var B=new n;if(E)var F=E(M,D,R,g,b,B);if(!(F===void 0?i(D,M,a|c,E,B):F))return!1}}return!0}return oRe=d,oRe}var sRe,hjt;function pqt(){if(hjt)return sRe;hjt=1;var n=xR();function i(a){return a===a&&!n(a)}return sRe=i,sRe}var aRe,pjt;function izn(){if(pjt)return aRe;pjt=1;var n=pqt(),i=IR();function a(c){for(var d=i(c),g=d.length;g--;){var b=d[g],w=c[b];d[g]=[b,w,n(w)]}return d}return aRe=a,aRe}var uRe,gjt;function gqt(){if(gjt)return uRe;gjt=1;function n(i,a){return function(c){return c==null?!1:c[i]===a&&(a!==void 0||i in Object(c))}}return uRe=n,uRe}var cRe,bjt;function ozn(){if(bjt)return cRe;bjt=1;var n=rzn(),i=izn(),a=gqt();function c(d){var g=i(d);return g.length==1&&g[0][2]?a(g[0][0],g[0][1]):function(b){return b===d||n(b,d,g)}}return cRe=c,cRe}var lRe,mjt;function KMe(){if(mjt)return lRe;mjt=1;var n=$5(),i=AA(),a="[object Symbol]";function c(d){return typeof d=="symbol"||i(d)&&n(d)==a}return lRe=c,lRe}var dRe,wjt;function YMe(){if(wjt)return dRe;wjt=1;var n=ih(),i=KMe(),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;function d(g,b){if(n(g))return!1;var w=typeof g;return w=="number"||w=="symbol"||w=="boolean"||g==null||i(g)?!0:c.test(g)||!a.test(g)||b!=null&&g in Object(b)}return dRe=d,dRe}var fRe,yjt;function szn(){if(yjt)return fRe;yjt=1;var n=MMe(),i="Expected a function";function a(c,d){if(typeof c!="function"||d!=null&&typeof d!="function")throw new TypeError(i);var g=function(){var b=arguments,w=d?d.apply(this,b):b[0],E=g.cache;if(E.has(w))return E.get(w);var S=c.apply(this,b);return g.cache=E.set(w,S)||E,S};return g.cache=new(a.Cache||n),g}return a.Cache=n,fRe=a,fRe}var hRe,vjt;function azn(){if(vjt)return hRe;vjt=1;var n=szn(),i=500;function a(c){var d=n(c,function(b){return g.size===i&&g.clear(),b}),g=d.cache;return d}return hRe=a,hRe}var pRe,Ejt;function uzn(){if(Ejt)return pRe;Ejt=1;var n=azn(),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,c=n(function(d){var g=[];return d.charCodeAt(0)===46&&g.push(""),d.replace(i,function(b,w,E,S){g.push(E?S.replace(a,"$1"):w||b)}),g});return pRe=c,pRe}var gRe,Sjt;function JMe(){if(Sjt)return gRe;Sjt=1;function n(i,a){for(var c=-1,d=i==null?0:i.length,g=Array(d);++c<d;)g[c]=a(i[c],c,i);return g}return gRe=n,gRe}var bRe,Tjt;function czn(){if(Tjt)return bRe;Tjt=1;var n=F5(),i=JMe(),a=ih(),c=KMe(),d=n?n.prototype:void 0,g=d?d.toString:void 0;function b(w){if(typeof w=="string")return w;if(a(w))return i(w,b)+"";if(c(w))return g?g.call(w):"";var E=w+"";return E=="0"&&1/w==-1/0?"-0":E}return bRe=b,bRe}var mRe,Ajt;function lzn(){if(Ajt)return mRe;Ajt=1;var n=czn();function i(a){return a==null?"":n(a)}return mRe=i,mRe}var wRe,_jt;function bqt(){if(_jt)return wRe;_jt=1;var n=ih(),i=YMe(),a=uzn(),c=lzn();function d(g,b){return n(g)?g:i(g,b)?[g]:a(c(g))}return wRe=d,wRe}var yRe,kjt;function mae(){if(kjt)return yRe;kjt=1;var n=KMe();function i(a){if(typeof a=="string"||n(a))return a;var c=a+"";return c=="0"&&1/a==-1/0?"-0":c}return yRe=i,yRe}var vRe,xjt;function mqt(){if(xjt)return vRe;xjt=1;var n=bqt(),i=mae();function a(c,d){d=n(d,c);for(var g=0,b=d.length;c!=null&&g<b;)c=c[i(d[g++])];return g&&g==b?c:void 0}return vRe=a,vRe}var ERe,Njt;function dzn(){if(Njt)return ERe;Njt=1;var n=mqt();function i(a,c,d){var g=a==null?void 0:n(a,c);return g===void 0?d:g}return ERe=i,ERe}var SRe,Cjt;function fzn(){if(Cjt)return SRe;Cjt=1;function n(i,a){return i!=null&&a in Object(i)}return SRe=n,SRe}var TRe,Ijt;function wqt(){if(Ijt)return TRe;Ijt=1;var n=bqt(),i=fae(),a=ih(),c=XGt(),d=FMe(),g=mae();function b(w,E,S){E=n(E,w);for(var k=-1,_=E.length,C=!1;++k<_;){var R=g(E[k]);if(!(C=w!=null&&S(w,R)))break;w=w[R]}return C||++k!=_?C:(_=w==null?0:w.length,!!_&&d(_)&&c(R,_)&&(a(w)||i(w)))}return TRe=b,TRe}var ARe,Rjt;function hzn(){if(Rjt)return ARe;Rjt=1;var n=fzn(),i=wqt();function a(c,d){return c!=null&&i(c,d,n)}return ARe=a,ARe}var _Re,Ojt;function pzn(){if(Ojt)return _Re;Ojt=1;var n=hqt(),i=dzn(),a=hzn(),c=YMe(),d=pqt(),g=gqt(),b=mae(),w=1,E=2;function S(k,_){return c(k)&&d(_)?g(b(k),_):function(C){var R=i(C,k);return R===void 0&&R===_?a(C,k):n(_,R,w|E)}}return _Re=S,_Re}var kRe,Djt;function yqt(){if(Djt)return kRe;Djt=1;function n(i){return function(a){return a==null?void 0:a[i]}}return kRe=n,kRe}var xRe,Ljt;function gzn(){if(Ljt)return xRe;Ljt=1;var n=mqt();function i(a){return function(c){return n(c,a)}}return xRe=i,xRe}var NRe,Mjt;function bzn(){if(Mjt)return NRe;Mjt=1;var n=yqt(),i=gzn(),a=YMe(),c=mae();function d(g){return a(g)?n(c(g)):i(g)}return NRe=d,NRe}var CRe,Pjt;function wae(){if(Pjt)return CRe;Pjt=1;var n=ozn(),i=pzn(),a=bae(),c=ih(),d=bzn();function g(b){return typeof b=="function"?b:b==null?a:typeof b=="object"?c(b)?i(b[0],b[1]):n(b):d(b)}return CRe=g,CRe}var IRe,jjt;function mzn(){if(jjt)return IRe;jjt=1;var n=eqt(),i=YHn(),a=wae(),c=ih();function d(g,b){var w=c(g)?n:i;return w(g,a(b,3))}return IRe=d,IRe}var RRe,Fjt;function wzn(){if(Fjt)return RRe;Fjt=1;var n=Object.prototype,i=n.hasOwnProperty;function a(c,d){return c!=null&&i.call(c,d)}return RRe=a,RRe}var ORe,$jt;function yzn(){if($jt)return ORe;$jt=1;var n=wzn(),i=wqt();function a(c,d){return c!=null&&i(c,d,n)}return ORe=a,ORe}var DRe,Bjt;function vzn(){if(Bjt)return DRe;Bjt=1;var n=UMe(),i=B5(),a=fae(),c=ih(),d=CR(),g=Tz(),b=pae(),w=hae(),E="[object Map]",S="[object Set]",k=Object.prototype,_=k.hasOwnProperty;function C(R){if(R==null)return!0;if(d(R)&&(c(R)||typeof R=="string"||typeof R.splice=="function"||g(R)||w(R)||a(R)))return!R.length;var M=i(R);if(M==E||M==S)return!R.size;if(b(R))return!n(R).length;for(var D in R)if(_.call(R,D))return!1;return!0}return DRe=C,DRe}var LRe,Ujt;function Ezn(){if(Ujt)return LRe;Ujt=1;function n(i){return i===void 0}return LRe=n,LRe}var MRe,Hjt;function Szn(){if(Hjt)return MRe;Hjt=1;var n=gae(),i=CR();function a(c,d){var g=-1,b=i(c)?Array(c.length):[];return n(c,function(w,E,S){b[++g]=d(w,E,S)}),b}return MRe=a,MRe}var PRe,zjt;function Tzn(){if(zjt)return PRe;zjt=1;var n=JMe(),i=wae(),a=Szn(),c=ih();function d(g,b){var w=c(g)?n:a;return w(g,i(b,3))}return PRe=d,PRe}var jRe,Gjt;function Azn(){if(Gjt)return jRe;Gjt=1;function n(i,a,c,d){var g=-1,b=i==null?0:i.length;for(d&&b&&(c=i[++g]);++g<b;)c=a(c,i[g],g,i);return c}return jRe=n,jRe}var FRe,qjt;function _zn(){if(qjt)return FRe;qjt=1;function n(i,a,c,d,g){return g(i,function(b,w,E){c=d?(d=!1,b):a(c,b,w,E)}),c}return FRe=n,FRe}var $Re,Vjt;function kzn(){if(Vjt)return $Re;Vjt=1;var n=Azn(),i=gae(),a=wae(),c=_zn(),d=ih();function g(b,w,E){var S=d(b)?n:c,k=arguments.length<3;return S(b,a(w,4),E,k,i)}return $Re=g,$Re}var BRe,Wjt;function xzn(){if(Wjt)return BRe;Wjt=1;var n=$5(),i=ih(),a=AA(),c="[object String]";function d(g){return typeof g=="string"||!i(g)&&a(g)&&n(g)==c}return BRe=d,BRe}var URe,Kjt;function Nzn(){if(Kjt)return URe;Kjt=1;var n=yqt(),i=n("length");return URe=i,URe}var HRe,Yjt;function Czn(){if(Yjt)return HRe;Yjt=1;var n="\\ud800-\\udfff",i="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",c="\\u20d0-\\u20ff",d=i+a+c,g="\\ufe0e\\ufe0f",b="\\u200d",w=RegExp("["+b+n+d+g+"]");function E(S){return w.test(S)}return HRe=E,HRe}var zRe,Jjt;function Izn(){if(Jjt)return zRe;Jjt=1;var n="\\ud800-\\udfff",i="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",c="\\u20d0-\\u20ff",d=i+a+c,g="\\ufe0e\\ufe0f",b="["+n+"]",w="["+d+"]",E="\\ud83c[\\udffb-\\udfff]",S="(?:"+w+"|"+E+")",k="[^"+n+"]",_="(?:\\ud83c[\\udde6-\\uddff]){2}",C="[\\ud800-\\udbff][\\udc00-\\udfff]",R="\\u200d",M=S+"?",D="["+g+"]?",B="(?:"+R+"(?:"+[k,_,C].join("|")+")"+D+M+")*",F=D+M+B,$="(?:"+[k+w+"?",w,_,C,b].join("|")+")",P=RegExp(E+"(?="+E+")|"+$+F,"g");function H(Q){for(var re=P.lastIndex=0;P.test(Q);)++re;return re}return zRe=H,zRe}var GRe,Xjt;function Rzn(){if(Xjt)return GRe;Xjt=1;var n=Nzn(),i=Czn(),a=Izn();function c(d){return i(d)?a(d):n(d)}return GRe=c,GRe}var qRe,Zjt;function Ozn(){if(Zjt)return qRe;Zjt=1;var n=UMe(),i=B5(),a=CR(),c=xzn(),d=Rzn(),g="[object Map]",b="[object Set]";function w(E){if(E==null)return 0;if(a(E))return c(E)?d(E):E.length;var S=i(E);return S==g||S==b?E.size:n(E).length}return qRe=w,qRe}var VRe,Qjt;function Dzn(){if(Qjt)return VRe;Qjt=1;var n=jMe(),i=aqt(),a=cqt(),c=wae(),d=qMe(),g=ih(),b=Tz(),w=uae(),E=xR(),S=hae();function k(_,C,R){var M=g(_),D=M||b(_)||S(_);if(C=c(C,4),R==null){var B=_&&_.constructor;D?R=M?new B:[]:E(_)?R=w(B)?i(d(_)):{}:R={}}return(D?n:a)(_,function(F,$,P){return C(R,F,$,P)}),R}return VRe=k,VRe}var WRe,e7t;function Lzn(){if(e7t)return WRe;e7t=1;var n=F5(),i=fae(),a=ih(),c=n?n.isConcatSpreadable:void 0;function d(g){return a(g)||i(g)||!!(c&&g&&g[c])}return WRe=d,WRe}var KRe,t7t;function Mzn(){if(t7t)return KRe;t7t=1;var n=GMe(),i=Lzn();function a(c,d,g,b,w){var E=-1,S=c.length;for(g||(g=i),w||(w=[]);++E<S;){var k=c[E];d>0&&g(k)?d>1?a(k,d-1,g,b,w):n(w,k):b||(w[w.length]=k)}return w}return KRe=a,KRe}var YRe,n7t;function Pzn(){if(n7t)return YRe;n7t=1;function n(i,a,c){switch(c.length){case 0:return i.call(a);case 1:return i.call(a,c[0]);case 2:return i.call(a,c[0],c[1]);case 3:return i.call(a,c[0],c[1],c[2])}return i.apply(a,c)}return YRe=n,YRe}var JRe,r7t;function jzn(){if(r7t)return JRe;r7t=1;var n=Pzn(),i=Math.max;function a(c,d,g){return d=i(d===void 0?c.length-1:d,0),function(){for(var b=arguments,w=-1,E=i(b.length-d,0),S=Array(E);++w<E;)S[w]=b[d+w];w=-1;for(var k=Array(d+1);++w<d;)k[w]=b[w];return k[d]=g(S),n(c,this,k)}}return JRe=a,JRe}var XRe,i7t;function Fzn(){if(i7t)return XRe;i7t=1;var n=uqt(),i=KGt(),a=bae(),c=i?function(d,g){return i(d,"toString",{configurable:!0,enumerable:!1,value:n(g),writable:!0})}:a;return XRe=c,XRe}var ZRe,o7t;function $zn(){if(o7t)return ZRe;o7t=1;var n=800,i=16,a=Date.now;function c(d){var g=0,b=0;return function(){var w=a(),E=i-(w-b);if(b=w,E>0){if(++g>=n)return arguments[0]}else g=0;return d.apply(void 0,arguments)}}return ZRe=c,ZRe}var QRe,s7t;function Bzn(){if(s7t)return QRe;s7t=1;var n=Fzn(),i=$zn(),a=i(n);return QRe=a,QRe}var eOe,a7t;function Uzn(){if(a7t)return eOe;a7t=1;var n=bae(),i=jzn(),a=Bzn();function c(d,g){return a(i(d,g,n),d+"")}return eOe=c,eOe}var tOe,u7t;function Hzn(){if(u7t)return tOe;u7t=1;function n(i,a,c,d){for(var g=i.length,b=c+(d?1:-1);d?b--:++b<g;)if(a(i[b],b,i))return b;return-1}return tOe=n,tOe}var nOe,c7t;function zzn(){if(c7t)return nOe;c7t=1;function n(i){return i!==i}return nOe=n,nOe}var rOe,l7t;function Gzn(){if(l7t)return rOe;l7t=1;function n(i,a,c){for(var d=c-1,g=i.length;++d<g;)if(i[d]===a)return d;return-1}return rOe=n,rOe}var iOe,d7t;function qzn(){if(d7t)return iOe;d7t=1;var n=Hzn(),i=zzn(),a=Gzn();function c(d,g,b){return g===g?a(d,g,b):n(d,i,b)}return iOe=c,iOe}var oOe,f7t;function Vzn(){if(f7t)return oOe;f7t=1;var n=qzn();function i(a,c){var d=a==null?0:a.length;return!!d&&n(a,c,0)>-1}return oOe=i,oOe}var sOe,h7t;function Wzn(){if(h7t)return sOe;h7t=1;function n(i,a,c){for(var d=-1,g=i==null?0:i.length;++d<g;)if(c(a,i[d]))return!0;return!1}return sOe=n,sOe}var aOe,p7t;function Kzn(){if(p7t)return aOe;p7t=1;function n(){}return aOe=n,aOe}var uOe,g7t;function Yzn(){if(g7t)return uOe;g7t=1;var n=oqt(),i=Kzn(),a=WMe(),c=1/0,d=n&&1/a(new n([,-0]))[1]==c?function(g){return new n(g)}:i;return uOe=d,uOe}var cOe,b7t;function Jzn(){if(b7t)return cOe;b7t=1;var n=lqt(),i=Vzn(),a=Wzn(),c=dqt(),d=Yzn(),g=WMe(),b=200;function w(E,S,k){var _=-1,C=i,R=E.length,M=!0,D=[],B=D;if(k)M=!1,C=a;else if(R>=b){var F=S?null:d(E);if(F)return g(F);M=!1,C=c,B=new n}else B=S?[]:D;e:for(;++_<R;){var $=E[_],P=S?S($):$;if($=k||$!==0?$:0,M&&P===P){for(var H=B.length;H--;)if(B[H]===P)continue e;S&&B.push(P),D.push($)}else C(B,P,k)||(B!==D&&B.push(P),D.push($))}return D}return cOe=w,cOe}var lOe,m7t;function Xzn(){if(m7t)return lOe;m7t=1;var n=CR(),i=AA();function a(c){return i(c)&&n(c)}return lOe=a,lOe}var dOe,w7t;function Zzn(){if(w7t)return dOe;w7t=1;var n=Mzn(),i=Uzn(),a=Jzn(),c=Xzn(),d=i(function(g){return a(n(g,1,c,!0))});return dOe=d,dOe}var fOe,y7t;function Qzn(){if(y7t)return fOe;y7t=1;var n=JMe();function i(a,c){return n(c,function(d){return a[d]})}return fOe=i,fOe}var hOe,v7t;function eGn(){if(v7t)return hOe;v7t=1;var n=Qzn(),i=IR();function a(c){return c==null?[]:n(c,i(c))}return hOe=a,hOe}var Joe;if(typeof XU=="function")try{Joe={clone:HHn(),constant:uqt(),each:KHn(),filter:mzn(),has:yzn(),isArray:ih(),isEmpty:vzn(),isFunction:uae(),isUndefined:Ezn(),keys:IR(),map:Tzn(),reduce:kzn(),size:Ozn(),transform:Dzn(),union:Zzn(),values:eGn()}}catch{}Joe||(Joe=window._);var _w=Joe,Ro=_w,XMe=ws,tGn="\0",hR="\0",E7t="";function ws(n){this._isDirected=Ro.has(n,"directed")?n.directed:!0,this._isMultigraph=Ro.has(n,"multigraph")?n.multigraph:!1,this._isCompound=Ro.has(n,"compound")?n.compound:!1,this._label=void 0,this._defaultNodeLabelFn=Ro.constant(void 0),this._defaultEdgeLabelFn=Ro.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[hR]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}ws.prototype._nodeCount=0;ws.prototype._edgeCount=0;ws.prototype.isDirected=function(){return this._isDirected};ws.prototype.isMultigraph=function(){return this._isMultigraph};ws.prototype.isCompound=function(){return this._isCompound};ws.prototype.setGraph=function(n){return this._label=n,this};ws.prototype.graph=function(){return this._label};ws.prototype.setDefaultNodeLabel=function(n){return Ro.isFunction(n)||(n=Ro.constant(n)),this._defaultNodeLabelFn=n,this};ws.prototype.nodeCount=function(){return this._nodeCount};ws.prototype.nodes=function(){return Ro.keys(this._nodes)};ws.prototype.sources=function(){var n=this;return Ro.filter(this.nodes(),function(i){return Ro.isEmpty(n._in[i])})};ws.prototype.sinks=function(){var n=this;return Ro.filter(this.nodes(),function(i){return Ro.isEmpty(n._out[i])})};ws.prototype.setNodes=function(n,i){var a=arguments,c=this;return Ro.each(n,function(d){a.length>1?c.setNode(d,i):c.setNode(d)}),this};ws.prototype.setNode=function(n,i){return Ro.has(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=i),this):(this._nodes[n]=arguments.length>1?i:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=hR,this._children[n]={},this._children[hR][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)};ws.prototype.node=function(n){return this._nodes[n]};ws.prototype.hasNode=function(n){return Ro.has(this._nodes,n)};ws.prototype.removeNode=function(n){var i=this;if(Ro.has(this._nodes,n)){var a=function(c){i.removeEdge(i._edgeObjs[c])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],Ro.each(this.children(n),function(c){i.setParent(c)}),delete this._children[n]),Ro.each(Ro.keys(this._in[n]),a),delete this._in[n],delete this._preds[n],Ro.each(Ro.keys(this._out[n]),a),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this};ws.prototype.setParent=function(n,i){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(Ro.isUndefined(i))i=hR;else{i+="";for(var a=i;!Ro.isUndefined(a);a=this.parent(a))if(a===n)throw new Error("Setting "+i+" as parent of "+n+" would create a cycle");this.setNode(i)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=i,this._children[i][n]=!0,this};ws.prototype._removeFromParentsChildList=function(n){delete this._children[this._parent[n]][n]};ws.prototype.parent=function(n){if(this._isCompound){var i=this._parent[n];if(i!==hR)return i}};ws.prototype.children=function(n){if(Ro.isUndefined(n)&&(n=hR),this._isCompound){var i=this._children[n];if(i)return Ro.keys(i)}else{if(n===hR)return this.nodes();if(this.hasNode(n))return[]}};ws.prototype.predecessors=function(n){var i=this._preds[n];if(i)return Ro.keys(i)};ws.prototype.successors=function(n){var i=this._sucs[n];if(i)return Ro.keys(i)};ws.prototype.neighbors=function(n){var i=this.predecessors(n);if(i)return Ro.union(i,this.successors(n))};ws.prototype.isLeaf=function(n){var i;return this.isDirected()?i=this.successors(n):i=this.neighbors(n),i.length===0};ws.prototype.filterNodes=function(n){var i=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});i.setGraph(this.graph());var a=this;Ro.each(this._nodes,function(g,b){n(b)&&i.setNode(b,g)}),Ro.each(this._edgeObjs,function(g){i.hasNode(g.v)&&i.hasNode(g.w)&&i.setEdge(g,a.edge(g))});var c={};function d(g){var b=a.parent(g);return b===void 0||i.hasNode(b)?(c[g]=b,b):b in c?c[b]:d(b)}return this._isCompound&&Ro.each(i.nodes(),function(g){i.setParent(g,d(g))}),i};ws.prototype.setDefaultEdgeLabel=function(n){return Ro.isFunction(n)||(n=Ro.constant(n)),this._defaultEdgeLabelFn=n,this};ws.prototype.edgeCount=function(){return this._edgeCount};ws.prototype.edges=function(){return Ro.values(this._edgeObjs)};ws.prototype.setPath=function(n,i){var a=this,c=arguments;return Ro.reduce(n,function(d,g){return c.length>1?a.setEdge(d,g,i):a.setEdge(d,g),g}),this};ws.prototype.setEdge=function(){var n,i,a,c,d=!1,g=arguments[0];typeof g=="object"&&g!==null&&"v"in g?(n=g.v,i=g.w,a=g.name,arguments.length===2&&(c=arguments[1],d=!0)):(n=g,i=arguments[1],a=arguments[3],arguments.length>2&&(c=arguments[2],d=!0)),n=""+n,i=""+i,Ro.isUndefined(a)||(a=""+a);var b=Az(this._isDirected,n,i,a);if(Ro.has(this._edgeLabels,b))return d&&(this._edgeLabels[b]=c),this;if(!Ro.isUndefined(a)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(i),this._edgeLabels[b]=d?c:this._defaultEdgeLabelFn(n,i,a);var w=nGn(this._isDirected,n,i,a);return n=w.v,i=w.w,Object.freeze(w),this._edgeObjs[b]=w,S7t(this._preds[i],n),S7t(this._sucs[n],i),this._in[i][b]=w,this._out[n][b]=w,this._edgeCount++,this};ws.prototype.edge=function(n,i,a){var c=arguments.length===1?ZMe(this._isDirected,arguments[0]):Az(this._isDirected,n,i,a);return this._edgeLabels[c]};ws.prototype.hasEdge=function(n,i,a){var c=arguments.length===1?ZMe(this._isDirected,arguments[0]):Az(this._isDirected,n,i,a);return Ro.has(this._edgeLabels,c)};ws.prototype.removeEdge=function(n,i,a){var c=arguments.length===1?ZMe(this._isDirected,arguments[0]):Az(this._isDirected,n,i,a),d=this._edgeObjs[c];return d&&(n=d.v,i=d.w,delete this._edgeLabels[c],delete this._edgeObjs[c],T7t(this._preds[i],n),T7t(this._sucs[n],i),delete this._in[i][c],delete this._out[n][c],this._edgeCount--),this};ws.prototype.inEdges=function(n,i){var a=this._in[n];if(a){var c=Ro.values(a);return i?Ro.filter(c,function(d){return d.v===i}):c}};ws.prototype.outEdges=function(n,i){var a=this._out[n];if(a){var c=Ro.values(a);return i?Ro.filter(c,function(d){return d.w===i}):c}};ws.prototype.nodeEdges=function(n,i){var a=this.inEdges(n,i);if(a)return a.concat(this.outEdges(n,i))};function S7t(n,i){n[i]?n[i]++:n[i]=1}function T7t(n,i){--n[i]||delete n[i]}function Az(n,i,a,c){var d=""+i,g=""+a;if(!n&&d>g){var b=d;d=g,g=b}return d+E7t+g+E7t+(Ro.isUndefined(c)?tGn:c)}function nGn(n,i,a,c){var d=""+i,g=""+a;if(!n&&d>g){var b=d;d=g,g=b}var w={v:d,w:g};return c&&(w.name=c),w}function ZMe(n,i){return Az(n,i.v,i.w,i.name)}var rGn="2.1.8",iGn={Graph:XMe,version:rGn},$2=_w,oGn=XMe,sGn={write:aGn,read:lGn};function aGn(n){var i={options:{directed:n.isDirected(),multigraph:n.isMultigraph(),compound:n.isCompound()},nodes:uGn(n),edges:cGn(n)};return $2.isUndefined(n.graph())||(i.value=$2.clone(n.graph())),i}function uGn(n){return $2.map(n.nodes(),function(i){var a=n.node(i),c=n.parent(i),d={v:i};return $2.isUndefined(a)||(d.value=a),$2.isUndefined(c)||(d.parent=c),d})}function cGn(n){return $2.map(n.edges(),function(i){var a=n.edge(i),c={v:i.v,w:i.w};return $2.isUndefined(i.name)||(c.name=i.name),$2.isUndefined(a)||(c.value=a),c})}function lGn(n){var i=new oGn(n.options).setGraph(n.value);return $2.each(n.nodes,function(a){i.setNode(a.v,a.value),a.parent&&i.setParent(a.v,a.parent)}),$2.each(n.edges,function(a){i.setEdge({v:a.v,w:a.w,name:a.name},a.value)}),i}var Eie=_w,dGn=fGn;function fGn(n){var i={},a=[],c;function d(g){Eie.has(i,g)||(i[g]=!0,c.push(g),Eie.each(n.successors(g),d),Eie.each(n.predecessors(g),d))}return Eie.each(n.nodes(),function(g){c=[],d(g),c.length&&a.push(c)}),a}var vqt=_w,Eqt=kw;function kw(){this._arr=[],this._keyIndices={}}kw.prototype.size=function(){return this._arr.length};kw.prototype.keys=function(){return this._arr.map(function(n){return n.key})};kw.prototype.has=function(n){return vqt.has(this._keyIndices,n)};kw.prototype.priority=function(n){var i=this._keyIndices[n];if(i!==void 0)return this._arr[i].priority};kw.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key};kw.prototype.add=function(n,i){var a=this._keyIndices;if(n=String(n),!vqt.has(a,n)){var c=this._arr,d=c.length;return a[n]=d,c.push({key:n,priority:i}),this._decrease(d),!0}return!1};kw.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key};kw.prototype.decrease=function(n,i){var a=this._keyIndices[n];if(i>this._arr[a].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[a].priority+" New: "+i);this._arr[a].priority=i,this._decrease(a)};kw.prototype._heapify=function(n){var i=this._arr,a=2*n,c=a+1,d=n;a<i.length&&(d=i[a].priority<i[d].priority?a:d,c<i.length&&(d=i[c].priority<i[d].priority?c:d),d!==n&&(this._swap(n,d),this._heapify(d)))};kw.prototype._decrease=function(n){for(var i=this._arr,a=i[n].priority,c;n!==0&&(c=n>>1,!(i[c].priority<a));)this._swap(n,c),n=c};kw.prototype._swap=function(n,i){var a=this._arr,c=this._keyIndices,d=a[n],g=a[i];a[n]=g,a[i]=d,c[g.key]=n,c[d.key]=i};var hGn=_w,pGn=Eqt,Sqt=bGn,gGn=hGn.constant(1);function bGn(n,i,a,c){return mGn(n,String(i),a||gGn,c||function(d){return n.outEdges(d)})}function mGn(n,i,a,c){var d={},g=new pGn,b,w,E=function(S){var k=S.v!==b?S.v:S.w,_=d[k],C=a(S),R=w.distance+C;if(C<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+S+" Weight: "+C);R<_.distance&&(_.distance=R,_.predecessor=b,g.decrease(k,R))};for(n.nodes().forEach(function(S){var k=S===i?0:Number.POSITIVE_INFINITY;d[S]={distance:k},g.add(S,k)});g.size()>0&&(b=g.removeMin(),w=d[b],w.distance!==Number.POSITIVE_INFINITY);)c(b).forEach(E);return d}var wGn=Sqt,yGn=_w,vGn=EGn;function EGn(n,i,a){return yGn.transform(n.nodes(),function(c,d){c[d]=wGn(n,d,i,a)},{})}var A7t=_w,Tqt=SGn;function SGn(n){var i=0,a=[],c={},d=[];function g(b){var w=c[b]={onStack:!0,lowlink:i,index:i++};if(a.push(b),n.successors(b).forEach(function(k){A7t.has(c,k)?c[k].onStack&&(w.lowlink=Math.min(w.lowlink,c[k].index)):(g(k),w.lowlink=Math.min(w.lowlink,c[k].lowlink))}),w.lowlink===w.index){var E=[],S;do S=a.pop(),c[S].onStack=!1,E.push(S);while(b!==S);d.push(E)}}return n.nodes().forEach(function(b){A7t.has(c,b)||g(b)}),d}var TGn=_w,AGn=Tqt,_Gn=kGn;function kGn(n){return TGn.filter(AGn(n),function(i){return i.length>1||i.length===1&&n.hasEdge(i[0],i[0])})}var xGn=_w,NGn=IGn,CGn=xGn.constant(1);function IGn(n,i,a){return RGn(n,i||CGn,a||function(c){return n.outEdges(c)})}function RGn(n,i,a){var c={},d=n.nodes();return d.forEach(function(g){c[g]={},c[g][g]={distance:0},d.forEach(function(b){g!==b&&(c[g][b]={distance:Number.POSITIVE_INFINITY})}),a(g).forEach(function(b){var w=b.v===g?b.w:b.v,E=i(b);c[g][w]={distance:E,predecessor:g}})}),d.forEach(function(g){var b=c[g];d.forEach(function(w){var E=c[w];d.forEach(function(S){var k=E[g],_=b[S],C=E[S],R=k.distance+_.distance;R<C.distance&&(C.distance=R,C.predecessor=_.predecessor)})})}),c}var FU=_w,Aqt=_qt;_qt.CycleException=Xoe;function _qt(n){var i={},a={},c=[];function d(g){if(FU.has(a,g))throw new Xoe;FU.has(i,g)||(a[g]=!0,i[g]=!0,FU.each(n.predecessors(g),d),delete a[g],c.push(g))}if(FU.each(n.sinks(),d),FU.size(i)!==n.nodeCount())throw new Xoe;return c}function Xoe(){}Xoe.prototype=new Error;var _7t=Aqt,OGn=DGn;function DGn(n){try{_7t(n)}catch(i){if(i instanceof _7t.CycleException)return!1;throw i}return!0}var Zoe=_w,kqt=LGn;function LGn(n,i,a){Zoe.isArray(i)||(i=[i]);var c=(n.isDirected()?n.successors:n.neighbors).bind(n),d=[],g={};return Zoe.each(i,function(b){if(!n.hasNode(b))throw new Error("Graph does not have node: "+b);xqt(n,b,a==="post",g,c,d)}),d}function xqt(n,i,a,c,d,g){Zoe.has(c,i)||(c[i]=!0,a||g.push(i),Zoe.each(d(i),function(b){xqt(n,b,a,c,d,g)}),a&&g.push(i))}var MGn=kqt,PGn=jGn;function jGn(n,i){return MGn(n,i,"post")}var FGn=kqt,$Gn=BGn;function BGn(n,i){return FGn(n,i,"pre")}var k7t=_w,UGn=XMe,HGn=Eqt,zGn=GGn;function GGn(n,i){var a=new UGn,c={},d=new HGn,g;function b(E){var S=E.v===g?E.w:E.v,k=d.priority(S);if(k!==void 0){var _=i(E);_<k&&(c[S]=g,d.decrease(S,_))}}if(n.nodeCount()===0)return a;k7t.each(n.nodes(),function(E){d.add(E,Number.POSITIVE_INFINITY),a.setNode(E)}),d.decrease(n.nodes()[0],0);for(var w=!1;d.size()>0;){if(g=d.removeMin(),k7t.has(c,g))a.setEdge(g,c[g]);else{if(w)throw new Error("Input graph is not connected: "+n);w=!0}n.nodeEdges(g).forEach(b)}return a}var qGn={components:dGn,dijkstra:Sqt,dijkstraAll:vGn,findCycles:_Gn,floydWarshall:NGn,isAcyclic:OGn,postorder:PGn,preorder:$Gn,prim:zGn,tarjan:Tqt,topsort:Aqt},x7t=iGn,VGn={Graph:x7t.Graph,json:sGn,alg:qGn,version:x7t.version};const WGn=vR(VGn),{Graph:KGn,alg:N7t}=WGn;function Nqt(n){const i=new Set,a=new Set,c=new Set,d=new Map;for(const E of n.edges){const S=d.get(E.source)||[];S.push(E),d.set(E.source,S)}const g=new Set(n.edges.map(E=>E.target)),b=n.nodes.filter(E=>!g.has(E.id)).map(E=>E.id);function w(E){if(!a.has(E)){a.add(E),c.add(E);for(const S of d.get(E)||[])c.has(S.target)?i.add(S.id):a.has(S.target)||w(S.target);c.delete(E)}}for(const E of b)w(E);for(const E of n.nodes)a.has(E.id)||w(E.id);return i}function YGn(n){const i=new KGn({directed:!0}),a=Nqt(n),c=new Map(n.nodes.map(B=>[B.id,B.type])),d=new Set;for(const B of n.edges){if(!a.has(B.id))continue;const F=c.get(B.source),$=c.get(B.target);(F==="condition"||$==="condition")&&d.add(B.id)}const g=n.edges.filter(B=>!d.has(B.id)),b={...n,edges:g};for(const B of n.nodes)i.setNode(B.id,B);for(const B of g)i.setEdge(B.source,B.target,B);const w=!N7t.isAcyclic(i),E=n.nodes.filter(B=>{var F;return((F=i.predecessors(B.id))==null?void 0:F.length)===0}).map(B=>B.id),S=n.nodes.filter(B=>g.filter($=>$.source===B.id).length===0).map(B=>B.id);let k=null;if(!w)try{k=N7t.topsort(i)}catch{k=null}const _=JGn(i,b,k),C=QGn(b),R=ZGn(i,b),M=!w&&!_&&!C&&!R,D=M?"native":"state-machine";return{isTree:M,hasCycles:w,hasMultipleEntryPoints:E.length>1,hasCrossLinks:_,hasConvergingPaths:C,hasDivergentTriggerPaths:R,entryNodes:E,exitNodes:S,topologicalOrder:k,recommendedStrategy:D}}function JGn(n,i,a){if(!a||a.length===0)return!1;const c=new Map,g=i.nodes.filter(k=>{var _;return((_=n.predecessors(k.id))==null?void 0:_.length)===0}).map(k=>k.id).map(k=>({nodeId:k,level:0}));for(;g.length>0;){const{nodeId:k,level:_}=g.shift();if(c.has(k))continue;c.set(k,_);const C=n.successors(k)||[];for(const R of C)c.has(R)||g.push({nodeId:R,level:_+1})}const b=new Set,w=new Map;for(const k of i.edges){const _=(w.get(k.source)||0)+1;w.set(k.source,_)}for(const[k,_]of w)if(_>1){const C=i.nodes.find(R=>R.id===k);(C==null?void 0:C.type)!=="condition"&&(i.edges.filter(D=>D.source===k).some(D=>D.sourceHandle==="true"||D.sourceHandle==="false")||b.add(k))}const E=new Set,S=new Map;for(const k of i.edges){const _=(S.get(k.target)||0)+1;S.set(k.target,_)}for(const[k,_]of S)_>1&&E.add(k);for(const k of i.edges){const _=c.get(k.source),C=c.get(k.target);if(_!==void 0&&C!==void 0){if(C>_+1)return!0;if(C<_){if(E.has(k.target)&&b.size>0&&XGn(i,k.source,b))continue;return!0}}}return!1}function XGn(n,i,a){const c=new Set,d=[i];for(;d.length>0;){const g=d.shift();if(c.has(g))continue;if(c.add(g),a.has(g))return!0;const b=n.edges.filter(w=>w.target===g).map(w=>w.source);for(const w of b)c.has(w)||d.push(w)}return!1}function ZGn(n,i){const a=i.nodes.filter(b=>b.type==="trigger");if(a.length<=1)return!1;const c=a.map(b=>{const w=n.successors(b.id)||[];return new Set(w)});if(a.every(b=>{const w=n.successors(b.id)||[];return w.length>0&&w.every(E=>{const S=i.nodes.find(k=>k.id===E);return(S==null?void 0:S.type)==="condition"})}))return!1;const g=c[0];for(let b=1;b<c.length;b++){const w=c[b];if(g.size!==w.size)return!0;for(const E of g)if(!w.has(E))return!0}return!1}function QGn(n){const i=new Map;for(const c of n.edges){const d=i.get(c.target)||0;i.set(c.target,d+1)}const a=new Map;for(const c of n.edges){const d=a.get(c.source)||[];d.push(c.target),a.set(c.source,d)}for(const[c,d]of i)if(d>1){const g=n.edges.filter(w=>w.target===c),b=new Set(g.map(w=>w.source));if(b.size>1){if([...b].map(k=>n.nodes.find(_=>_.id===k)).every(k=>(k==null?void 0:k.type)==="trigger"))continue;if(!eqn(n,[...b],a,c))return!0}}return!1}function eqn(n,i,a,c){const d=n.edges.filter(D=>D.target===c),g=i.every(D=>{const B=n.nodes.find(F=>F.id===D);return(B==null?void 0:B.type)==="condition"}),b=d.every(D=>D.sourceHandle==="true"),w=d.every(D=>D.sourceHandle==="false");if(g&&(b||w))return!0;const E=D=>n.edges.filter(B=>B.target===D).map(B=>B.source),S=(D,B)=>{if(B.has(D))return null;B.add(D);const F=n.nodes.find(Q=>Q.id===D);if((F==null?void 0:F.type)==="condition")return D;const $=n.edges.filter(Q=>Q.target===D);if($.length===0||$.length>1)return null;const P=$[0].source,H=n.nodes.find(Q=>Q.id===P);return(H==null?void 0:H.type)==="condition"?P:S(P,B)},k=new Set;let _=!0;for(const D of i){const B=S(D,new Set);if(B)k.add(B);else{_=!1;break}}if(_&&k.size===1)return!0;const C=D=>{const B=n.nodes.find(P=>P.id===D);if((B==null?void 0:B.type)==="condition")return!1;const F=n.edges.filter(P=>P.source===D);return F.some(P=>P.sourceHandle==="true"||P.sourceHandle==="false")?!1:F.length>1},R=(D,B)=>{if(B.has(D))return null;B.add(D);const F=E(D);if(F.length===0||F.length>1)return null;const $=F[0];return C($)?$:R($,B)},M=new Set;for(const D of i){const B=E(D);if(B.length===1){const $=B[0];if(C($)){M.add($);continue}}const F=R(D,new Set);if(F)M.add(F);else return!1}return M.size===1}function tqn(n){const i=[];let a;try{a=GGt.parse(n)}catch(g){if(g instanceof tBn)for(const b of g.issues)i.push({code:b.code,message:b.message,path:b.path.map(String)});else i.push({code:"UNKNOWN_ERROR",message:g instanceof Error?g.message:"Unknown validation error"});return{success:!1,errors:i}}const c=qGt(a);if(!c.valid)for(const g of c.errors)i.push({code:"STRUCTURAL_ERROR",message:g});const d=nqn(a);return i.push(...d),{success:i.length===0,graph:i.length===0?a:void 0,errors:i}}function nqn(n){const i=[],a=n.nodes.filter(w=>w.type==="condition");for(const w of a){const E=n.edges.filter(_=>_.source===w.id),S=E.some(_=>_.sourceHandle==="true"),k=E.some(_=>_.sourceHandle==="false");!S&&!k&&i.push({code:"CONDITION_NO_EDGES",message:`Condition node "${w.id}" has no outgoing edges`,path:["nodes",w.id]})}const c=n.nodes.filter(w=>w.type==="action");for(const w of c)if(w.type==="action"){const E=w.data.service,S=["variables","delay","wait","wait_template","wait_for_trigger","stop","repeat","choose","if"];typeof E=="string"&&!E.includes(".")&&!S.includes(E)&&i.push({code:"INVALID_SERVICE",message:`Action node "${w.id}" has invalid service format: "${E}". Expected "domain.service"`,path:["nodes",w.id,"data","service"]})}const d=new Set,b=[...n.nodes.filter(w=>w.type==="trigger").map(w=>w.id)];for(;b.length>0;){const w=b.shift();if(d.has(w))continue;d.add(w);const E=n.edges.filter(S=>S.source===w);for(const S of E)d.has(S.target)||b.push(S.target)}for(const w of n.nodes)!d.has(w.id)&&w.type!=="trigger"&&i.push({code:"ORPHANED_NODE",message:`Node "${w.id}" is not connected to any trigger`,path:["nodes",w.id]});return i}/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */function Cqt(n){return typeof n>"u"||n===null}function rqn(n){return typeof n=="object"&&n!==null}function iqn(n){return Array.isArray(n)?n:Cqt(n)?[]:[n]}function oqn(n,i){var a,c,d,g;if(i)for(g=Object.keys(i),a=0,c=g.length;a<c;a+=1)d=g[a],n[d]=i[d];return n}function sqn(n,i){var a="",c;for(c=0;c<i;c+=1)a+=n;return a}function aqn(n){return n===0&&Number.NEGATIVE_INFINITY===1/n}var uqn=Cqt,cqn=rqn,lqn=iqn,dqn=sqn,fqn=aqn,hqn=oqn,vf={isNothing:uqn,isObject:cqn,toArray:lqn,repeat:dqn,isNegativeZero:fqn,extend:hqn};function Iqt(n,i){var a="",c=n.reason||"(unknown reason)";return n.mark?(n.mark.name&&(a+='in "'+n.mark.name+'" '),a+="("+(n.mark.line+1)+":"+(n.mark.column+1)+")",!i&&n.mark.snippet&&(a+=`
|
||
|
||
`+n.mark.snippet),c+" "+a):c}function ez(n,i){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=i,this.message=Iqt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}ez.prototype=Object.create(Error.prototype);ez.prototype.constructor=ez;ez.prototype.toString=function(i){return this.name+": "+Iqt(this,i)};var ib=ez;function pOe(n,i,a,c,d){var g="",b="",w=Math.floor(d/2)-1;return c-i>w&&(g=" ... ",i=c-w+g.length),a-c>w&&(b=" ...",a=c+w-b.length),{str:g+n.slice(i,a).replace(/\t/g,"→")+b,pos:c-i+g.length}}function gOe(n,i){return vf.repeat(" ",i-n.length)+n}function pqn(n,i){if(i=Object.create(i||null),!n.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!="number"&&(i.indent=1),typeof i.linesBefore!="number"&&(i.linesBefore=3),typeof i.linesAfter!="number"&&(i.linesAfter=2);for(var a=/\r?\n|\r|\0/g,c=[0],d=[],g,b=-1;g=a.exec(n.buffer);)d.push(g.index),c.push(g.index+g[0].length),n.position<=g.index&&b<0&&(b=c.length-2);b<0&&(b=c.length-1);var w="",E,S,k=Math.min(n.line+i.linesAfter,d.length).toString().length,_=i.maxLength-(i.indent+k+3);for(E=1;E<=i.linesBefore&&!(b-E<0);E++)S=pOe(n.buffer,c[b-E],d[b-E],n.position-(c[b]-c[b-E]),_),w=vf.repeat(" ",i.indent)+gOe((n.line-E+1).toString(),k)+" | "+S.str+`
|
||
`+w;for(S=pOe(n.buffer,c[b],d[b],n.position,_),w+=vf.repeat(" ",i.indent)+gOe((n.line+1).toString(),k)+" | "+S.str+`
|
||
`,w+=vf.repeat("-",i.indent+k+3+S.pos)+`^
|
||
`,E=1;E<=i.linesAfter&&!(b+E>=d.length);E++)S=pOe(n.buffer,c[b+E],d[b+E],n.position-(c[b]-c[b+E]),_),w+=vf.repeat(" ",i.indent)+gOe((n.line+E+1).toString(),k)+" | "+S.str+`
|
||
`;return w.replace(/\n$/,"")}var gqn=pqn,bqn=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],mqn=["scalar","sequence","mapping"];function wqn(n){var i={};return n!==null&&Object.keys(n).forEach(function(a){n[a].forEach(function(c){i[String(c)]=a})}),i}function yqn(n,i){if(i=i||{},Object.keys(i).forEach(function(a){if(bqn.indexOf(a)===-1)throw new ib('Unknown option "'+a+'" is met in definition of "'+n+'" YAML type.')}),this.options=i,this.tag=n,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(a){return a},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=wqn(i.styleAliases||null),mqn.indexOf(this.kind)===-1)throw new ib('Unknown kind "'+this.kind+'" is specified for "'+n+'" YAML type.')}var $p=yqn;function C7t(n,i){var a=[];return n[i].forEach(function(c){var d=a.length;a.forEach(function(g,b){g.tag===c.tag&&g.kind===c.kind&&g.multi===c.multi&&(d=b)}),a[d]=c}),a}function vqn(){var n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},i,a;function c(d){d.multi?(n.multi[d.kind].push(d),n.multi.fallback.push(d)):n[d.kind][d.tag]=n.fallback[d.tag]=d}for(i=0,a=arguments.length;i<a;i+=1)arguments[i].forEach(c);return n}function dDe(n){return this.extend(n)}dDe.prototype.extend=function(i){var a=[],c=[];if(i instanceof $p)c.push(i);else if(Array.isArray(i))c=c.concat(i);else if(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit)))i.implicit&&(a=a.concat(i.implicit)),i.explicit&&(c=c.concat(i.explicit));else throw new ib("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");a.forEach(function(g){if(!(g instanceof $p))throw new ib("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(g.loadKind&&g.loadKind!=="scalar")throw new ib("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(g.multi)throw new ib("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),c.forEach(function(g){if(!(g instanceof $p))throw new ib("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var d=Object.create(dDe.prototype);return d.implicit=(this.implicit||[]).concat(a),d.explicit=(this.explicit||[]).concat(c),d.compiledImplicit=C7t(d,"implicit"),d.compiledExplicit=C7t(d,"explicit"),d.compiledTypeMap=vqn(d.compiledImplicit,d.compiledExplicit),d};var Eqn=dDe,Sqn=new $p("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),Tqn=new $p("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),Aqn=new $p("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),_qn=new Eqn({explicit:[Sqn,Tqn,Aqn]});function kqn(n){if(n===null)return!0;var i=n.length;return i===1&&n==="~"||i===4&&(n==="null"||n==="Null"||n==="NULL")}function xqn(){return null}function Nqn(n){return n===null}var Cqn=new $p("tag:yaml.org,2002:null",{kind:"scalar",resolve:kqn,construct:xqn,predicate:Nqn,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function Iqn(n){if(n===null)return!1;var i=n.length;return i===4&&(n==="true"||n==="True"||n==="TRUE")||i===5&&(n==="false"||n==="False"||n==="FALSE")}function Rqn(n){return n==="true"||n==="True"||n==="TRUE"}function Oqn(n){return Object.prototype.toString.call(n)==="[object Boolean]"}var Dqn=new $p("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Iqn,construct:Rqn,predicate:Oqn,represent:{lowercase:function(n){return n?"true":"false"},uppercase:function(n){return n?"TRUE":"FALSE"},camelcase:function(n){return n?"True":"False"}},defaultStyle:"lowercase"});function Lqn(n){return 48<=n&&n<=57||65<=n&&n<=70||97<=n&&n<=102}function Mqn(n){return 48<=n&&n<=55}function Pqn(n){return 48<=n&&n<=57}function jqn(n){if(n===null)return!1;var i=n.length,a=0,c=!1,d;if(!i)return!1;if(d=n[a],(d==="-"||d==="+")&&(d=n[++a]),d==="0"){if(a+1===i)return!0;if(d=n[++a],d==="b"){for(a++;a<i;a++)if(d=n[a],d!=="_"){if(d!=="0"&&d!=="1")return!1;c=!0}return c&&d!=="_"}if(d==="x"){for(a++;a<i;a++)if(d=n[a],d!=="_"){if(!Lqn(n.charCodeAt(a)))return!1;c=!0}return c&&d!=="_"}if(d==="o"){for(a++;a<i;a++)if(d=n[a],d!=="_"){if(!Mqn(n.charCodeAt(a)))return!1;c=!0}return c&&d!=="_"}}if(d==="_")return!1;for(;a<i;a++)if(d=n[a],d!=="_"){if(!Pqn(n.charCodeAt(a)))return!1;c=!0}return!(!c||d==="_")}function Fqn(n){var i=n,a=1,c;if(i.indexOf("_")!==-1&&(i=i.replace(/_/g,"")),c=i[0],(c==="-"||c==="+")&&(c==="-"&&(a=-1),i=i.slice(1),c=i[0]),i==="0")return 0;if(c==="0"){if(i[1]==="b")return a*parseInt(i.slice(2),2);if(i[1]==="x")return a*parseInt(i.slice(2),16);if(i[1]==="o")return a*parseInt(i.slice(2),8)}return a*parseInt(i,10)}function $qn(n){return Object.prototype.toString.call(n)==="[object Number]"&&n%1===0&&!vf.isNegativeZero(n)}var Bqn=new $p("tag:yaml.org,2002:int",{kind:"scalar",resolve:jqn,construct:Fqn,predicate:$qn,represent:{binary:function(n){return n>=0?"0b"+n.toString(2):"-0b"+n.toString(2).slice(1)},octal:function(n){return n>=0?"0o"+n.toString(8):"-0o"+n.toString(8).slice(1)},decimal:function(n){return n.toString(10)},hexadecimal:function(n){return n>=0?"0x"+n.toString(16).toUpperCase():"-0x"+n.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Uqn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Hqn(n){return!(n===null||!Uqn.test(n)||n[n.length-1]==="_")}function zqn(n){var i,a;return i=n.replace(/_/g,"").toLowerCase(),a=i[0]==="-"?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),i===".inf"?a===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:i===".nan"?NaN:a*parseFloat(i,10)}var Gqn=/^[-+]?[0-9]+e/;function qqn(n,i){var a;if(isNaN(n))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===n)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===n)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(vf.isNegativeZero(n))return"-0.0";return a=n.toString(10),Gqn.test(a)?a.replace("e",".e"):a}function Vqn(n){return Object.prototype.toString.call(n)==="[object Number]"&&(n%1!==0||vf.isNegativeZero(n))}var Wqn=new $p("tag:yaml.org,2002:float",{kind:"scalar",resolve:Hqn,construct:zqn,predicate:Vqn,represent:qqn,defaultStyle:"lowercase"}),Kqn=_qn.extend({implicit:[Cqn,Dqn,Bqn,Wqn]}),Yqn=Kqn,Rqt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Oqt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Jqn(n){return n===null?!1:Rqt.exec(n)!==null||Oqt.exec(n)!==null}function Xqn(n){var i,a,c,d,g,b,w,E=0,S=null,k,_,C;if(i=Rqt.exec(n),i===null&&(i=Oqt.exec(n)),i===null)throw new Error("Date resolve error");if(a=+i[1],c=+i[2]-1,d=+i[3],!i[4])return new Date(Date.UTC(a,c,d));if(g=+i[4],b=+i[5],w=+i[6],i[7]){for(E=i[7].slice(0,3);E.length<3;)E+="0";E=+E}return i[9]&&(k=+i[10],_=+(i[11]||0),S=(k*60+_)*6e4,i[9]==="-"&&(S=-S)),C=new Date(Date.UTC(a,c,d,g,b,w,E)),S&&C.setTime(C.getTime()-S),C}function Zqn(n){return n.toISOString()}var Qqn=new $p("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Jqn,construct:Xqn,instanceOf:Date,represent:Zqn});function eVn(n){return n==="<<"||n===null}var tVn=new $p("tag:yaml.org,2002:merge",{kind:"scalar",resolve:eVn}),QMe=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
||
\r`;function nVn(n){if(n===null)return!1;var i,a,c=0,d=n.length,g=QMe;for(a=0;a<d;a++)if(i=g.indexOf(n.charAt(a)),!(i>64)){if(i<0)return!1;c+=6}return c%8===0}function rVn(n){var i,a,c=n.replace(/[\r\n=]/g,""),d=c.length,g=QMe,b=0,w=[];for(i=0;i<d;i++)i%4===0&&i&&(w.push(b>>16&255),w.push(b>>8&255),w.push(b&255)),b=b<<6|g.indexOf(c.charAt(i));return a=d%4*6,a===0?(w.push(b>>16&255),w.push(b>>8&255),w.push(b&255)):a===18?(w.push(b>>10&255),w.push(b>>2&255)):a===12&&w.push(b>>4&255),new Uint8Array(w)}function iVn(n){var i="",a=0,c,d,g=n.length,b=QMe;for(c=0;c<g;c++)c%3===0&&c&&(i+=b[a>>18&63],i+=b[a>>12&63],i+=b[a>>6&63],i+=b[a&63]),a=(a<<8)+n[c];return d=g%3,d===0?(i+=b[a>>18&63],i+=b[a>>12&63],i+=b[a>>6&63],i+=b[a&63]):d===2?(i+=b[a>>10&63],i+=b[a>>4&63],i+=b[a<<2&63],i+=b[64]):d===1&&(i+=b[a>>2&63],i+=b[a<<4&63],i+=b[64],i+=b[64]),i}function oVn(n){return Object.prototype.toString.call(n)==="[object Uint8Array]"}var sVn=new $p("tag:yaml.org,2002:binary",{kind:"scalar",resolve:nVn,construct:rVn,predicate:oVn,represent:iVn}),aVn=Object.prototype.hasOwnProperty,uVn=Object.prototype.toString;function cVn(n){if(n===null)return!0;var i=[],a,c,d,g,b,w=n;for(a=0,c=w.length;a<c;a+=1){if(d=w[a],b=!1,uVn.call(d)!=="[object Object]")return!1;for(g in d)if(aVn.call(d,g))if(!b)b=!0;else return!1;if(!b)return!1;if(i.indexOf(g)===-1)i.push(g);else return!1}return!0}function lVn(n){return n!==null?n:[]}var dVn=new $p("tag:yaml.org,2002:omap",{kind:"sequence",resolve:cVn,construct:lVn}),fVn=Object.prototype.toString;function hVn(n){if(n===null)return!0;var i,a,c,d,g,b=n;for(g=new Array(b.length),i=0,a=b.length;i<a;i+=1){if(c=b[i],fVn.call(c)!=="[object Object]"||(d=Object.keys(c),d.length!==1))return!1;g[i]=[d[0],c[d[0]]]}return!0}function pVn(n){if(n===null)return[];var i,a,c,d,g,b=n;for(g=new Array(b.length),i=0,a=b.length;i<a;i+=1)c=b[i],d=Object.keys(c),g[i]=[d[0],c[d[0]]];return g}var gVn=new $p("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:hVn,construct:pVn}),bVn=Object.prototype.hasOwnProperty;function mVn(n){if(n===null)return!0;var i,a=n;for(i in a)if(bVn.call(a,i)&&a[i]!==null)return!1;return!0}function wVn(n){return n!==null?n:{}}var yVn=new $p("tag:yaml.org,2002:set",{kind:"mapping",resolve:mVn,construct:wVn}),Dqt=Yqn.extend({implicit:[Qqn,tVn],explicit:[sVn,dVn,gVn,yVn]}),sN=Object.prototype.hasOwnProperty,Qoe=1,Lqt=2,Mqt=3,ese=4,bOe=1,vVn=2,I7t=3,EVn=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,SVn=/[\x85\u2028\u2029]/,TVn=/[,\[\]\{\}]/,Pqt=/^(?:!|!!|![a-z\-]+!)$/i,jqt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function R7t(n){return Object.prototype.toString.call(n)}function B2(n){return n===10||n===13}function eR(n){return n===9||n===32}function ub(n){return n===9||n===32||n===10||n===13}function GM(n){return n===44||n===91||n===93||n===123||n===125}function AVn(n){var i;return 48<=n&&n<=57?n-48:(i=n|32,97<=i&&i<=102?i-97+10:-1)}function _Vn(n){return n===120?2:n===117?4:n===85?8:0}function kVn(n){return 48<=n&&n<=57?n-48:-1}function O7t(n){return n===48?"\0":n===97?"\x07":n===98?"\b":n===116||n===9?" ":n===110?`
|
||
`:n===118?"\v":n===102?"\f":n===114?"\r":n===101?"\x1B":n===32?" ":n===34?'"':n===47?"/":n===92?"\\":n===78?"
":n===95?" ":n===76?"\u2028":n===80?"\u2029":""}function xVn(n){return n<=65535?String.fromCharCode(n):String.fromCharCode((n-65536>>10)+55296,(n-65536&1023)+56320)}function Fqt(n,i,a){i==="__proto__"?Object.defineProperty(n,i,{configurable:!0,enumerable:!0,writable:!0,value:a}):n[i]=a}var $qt=new Array(256),Bqt=new Array(256);for(var mM=0;mM<256;mM++)$qt[mM]=O7t(mM)?1:0,Bqt[mM]=O7t(mM);function NVn(n,i){this.input=n,this.filename=i.filename||null,this.schema=i.schema||Dqt,this.onWarning=i.onWarning||null,this.legacy=i.legacy||!1,this.json=i.json||!1,this.listener=i.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=n.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Uqt(n,i){var a={name:n.filename,buffer:n.input.slice(0,-1),position:n.position,line:n.line,column:n.position-n.lineStart};return a.snippet=gqn(a),new ib(i,a)}function ki(n,i){throw Uqt(n,i)}function tse(n,i){n.onWarning&&n.onWarning.call(null,Uqt(n,i))}var D7t={YAML:function(i,a,c){var d,g,b;i.version!==null&&ki(i,"duplication of %YAML directive"),c.length!==1&&ki(i,"YAML directive accepts exactly one argument"),d=/^([0-9]+)\.([0-9]+)$/.exec(c[0]),d===null&&ki(i,"ill-formed argument of the YAML directive"),g=parseInt(d[1],10),b=parseInt(d[2],10),g!==1&&ki(i,"unacceptable YAML version of the document"),i.version=c[0],i.checkLineBreaks=b<2,b!==1&&b!==2&&tse(i,"unsupported YAML version of the document")},TAG:function(i,a,c){var d,g;c.length!==2&&ki(i,"TAG directive accepts exactly two arguments"),d=c[0],g=c[1],Pqt.test(d)||ki(i,"ill-formed tag handle (first argument) of the TAG directive"),sN.call(i.tagMap,d)&&ki(i,'there is a previously declared suffix for "'+d+'" tag handle'),jqt.test(g)||ki(i,"ill-formed tag prefix (second argument) of the TAG directive");try{g=decodeURIComponent(g)}catch{ki(i,"tag prefix is malformed: "+g)}i.tagMap[d]=g}};function Zx(n,i,a,c){var d,g,b,w;if(i<a){if(w=n.input.slice(i,a),c)for(d=0,g=w.length;d<g;d+=1)b=w.charCodeAt(d),b===9||32<=b&&b<=1114111||ki(n,"expected valid JSON character");else EVn.test(w)&&ki(n,"the stream contains non-printable characters");n.result+=w}}function L7t(n,i,a,c){var d,g,b,w;for(vf.isObject(a)||ki(n,"cannot merge mappings; the provided source object is unacceptable"),d=Object.keys(a),b=0,w=d.length;b<w;b+=1)g=d[b],sN.call(i,g)||(Fqt(i,g,a[g]),c[g]=!0)}function qM(n,i,a,c,d,g,b,w,E){var S,k;if(Array.isArray(d))for(d=Array.prototype.slice.call(d),S=0,k=d.length;S<k;S+=1)Array.isArray(d[S])&&ki(n,"nested arrays are not supported inside keys"),typeof d=="object"&&R7t(d[S])==="[object Object]"&&(d[S]="[object Object]");if(typeof d=="object"&&R7t(d)==="[object Object]"&&(d="[object Object]"),d=String(d),i===null&&(i={}),c==="tag:yaml.org,2002:merge")if(Array.isArray(g))for(S=0,k=g.length;S<k;S+=1)L7t(n,i,g[S],a);else L7t(n,i,g,a);else!n.json&&!sN.call(a,d)&&sN.call(i,d)&&(n.line=b||n.line,n.lineStart=w||n.lineStart,n.position=E||n.position,ki(n,"duplicated mapping key")),Fqt(i,d,g),delete a[d];return i}function e5e(n){var i;i=n.input.charCodeAt(n.position),i===10?n.position++:i===13?(n.position++,n.input.charCodeAt(n.position)===10&&n.position++):ki(n,"a line break is expected"),n.line+=1,n.lineStart=n.position,n.firstTabInLine=-1}function $d(n,i,a){for(var c=0,d=n.input.charCodeAt(n.position);d!==0;){for(;eR(d);)d===9&&n.firstTabInLine===-1&&(n.firstTabInLine=n.position),d=n.input.charCodeAt(++n.position);if(i&&d===35)do d=n.input.charCodeAt(++n.position);while(d!==10&&d!==13&&d!==0);if(B2(d))for(e5e(n),d=n.input.charCodeAt(n.position),c++,n.lineIndent=0;d===32;)n.lineIndent++,d=n.input.charCodeAt(++n.position);else break}return a!==-1&&c!==0&&n.lineIndent<a&&tse(n,"deficient indentation"),c}function yae(n){var i=n.position,a;return a=n.input.charCodeAt(i),!!((a===45||a===46)&&a===n.input.charCodeAt(i+1)&&a===n.input.charCodeAt(i+2)&&(i+=3,a=n.input.charCodeAt(i),a===0||ub(a)))}function t5e(n,i){i===1?n.result+=" ":i>1&&(n.result+=vf.repeat(`
|
||
`,i-1))}function CVn(n,i,a){var c,d,g,b,w,E,S,k,_=n.kind,C=n.result,R;if(R=n.input.charCodeAt(n.position),ub(R)||GM(R)||R===35||R===38||R===42||R===33||R===124||R===62||R===39||R===34||R===37||R===64||R===96||(R===63||R===45)&&(d=n.input.charCodeAt(n.position+1),ub(d)||a&&GM(d)))return!1;for(n.kind="scalar",n.result="",g=b=n.position,w=!1;R!==0;){if(R===58){if(d=n.input.charCodeAt(n.position+1),ub(d)||a&&GM(d))break}else if(R===35){if(c=n.input.charCodeAt(n.position-1),ub(c))break}else{if(n.position===n.lineStart&&yae(n)||a&&GM(R))break;if(B2(R))if(E=n.line,S=n.lineStart,k=n.lineIndent,$d(n,!1,-1),n.lineIndent>=i){w=!0,R=n.input.charCodeAt(n.position);continue}else{n.position=b,n.line=E,n.lineStart=S,n.lineIndent=k;break}}w&&(Zx(n,g,b,!1),t5e(n,n.line-E),g=b=n.position,w=!1),eR(R)||(b=n.position+1),R=n.input.charCodeAt(++n.position)}return Zx(n,g,b,!1),n.result?!0:(n.kind=_,n.result=C,!1)}function IVn(n,i){var a,c,d;if(a=n.input.charCodeAt(n.position),a!==39)return!1;for(n.kind="scalar",n.result="",n.position++,c=d=n.position;(a=n.input.charCodeAt(n.position))!==0;)if(a===39)if(Zx(n,c,n.position,!0),a=n.input.charCodeAt(++n.position),a===39)c=n.position,n.position++,d=n.position;else return!0;else B2(a)?(Zx(n,c,d,!0),t5e(n,$d(n,!1,i)),c=d=n.position):n.position===n.lineStart&&yae(n)?ki(n,"unexpected end of the document within a single quoted scalar"):(n.position++,d=n.position);ki(n,"unexpected end of the stream within a single quoted scalar")}function RVn(n,i){var a,c,d,g,b,w;if(w=n.input.charCodeAt(n.position),w!==34)return!1;for(n.kind="scalar",n.result="",n.position++,a=c=n.position;(w=n.input.charCodeAt(n.position))!==0;){if(w===34)return Zx(n,a,n.position,!0),n.position++,!0;if(w===92){if(Zx(n,a,n.position,!0),w=n.input.charCodeAt(++n.position),B2(w))$d(n,!1,i);else if(w<256&&$qt[w])n.result+=Bqt[w],n.position++;else if((b=_Vn(w))>0){for(d=b,g=0;d>0;d--)w=n.input.charCodeAt(++n.position),(b=AVn(w))>=0?g=(g<<4)+b:ki(n,"expected hexadecimal character");n.result+=xVn(g),n.position++}else ki(n,"unknown escape sequence");a=c=n.position}else B2(w)?(Zx(n,a,c,!0),t5e(n,$d(n,!1,i)),a=c=n.position):n.position===n.lineStart&&yae(n)?ki(n,"unexpected end of the document within a double quoted scalar"):(n.position++,c=n.position)}ki(n,"unexpected end of the stream within a double quoted scalar")}function OVn(n,i){var a=!0,c,d,g,b=n.tag,w,E=n.anchor,S,k,_,C,R,M=Object.create(null),D,B,F,$;if($=n.input.charCodeAt(n.position),$===91)k=93,R=!1,w=[];else if($===123)k=125,R=!0,w={};else return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=w),$=n.input.charCodeAt(++n.position);$!==0;){if($d(n,!0,i),$=n.input.charCodeAt(n.position),$===k)return n.position++,n.tag=b,n.anchor=E,n.kind=R?"mapping":"sequence",n.result=w,!0;a?$===44&&ki(n,"expected the node content, but found ','"):ki(n,"missed comma between flow collection entries"),B=D=F=null,_=C=!1,$===63&&(S=n.input.charCodeAt(n.position+1),ub(S)&&(_=C=!0,n.position++,$d(n,!0,i))),c=n.line,d=n.lineStart,g=n.position,k5(n,i,Qoe,!1,!0),B=n.tag,D=n.result,$d(n,!0,i),$=n.input.charCodeAt(n.position),(C||n.line===c)&&$===58&&(_=!0,$=n.input.charCodeAt(++n.position),$d(n,!0,i),k5(n,i,Qoe,!1,!0),F=n.result),R?qM(n,w,M,B,D,F,c,d,g):_?w.push(qM(n,null,M,B,D,F,c,d,g)):w.push(D),$d(n,!0,i),$=n.input.charCodeAt(n.position),$===44?(a=!0,$=n.input.charCodeAt(++n.position)):a=!1}ki(n,"unexpected end of the stream within a flow collection")}function DVn(n,i){var a,c,d=bOe,g=!1,b=!1,w=i,E=0,S=!1,k,_;if(_=n.input.charCodeAt(n.position),_===124)c=!1;else if(_===62)c=!0;else return!1;for(n.kind="scalar",n.result="";_!==0;)if(_=n.input.charCodeAt(++n.position),_===43||_===45)bOe===d?d=_===43?I7t:vVn:ki(n,"repeat of a chomping mode identifier");else if((k=kVn(_))>=0)k===0?ki(n,"bad explicit indentation width of a block scalar; it cannot be less than one"):b?ki(n,"repeat of an indentation width identifier"):(w=i+k-1,b=!0);else break;if(eR(_)){do _=n.input.charCodeAt(++n.position);while(eR(_));if(_===35)do _=n.input.charCodeAt(++n.position);while(!B2(_)&&_!==0)}for(;_!==0;){for(e5e(n),n.lineIndent=0,_=n.input.charCodeAt(n.position);(!b||n.lineIndent<w)&&_===32;)n.lineIndent++,_=n.input.charCodeAt(++n.position);if(!b&&n.lineIndent>w&&(w=n.lineIndent),B2(_)){E++;continue}if(n.lineIndent<w){d===I7t?n.result+=vf.repeat(`
|
||
`,g?1+E:E):d===bOe&&g&&(n.result+=`
|
||
`);break}for(c?eR(_)?(S=!0,n.result+=vf.repeat(`
|
||
`,g?1+E:E)):S?(S=!1,n.result+=vf.repeat(`
|
||
`,E+1)):E===0?g&&(n.result+=" "):n.result+=vf.repeat(`
|
||
`,E):n.result+=vf.repeat(`
|
||
`,g?1+E:E),g=!0,b=!0,E=0,a=n.position;!B2(_)&&_!==0;)_=n.input.charCodeAt(++n.position);Zx(n,a,n.position,!1)}return!0}function M7t(n,i){var a,c=n.tag,d=n.anchor,g=[],b,w=!1,E;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=g),E=n.input.charCodeAt(n.position);E!==0&&(n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,ki(n,"tab characters must not be used in indentation")),!(E!==45||(b=n.input.charCodeAt(n.position+1),!ub(b))));){if(w=!0,n.position++,$d(n,!0,-1)&&n.lineIndent<=i){g.push(null),E=n.input.charCodeAt(n.position);continue}if(a=n.line,k5(n,i,Mqt,!1,!0),g.push(n.result),$d(n,!0,-1),E=n.input.charCodeAt(n.position),(n.line===a||n.lineIndent>i)&&E!==0)ki(n,"bad indentation of a sequence entry");else if(n.lineIndent<i)break}return w?(n.tag=c,n.anchor=d,n.kind="sequence",n.result=g,!0):!1}function LVn(n,i,a){var c,d,g,b,w,E,S=n.tag,k=n.anchor,_={},C=Object.create(null),R=null,M=null,D=null,B=!1,F=!1,$;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=_),$=n.input.charCodeAt(n.position);$!==0;){if(!B&&n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,ki(n,"tab characters must not be used in indentation")),c=n.input.charCodeAt(n.position+1),g=n.line,($===63||$===58)&&ub(c))$===63?(B&&(qM(n,_,C,R,M,null,b,w,E),R=M=D=null),F=!0,B=!0,d=!0):B?(B=!1,d=!0):ki(n,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),n.position+=1,$=c;else{if(b=n.line,w=n.lineStart,E=n.position,!k5(n,a,Lqt,!1,!0))break;if(n.line===g){for($=n.input.charCodeAt(n.position);eR($);)$=n.input.charCodeAt(++n.position);if($===58)$=n.input.charCodeAt(++n.position),ub($)||ki(n,"a whitespace character is expected after the key-value separator within a block mapping"),B&&(qM(n,_,C,R,M,null,b,w,E),R=M=D=null),F=!0,B=!1,d=!1,R=n.tag,M=n.result;else if(F)ki(n,"can not read an implicit mapping pair; a colon is missed");else return n.tag=S,n.anchor=k,!0}else if(F)ki(n,"can not read a block mapping entry; a multiline key may not be an implicit key");else return n.tag=S,n.anchor=k,!0}if((n.line===g||n.lineIndent>i)&&(B&&(b=n.line,w=n.lineStart,E=n.position),k5(n,i,ese,!0,d)&&(B?M=n.result:D=n.result),B||(qM(n,_,C,R,M,D,b,w,E),R=M=D=null),$d(n,!0,-1),$=n.input.charCodeAt(n.position)),(n.line===g||n.lineIndent>i)&&$!==0)ki(n,"bad indentation of a mapping entry");else if(n.lineIndent<i)break}return B&&qM(n,_,C,R,M,null,b,w,E),F&&(n.tag=S,n.anchor=k,n.kind="mapping",n.result=_),F}function MVn(n){var i,a=!1,c=!1,d,g,b;if(b=n.input.charCodeAt(n.position),b!==33)return!1;if(n.tag!==null&&ki(n,"duplication of a tag property"),b=n.input.charCodeAt(++n.position),b===60?(a=!0,b=n.input.charCodeAt(++n.position)):b===33?(c=!0,d="!!",b=n.input.charCodeAt(++n.position)):d="!",i=n.position,a){do b=n.input.charCodeAt(++n.position);while(b!==0&&b!==62);n.position<n.length?(g=n.input.slice(i,n.position),b=n.input.charCodeAt(++n.position)):ki(n,"unexpected end of the stream within a verbatim tag")}else{for(;b!==0&&!ub(b);)b===33&&(c?ki(n,"tag suffix cannot contain exclamation marks"):(d=n.input.slice(i-1,n.position+1),Pqt.test(d)||ki(n,"named tag handle cannot contain such characters"),c=!0,i=n.position+1)),b=n.input.charCodeAt(++n.position);g=n.input.slice(i,n.position),TVn.test(g)&&ki(n,"tag suffix cannot contain flow indicator characters")}g&&!jqt.test(g)&&ki(n,"tag name cannot contain such characters: "+g);try{g=decodeURIComponent(g)}catch{ki(n,"tag name is malformed: "+g)}return a?n.tag=g:sN.call(n.tagMap,d)?n.tag=n.tagMap[d]+g:d==="!"?n.tag="!"+g:d==="!!"?n.tag="tag:yaml.org,2002:"+g:ki(n,'undeclared tag handle "'+d+'"'),!0}function PVn(n){var i,a;if(a=n.input.charCodeAt(n.position),a!==38)return!1;for(n.anchor!==null&&ki(n,"duplication of an anchor property"),a=n.input.charCodeAt(++n.position),i=n.position;a!==0&&!ub(a)&&!GM(a);)a=n.input.charCodeAt(++n.position);return n.position===i&&ki(n,"name of an anchor node must contain at least one character"),n.anchor=n.input.slice(i,n.position),!0}function jVn(n){var i,a,c;if(c=n.input.charCodeAt(n.position),c!==42)return!1;for(c=n.input.charCodeAt(++n.position),i=n.position;c!==0&&!ub(c)&&!GM(c);)c=n.input.charCodeAt(++n.position);return n.position===i&&ki(n,"name of an alias node must contain at least one character"),a=n.input.slice(i,n.position),sN.call(n.anchorMap,a)||ki(n,'unidentified alias "'+a+'"'),n.result=n.anchorMap[a],$d(n,!0,-1),!0}function k5(n,i,a,c,d){var g,b,w,E=1,S=!1,k=!1,_,C,R,M,D,B;if(n.listener!==null&&n.listener("open",n),n.tag=null,n.anchor=null,n.kind=null,n.result=null,g=b=w=ese===a||Mqt===a,c&&$d(n,!0,-1)&&(S=!0,n.lineIndent>i?E=1:n.lineIndent===i?E=0:n.lineIndent<i&&(E=-1)),E===1)for(;MVn(n)||PVn(n);)$d(n,!0,-1)?(S=!0,w=g,n.lineIndent>i?E=1:n.lineIndent===i?E=0:n.lineIndent<i&&(E=-1)):w=!1;if(w&&(w=S||d),(E===1||ese===a)&&(Qoe===a||Lqt===a?D=i:D=i+1,B=n.position-n.lineStart,E===1?w&&(M7t(n,B)||LVn(n,B,D))||OVn(n,D)?k=!0:(b&&DVn(n,D)||IVn(n,D)||RVn(n,D)?k=!0:jVn(n)?(k=!0,(n.tag!==null||n.anchor!==null)&&ki(n,"alias node should not have any properties")):CVn(n,D,Qoe===a)&&(k=!0,n.tag===null&&(n.tag="?")),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):E===0&&(k=w&&M7t(n,B))),n.tag===null)n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);else if(n.tag==="?"){for(n.result!==null&&n.kind!=="scalar"&&ki(n,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+n.kind+'"'),_=0,C=n.implicitTypes.length;_<C;_+=1)if(M=n.implicitTypes[_],M.resolve(n.result)){n.result=M.construct(n.result),n.tag=M.tag,n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);break}}else if(n.tag!=="!"){if(sN.call(n.typeMap[n.kind||"fallback"],n.tag))M=n.typeMap[n.kind||"fallback"][n.tag];else for(M=null,R=n.typeMap.multi[n.kind||"fallback"],_=0,C=R.length;_<C;_+=1)if(n.tag.slice(0,R[_].tag.length)===R[_].tag){M=R[_];break}M||ki(n,"unknown tag !<"+n.tag+">"),n.result!==null&&M.kind!==n.kind&&ki(n,"unacceptable node kind for !<"+n.tag+'> tag; it should be "'+M.kind+'", not "'+n.kind+'"'),M.resolve(n.result,n.tag)?(n.result=M.construct(n.result,n.tag),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):ki(n,"cannot resolve a node with !<"+n.tag+"> explicit tag")}return n.listener!==null&&n.listener("close",n),n.tag!==null||n.anchor!==null||k}function FVn(n){var i=n.position,a,c,d,g=!1,b;for(n.version=null,n.checkLineBreaks=n.legacy,n.tagMap=Object.create(null),n.anchorMap=Object.create(null);(b=n.input.charCodeAt(n.position))!==0&&($d(n,!0,-1),b=n.input.charCodeAt(n.position),!(n.lineIndent>0||b!==37));){for(g=!0,b=n.input.charCodeAt(++n.position),a=n.position;b!==0&&!ub(b);)b=n.input.charCodeAt(++n.position);for(c=n.input.slice(a,n.position),d=[],c.length<1&&ki(n,"directive name must not be less than one character in length");b!==0;){for(;eR(b);)b=n.input.charCodeAt(++n.position);if(b===35){do b=n.input.charCodeAt(++n.position);while(b!==0&&!B2(b));break}if(B2(b))break;for(a=n.position;b!==0&&!ub(b);)b=n.input.charCodeAt(++n.position);d.push(n.input.slice(a,n.position))}b!==0&&e5e(n),sN.call(D7t,c)?D7t[c](n,c,d):tse(n,'unknown document directive "'+c+'"')}if($d(n,!0,-1),n.lineIndent===0&&n.input.charCodeAt(n.position)===45&&n.input.charCodeAt(n.position+1)===45&&n.input.charCodeAt(n.position+2)===45?(n.position+=3,$d(n,!0,-1)):g&&ki(n,"directives end mark is expected"),k5(n,n.lineIndent-1,ese,!1,!0),$d(n,!0,-1),n.checkLineBreaks&&SVn.test(n.input.slice(i,n.position))&&tse(n,"non-ASCII line breaks are interpreted as content"),n.documents.push(n.result),n.position===n.lineStart&&yae(n)){n.input.charCodeAt(n.position)===46&&(n.position+=3,$d(n,!0,-1));return}if(n.position<n.length-1)ki(n,"end of the stream or a document separator is expected");else return}function $Vn(n,i){n=String(n),i=i||{},n.length!==0&&(n.charCodeAt(n.length-1)!==10&&n.charCodeAt(n.length-1)!==13&&(n+=`
|
||
`),n.charCodeAt(0)===65279&&(n=n.slice(1)));var a=new NVn(n,i),c=n.indexOf("\0");for(c!==-1&&(a.position=c,ki(a,"null byte is not allowed in input")),a.input+="\0";a.input.charCodeAt(a.position)===32;)a.lineIndent+=1,a.position+=1;for(;a.position<a.length-1;)FVn(a);return a.documents}function BVn(n,i){var a=$Vn(n,i);if(a.length!==0){if(a.length===1)return a[0];throw new ib("expected a single document in the stream, but found more")}}var UVn=BVn,HVn={load:UVn},Hqt=Object.prototype.toString,zqt=Object.prototype.hasOwnProperty,n5e=65279,zVn=9,tz=10,GVn=13,qVn=32,VVn=33,WVn=34,fDe=35,KVn=37,YVn=38,JVn=39,XVn=42,Gqt=44,ZVn=45,nse=58,QVn=61,eWn=62,tWn=63,nWn=64,qqt=91,Vqt=93,rWn=96,Wqt=123,iWn=124,Kqt=125,Gp={};Gp[0]="\\0";Gp[7]="\\a";Gp[8]="\\b";Gp[9]="\\t";Gp[10]="\\n";Gp[11]="\\v";Gp[12]="\\f";Gp[13]="\\r";Gp[27]="\\e";Gp[34]='\\"';Gp[92]="\\\\";Gp[133]="\\N";Gp[160]="\\_";Gp[8232]="\\L";Gp[8233]="\\P";var oWn=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],sWn=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function aWn(n,i){var a,c,d,g,b,w,E;if(i===null)return{};for(a={},c=Object.keys(i),d=0,g=c.length;d<g;d+=1)b=c[d],w=String(i[b]),b.slice(0,2)==="!!"&&(b="tag:yaml.org,2002:"+b.slice(2)),E=n.compiledTypeMap.fallback[b],E&&zqt.call(E.styleAliases,w)&&(w=E.styleAliases[w]),a[b]=w;return a}function uWn(n){var i,a,c;if(i=n.toString(16).toUpperCase(),n<=255)a="x",c=2;else if(n<=65535)a="u",c=4;else if(n<=4294967295)a="U",c=8;else throw new ib("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+a+vf.repeat("0",c-i.length)+i}var cWn=1,nz=2;function lWn(n){this.schema=n.schema||Dqt,this.indent=Math.max(1,n.indent||2),this.noArrayIndent=n.noArrayIndent||!1,this.skipInvalid=n.skipInvalid||!1,this.flowLevel=vf.isNothing(n.flowLevel)?-1:n.flowLevel,this.styleMap=aWn(this.schema,n.styles||null),this.sortKeys=n.sortKeys||!1,this.lineWidth=n.lineWidth||80,this.noRefs=n.noRefs||!1,this.noCompatMode=n.noCompatMode||!1,this.condenseFlow=n.condenseFlow||!1,this.quotingType=n.quotingType==='"'?nz:cWn,this.forceQuotes=n.forceQuotes||!1,this.replacer=typeof n.replacer=="function"?n.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function P7t(n,i){for(var a=vf.repeat(" ",i),c=0,d=-1,g="",b,w=n.length;c<w;)d=n.indexOf(`
|
||
`,c),d===-1?(b=n.slice(c),c=w):(b=n.slice(c,d+1),c=d+1),b.length&&b!==`
|
||
`&&(g+=a),g+=b;return g}function hDe(n,i){return`
|
||
`+vf.repeat(" ",n.indent*i)}function dWn(n,i){var a,c,d;for(a=0,c=n.implicitTypes.length;a<c;a+=1)if(d=n.implicitTypes[a],d.resolve(i))return!0;return!1}function rse(n){return n===qVn||n===zVn}function rz(n){return 32<=n&&n<=126||161<=n&&n<=55295&&n!==8232&&n!==8233||57344<=n&&n<=65533&&n!==n5e||65536<=n&&n<=1114111}function j7t(n){return rz(n)&&n!==n5e&&n!==GVn&&n!==tz}function F7t(n,i,a){var c=j7t(n),d=c&&!rse(n);return(a?c:c&&n!==Gqt&&n!==qqt&&n!==Vqt&&n!==Wqt&&n!==Kqt)&&n!==fDe&&!(i===nse&&!d)||j7t(i)&&!rse(i)&&n===fDe||i===nse&&d}function fWn(n){return rz(n)&&n!==n5e&&!rse(n)&&n!==ZVn&&n!==tWn&&n!==nse&&n!==Gqt&&n!==qqt&&n!==Vqt&&n!==Wqt&&n!==Kqt&&n!==fDe&&n!==YVn&&n!==XVn&&n!==VVn&&n!==iWn&&n!==QVn&&n!==eWn&&n!==JVn&&n!==WVn&&n!==KVn&&n!==nWn&&n!==rWn}function hWn(n){return!rse(n)&&n!==nse}function tH(n,i){var a=n.charCodeAt(i),c;return a>=55296&&a<=56319&&i+1<n.length&&(c=n.charCodeAt(i+1),c>=56320&&c<=57343)?(a-55296)*1024+c-56320+65536:a}function Yqt(n){var i=/^\n* /;return i.test(n)}var Jqt=1,pDe=2,Xqt=3,Zqt=4,SM=5;function pWn(n,i,a,c,d,g,b,w){var E,S=0,k=null,_=!1,C=!1,R=c!==-1,M=-1,D=fWn(tH(n,0))&&hWn(tH(n,n.length-1));if(i||b)for(E=0;E<n.length;S>=65536?E+=2:E++){if(S=tH(n,E),!rz(S))return SM;D=D&&F7t(S,k,w),k=S}else{for(E=0;E<n.length;S>=65536?E+=2:E++){if(S=tH(n,E),S===tz)_=!0,R&&(C=C||E-M-1>c&&n[M+1]!==" ",M=E);else if(!rz(S))return SM;D=D&&F7t(S,k,w),k=S}C=C||R&&E-M-1>c&&n[M+1]!==" "}return!_&&!C?D&&!b&&!d(n)?Jqt:g===nz?SM:pDe:a>9&&Yqt(n)?SM:b?g===nz?SM:pDe:C?Zqt:Xqt}function gWn(n,i,a,c,d){n.dump=function(){if(i.length===0)return n.quotingType===nz?'""':"''";if(!n.noCompatMode&&(oWn.indexOf(i)!==-1||sWn.test(i)))return n.quotingType===nz?'"'+i+'"':"'"+i+"'";var g=n.indent*Math.max(1,a),b=n.lineWidth===-1?-1:Math.max(Math.min(n.lineWidth,40),n.lineWidth-g),w=c||n.flowLevel>-1&&a>=n.flowLevel;function E(S){return dWn(n,S)}switch(pWn(i,w,n.indent,b,E,n.quotingType,n.forceQuotes&&!c,d)){case Jqt:return i;case pDe:return"'"+i.replace(/'/g,"''")+"'";case Xqt:return"|"+$7t(i,n.indent)+B7t(P7t(i,g));case Zqt:return">"+$7t(i,n.indent)+B7t(P7t(bWn(i,b),g));case SM:return'"'+mWn(i)+'"';default:throw new ib("impossible error: invalid scalar style")}}()}function $7t(n,i){var a=Yqt(n)?String(i):"",c=n[n.length-1]===`
|
||
`,d=c&&(n[n.length-2]===`
|
||
`||n===`
|
||
`),g=d?"+":c?"":"-";return a+g+`
|
||
`}function B7t(n){return n[n.length-1]===`
|
||
`?n.slice(0,-1):n}function bWn(n,i){for(var a=/(\n+)([^\n]*)/g,c=function(){var S=n.indexOf(`
|
||
`);return S=S!==-1?S:n.length,a.lastIndex=S,U7t(n.slice(0,S),i)}(),d=n[0]===`
|
||
`||n[0]===" ",g,b;b=a.exec(n);){var w=b[1],E=b[2];g=E[0]===" ",c+=w+(!d&&!g&&E!==""?`
|
||
`:"")+U7t(E,i),d=g}return c}function U7t(n,i){if(n===""||n[0]===" ")return n;for(var a=/ [^ ]/g,c,d=0,g,b=0,w=0,E="";c=a.exec(n);)w=c.index,w-d>i&&(g=b>d?b:w,E+=`
|
||
`+n.slice(d,g),d=g+1),b=w;return E+=`
|
||
`,n.length-d>i&&b>d?E+=n.slice(d,b)+`
|
||
`+n.slice(b+1):E+=n.slice(d),E.slice(1)}function mWn(n){for(var i="",a=0,c,d=0;d<n.length;a>=65536?d+=2:d++)a=tH(n,d),c=Gp[a],!c&&rz(a)?(i+=n[d],a>=65536&&(i+=n[d+1])):i+=c||uWn(a);return i}function wWn(n,i,a){var c="",d=n.tag,g,b,w;for(g=0,b=a.length;g<b;g+=1)w=a[g],n.replacer&&(w=n.replacer.call(a,String(g),w)),(wA(n,i,w,!1,!1)||typeof w>"u"&&wA(n,i,null,!1,!1))&&(c!==""&&(c+=","+(n.condenseFlow?"":" ")),c+=n.dump);n.tag=d,n.dump="["+c+"]"}function H7t(n,i,a,c){var d="",g=n.tag,b,w,E;for(b=0,w=a.length;b<w;b+=1)E=a[b],n.replacer&&(E=n.replacer.call(a,String(b),E)),(wA(n,i+1,E,!0,!0,!1,!0)||typeof E>"u"&&wA(n,i+1,null,!0,!0,!1,!0))&&((!c||d!=="")&&(d+=hDe(n,i)),n.dump&&tz===n.dump.charCodeAt(0)?d+="-":d+="- ",d+=n.dump);n.tag=g,n.dump=d||"[]"}function yWn(n,i,a){var c="",d=n.tag,g=Object.keys(a),b,w,E,S,k;for(b=0,w=g.length;b<w;b+=1)k="",c!==""&&(k+=", "),n.condenseFlow&&(k+='"'),E=g[b],S=a[E],n.replacer&&(S=n.replacer.call(a,E,S)),wA(n,i,E,!1,!1)&&(n.dump.length>1024&&(k+="? "),k+=n.dump+(n.condenseFlow?'"':"")+":"+(n.condenseFlow?"":" "),wA(n,i,S,!1,!1)&&(k+=n.dump,c+=k));n.tag=d,n.dump="{"+c+"}"}function vWn(n,i,a,c){var d="",g=n.tag,b=Object.keys(a),w,E,S,k,_,C;if(n.sortKeys===!0)b.sort();else if(typeof n.sortKeys=="function")b.sort(n.sortKeys);else if(n.sortKeys)throw new ib("sortKeys must be a boolean or a function");for(w=0,E=b.length;w<E;w+=1)C="",(!c||d!=="")&&(C+=hDe(n,i)),S=b[w],k=a[S],n.replacer&&(k=n.replacer.call(a,S,k)),wA(n,i+1,S,!0,!0,!0)&&(_=n.tag!==null&&n.tag!=="?"||n.dump&&n.dump.length>1024,_&&(n.dump&&tz===n.dump.charCodeAt(0)?C+="?":C+="? "),C+=n.dump,_&&(C+=hDe(n,i)),wA(n,i+1,k,!0,_)&&(n.dump&&tz===n.dump.charCodeAt(0)?C+=":":C+=": ",C+=n.dump,d+=C));n.tag=g,n.dump=d||"{}"}function z7t(n,i,a){var c,d,g,b,w,E;for(d=a?n.explicitTypes:n.implicitTypes,g=0,b=d.length;g<b;g+=1)if(w=d[g],(w.instanceOf||w.predicate)&&(!w.instanceOf||typeof i=="object"&&i instanceof w.instanceOf)&&(!w.predicate||w.predicate(i))){if(a?w.multi&&w.representName?n.tag=w.representName(i):n.tag=w.tag:n.tag="?",w.represent){if(E=n.styleMap[w.tag]||w.defaultStyle,Hqt.call(w.represent)==="[object Function]")c=w.represent(i,E);else if(zqt.call(w.represent,E))c=w.represent[E](i,E);else throw new ib("!<"+w.tag+'> tag resolver accepts not "'+E+'" style');n.dump=c}return!0}return!1}function wA(n,i,a,c,d,g,b){n.tag=null,n.dump=a,z7t(n,a,!1)||z7t(n,a,!0);var w=Hqt.call(n.dump),E=c,S;c&&(c=n.flowLevel<0||n.flowLevel>i);var k=w==="[object Object]"||w==="[object Array]",_,C;if(k&&(_=n.duplicates.indexOf(a),C=_!==-1),(n.tag!==null&&n.tag!=="?"||C||n.indent!==2&&i>0)&&(d=!1),C&&n.usedDuplicates[_])n.dump="*ref_"+_;else{if(k&&C&&!n.usedDuplicates[_]&&(n.usedDuplicates[_]=!0),w==="[object Object]")c&&Object.keys(n.dump).length!==0?(vWn(n,i,n.dump,d),C&&(n.dump="&ref_"+_+n.dump)):(yWn(n,i,n.dump),C&&(n.dump="&ref_"+_+" "+n.dump));else if(w==="[object Array]")c&&n.dump.length!==0?(n.noArrayIndent&&!b&&i>0?H7t(n,i-1,n.dump,d):H7t(n,i,n.dump,d),C&&(n.dump="&ref_"+_+n.dump)):(wWn(n,i,n.dump),C&&(n.dump="&ref_"+_+" "+n.dump));else if(w==="[object String]")n.tag!=="?"&&gWn(n,n.dump,i,g,E);else{if(w==="[object Undefined]")return!1;if(n.skipInvalid)return!1;throw new ib("unacceptable kind of an object to dump "+w)}n.tag!==null&&n.tag!=="?"&&(S=encodeURI(n.tag[0]==="!"?n.tag.slice(1):n.tag).replace(/!/g,"%21"),n.tag[0]==="!"?S="!"+S:S.slice(0,18)==="tag:yaml.org,2002:"?S="!!"+S.slice(18):S="!<"+S+">",n.dump=S+" "+n.dump)}return!0}function EWn(n,i){var a=[],c=[],d,g;for(gDe(n,a,c),d=0,g=c.length;d<g;d+=1)i.duplicates.push(a[c[d]]);i.usedDuplicates=new Array(g)}function gDe(n,i,a){var c,d,g;if(n!==null&&typeof n=="object")if(d=i.indexOf(n),d!==-1)a.indexOf(d)===-1&&a.push(d);else if(i.push(n),Array.isArray(n))for(d=0,g=n.length;d<g;d+=1)gDe(n[d],i,a);else for(c=Object.keys(n),d=0,g=c.length;d<g;d+=1)gDe(n[c[d]],i,a)}function SWn(n,i){i=i||{};var a=new lWn(i);a.noRefs||EWn(n,a);var c=n;return a.replacer&&(c=a.replacer.call({"":c},"",c)),wA(a,0,c,!0,!0)?a.dump+`
|
||
`:""}var TWn=SWn,AWn={dump:TWn},_Wn=HVn.load,ise=AWn.dump;const Mh=[];for(let n=0;n<256;++n)Mh.push((n+256).toString(16).slice(1));function kWn(n,i=0){return(Mh[n[i+0]]+Mh[n[i+1]]+Mh[n[i+2]]+Mh[n[i+3]]+"-"+Mh[n[i+4]]+Mh[n[i+5]]+"-"+Mh[n[i+6]]+Mh[n[i+7]]+"-"+Mh[n[i+8]]+Mh[n[i+9]]+"-"+Mh[n[i+10]]+Mh[n[i+11]]+Mh[n[i+12]]+Mh[n[i+13]]+Mh[n[i+14]]+Mh[n[i+15]]).toLowerCase()}let mOe;const xWn=new Uint8Array(16);function NWn(){if(!mOe){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");mOe=crypto.getRandomValues.bind(crypto)}return mOe(xWn)}const CWn=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),G7t={randomUUID:CWn};function IWn(n,i,a){var d;n=n||{};const c=n.random??((d=n.rng)==null?void 0:d.call(n))??NWn();if(c.length<16)throw new Error("Random bytes length must be >= 16");return c[6]=c[6]&15|64,c[8]=c[8]&63|128,kWn(c)}function RWn(n,i,a){return G7t.randomUUID&&!n?G7t.randomUUID():IWn(n)}let OWn=0;function q7t(n,i){return`${n}_${Date.now()}_${i}_${OWn++}`}function DWn(){return RWn()}function LWn(n,i){return`e-${n}-${i}-${Date.now()}`}var Qqt={exports:{}};(function(n,i){(function(a){n.exports=a()})(function(){return function(){function a(c,d,g){function b(S,k){if(!d[S]){if(!c[S]){var _=typeof XU=="function"&&XU;if(!k&&_)return _(S,!0);if(w)return w(S,!0);var C=new Error("Cannot find module '"+S+"'");throw C.code="MODULE_NOT_FOUND",C}var R=d[S]={exports:{}};c[S][0].call(R.exports,function(M){var D=c[S][1][M];return b(D||M)},R,R.exports,a,c,d,g)}return d[S].exports}for(var w=typeof XU=="function"&&XU,E=0;E<g.length;E++)b(g[E]);return b}return a}()({1:[function(a,c,d){Object.defineProperty(d,"__esModule",{value:!0}),d.default=void 0;function g(C){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},g(C)}function b(C,R){if(!(C instanceof R))throw new TypeError("Cannot call a class as a function")}function w(C,R){for(var M=0;M<R.length;M++){var D=R[M];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,S(D.key),D)}}function E(C,R,M){return R&&w(C.prototype,R),Object.defineProperty(C,"prototype",{writable:!1}),C}function S(C){var R=k(C,"string");return g(R)=="symbol"?R:R+""}function k(C,R){if(g(C)!="object"||!C)return C;var M=C[Symbol.toPrimitive];if(M!==void 0){var D=M.call(C,R);if(g(D)!="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(C)}d.default=function(){function C(){var R=this,M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=M.defaultLayoutOptions,B=D===void 0?{}:D,F=M.algorithms,$=F===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking","vertiflex"]:F,P=M.workerFactory,H=M.workerUrl;if(b(this,C),this.defaultLayoutOptions=B,this.initialized=!1,typeof H>"u"&&typeof P>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Q=P;typeof H<"u"&&typeof P>"u"&&(Q=function(ae){return new Worker(ae)});var re=Q(H);if(typeof re.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new _(re),this.worker.postMessage({cmd:"register",algorithms:$}).then(function(ee){return R.initialized=!0}).catch(console.err)}return E(C,[{key:"layout",value:function(M){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=D.layoutOptions,F=B===void 0?this.defaultLayoutOptions:B,$=D.logging,P=$===void 0?!1:$,H=D.measureExecutionTime,Q=H===void 0?!1:H;return M?this.worker.postMessage({cmd:"layout",graph:M,layoutOptions:F,options:{logging:P,measureExecutionTime:Q}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}])}();var _=function(){function C(R){var M=this;if(b(this,C),R===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=R,this.worker.onmessage=function(D){setTimeout(function(){M.receive(M,D)},0)}}return E(C,[{key:"postMessage",value:function(M){var D=this.id||0;this.id=D+1,M.id=D;var B=this;return new Promise(function(F,$){B.resolvers[D]=function(P,H){P?(B.convertGwtStyleError(P),$(P)):F(H)},B.worker.postMessage(M)})}},{key:"receive",value:function(M,D){var B=D.data,F=M.resolvers[B.id];F&&(delete M.resolvers[B.id],B.error?F(B.error):F(null,B.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(M){if(M){var D=M.__java$exception;D&&(D.cause&&D.cause.backingJsObject&&(M.cause=D.cause.backingJsObject,this.convertGwtStyleError(M.cause)),delete M.__java$exception)}}}])}()},{}],2:[function(a,c,d){(function(g){(function(){var b;typeof window<"u"?b=window:typeof g<"u"?b=g:typeof self<"u"&&(b=self);var w;function E(){}function S(){}function k(){}function _(){}function C(){}function R(){}function M(){}function D(){}function B(){}function F(){}function $(){}function P(){}function H(){}function Q(){}function re(){}function ee(){}function ae(){}function he(){}function ve(){}function de(){}function ge(){}function Y(){}function fe(){}function De(){}function Se(){}function $e(){}function Te(){}function ke(){}function Je(){}function bt(){}function qe(){}function _t(){}function At(){}function ft(){}function Kt(){}function kt(){}function It(){}function Xt(){}function Bn(){}function tr(){}function Zn(){}function Dr(){}function Ui(){}function Qr(){}function Hi(){}function ai(){}function jc(){}function Xs(){}function as(){}function Jo(){}function xa(){}function xi(){}function gb(){}function Yg(){}function qh(){}function bb(){}function Vp(){}function Rw(){}function Vh(){}function Y2(){}function Jg(){}function Wp(){}function Xg(){}function kN(){}function xN(){}function HR(){}function kA(){}function mb(){}function zR(){}function GR(){}function NN(){}function CN(){}function ho(){}function Fc(){}function Fl(){}function Tf(){}function J2(){}function pl(){}function sh(){}function qm(){}function ah(){}function Wh(){}function X2(){}function Vm(){}function e9(){}function t9(){}function Zz(){}function Qz(){}function eG(){}function n9(){}function r9(){}function i9(){}function tG(){}function nG(){}function rG(){}function iG(){}function qR(){}function oG(){}function o9(){}function sG(){}function aG(){}function uG(){}function cG(){}function lG(){}function dG(){}function fG(){}function s9(){}function hG(){}function a9(){}function u9(){}function pG(){}function gG(){}function bG(){}function mG(){}function wG(){}function IN(){}function yG(){}function c9(){}function vG(){}function EG(){}function VR(){}function SG(){}function TG(){}function l9(){}function H7e(){}function z7e(){}function G7e(){}function q7e(){}function V7e(){}function W7e(){}function K7e(){}function Y7e(){}function J7e(){}function X7e(){}function Z7e(){}function Q7e(){}function eFe(){}function tFe(){}function nFe(){}function rFe(){}function iFe(){}function oFe(){}function sFe(){}function aFe(){}function uFe(){}function cFe(){}function lFe(){}function dFe(){}function fFe(){}function hFe(){}function pFe(){}function gFe(){}function bFe(){}function mFe(){}function wFe(){}function yFe(){}function vFe(){}function EFe(){}function SFe(){}function TFe(){}function AFe(){}function _Fe(){}function kFe(){}function xFe(){}function NFe(){}function CFe(){}function IFe(){}function RFe(){}function OFe(){}function DFe(){}function LFe(){}function MFe(){}function PFe(){}function jFe(){}function FFe(){}function $Fe(){}function BFe(){}function UFe(){}function HFe(){}function zFe(){}function GFe(){}function qFe(){}function VFe(){}function WFe(){}function KFe(){}function YFe(){}function JFe(){}function XFe(){}function ZFe(){}function QFe(){}function e$e(){}function t$e(){}function n$e(){}function r$e(){}function i$e(){}function o$e(){}function s$e(){}function a$e(){}function u$e(){}function c$e(){}function l$e(){}function d$e(){}function f$e(){}function h$e(){}function p$e(){}function g$e(){}function b$e(){}function m$e(){}function w$e(){}function y$e(){}function vue(){}function v$e(){}function E$e(){}function S$e(){}function T$e(){}function A$e(){}function _$e(){}function k$e(){}function x$e(){}function N$e(){}function C$e(){}function I$e(){}function R$e(){}function O$e(){}function D$e(){}function L$e(){}function M$e(){}function P$e(){}function j$e(){}function F$e(){}function $$e(){}function B$e(){}function U$e(){}function H$e(){}function z$e(){}function G$e(){}function q$e(){}function V$e(){}function W$e(){}function K$e(){}function Y$e(){}function J$e(){}function X$e(){}function Z$e(){}function Q$e(){}function eBe(){}function tBe(){}function nBe(){}function rBe(){}function iBe(){}function oBe(){}function sBe(){}function aBe(){}function uBe(){}function cBe(){}function lBe(){}function dBe(){}function fBe(){}function hBe(){}function pBe(){}function gBe(){}function bBe(){}function mBe(){}function wBe(){}function yBe(){}function vBe(){}function EBe(){}function SBe(){}function TBe(){}function ABe(){}function _Be(){}function kBe(){}function xBe(){}function NBe(){}function CBe(){}function IBe(){}function RBe(){}function OBe(){}function DBe(){}function LBe(){}function MBe(){}function PBe(){}function jBe(){}function FBe(){}function $Be(){}function BBe(){}function Eue(){}function UBe(){}function HBe(){}function zBe(){}function GBe(){}function qBe(){}function VBe(){}function WBe(){}function KBe(){}function YBe(){}function JBe(){}function d9(){}function f9(){}function XBe(){}function ZBe(){}function Sue(){}function QBe(){}function eUe(){}function tUe(){}function nUe(){}function rUe(){}function Tue(){}function Aue(){}function iUe(){}function _ue(){}function kue(){}function oUe(){}function sUe(){}function WR(){}function aUe(){}function uUe(){}function cUe(){}function lUe(){}function dUe(){}function fUe(){}function hUe(){}function pUe(){}function gUe(){}function bUe(){}function mUe(){}function wUe(){}function yUe(){}function vUe(){}function EUe(){}function SUe(){}function TUe(){}function AUe(){}function _Ue(){}function xue(){}function kUe(){}function xUe(){}function NUe(){}function CUe(){}function IUe(){}function RUe(){}function OUe(){}function DUe(){}function LUe(){}function MUe(){}function PUe(){}function jUe(){}function FUe(){}function $Ue(){}function BUe(){}function UUe(){}function HUe(){}function zUe(){}function GUe(){}function qUe(){}function VUe(){}function WUe(){}function KUe(){}function YUe(){}function JUe(){}function XUe(){}function ZUe(){}function QUe(){}function eHe(){}function tHe(){}function nHe(){}function rHe(){}function iHe(){}function oHe(){}function sHe(){}function aHe(){}function uHe(){}function cHe(){}function lHe(){}function dHe(){}function fHe(){}function hHe(){}function pHe(){}function gHe(){}function bHe(){}function mHe(){}function wHe(){}function yHe(){}function vHe(){}function EHe(){}function SHe(){}function THe(){}function AHe(){}function _He(){}function kHe(){}function xHe(){}function NHe(){}function CHe(){}function IHe(){}function RHe(){}function OHe(){}function DHe(){}function LHe(){}function MHe(){}function PHe(){}function jHe(){}function FHe(){}function $He(){}function UXt(){}function BHe(){}function UHe(){}function HHe(){}function zHe(){}function GHe(){}function qHe(){}function VHe(){}function WHe(){}function KHe(){}function YHe(){}function JHe(){}function XHe(){}function ZHe(){}function QHe(){}function eze(){}function tze(){}function nze(){}function rze(){}function ize(){}function oze(){}function sze(){}function aze(){}function uze(){}function cze(){}function lze(){}function dze(){}function fze(){}function hze(){}function pze(){}function gze(){}function bze(){}function mze(){}function wze(){}function yze(){}function vze(){}function Eze(){}function Sze(){}function Tze(){}function AG(){}function _G(){}function Aze(){}function kG(){}function _ze(){}function kze(){}function xze(){}function Nze(){}function Cze(){}function Ize(){}function Rze(){}function Oze(){}function Dze(){}function Lze(){}function Mze(){}function Pze(){}function jze(){}function Fze(){}function HXt(){}function $ze(){}function Nue(){}function Bze(){}function Uze(){}function Hze(){}function zze(){}function Gze(){}function qze(){}function Vze(){}function Wze(){}function Kze(){}function Yze(){}function wb(){}function Jze(){}function Z2(){}function Cue(){}function Xze(){}function Zze(){}function Qze(){}function eGe(){}function tGe(){}function nGe(){}function rGe(){}function iGe(){}function oGe(){}function sGe(){}function aGe(){}function uGe(){}function cGe(){}function lGe(){}function dGe(){}function fGe(){}function hGe(){}function pGe(){}function gGe(){}function bGe(){}function Xe(){}function mGe(){}function wGe(){}function yGe(){}function vGe(){}function EGe(){}function SGe(){}function TGe(){}function AGe(){}function _Ge(){}function kGe(){}function xGe(){}function xG(){}function NGe(){}function CGe(){}function NG(){}function IGe(){}function RGe(){}function OGe(){}function DGe(){}function CG(){}function h9(){}function p9(){}function LGe(){}function Iue(){}function MGe(){}function PGe(){}function g9(){}function jGe(){}function FGe(){}function $Ge(){}function b9(){}function BGe(){}function UGe(){}function HGe(){}function zGe(){}function m9(){}function GGe(){}function Rue(){}function qGe(){}function IG(){}function Oue(){}function VGe(){}function WGe(){}function KGe(){}function YGe(){}function zXt(){}function JGe(){}function XGe(){}function ZGe(){}function QGe(){}function eqe(){}function tqe(){}function nqe(){}function rqe(){}function iqe(){}function oqe(){}function xA(){}function RG(){}function sqe(){}function aqe(){}function uqe(){}function cqe(){}function lqe(){}function dqe(){}function fqe(){}function hqe(){}function pqe(){}function gqe(){}function bqe(){}function mqe(){}function wqe(){}function yqe(){}function vqe(){}function Eqe(){}function Sqe(){}function Tqe(){}function Aqe(){}function _qe(){}function kqe(){}function xqe(){}function Nqe(){}function Cqe(){}function Iqe(){}function Rqe(){}function Oqe(){}function Dqe(){}function Lqe(){}function Mqe(){}function Pqe(){}function jqe(){}function Fqe(){}function $qe(){}function Bqe(){}function Uqe(){}function Hqe(){}function zqe(){}function Gqe(){}function qqe(){}function Vqe(){}function Wqe(){}function Kqe(){}function Yqe(){}function Jqe(){}function Xqe(){}function Zqe(){}function Qqe(){}function eVe(){}function tVe(){}function nVe(){}function rVe(){}function iVe(){}function oVe(){}function sVe(){}function aVe(){}function uVe(){}function cVe(){}function lVe(){}function dVe(){}function fVe(){}function hVe(){}function pVe(){}function gVe(){}function bVe(){}function mVe(){}function wVe(){}function yVe(){}function vVe(){}function EVe(){}function SVe(){}function TVe(){}function AVe(){}function _Ve(){}function kVe(){}function xVe(){}function NVe(){}function CVe(){}function IVe(){}function RVe(){}function OVe(){}function DVe(){}function LVe(){}function MVe(){}function PVe(){}function jVe(){}function FVe(){}function $Ve(){}function BVe(){}function UVe(){}function HVe(){}function zVe(){}function GVe(){}function qVe(){}function VVe(){}function WVe(){}function KVe(){}function YVe(){}function JVe(){}function XVe(){}function ZVe(){}function Due(){}function QVe(){}function eWe(){}function OG(){jN()}function tWe(){Pbe()}function nWe(){lO()}function rWe(){ed()}function iWe(){V1e()}function oWe(){H6()}function sWe(){jO()}function aWe(){cO()}function uWe(){Let()}function cWe(){US()}function lWe(){plt()}function dWe(){x_()}function fWe(){S1()}function hWe(){Wpe()}function pWe(){$ft()}function gWe(){Bft()}function bWe(){V9()}function mWe(){U0e()}function wWe(){rut()}function yWe(){Ylt()}function vWe(){Vpe()}function EWe(){tut()}function SWe(){eut()}function TWe(){nut()}function AWe(){out()}function _We(){Be()}function kWe(){Uft()}function xWe(){qut()}function NWe(){Hft()}function CWe(){sut()}function IWe(){$S()}function RWe(){hht()}function OWe(){Zme()}function DWe(){T1()}function LWe(){iut()}function MWe(){V1t()}function PWe(){Eyt()}function jWe(){hme()}function FWe(){Ps()}function $We(){ef()}function BWe(){c0e()}function UWe(){Qpt()}function HWe(){cp()}function zWe(){W6()}function GWe(){hJ()}function qWe(){TY()}function VWe(){d1e()}function WWe(){XS()}function KWe(){ej()}function YWe(){S7()}function Lue(){_n()}function JWe(){Mj()}function XWe(){S1e()}function Mue(){z7()}function Pue(){EK()}function bd(){Pit()}function ZWe(){f0e()}function jue(e){Mt(e)}function QWe(e){this.a=e}function w9(e){this.a=e}function eKe(e){this.a=e}function tKe(e){this.a=e}function nKe(e){this.a=e}function Fue(e){this.a=e}function $ue(e){this.a=e}function rKe(e){this.a=e}function DG(e){this.a=e}function iKe(e){this.a=e}function oKe(e){this.a=e}function sKe(e){this.a=e}function aKe(e){this.a=e}function uKe(e){this.c=e}function cKe(e){this.a=e}function LG(e){this.a=e}function lKe(e){this.a=e}function dKe(e){this.a=e}function fKe(e){this.a=e}function MG(e){this.a=e}function hKe(e){this.a=e}function pKe(e){this.a=e}function PG(e){this.a=e}function gKe(e){this.a=e}function jG(e){this.a=e}function bKe(e){this.a=e}function mKe(e){this.a=e}function wKe(e){this.a=e}function yKe(e){this.a=e}function vKe(e){this.a=e}function EKe(e){this.a=e}function SKe(e){this.a=e}function TKe(e){this.a=e}function AKe(e){this.a=e}function _Ke(e){this.a=e}function kKe(e){this.a=e}function xKe(e){this.a=e}function NKe(e){this.a=e}function CKe(e){this.a=e}function Bue(e){this.a=e}function Uue(e){this.a=e}function y9(e){this.a=e}function KR(e){this.a=e}function Hue(e){this.b=e}function yb(){this.a=[]}function IKe(e,t){e.a=t}function GXt(e,t){e.a=t}function qXt(e,t){e.b=t}function VXt(e,t){e.c=t}function WXt(e,t){e.c=t}function KXt(e,t){e.d=t}function YXt(e,t){e.d=t}function Kh(e,t){e.k=t}function zue(e,t){e.j=t}function JXt(e,t){e.c=t}function Gue(e,t){e.c=t}function que(e,t){e.a=t}function XXt(e,t){e.a=t}function ZXt(e,t){e.f=t}function QXt(e,t){e.a=t}function eZt(e,t){e.b=t}function FG(e,t){e.d=t}function v9(e,t){e.i=t}function Vue(e,t){e.o=t}function tZt(e,t){e.r=t}function nZt(e,t){e.a=t}function rZt(e,t){e.b=t}function RKe(e,t){e.e=t}function iZt(e,t){e.f=t}function Wue(e,t){e.g=t}function oZt(e,t){e.e=t}function sZt(e,t){e.f=t}function aZt(e,t){e.f=t}function YR(e,t){e.b=t}function $G(e,t){e.b=t}function BG(e,t){e.a=t}function uZt(e,t){e.n=t}function cZt(e,t){e.a=t}function lZt(e,t){e.c=t}function dZt(e,t){e.c=t}function fZt(e,t){e.c=t}function hZt(e,t){e.a=t}function pZt(e,t){e.a=t}function gZt(e,t){e.d=t}function bZt(e,t){e.d=t}function mZt(e,t){e.e=t}function wZt(e,t){e.e=t}function yZt(e,t){e.g=t}function vZt(e,t){e.f=t}function EZt(e,t){e.j=t}function SZt(e,t){e.a=t}function TZt(e,t){e.a=t}function AZt(e,t){e.b=t}function OKe(e){e.b=e.a}function DKe(e){e.c=e.d.d}function Kue(e){this.a=e}function Yh(e){this.a=e}function E9(e){this.a=e}function Yue(e){this.a=e}function LKe(e){this.a=e}function JR(e){this.a=e}function XR(e){this.a=e}function Jue(e){this.a=e}function Xue(e){this.a=e}function Ow(e){this.a=e}function UG(e){this.a=e}function Jh(e){this.a=e}function Dw(e){this.a=e}function MKe(e){this.a=e}function PKe(e){this.a=e}function Zue(e){this.a=e}function jKe(e){this.a=e}function Mn(e){this.a=e}function RN(e){this.d=e}function HG(e){this.b=e}function NA(e){this.b=e}function Gv(e){this.b=e}function zG(e){this.c=e}function V(e){this.c=e}function FKe(e){this.c=e}function $Ke(e){this.a=e}function Que(e){this.a=e}function ece(e){this.a=e}function tce(e){this.a=e}function nce(e){this.a=e}function rce(e){this.a=e}function ice(e){this.a=e}function CA(e){this.a=e}function BKe(e){this.a=e}function UKe(e){this.a=e}function IA(e){this.a=e}function HKe(e){this.a=e}function zKe(e){this.a=e}function GKe(e){this.a=e}function qKe(e){this.a=e}function VKe(e){this.a=e}function WKe(e){this.a=e}function KKe(e){this.a=e}function YKe(e){this.a=e}function JKe(e){this.a=e}function RA(e){this.a=e}function XKe(e){this.a=e}function ZKe(e){this.a=e}function QKe(e){this.a=e}function eYe(e){this.a=e}function S9(e){this.a=e}function tYe(e){this.a=e}function nYe(e){this.a=e}function oce(e){this.a=e}function rYe(e){this.a=e}function iYe(e){this.a=e}function oYe(e){this.a=e}function sce(e){this.a=e}function ace(e){this.a=e}function uce(e){this.a=e}function ON(e){this.a=e}function T9(e){this.e=e}function OA(e){this.a=e}function sYe(e){this.a=e}function Q2(e){this.a=e}function cce(e){this.a=e}function aYe(e){this.a=e}function uYe(e){this.a=e}function cYe(e){this.a=e}function lYe(e){this.a=e}function dYe(e){this.a=e}function fYe(e){this.a=e}function hYe(e){this.a=e}function pYe(e){this.a=e}function gYe(e){this.a=e}function bYe(e){this.a=e}function mYe(e){this.a=e}function lce(e){this.a=e}function wYe(e){this.a=e}function yYe(e){this.a=e}function vYe(e){this.a=e}function EYe(e){this.a=e}function SYe(e){this.a=e}function TYe(e){this.a=e}function AYe(e){this.a=e}function _Ye(e){this.a=e}function kYe(e){this.a=e}function xYe(e){this.a=e}function NYe(e){this.a=e}function CYe(e){this.a=e}function IYe(e){this.a=e}function RYe(e){this.a=e}function OYe(e){this.a=e}function DYe(e){this.a=e}function LYe(e){this.a=e}function MYe(e){this.a=e}function PYe(e){this.a=e}function jYe(e){this.a=e}function FYe(e){this.a=e}function $Ye(e){this.a=e}function BYe(e){this.a=e}function UYe(e){this.a=e}function HYe(e){this.a=e}function zYe(e){this.a=e}function GYe(e){this.a=e}function qYe(e){this.a=e}function VYe(e){this.a=e}function WYe(e){this.a=e}function KYe(e){this.a=e}function YYe(e){this.a=e}function JYe(e){this.a=e}function XYe(e){this.a=e}function ZYe(e){this.a=e}function QYe(e){this.a=e}function eJe(e){this.a=e}function tJe(e){this.a=e}function nJe(e){this.a=e}function rJe(e){this.a=e}function iJe(e){this.a=e}function oJe(e){this.a=e}function sJe(e){this.c=e}function aJe(e){this.b=e}function uJe(e){this.a=e}function cJe(e){this.a=e}function lJe(e){this.a=e}function dJe(e){this.a=e}function fJe(e){this.a=e}function hJe(e){this.a=e}function pJe(e){this.a=e}function gJe(e){this.a=e}function bJe(e){this.a=e}function mJe(e){this.a=e}function wJe(e){this.a=e}function yJe(e){this.a=e}function vJe(e){this.a=e}function EJe(e){this.a=e}function SJe(e){this.a=e}function TJe(e){this.a=e}function AJe(e){this.a=e}function _Je(e){this.a=e}function kJe(e){this.a=e}function xJe(e){this.a=e}function NJe(e){this.a=e}function CJe(e){this.a=e}function IJe(e){this.a=e}function RJe(e){this.a=e}function OJe(e){this.a=e}function DJe(e){this.a=e}function LJe(e){this.a=e}function Xh(e){this.a=e}function qv(e){this.a=e}function MJe(e){this.a=e}function PJe(e){this.a=e}function jJe(e){this.a=e}function FJe(e){this.a=e}function $Je(e){this.a=e}function BJe(e){this.a=e}function UJe(e){this.a=e}function HJe(e){this.a=e}function zJe(e){this.a=e}function GJe(e){this.a=e}function qJe(e){this.a=e}function VJe(e){this.a=e}function WJe(e){this.a=e}function KJe(e){this.a=e}function YJe(e){this.a=e}function JJe(e){this.a=e}function XJe(e){this.a=e}function ZJe(e){this.a=e}function dce(e){this.a=e}function QJe(e){this.a=e}function eXe(e){this.a=e}function tXe(e){this.a=e}function nXe(e){this.a=e}function rXe(e){this.a=e}function iXe(e){this.a=e}function oXe(e){this.a=e}function sXe(e){this.a=e}function A9(e){this.a=e}function aXe(e){this.f=e}function uXe(e){this.a=e}function cXe(e){this.a=e}function lXe(e){this.a=e}function dXe(e){this.a=e}function fXe(e){this.a=e}function hXe(e){this.a=e}function pXe(e){this.a=e}function gXe(e){this.a=e}function bXe(e){this.a=e}function mXe(e){this.a=e}function wXe(e){this.a=e}function yXe(e){this.a=e}function vXe(e){this.a=e}function EXe(e){this.a=e}function SXe(e){this.a=e}function TXe(e){this.a=e}function AXe(e){this.a=e}function _Xe(e){this.a=e}function kXe(e){this.a=e}function xXe(e){this.a=e}function NXe(e){this.a=e}function CXe(e){this.a=e}function IXe(e){this.a=e}function RXe(e){this.a=e}function OXe(e){this.a=e}function DXe(e){this.a=e}function LXe(e){this.a=e}function GG(e){this.a=e}function fce(e){this.a=e}function cr(e){this.b=e}function MXe(e){this.a=e}function PXe(e){this.a=e}function jXe(e){this.a=e}function FXe(e){this.a=e}function $Xe(e){this.a=e}function BXe(e){this.a=e}function UXe(e){this.a=e}function HXe(e){this.a=e}function ZR(e){this.a=e}function zXe(e){this.a=e}function GXe(e){this.b=e}function hce(e){this.c=e}function _9(e){this.e=e}function qXe(e){this.a=e}function k9(e){this.a=e}function x9(e){this.a=e}function qG(e){this.a=e}function VXe(e){this.d=e}function WXe(e){this.a=e}function pce(e){this.a=e}function gce(e){this.a=e}function Wm(e){this.e=e}function _Zt(){this.a=0}function Pe(){aV(this)}function hn(){Zs(this)}function VG(){Mst(this)}function KXe(){}function Km(){this.c=y3e}function YXe(e,t){e.b+=t}function kZt(e,t){t.Wb(e)}function xZt(e){return e.a}function NZt(e){return e.a}function CZt(e){return e.a}function IZt(e){return e.a}function RZt(e){return e.a}function K(e){return e.e}function OZt(){return null}function DZt(){return null}function LZt(e){throw K(e)}function eS(e){this.a=xn(e)}function JXe(){this.a=this}function vb(){vrt.call(this)}function MZt(e){e.b.Mf(e.e)}function XXe(e){e.b=new cq}function DN(e,t){e.b=t-e.b}function LN(e,t){e.a=t-e.a}function ZXe(e,t){t.gd(e.a)}function PZt(e,t){Ni(t,e)}function Ot(e,t){e.push(t)}function QXe(e,t){e.sort(t)}function jZt(e,t,r){e.Wd(r,t)}function QR(e,t){e.e=t,t.b=e}function FZt(){Kce(),INn()}function eZe(e){c_(),FQ.je(e)}function bce(){vrt.call(this)}function mce(){vb.call(this)}function WG(){vb.call(this)}function tZe(){vb.call(this)}function eO(){vb.call(this)}function lu(){vb.call(this)}function tS(){vb.call(this)}function Nn(){vb.call(this)}function $c(){vb.call(this)}function nZe(){vb.call(this)}function ys(){vb.call(this)}function rZe(){vb.call(this)}function N9(){this.Bb|=256}function iZe(){this.b=new bnt}function wce(){wce=Y,new hn}function oZe(){mce.call(this)}function Lw(e,t){e.length=t}function C9(e,t){je(e.a,t)}function $Zt(e,t){Fbe(e.c,t)}function BZt(e,t){pi(e.b,t)}function UZt(e,t){a7(e.a,t)}function HZt(e,t){YK(e.a,t)}function DA(e,t){hr(e.e,t)}function nS(e){k7(e.c,e.b)}function zZt(e,t){e.kc().Nb(t)}function yce(e){this.a=fgn(e)}function hi(){this.a=new hn}function sZe(){this.a=new hn}function I9(){this.a=new Pe}function KG(){this.a=new Pe}function vce(){this.a=new Pe}function gl(){this.a=new Jg}function Eb(){this.a=new flt}function YG(){this.a=new xet}function Ece(){this.a=new Wat}function Sce(){this.a=new cit}function Tce(){this.a=new ah}function aZe(){this.a=new Tut}function uZe(){this.a=new Pe}function cZe(){this.a=new Pe}function lZe(){this.a=new Pe}function Ace(){this.a=new Pe}function dZe(){this.d=new Pe}function fZe(){this.a=new hi}function hZe(){this.a=new hn}function pZe(){this.b=new hn}function gZe(){this.b=new Pe}function _ce(){this.e=new Pe}function bZe(){this.d=new Pe}function mZe(){this.a=new fWe}function wZe(){Tat.call(this)}function yZe(){Tat.call(this)}function vZe(){Ice.call(this)}function EZe(){Ice.call(this)}function SZe(){Ice.call(this)}function TZe(){Pe.call(this)}function AZe(){Ace.call(this)}function R9(){I9.call(this)}function _Ze(){H8.call(this)}function MN(){KXe.call(this)}function JG(){MN.call(this)}function rS(){KXe.call(this)}function kce(){rS.call(this)}function Du(){Sr.call(this)}function kZe(){Rce.call(this)}function PN(){DGe.call(this)}function xce(){DGe.call(this)}function xZe(){UZe.call(this)}function NZe(){UZe.call(this)}function CZe(){hn.call(this)}function IZe(){hn.call(this)}function RZe(){hn.call(this)}function XG(){Mft.call(this)}function OZe(){hi.call(this)}function DZe(){N9.call(this)}function ZG(){pde.call(this)}function Nce(){hn.call(this)}function QG(){pde.call(this)}function eq(){hn.call(this)}function LZe(){hn.call(this)}function Cce(){m9.call(this)}function MZe(){Cce.call(this)}function PZe(){m9.call(this)}function jZe(){Due.call(this)}function Ice(){this.a=new hi}function FZe(){this.a=new hn}function Rce(){this.a=new hn}function iS(){this.a=new Sr}function $Ze(){this.a=new Pe}function BZe(){this.j=new Pe}function UZe(){this.a=new BGe}function Oce(){this.a=new bze}function HZe(){this.a=new FQe}function jN(){jN=Y,IQ=new S}function tq(){tq=Y,RQ=new GZe}function nq(){nq=Y,OQ=new zZe}function zZe(){PG.call(this,"")}function GZe(){PG.call(this,"")}function qZe(e){aft.call(this,e)}function VZe(e){aft.call(this,e)}function Dce(e){Fue.call(this,e)}function Lce(e){met.call(this,e)}function GZt(e){met.call(this,e)}function qZt(e){Lce.call(this,e)}function VZt(e){Lce.call(this,e)}function WZt(e){Lce.call(this,e)}function WZe(e){$W.call(this,e)}function KZe(e){$W.call(this,e)}function YZe(e){ert.call(this,e)}function JZe(e){ele.call(this,e)}function FN(e){H9.call(this,e)}function Mce(e){H9.call(this,e)}function XZe(e){H9.call(this,e)}function vs(e){Yot.call(this,e)}function ZZe(e){vs.call(this,e)}function oS(){KR.call(this,{})}function rq(e){qA(),this.a=e}function QZe(e){e.b=null,e.c=0}function KZt(e,t){e.e=t,ywt(e,t)}function YZt(e,t){e.a=t,_yn(e)}function iq(e,t,r){e.a[t.g]=r}function JZt(e,t,r){qmn(r,e,t)}function XZt(e,t){$nn(t.i,e.n)}function eQe(e,t){npn(e).Ad(t)}function ZZt(e,t){return e*e/t}function tQe(e,t){return e.g-t.g}function QZt(e,t){e.a.ec().Kc(t)}function eQt(e){return new y9(e)}function tQt(e){return new Zw(e)}function nQe(){nQe=Y,LEe=new E}function Pce(){Pce=Y,MEe=new Q}function O9(){O9=Y,hI=new ae}function D9(){D9=Y,LQ=new Qnt}function rQe(){rQe=Y,M_t=new ve}function L9(e){dge(),this.a=e}function iQe(e){Mit(),this.a=e}function Kp(e){HV(),this.f=e}function oq(e){HV(),this.f=e}function M9(e){vs.call(this,e)}function Na(e){vs.call(this,e)}function oQe(e){vs.call(this,e)}function sq(e){Yot.call(this,e)}function LA(e){vs.call(this,e)}function jt(e){vs.call(this,e)}function Xo(e){vs.call(this,e)}function sQe(e){vs.call(this,e)}function sS(e){vs.call(this,e)}function Yp(e){vs.call(this,e)}function Ds(e){Mt(e),this.a=e}function $N(e){Vfe(e,e.length)}function jce(e){return qb(e),e}function Mw(e){return!!e&&e.b}function nQt(e){return!!e&&e.k}function rQt(e){return!!e&&e.j}function BN(e){return e.b==e.c}function Ke(e){return Mt(e),e}function ue(e){return Mt(e),e}function tO(e){return Mt(e),e}function Fce(e){return Mt(e),e}function iQt(e){return Mt(e),e}function Af(e){vs.call(this,e)}function aS(e){vs.call(this,e)}function _f(e){vs.call(this,e)}function Dn(e){vs.call(this,e)}function aq(e){vs.call(this,e)}function uq(e){Sde.call(this,e,0)}function cq(){Ohe.call(this,12,3)}function lq(){this.a=In(xn(Ma))}function aQe(){throw K(new Nn)}function $ce(){throw K(new Nn)}function uQe(){throw K(new Nn)}function oQt(){throw K(new Nn)}function sQt(){throw K(new Nn)}function aQt(){throw K(new Nn)}function P9(){P9=Y,c_()}function Jp(){JR.call(this,"")}function UN(){JR.call(this,"")}function Zg(){JR.call(this,"")}function uS(){JR.call(this,"")}function Bce(e){Na.call(this,e)}function Uce(e){Na.call(this,e)}function kf(e){jt.call(this,e)}function MA(e){NA.call(this,e)}function cQe(e){MA.call(this,e)}function dq(e){j8.call(this,e)}function uQt(e,t,r){e.c.Cf(t,r)}function cQt(e,t,r){t.Ad(e.a[r])}function lQt(e,t,r){t.Ne(e.a[r])}function dQt(e,t){return e.a-t.a}function fQt(e,t){return e.a-t.a}function hQt(e,t){return e.a-t.a}function j9(e,t){return eK(e,t)}function X(e,t){return Zat(e,t)}function pQt(e,t){return t in e.a}function lQe(e){return e.a?e.b:0}function gQt(e){return e.a?e.b:0}function dQe(e,t){return e.f=t,e}function bQt(e,t){return e.b=t,e}function fQe(e,t){return e.c=t,e}function mQt(e,t){return e.g=t,e}function Hce(e,t){return e.a=t,e}function zce(e,t){return e.f=t,e}function wQt(e,t){return e.k=t,e}function Gce(e,t){return e.e=t,e}function yQt(e,t){return e.e=t,e}function qce(e,t){return e.a=t,e}function vQt(e,t){return e.f=t,e}function EQt(e,t){e.b=new Eo(t)}function hQe(e,t){e._d(t),t.$d(e)}function SQt(e,t){hc(),t.n.a+=e}function TQt(e,t){S1(),Ts(t,e)}function Vce(e){tat.call(this,e)}function pQe(e){tat.call(this,e)}function gQe(){ede.call(this,"")}function bQe(){this.b=0,this.a=0}function mQe(){mQe=Y,K_t=w0n()}function Ym(e,t){return e.b=t,e}function nO(e,t){return e.a=t,e}function Jm(e,t){return e.c=t,e}function Xm(e,t){return e.d=t,e}function Zm(e,t){return e.e=t,e}function fq(e,t){return e.f=t,e}function HN(e,t){return e.a=t,e}function PA(e,t){return e.b=t,e}function jA(e,t){return e.c=t,e}function Qe(e,t){return e.c=t,e}function pt(e,t){return e.b=t,e}function et(e,t){return e.d=t,e}function tt(e,t){return e.e=t,e}function AQt(e,t){return e.f=t,e}function nt(e,t){return e.g=t,e}function rt(e,t){return e.a=t,e}function it(e,t){return e.i=t,e}function ot(e,t){return e.j=t,e}function _Qt(e,t){return e.g-t.g}function kQt(e,t){return e.b-t.b}function xQt(e,t){return e.s-t.s}function NQt(e,t){return e?0:t-1}function wQe(e,t){return e?0:t-1}function CQt(e,t){return e?t-1:0}function IQt(e,t){return t.pg(e)}function yQe(e,t){return e.k=t,e}function RQt(e,t){return e.j=t,e}function to(){this.a=0,this.b=0}function F9(e){kV.call(this,e)}function Qg(e){m0.call(this,e)}function vQe(e){bW.call(this,e)}function EQe(e){bW.call(this,e)}function SQe(e,t){e.b=0,uy(e,t)}function OQt(e,t){e.c=t,e.b=!0}function DQt(e,t,r){Uon(e.a,t,r)}function TQe(e,t){return e.c._b(t)}function md(e){return e.e&&e.e()}function hq(e){return e?e.d:null}function AQe(e,t){return Vpt(e.b,t)}function LQt(e){return e?e.g:null}function MQt(e){return e?e.i:null}function _Qe(e,t){return ien(e.a,t)}function Wce(e,t){for(;e.zd(t););}function kQe(){throw K(new Nn)}function e1(){e1=Y,EDt=Cmn()}function xQe(){xQe=Y,Bi=$0n()}function Kce(){Kce=Y,J1=G3()}function FA(){FA=Y,w3e=Imn()}function NQe(){NQe=Y,oLt=Rmn()}function Yce(){Yce=Y,Ks=Syn()}function Sb(e){return ep(e),e.o}function Vv(e,t){return e.a+=t,e}function pq(e,t){return e.a+=t,e}function Xp(e,t){return e.a+=t,e}function Qm(e,t){return e.a+=t,e}function Jce(e){nEt(),zNn(this,e)}function $9(e){this.a=new cS(e)}function Zp(e){this.a=new KV(e)}function CQe(){throw K(new Nn)}function IQe(){throw K(new Nn)}function RQe(){throw K(new Nn)}function OQe(){throw K(new Nn)}function DQe(){throw K(new Nn)}function LQe(){this.b=new J_(w_e)}function MQe(){this.a=new J_(Q_e)}function B9(e){this.a=0,this.b=e}function PQe(){this.a=new J_(Tke)}function jQe(){this.b=new J_(Dne)}function FQe(){this.b=new J_(Dne)}function $Qe(){this.a=new J_(Txe)}function BQe(e,t){return rSn(e,t)}function PQt(e,t){return F_n(t,e)}function Xce(e,t){return e.d[t.p]}function rO(e){return e.b!=e.d.c}function UQe(e){return e.l|e.m<<22}function $A(e){return u1(e),e.a}function HQe(e){e.c?Mwt(e):Pwt(e)}function Wv(e,t){for(;e.Pe(t););}function Zce(e,t,r){e.splice(t,r)}function zQe(){throw K(new Nn)}function GQe(){throw K(new Nn)}function qQe(){throw K(new Nn)}function VQe(){throw K(new Nn)}function WQe(){throw K(new Nn)}function KQe(){throw K(new Nn)}function YQe(){throw K(new Nn)}function JQe(){throw K(new Nn)}function XQe(){throw K(new Nn)}function ZQe(){throw K(new Nn)}function jQt(){throw K(new ys)}function FQt(){throw K(new ys)}function iO(e){this.a=new QQe(e)}function QQe(e){Ifn(this,e,Uwn())}function oO(e){return!e||Ost(e)}function sO(e){return mf[e]!=-1}function $Qt(){s$!=0&&(s$=0),a$=-1}function eet(){CQ==null&&(CQ=[])}function aO(e,t){sE.call(this,e,t)}function BA(e,t){aO.call(this,e,t)}function tet(e,t){this.a=e,this.b=t}function net(e,t){this.a=e,this.b=t}function ret(e,t){this.a=e,this.b=t}function iet(e,t){this.a=e,this.b=t}function oet(e,t){this.a=e,this.b=t}function set(e,t){this.a=e,this.b=t}function aet(e,t){this.a=e,this.b=t}function UA(e,t){this.e=e,this.d=t}function Qce(e,t){this.b=e,this.c=t}function uet(e,t){this.b=e,this.a=t}function cet(e,t){this.b=e,this.a=t}function det(e,t){this.b=e,this.a=t}function fet(e,t){this.b=e,this.a=t}function het(e,t){this.a=e,this.b=t}function pet(e,t){this.a=e,this.b=t}function gq(e,t){this.a=e,this.b=t}function get(e,t){this.a=e,this.f=t}function e0(e,t){this.g=e,this.i=t}function mn(e,t){this.f=e,this.g=t}function bet(e,t){this.b=e,this.c=t}function met(e){lde(e.dc()),this.c=e}function BQt(e,t){this.a=e,this.b=t}function wet(e,t){this.a=e,this.b=t}function yet(e){this.a=l(xn(e),16)}function ele(e){this.a=l(xn(e),16)}function vet(e){this.a=l(xn(e),93)}function U9(e){this.b=l(xn(e),93)}function H9(e){this.b=l(xn(e),51)}function z9(){this.q=new b.Date}function bq(e,t){this.a=e,this.b=t}function Eet(e,t){return ba(e.b,t)}function zN(e,t){return e.b.Gc(t)}function tle(e,t){return e.b.Hc(t)}function nle(e,t){return e.b.Oc(t)}function Tet(e,t){return e.b.Gc(t)}function Aet(e,t){return e.c.uc(t)}function _et(e,t){return pr(e.c,t)}function bl(e,t){return e.a._b(t)}function ket(e,t){return e>t&&t<jC}function GN(e){return e.f.c+e.i.c}function UQt(e){return yst(),e?L_t:D_t}function cS(e){spt.call(this,e,0)}function xet(){KV.call(this,null)}function lS(e){this.c=e,Vdt(this)}function Sr(){Unt(this),ec(this)}function Qp(){Qp=Y,$_t=new fe}function HA(){HA=Y,Uk=new Te}function Pw(){Pw=Y,GQ=new mnt}function G9(){G9=Y,J_t=new wnt}function zA(){zA=Y,u2e=new Zn}function Tb(){Tb=Y,ET=new ai}function rle(){YW.call(this,null)}function ei(e,t){u1(e),e.a.Nb(t)}function HQt(e,t){return e.a.Vc(t)}function zQt(e,t){return e.a.Wc(t)}function mq(e,t){return e.a.Yc(t)}function wq(e,t){return e.a.Zc(t)}function GQt(e,t){return e.Fc(t),e}function qQt(e,t){iJ(Ne(e.a),t)}function VQt(e,t){iJ(Ne(e.a),t)}function $l(e,t){return e.a.e=t,e}function Bl(e,t){return e.a.a=t,e}function Ul(e,t){return e.a.d=t,e}function Net(e,t){return e.a.d=t,e}function WQt(e,t){return e.a.f=t,e}function Cet(e,t){return e.a.g=t,e}function Iet(e,t){return e.a.j=t,e}function Hl(e,t){return e.a.g=t,e}function uO(e,t){return e.a.f=t,e}function KQt(e){return e.b=!1,e}function Ret(){Ret=Y,Nxt=new o9}function ile(){ile=Y,Cxt=new Uot}function Oet(){Oet=Y,skt=new qh}function ole(){ole=Y,xxt=new Qz}function cO(){cO=Y,Gxt=new eFe}function sle(){sle=Y,D2e=new tG}function Det(){Det=Y,Fxt=new s9}function qN(){qN=Y,Bxt=new hG}function Let(){Let=Y,Kxt=new jFe}function lO(){lO=Y,zxt=new to}function q9(){q9=Y,EIt=new AGe}function VN(){VN=Y,nNt=new EBe}function V9(){V9=Y,WE=new qBe}function W9(){W9=Y,Lne=new Pet}function K9(){K9=Y,Mne=new Ort}function WN(){WN=Y,DL=new jst}function Y9(){Y9=Y,Jne=new Mot}function J9(){J9=Y,Xne=new Lot}function X9(){X9=Y,Zne=new ast}function Met(){Fft(),this.c=new cq}function Pet(){mn.call(this,nSt,0)}function YQt(e,t,r,o){tbn(e,o,t,r)}function JQt(e,t,r,o){h2n(o,e,t,r)}function XQt(e,t,r,o){qxn(o,e,t,r)}function ZQt(e,t,r){Qo(e.d,t.f,r)}function t0(e,t){Kb(e.c.b,t.c,t)}function KN(e,t){Kb(e.c.c,t.b,t)}function YN(e,t){return e.a=t.g,e}function QQt(e){return e.e.a+e.f.a}function een(e){return e.e.b+e.f.b}function ten(e){return(e.c+e.a)/2}function nen(e){return e.b?e.b:e.a}function jet(e,t){return amn(e.a,t)}function ale(){ale=Y,m3e=new LZe}function JN(){JN=Y,Mre=new Xnt}function eg(){eg=Y,uM=new Znt}function t1(){t1=Y,yDt=new OGe}function Fet(){Fet=Y,xDt=new zGe}function $et(){$et=Y,BDt=new IZe}function Bet(){Bet=Y,UDt=new RZe}function n1(){n1=Y,Ll=new Nce}function Z9(){Z9=Y,wU=new hn}function ule(){ule=Y,N3e=new Pe}function r1(){r1=Y,eb=new eWe}function yq(){yq=Y,tLt=new Xqe}function Oo(){Oo=Y,rLt=new Zqe}function cle(e){lW(),jwn.call(this,e)}function lle(e){lW(),cle.call(this,e)}function dle(e){FV(),ert.call(this,e)}function ren(e,t){Kat.call(this,e,t)}function Q9(e,t){this.d=e,this.e=t}function vq(e,t){return va(e,t)>0}function Eq(e,t){return va(e,t)<0}function Uet(e,t){return BV(e.a,t)}function ien(e,t){return e.a.a.cc(t)}function Sq(e){return e.b<e.d.gc()}function XN(e,t){return e.a.get(t)}function oen(e,t){return t.split(e)}function Het(e,t){return ba(e.e,t)}function e8(e){return l(e,45).jd()}function fle(e){return Mt(e),!1}function hle(e){this.a=l(xn(e),231)}function t8(e){vt.call(this,e,21)}function n8(e,t){mn.call(this,e,t)}function Tq(e,t){mn.call(this,e,t)}function zet(e,t){this.b=e,this.a=t}function Get(e,t){this.a=e,this.b=t}function qet(e,t){this.a=e,this.b=t}function Vet(e,t){this.a=e,this.b=t}function Wet(e,t){this.a=e,this.b=t}function Ket(e,t){this.b=e,this.a=t}function ple(e,t){Fot(e,e.length,t)}function dO(e,t){bst(e,e.length,t)}function sen(e,t,r){t.Ne(e.a.We(r))}function aen(e,t,r){t.Bd(e.a.Xe(r))}function uen(e,t,r){t.Ad(e.a.Kb(r))}function cen(e,t,r){e.Mb(r)&&t.Ad(r)}function ZN(e,t,r){e.splice(t,0,r)}function Aq(e,t){mn.call(this,e,t)}function _q(e,t){mn.call(this,e,t)}function kq(e,t){mn.call(this,e,t)}function r8(e,t){mn.call(this,e,t)}function gle(e,t){mn.call(this,e,t)}function xq(e,t){mn.call(this,e,t)}function fO(e,t){mn.call(this,e,t)}function dS(e,t){this.a=e,this.b=t}function ble(e,t){this.b=e,this.a=t}function mle(e,t){this.b=e,this.a=t}function Yet(e,t){this.b=e,this.a=t}function wle(e,t){this.b=e,this.a=t}function GA(e,t){this.c=e,this.d=t}function Jet(e,t){this.e=e,this.d=t}function Xet(e,t){this.a=e,this.b=t}function fS(e,t){mn.call(this,e,t)}function i8(e,t){mn.call(this,e,t)}function bi(e,t){mn.call(this,e,t)}function o8(e,t){mn.call(this,e,t)}function yle(e,t){mn.call(this,e,t)}function s8(e,t){mn.call(this,e,t)}function Zet(e,t){this.a=e,this.b=t}function Qet(e,t){this.a=e,this.b=t}function ett(e,t){this.a=e,this.b=t}function ttt(e,t){this.a=e,this.b=t}function ntt(e,t){this.a=e,this.b=t}function rtt(e,t){this.a=e,this.b=t}function itt(e,t){this.a=e,this.b=t}function ott(e,t){this.a=e,this.b=t}function stt(e,t){this.b=e,this.a=t}function att(e,t){this.b=e,this.a=t}function utt(e,t){this.b=t,this.c=e}function a8(e,t){mn.call(this,e,t)}function hO(e,t){mn.call(this,e,t)}function Nq(e,t){mn.call(this,e,t)}function QN(e,t){mn.call(this,e,t)}function vle(e,t){mn.call(this,e,t)}function u8(e,t){mn.call(this,e,t)}function Cq(e,t){mn.call(this,e,t)}function Kv(e,t){mn.call(this,e,t)}function Ele(e,t){mn.call(this,e,t)}function Iq(e,t){mn.call(this,e,t)}function e3(e,t){mn.call(this,e,t)}function Sle(e,t){mn.call(this,e,t)}function t3(e,t){mn.call(this,e,t)}function n3(e,t){mn.call(this,e,t)}function jw(e,t){mn.call(this,e,t)}function Rq(e,t){mn.call(this,e,t)}function Oq(e,t){mn.call(this,e,t)}function Dq(e,t){mn.call(this,e,t)}function Tle(e,t){mn.call(this,e,t)}function pO(e,t){mn.call(this,e,t)}function Ale(e,t){mn.call(this,e,t)}function Yv(e,t){mn.call(this,e,t)}function Lq(e,t){mn.call(this,e,t)}function c8(e,t){mn.call(this,e,t)}function gO(e,t){mn.call(this,e,t)}function Fw(e,t){mn.call(this,e,t)}function l8(e,t){mn.call(this,e,t)}function _le(e,t){mn.call(this,e,t)}function Mq(e,t){mn.call(this,e,t)}function Pq(e,t){mn.call(this,e,t)}function jq(e,t){mn.call(this,e,t)}function Fq(e,t){mn.call(this,e,t)}function $q(e,t){mn.call(this,e,t)}function Bq(e,t){mn.call(this,e,t)}function ctt(e,t){this.b=e,this.a=t}function len(e,t){return fu(e.e,t)}function den(e,t){return fu(e.c,t)}function fen(e,t){return fu(t.b,e)}function hen(e,t){return XA(),t!=e}function bO(e){return un(e.a),e.b}function Uq(e){return Ivn(e,e.c),e}function ltt(){return mQe(),new K_t}function dtt(){W8(),this.a=new Vde}function ftt(e,t){this.a=e,this.b=t}function htt(e,t){this.a=e,this.b=t}function ptt(e,t){this.a=e,this.b=t}function gtt(e,t){this.b=e,this.a=t}function btt(e,t){this.a=e,this.b=t}function kle(e,t){mn.call(this,e,t)}function xle(e,t){mn.call(this,e,t)}function d8(e,t){mn.call(this,e,t)}function Nle(e,t){mn.call(this,e,t)}function Cle(e,t){mn.call(this,e,t)}function Ile(e,t){mn.call(this,e,t)}function mtt(e,t){this.a=e,this.b=t}function wtt(e,t){this.a=e,this.b=t}function ytt(e,t){this.a=e,this.b=t}function vtt(e,t){this.b=e,this.d=t}function Ett(e,t){this.b=e,this.a=t}function f8(e,t){mn.call(this,e,t)}function n0(e,t){mn.call(this,e,t)}function Hq(e,t){mn.call(this,e,t)}function h8(e,t){mn.call(this,e,t)}function Rle(e,t){mn.call(this,e,t)}function Stt(e,t){this.b=e,this.a=t}function Ttt(e,t){this.b=e,this.a=t}function Att(e,t){this.b=e,this.a=t}function _tt(e,t){this.b=e,this.a=t}function Ole(e,t){mn.call(this,e,t)}function mO(e,t){mn.call(this,e,t)}function Dle(e,t){mn.call(this,e,t)}function zq(e,t){mn.call(this,e,t)}function p8(e,t){mn.call(this,e,t)}function Gq(e,t){mn.call(this,e,t)}function qq(e,t){mn.call(this,e,t)}function g8(e,t){mn.call(this,e,t)}function Vq(e,t){mn.call(this,e,t)}function Lle(e,t){mn.call(this,e,t)}function Wq(e,t){mn.call(this,e,t)}function Kq(e,t){mn.call(this,e,t)}function wO(e,t){mn.call(this,e,t)}function Yq(e,t){mn.call(this,e,t)}function Mle(e,t){mn.call(this,e,t)}function yO(e,t){mn.call(this,e,t)}function Ple(e,t){mn.call(this,e,t)}function jle(e,t){mn.call(this,e,t)}function b8(e,t){mn.call(this,e,t)}function Fle(e,t){mn.call(this,e,t)}function ktt(e,t){this.a=e,this.b=t}function xtt(e,t){this.a=e,this.b=t}function $le(e,t){this.a=e,this.b=t}function vO(e,t){mn.call(this,e,t)}function hS(e,t){mn.call(this,e,t)}function Le(e,t){this.a=e,this.b=t}function r3(e,t){mn.call(this,e,t)}function i3(e,t){mn.call(this,e,t)}function EO(e,t){mn.call(this,e,t)}function m8(e,t){mn.call(this,e,t)}function Jq(e,t){mn.call(this,e,t)}function w8(e,t){mn.call(this,e,t)}function o3(e,t){mn.call(this,e,t)}function Xq(e,t){mn.call(this,e,t)}function y8(e,t){mn.call(this,e,t)}function Jv(e,t){mn.call(this,e,t)}function SO(e,t){mn.call(this,e,t)}function s3(e,t){mn.call(this,e,t)}function a3(e,t){mn.call(this,e,t)}function TO(e,t){mn.call(this,e,t)}function Zq(e,t){mn.call(this,e,t)}function v8(e,t){mn.call(this,e,t)}function Xv(e,t){mn.call(this,e,t)}function Qq(e,t){mn.call(this,e,t)}function eV(e,t){mn.call(this,e,t)}function E8(e,t){mn.call(this,e,t)}function Ntt(e,t){this.a=e,this.b=t}function Ctt(e,t){this.a=e,this.b=t}function Itt(e,t){this.a=e,this.b=t}function Rtt(e,t){this.a=e,this.b=t}function Ott(e,t){this.a=e,this.b=t}function Dtt(e,t){this.a=e,this.b=t}function S8(e,t){mn.call(this,e,t)}function ko(e,t){this.a=e,this.b=t}function Ltt(){P7(),this.a=new hi}function Mtt(){_W(),this.b=new hi}function Ptt(){Che(),Lfe.call(this)}function jtt(){Ihe(),Sat.call(this)}function Ftt(){Ihe(),Sat.call(this)}function $tt(e,t){Ddn(e.a,l(t,12))}function pen(e,t,r){fbt(t,QY(e,r))}function gen(e,t,r){fbt(t,QY(e,r))}function Ble(e,t){return fu(e.g,t)}function ben(e,t){return-e.b.$e(t)}function Btt(e,t){this.a=e,this.b=t}function Utt(e,t){this.a=e,this.b=t}function Htt(e,t){this.a=e,this.b=t}function ztt(e,t){this.a=e,this.b=t}function Gtt(e,t){this.a=e,this.b=t}function qtt(e,t){this.a=e,this.b=t}function Vtt(e,t){this.a=e,this.b=t}function Wtt(e,t){this.a=e,this.b=t}function Ktt(e,t){this.a=e,this.b=t}function Ytt(e,t){this.a=e,this.b=t}function Jtt(e,t){this.b=e,this.a=t}function Xtt(e,t){this.b=e,this.a=t}function Ztt(e,t){this.b=e,this.a=t}function Qtt(e,t){this.b=e,this.a=t}function ent(e,t){this.f=e,this.c=t}function Ule(e,t){this.i=e,this.g=t}function T8(e,t){this.a=e,this.b=t}function tnt(e,t){this.a=e,this.b=t}function nnt(e,t){this.a=e,this.b=t}function rnt(e,t){this.a=e,this.b=t}function Hle(e,t){this.d=e,this.e=t}function int(e,t){this.d=e,this.b=t}function ont(e,t){this.a=e,this.b=t}function snt(e,t){this.e=e,this.a=t}function AO(e,t){this.b=e,this.c=t}function pS(e,t){mn.call(this,e,t)}function men(e,t){e&&Yn(oM,e,t)}function zle(e,t){e.i=null,Ej(e,t)}function ant(e,t){return iY(e.a,t)}function A8(e){return P6(e.c,e.b)}function Es(e){return e?e.kd():null}function be(e){return e??null}function $w(e){return typeof e===sT}function Bw(e){return typeof e===z0e}function zi(e){return typeof e===GJ}function u3(e,t){return va(e,t)==0}function _8(e,t){return va(e,t)>=0}function c3(e,t){return va(e,t)!=0}function i1(e,t){return e.Pd().Xb(t)}function k8(e,t){return rhn(e.Jc(),t)}function wen(e){return""+(Mt(e),e)}function Gle(e,t){return e.a+=""+t,e}function l3(e,t){return e.a+=""+t,e}function zo(e,t){return e.a+=""+t,e}function d3(e,t){return e.a+=""+t,e}function ga(e,t){return e.a+=""+t,e}function zn(e,t){return e.a+=""+t,e}function x8(e){return v3(e==null),e}function qle(e){return at(e,0),null}function unt(e){return Fu(e),e.d.gc()}function yen(e){b.clearTimeout(e)}function cnt(e,t){e.q.setTime(jb(t))}function ven(e,t){qdn(new en(e),t)}function lnt(e,t){Hfe.call(this,e,t)}function dnt(e,t){Hfe.call(this,e,t)}function N8(e,t){Hfe.call(this,e,t)}function vo(e,t){Wr(e,t,e.c.b,e.c)}function Zv(e,t){Wr(e,t,e.a,e.a.a)}function Een(e,t){return e.j[t.p]==2}function fnt(e,t){return e.a=t.g+1,e}function wd(e){return e.a=0,e.b=0,e}function hnt(){hnt=Y,$kt=yn(hY())}function pnt(){pnt=Y,Wxt=yn(lwt())}function gnt(){gnt=Y,$4t=yn(wht())}function bnt(){this.b=new cS(dy(12))}function mnt(){this.b=0,this.a=!1}function wnt(){this.b=0,this.a=!1}function f3(e){this.a=e,OG.call(this)}function ynt(e){this.a=e,OG.call(this)}function ht(e,t){Pr.call(this,e,t)}function tV(e,t){Vw.call(this,e,t)}function Qv(e,t){Ule.call(this,e,t)}function vnt(e,t){CO.call(this,e,t)}function nV(e,t){T_.call(this,e,t)}function Qn(e,t){Z9(),Yn(wU,e,t)}function rV(e,t){return yl(e.a,0,t)}function Ent(e,t){return be(e)===be(t)}function Sen(e,t){return yr(e.a,t.a)}function Vle(e,t){return na(e.a,t.a)}function Ten(e,t){return hst(e.a,t.a)}function gS(e){return po((Mt(e),e))}function Aen(e){return po((Mt(e),e))}function Snt(e){return Ua(e.l,e.m,e.h)}function _en(e){return xn(e),new f3(e)}function xf(e,t){return e.indexOf(t)}function ps(e){return typeof e===z0e}function C8(e){return e<10?"0"+e:""+e}function ken(e){return e==J0||e==Fy}function xen(e){return e==J0||e==jy}function Tnt(e,t){return na(e.g,t.g)}function Wle(e){return As(e.b.b,e,0)}function Ant(e){Zs(this),K3(this,e)}function _nt(e){this.a=ltt(),this.b=e}function knt(e){this.a=ltt(),this.b=e}function xnt(e,t){return je(e.a,t),t}function Kle(e,t){p_(e,0,e.length,t)}function Nen(e,t){return na(e.g,t.g)}function Cen(e,t){return yr(t.f,e.f)}function Ien(e,t){return hc(),t.a+=e}function Ren(e,t){return hc(),t.a+=e}function Oen(e,t){return hc(),t.c+=e}function Yle(e,t){return yc(e.a,t),e}function Den(e,t){return je(e.c,t),e}function I8(e){return yc(new ui,e)}function Zh(e){return e==is||e==cs}function eE(e){return e==il||e==ff}function Nnt(e){return e==a2||e==s2}function tE(e){return e!=pf&&e!=W1}function Yu(e){return e.sh()&&e.th()}function Cnt(e){return cW(l(e,127))}function bS(){ql.call(this,0,0,0,0)}function Int(){oP.call(this,0,0,0,0)}function uh(){Que.call(this,new d1)}function iV(e){ent.call(this,e,!0)}function Eo(e){this.a=e.a,this.b=e.b}function oV(e,t){C_(e,t),w_(e,e.D)}function sV(e,t,r){hj(e,t),fj(e,r)}function r0(e,t,r){Bb(e,t),$b(e,r)}function Bc(e,t,r){ya(e,t),gu(e,r)}function _O(e,t,r){w0(e,t),y0(e,r)}function kO(e,t,r){v0(e,t),E0(e,r)}function Rnt(e,t,r){Ide.call(this,e,t,r)}function Ont(){n8.call(this,"Head",1)}function Dnt(){n8.call(this,"Tail",3)}function o1(e){Pf(),shn.call(this,e)}function nE(e){return e!=null?Ir(e):0}function Lnt(e,t){return new T_(t,e)}function Len(e,t){return new T_(t,e)}function Men(e,t){return ay(t,Gd(e))}function Pen(e,t){return ay(t,Gd(e))}function jen(e,t){return e[e.length]=t}function Fen(e,t){return e[e.length]=t}function Jle(e){return ton(e.b.Jc(),e.a)}function $en(e,t){return wj(oW(e.f),t)}function Ben(e,t){return wj(oW(e.n),t)}function Uen(e,t){return wj(oW(e.p),t)}function Mi(e,t){Pr.call(this,e.b,t)}function Ab(e){oP.call(this,e,e,e,e)}function aV(e){e.c=me(Ci,Rt,1,0,5,1)}function Mnt(e,t,r){ii(e.c[t.g],t.g,r)}function Hen(e,t,r){l(e.c,72).Ei(t,r)}function zen(e,t,r){Bc(r,r.i+e,r.j+t)}function Gen(e,t){Tn(oa(e.a),fut(t))}function qen(e,t){Tn(ju(e.a),hut(t))}function Ven(e,t){sf||(e.b=t)}function uV(e,t,r){return ii(e,t,r),r}function Pnt(e){Oa(e.Qf(),new eYe(e))}function jnt(){jnt=Y,Vte=new sC(vre)}function Xle(){Xle=Y,wce(),PEe=new hn}function Cn(){Cn=Y,new Fnt,new Pe}function Fnt(){new hn,new hn,new hn}function Wen(){throw K(new Yp(y_t))}function Ken(){throw K(new Yp(y_t))}function Yen(){throw K(new Yp(v_t))}function Jen(){throw K(new Yp(v_t))}function h3(e){fr(),Wm.call(this,e)}function $nt(e){this.a=e,pfe.call(this,e)}function cV(e){this.a=e,U9.call(this,e)}function lV(e){this.a=e,U9.call(this,e)}function Xen(e){return e==null?0:Ir(e)}function Ss(e){return e.a<e.c.c.length}function Zle(e){return e.a<e.c.a.length}function Qle(e,t){return va(e,t)>0?e:t}function na(e,t){return e<t?-1:e>t?1:0}function Bnt(e,t){return e.a?e.b:t.Ue()}function Ua(e,t,r){return{l:e,m:t,h:r}}function Zen(e,t){e.a!=null&&$tt(t,e.a)}function Qen(e,t){xn(t),uE(e).Ic(new $)}function _i(e,t){$V(e.c,e.c.length,t)}function Unt(e){e.a=new ft,e.c=new ft}function R8(e){this.b=e,this.a=new Pe}function Hnt(e){this.b=new sh,this.a=e}function ede(e){qde.call(this),this.a=e}function znt(e){Ehe.call(this),this.b=e}function Gnt(){n8.call(this,"Range",2)}function qnt(){rbe(),this.a=new J_(O2e)}function Ud(){Ud=Y,b.Math.log(2)}function Uc(){Uc=Y,Lh=(Fet(),xDt)}function O8(e){e.j=me(YEe,Me,325,0,0,1)}function Vnt(e){e.a=new hn,e.e=new hn}function tde(e){return new Le(e.c,e.d)}function etn(e){return new Le(e.c,e.d)}function So(e){return new Le(e.a,e.b)}function ttn(e,t){return Yn(e.a,t.a,t)}function ntn(e,t,r){return Yn(e.g,r,t)}function rtn(e,t,r){return Yn(e.k,r,t)}function rE(e,t,r){return T1e(t,r,e.c)}function Wnt(e,t){return uxn(e.a,t,null)}function nde(e,t){return ce(Ut(e.i,t))}function rde(e,t){return ce(Ut(e.j,t))}function Knt(e,t){vn(e),e.Fc(l(t,16))}function itn(e,t,r){e.c._c(t,l(r,138))}function otn(e,t,r){e.c.Si(t,l(r,138))}function stn(e,t,r){return sxn(e,t,r),r}function atn(e,t){return gc(),t.n.b+=e}function p3(e,t){return bkn(e.c,e.b,t)}function dV(e,t){return jhn(e.Jc(),t)!=-1}function se(e,t){return e!=null&&mY(e,t)}function utn(e,t){return new mrt(e.Jc(),t)}function D8(e){return e.Ob()?e.Pb():null}function Ynt(e){return Lf(e,0,e.length)}function ctn(e){go(e,null),Yi(e,null)}function Jnt(e){xW(e,null),NW(e,null)}function Xnt(){CO.call(this,null,null)}function Znt(){$8.call(this,null,null)}function Qnt(){mn.call(this,"INSTANCE",0)}function iE(){this.a=me(Ci,Rt,1,8,5,1)}function ide(e){this.a=e,hn.call(this)}function ert(e){this.a=(St(),new MA(e))}function ltn(e){this.b=(St(),new zG(e))}function qA(){qA=Y,o2e=new rq(null)}function ode(){ode=Y,ode(),X_t=new It}function je(e,t){return Ot(e.c,t),!0}function trt(e,t){e.c&&(Afe(t),Lat(t))}function dtn(e,t){e.q.setHours(t),CC(e,t)}function sde(e,t){return e.a.Ac(t)!=null}function fV(e,t){return e.a.Ac(t)!=null}function Hd(e,t){return e.a[t.c.p][t.p]}function ftn(e,t){return e.c[t.c.p][t.p]}function htn(e,t){return e.e[t.c.p][t.p]}function hV(e,t,r){return e.a[t.g][r.g]}function ptn(e,t){return e.j[t.p]=UEn(t)}function mS(e,t){return e.a*t.a+e.b*t.b}function gtn(e,t){return e.a<_V(t)?-1:1}function btn(e,t){return ape(e.b,t.Og())}function mtn(e,t){return ape(e.f,t.Og())}function wtn(e,t){return ue(ce(t.a))<=e}function ytn(e,t){return ue(ce(t.a))>=e}function vtn(e,t,r){return r?t!=0:t!=e-1}function nrt(e,t,r){e.a=t^1502,e.b=r^EX}function Etn(e,t,r){return e.a=t,e.b=r,e}function Qh(e,t){return e.a*=t,e.b*=t,e}function g3(e,t,r){return ii(e.g,t,r),r}function Stn(e,t,r,o){ii(e.a[t.g],r.g,o)}function yi(e,t,r){UO.call(this,e,t,r)}function L8(e,t,r){yi.call(this,e,t,r)}function du(e,t,r){yi.call(this,e,t,r)}function rrt(e,t,r){L8.call(this,e,t,r)}function ade(e,t,r){UO.call(this,e,t,r)}function oE(e,t,r){UO.call(this,e,t,r)}function irt(e,t,r){ude.call(this,e,t,r)}function ort(e,t,r){ade.call(this,e,t,r)}function ude(e,t,r){J8.call(this,e,t,r)}function srt(e,t,r){J8.call(this,e,t,r)}function s1(e){this.c=e,this.a=this.c.a}function en(e){this.i=e,this.f=this.i.j}function sE(e,t){this.a=e,U9.call(this,t)}function art(e,t){this.a=e,uq.call(this,t)}function urt(e,t){this.a=e,uq.call(this,t)}function crt(e,t){this.a=e,uq.call(this,t)}function cde(e){this.a=e,uKe.call(this,e.d)}function lrt(e){e.b.Qb(),--e.d.f.d,cP(e.d)}function drt(e){e.a=l(qt(e.b.a,4),131)}function frt(e){e.a=l(qt(e.b.a,4),131)}function Ttn(e){WO(e,VTt),O7(e,rNn(e))}function hrt(e){PG.call(this,l(xn(e),34))}function prt(e){PG.call(this,l(xn(e),34))}function lde(e){if(!e)throw K(new eO)}function dde(e){if(!e)throw K(new lu)}function fde(e,t){return ygn(e,new Zg,t).a}function grt(e,t){return new ymt(e.a,e.b,t)}function Gt(e,t){return xn(t),new brt(e,t)}function brt(e,t){this.a=t,H9.call(this,e)}function mrt(e,t){this.a=t,H9.call(this,e)}function hde(e,t){this.a=t,uq.call(this,e)}function wrt(e,t){this.a=t,$W.call(this,e)}function yrt(e,t){this.a=e,$W.call(this,t)}function vrt(){O8(this),AP(this),this.he()}function pde(){this.Bb|=256,this.Bb|=512}function Lt(){Lt=Y,D1=!1,$k=!0}function Ert(){Ert=Y,yq(),nLt=new ZWe}function Atn(e){return rO(e.a)?put(e):null}function _tn(e){return e.l+e.m*lT+e.h*em}function ktn(e){return e==null?null:e.name}function b3(e){return e==null?tu:bs(e)}function M8(e,t){return e.lastIndexOf(t)}function gde(e,t,r){return e.indexOf(t,r)}function fu(e,t){return!!t&&e.b[t.g]==t}function wS(e){return e.a!=null?e.a:null}function Ju(e){return un(e.a!=null),e.a}function xO(e,t,r){return _K(e,t,t,r),e}function Srt(e,t){return je(t.a,e.a),e.a}function Trt(e,t){return je(t.b,e.a),e.a}function P8(e,t){return++e.b,je(e.a,t)}function bde(e,t){return++e.b,Xa(e.a,t)}function i0(e,t){return je(t.a,e.a),e.a}function j8(e){NA.call(this,e),this.a=e}function mde(e){Gv.call(this,e),this.a=e}function wde(e){MA.call(this,e),this.a=e}function yde(e){YG.call(this),bo(this,e)}function ml(e){JR.call(this,(Mt(e),e))}function fc(e){JR.call(this,(Mt(e),e))}function pV(e){Que.call(this,new mpe(e))}function vde(e,t){O1e.call(this,e,t,null)}function xtn(e,t){return yr(e.n.a,t.n.a)}function Ntn(e,t){return yr(e.c.d,t.c.d)}function Ctn(e,t){return yr(e.c.c,t.c.c)}function Ya(e,t){return l(wr(e.b,t),16)}function Itn(e,t){return e.n.b=(Mt(t),t)}function Rtn(e,t){return e.n.b=(Mt(t),t)}function Otn(e,t){return yr(e.e.b,t.e.b)}function Dtn(e,t){return yr(e.e.a,t.e.a)}function Ltn(e,t,r){return gct(e,t,r,e.b)}function Ede(e,t,r){return gct(e,t,r,e.c)}function Mtn(e){return hc(),!!e&&!e.dc()}function Art(){VN(),this.b=new PYe(this)}function _rt(e){this.a=e,HG.call(this,e)}function NO(e){this.c=e,vS.call(this,e)}function yS(e){this.c=e,en.call(this,e)}function vS(e){this.d=e,en.call(this,e)}function F8(e,t){HV(),this.f=t,this.d=e}function CO(e,t){JN(),this.a=e,this.b=t}function $8(e,t){eg(),this.b=e,this.c=t}function Sde(e,t){cpe(t,e),this.c=e,this.b=t}function tg(e){var t;t=e.a,e.a=e.b,e.b=t}function m3(e){return Ss(e.a)||Ss(e.b)}function o0(e){return e.$H||(e.$H=++k3n)}function gV(e,t){return new Cit(e,e.gc(),t)}function Ptn(e,t){return VV(e.c).Kd().Xb(t)}function VA(e,t,r){var o;o=e.dd(t),o.Rb(r)}function Tde(e,t,r){l(l6(e,t),24).Ec(r)}function jtn(e,t,r){YK(e.a,r),a7(e.a,t)}function krt(e,t,r,o){Bfe.call(this,e,t,r,o)}function WA(e,t,r){return gde(e,Qa(t),r)}function Ftn(e){return D9(),wn((Qat(),N_t),e)}function $tn(e){return new iy(3,e)}function ch(e){return wc(e,Cy),new Ra(e)}function KA(e){return un(e.b!=0),e.a.a.c}function zl(e){return un(e.b!=0),e.c.b.c}function Btn(e,t){return _K(e,t,t+1,""),e}function xrt(e){if(!e)throw K(new $c)}function Nrt(e){e.d=new Rrt(e),e.e=new hn}function Ade(e){if(!e)throw K(new eO)}function Utn(e){if(!e)throw K(new WG)}function un(e){if(!e)throw K(new ys)}function Uw(e){if(!e)throw K(new lu)}function Crt(e){return e.b=l(bhe(e.a),45)}function gr(e,t){return!!e.q&&ba(e.q,t)}function Htn(e,t){return e>0?t*t/e:t*t*100}function ztn(e,t){return e>0?t/(e*e):t*100}function Hw(e,t){return l(Wd(e.a,t),34)}function Gtn(e){return e.f!=null?e.f:""+e.g}function bV(e){return e.f!=null?e.f:""+e.g}function Irt(e){return c_(),parseInt(e)||-1}function qtn(e){return cp(),e.e.a+e.f.a/2}function Vtn(e,t,r){return cp(),r.e.a-e*t}function Wtn(e,t,r){return q9(),r.Lg(e,t)}function Ktn(e,t,r){return cp(),r.e.b-e*t}function Ytn(e){return cp(),e.e.b+e.f.b/2}function Jtn(e,t){return S1(),wt(e,t.e,t)}function IO(e){se(e,162)&&l(e,162).mi()}function Rrt(e){gfe.call(this,e,null,null)}function Ort(){mn.call(this,"GROW_TREE",0)}function Drt(e){this.c=e,this.a=1,this.b=1}function mV(e){Pw(),this.b=e,this.a=!0}function Lrt(e){G9(),this.b=e,this.a=!0}function Mrt(e){HJ(),XXe(this),this.Df(e)}function Prt(e){Sr.call(this),q3(this,e)}function jrt(e){this.c=e,ya(e,0),gu(e,0)}function B8(e){return e.a=-e.a,e.b=-e.b,e}function _de(e,t){return e.a=t.a,e.b=t.b,e}function zw(e,t,r){return e.a+=t,e.b+=r,e}function Frt(e,t,r){return e.a-=t,e.b-=r,e}function Xtn(e,t,r){ej(),e.nf(t)&&r.Ad(e)}function Ztn(e,t,r){iC(oa(e.a),t,fut(r))}function Qtn(e,t,r){return je(t,hgt(e,r))}function enn(e,t){return l(Ut(e.e,t),19)}function tnn(e,t){return l(Ut(e.e,t),19)}function nnn(e,t){return e.c.Ec(l(t,138))}function $rt(e,t){JN(),CO.call(this,e,t)}function kde(e,t){eg(),$8.call(this,e,t)}function Brt(e,t){eg(),$8.call(this,e,t)}function Urt(e,t){eg(),kde.call(this,e,t)}function wV(e,t){Uc(),aP.call(this,e,t)}function Hrt(e,t){Uc(),wV.call(this,e,t)}function xde(e,t){Uc(),wV.call(this,e,t)}function zrt(e,t){Uc(),xde.call(this,e,t)}function Nde(e,t){Uc(),aP.call(this,e,t)}function Grt(e,t){Uc(),aP.call(this,e,t)}function qrt(e,t){Uc(),Nde.call(this,e,t)}function Xu(e,t,r){pu.call(this,e,t,r,2)}function rnn(e,t,r){iC(ju(e.a),t,hut(r))}function yV(e,t){return w1(e.e,l(t,52))}function inn(e,t,r){return t.xl(e.e,e.c,r)}function onn(e,t,r){return t.yl(e.e,e.c,r)}function Cde(e,t,r){return W7(d6(e,t),r)}function Vrt(e,t){return Mt(e),e+_V(t)}function snn(e){return e==null?null:bs(e)}function ann(e){return e==null?null:bs(e)}function unn(e){return e==null?null:Kxn(e)}function cnn(e){return e==null?null:Wwn(e)}function ep(e){e.o==null&&pEn(e)}function We(e){return v3(e==null||$w(e)),e}function ce(e){return v3(e==null||Bw(e)),e}function In(e){return v3(e==null||zi(e)),e}function Wrt(){this.a=new g0,this.b=new g0}function lnn(e,t){this.d=e,DKe(this),this.b=t}function RO(e,t){this.c=e,UA.call(this,e,t)}function w3(e,t){this.a=e,RO.call(this,e,t)}function Ide(e,t,r){ZP.call(this,e,t,r,null)}function Krt(e,t,r){ZP.call(this,e,t,r,null)}function Rde(){Mft.call(this),this.Bb|=xo}function Ode(e,t){YW.call(this,e),this.a=t}function Dde(e,t){YW.call(this,e),this.a=t}function Yrt(e,t){sf||je(e.a,t)}function dnn(e,t){return _Y(e,t),new Gst(e,t)}function fnn(e,t,r){return e.Le(t,r)<=0?r:t}function hnn(e,t,r){return e.Le(t,r)<=0?t:r}function Jrt(e){return Mt(e),e?1231:1237}function vV(e){return l(He(e.a,e.b),296)}function Xrt(e){return gc(),Nnt(l(e,205))}function pnn(e,t){return l(Wd(e.b,t),144)}function gnn(e,t){return l(Wd(e.c,t),236)}function Zrt(e){return new Le(e.c,e.d+e.a)}function bnn(e,t){return US(),new syt(t,e)}function mnn(e,t){return lO(),S_(t.d.i,e)}function wnn(e,t){t.a?Lvn(e,t):fV(e.a,t.b)}function Lde(e,t){return l(Ut(e.b,t),280)}function Pr(e,t){cr.call(this,e),this.a=t}function Mde(e,t,r){return r=Sc(e,t,3,r),r}function Pde(e,t,r){return r=Sc(e,t,6,r),r}function jde(e,t,r){return r=Sc(e,t,9,r),r}function Nf(e,t){return WO(t,uwe),e.f=t,e}function Fde(e,t){return(t&sr)%e.d.length}function Qrt(e,t,r){++e.j,e.oj(t,e.Xi(t,r))}function OO(e,t,r){++e.j,e.rj(),KW(e,t,r)}function eit(e,t,r){var o;o=e.dd(t),o.Rb(r)}function tit(e,t){this.c=e,m0.call(this,t)}function nit(e,t){this.a=e,GXe.call(this,t)}function DO(e,t){this.a=e,GXe.call(this,t)}function $de(e){this.q=new b.Date(jb(e))}function rit(e){this.a=(wc(e,Cy),new Ra(e))}function iit(e){this.a=(wc(e,Cy),new Ra(e))}function EV(e){this.a=(St(),new UG(xn(e)))}function U8(){U8=Y,g$=new Pr(N2t,0)}function aE(){aE=Y,l2=new cr("root")}function YA(){YA=Y,aM=new xZe,new NZe}function Gw(){Gw=Y,f2e=ct((oc(),Am))}function ynn(e){return On(Cb(e,32))^On(e)}function SV(e){return String.fromCharCode(e)}function vnn(e){return e==null?null:e.message}function Enn(e,t,r){return e.apply(t,r)}function oit(e,t,r){return S0e(e.c,e.b,t,r)}function Bde(e,t,r){return NS(e,l(t,23),r)}function _b(e,t){return Lt(),e==t?0:e?1:-1}function Ude(e,t){var r;return r=t,!!e.De(r)}function Hde(e,t){var r;return r=e.e,e.e=t,r}function Snn(e,t){var r;r=e[vX],r.call(e,t)}function Tnn(e,t){var r;r=e[vX],r.call(e,t)}function qw(e,t){e.a._c(e.b,t),++e.b,e.c=-1}function sit(e){Zs(e.e),e.d.b=e.d,e.d.a=e.d}function LO(e){e.b?LO(e.b):e.f.c.yc(e.e,e.d)}function MO(e){return!e.a&&(e.a=new de),e.a}function ait(e,t,r){return e.a+=Lf(t,0,r),e}function Ann(e,t,r){Tb(),IKe(e,t.Te(e.a,r))}function zde(e,t,r,o){oP.call(this,e,t,r,o)}function Gde(e,t){hce.call(this,e),this.a=t}function TV(e,t){hce.call(this,e),this.a=t}function uit(){H8.call(this),this.a=new to}function qde(){this.n=new to,this.o=new to}function cit(){this.b=new to,this.c=new Pe}function lit(){this.a=new Pe,this.b=new Pe}function dit(){this.a=new ah,this.b=new iZe}function Vde(){this.b=new d1,this.a=new d1}function fit(){this.b=new hi,this.a=new hi}function hit(){this.b=new hn,this.a=new hn}function pit(){this.a=new Pe,this.d=new Pe}function git(){this.a=new bWe,this.b=new KBe}function bit(){this.b=new LQe,this.a=new oHe}function H8(){this.n=new rS,this.i=new bS}function br(e,t){return e.a+=t.a,e.b+=t.b,e}function Ri(e,t){return e.a-=t.a,e.b-=t.b,e}function _nn(e){return Lw(e.j.c,0),e.a=-1,e}function Wde(e,t,r){return r=Sc(e,t,11,r),r}function mit(e,t,r){r!=null&&yj(t,NY(e,r))}function wit(e,t,r){r!=null&&vj(t,NY(e,r))}function ES(e,t,r,o){xe.call(this,e,t,r,o)}function Vw(e,t){Na.call(this,iI+e+sm+t)}function Kde(e,t,r,o){xe.call(this,e,t,r,o)}function yit(e,t,r,o){Kde.call(this,e,t,r,o)}function vit(e,t,r,o){gP.call(this,e,t,r,o)}function AV(e,t,r,o){gP.call(this,e,t,r,o)}function Eit(e,t,r,o){AV.call(this,e,t,r,o)}function Yde(e,t,r,o){gP.call(this,e,t,r,o)}function Et(e,t,r,o){Yde.call(this,e,t,r,o)}function Jde(e,t,r,o){AV.call(this,e,t,r,o)}function Sit(e,t,r,o){Jde.call(this,e,t,r,o)}function Tit(e,t,r,o){Gfe.call(this,e,t,r,o)}function Xde(e,t){return e.hk().ti().oi(e,t)}function Zde(e,t){return e.hk().ti().qi(e,t)}function knn(e,t){return e.n.a=(Mt(t),t+10)}function xnn(e,t){return e.n.a=(Mt(t),t+10)}function Nnn(e,t){return e.e=l(e.d.Kb(t),163)}function Cnn(e,t){return t==e||G_(R7(t),e)}function Gl(e,t){return j9(new Array(t),e)}function Ait(e,t){return Mt(e),be(e)===be(t)}function mt(e,t){return Mt(e),be(e)===be(t)}function _it(e,t){return Yn(e.a,t,"")==null}function Qde(e,t,r){return e.lastIndexOf(t,r)}function Inn(e,t){return e.b.zd(new qet(e,t))}function Rnn(e,t){return e.b.zd(new Vet(e,t))}function kit(e,t){return e.b.zd(new Wet(e,t))}function Onn(e){return e<100?null:new Qg(e)}function Dnn(e,t){return Ae(t,(Be(),gL),e)}function Lnn(e,t,r){return yr(e[t.a],e[r.a])}function Mnn(e,t){return na(e.a.d.p,t.a.d.p)}function Pnn(e,t){return na(t.a.d.p,e.a.d.p)}function jnn(e,t){return lO(),!S_(t.d.i,e)}function Fnn(e,t){sf||t&&(e.d=t)}function $nn(e,t){Zh(e.f)?sEn(e,t):J0n(e,t)}function xit(e,t){non.call(this,e,e.length,t)}function Nit(e){this.c=e,N8.call(this,bD,0)}function efe(e,t){this.c=e,eW.call(this,e,t)}function Cit(e,t,r){this.a=e,Sde.call(this,t,r)}function Iit(e,t,r){this.c=t,this.b=r,this.a=e}function PO(e){XA(),this.d=e,this.a=new iE}function Bnn(e,t){var r;return r=t.ni(e.a),r}function Unn(e,t){return yr(e.c-e.s,t.c-t.s)}function Hnn(e,t){return yr(e.c.e.a,t.c.e.a)}function znn(e,t){return yr(e.b.e.a,t.b.e.a)}function Rit(e,t){return se(t,16)&&Bwt(e.c,t)}function Gnn(e,t,r){return l(e.c,72).Uk(t,r)}function z8(e,t,r){return l(e.c,72).Vk(t,r)}function qnn(e,t,r){return inn(e,l(t,345),r)}function tfe(e,t,r){return onn(e,l(t,345),r)}function Vnn(e,t,r){return Sbt(e,l(t,345),r)}function Oit(e,t,r){return uwn(e,l(t,345),r)}function y3(e,t){return t==null?null:hy(e.b,t)}function SS(e){return e==Tm||e==Oh||e==fa}function Dit(e){return e.c?As(e.c.a,e,0):-1}function _V(e){return Bw(e)?(Mt(e),e):e.se()}function G8(e){return!isNaN(e)&&!isFinite(e)}function kV(e){Unt(this),ec(this),bo(this,e)}function Tu(e){aV(this),Tfe(this.c,0,e.Nc())}function Lit(e){Lu(e.a),gpe(e.c,e.b),e.b=null}function xV(){xV=Y,i2e=new Kt,Y_t=new kt}function Mit(){Mit=Y,ODt=me(Ci,Rt,1,0,5,1)}function Pit(){Pit=Y,JDt=me(Ci,Rt,1,0,5,1)}function nfe(){nfe=Y,XDt=me(Ci,Rt,1,0,5,1)}function Wnn(e){return g_(),wn((idt(),Z_t),e)}function Knn(e){return Yc(),wn((wlt(),ikt),e)}function Ynn(e){return Sd(),wn((ylt(),fkt),e)}function Jnn(e){return _u(),wn((vlt(),pkt),e)}function Xnn(e){return Za(),wn((Elt(),bkt),e)}function Znn(e){return Z7(),wn((hnt(),$kt),e)}function rfe(e,t){if(!e)throw K(new jt(t))}function JA(e){if(!e)throw K(new Xo(G0e))}function NV(e,t){if(e!=t)throw K(new $c)}function Hc(e,t,r){this.a=e,this.b=t,this.c=r}function jit(e,t,r){this.a=e,this.b=t,this.c=r}function Fit(e,t,r){this.a=e,this.b=t,this.c=r}function ife(e,t,r){this.b=e,this.c=t,this.a=r}function $it(e,t,r){this.d=e,this.b=r,this.a=t}function Qnn(e,t,r){return Tb(),e.a.Wd(t,r),t}function CV(e){var t;return t=new mb,t.e=e,t}function ofe(e){var t;return t=new dZe,t.b=e,t}function q8(e,t,r){this.e=t,this.b=e,this.d=r}function V8(e,t,r){this.b=e,this.a=t,this.c=r}function Bit(e){this.a=e,Qp(),Gs(Date.now())}function Uit(e,t,r){this.a=e,this.b=t,this.c=r}function IV(e){oP.call(this,e.d,e.c,e.a,e.b)}function sfe(e){oP.call(this,e.d,e.c,e.a,e.b)}function ern(e){return Ht(),wn((pht(),Uxt),e)}function trn(e){return T0(),wn((odt(),Ukt),e)}function nrn(e){return __(),wn((sdt(),Rxt),e)}function rrn(e){return aj(),wn((Nct(),Jkt),e)}function irn(e){return U3(),wn((Slt(),Sxt),e)}function orn(e){return Vi(),wn((zdt(),kxt),e)}function srn(e){return WS(),wn((adt(),jxt),e)}function arn(e){return v_(),wn((Cct(),Vxt),e)}function urn(e){return Xi(),wn((pnt(),Wxt),e)}function crn(e){return Dj(),wn((udt(),Jxt),e)}function lrn(e){return Xl(),wn((cdt(),aNt),e)}function drn(e){return wy(),wn((tft(),cNt),e)}function frn(e){return QP(),wn((Rct(),mNt),e)}function hrn(e){return ZS(),wn((vft(),bNt),e)}function prn(e){return S0(),wn((Blt(),pNt),e)}function grn(e){return F7(),wn((ght(),gNt),e)}function brn(e){return aC(),wn((hdt(),wNt),e)}function mrn(e){return gj(),wn((klt(),yNt),e)}function wrn(e){return Q6(),wn((Iht(),vNt),e)}function yrn(e){return g6(),wn((Ict(),ENt),e)}function vrn(e){return Gb(),wn((xlt(),TNt),e)}function Ern(e){return T7(),wn((yft(),ANt),e)}function Srn(e){return u6(),wn((Oct(),_Nt),e)}function Trn(e){return V6(),wn((mft(),kNt),e)}function Arn(e){return V_(),wn((wft(),xNt),e)}function _rn(e){return Mo(),wn((Ght(),NNt),e)}function krn(e){return A_(),wn((_lt(),CNt),e)}function xrn(e){return g1(),wn((Tlt(),INt),e)}function Nrn(e){return up(),wn((Alt(),ONt),e)}function Crn(e){return $P(),wn((Dct(),DNt),e)}function Irn(e){return rc(),wn((rft(),MNt),e)}function Rrn(e){return HP(),wn((Lct(),PNt),e)}function Orn(e){return my(),wn((ddt(),_It),e)}function Drn(e){return eC(),wn((Llt(),AIt),e)}function Lrn(e){return lC(),wn((ift(),kIt),e)}function Mrn(e){return _1(),wn((zht(),xIt),e)}function Prn(e){return tD(),wn((Rht(),TIt),e)}function jrn(e){return pp(),wn((fdt(),NIt),e)}function Frn(e){return h6(),wn((Mct(),CIt),e)}function $rn(e){return Lo(),wn((Nlt(),RIt),e)}function Brn(e){return Ij(),wn((Clt(),OIt),e)}function Urn(e){return Q3(),wn((Ilt(),DIt),e)}function Hrn(e){return I_(),wn((Rlt(),LIt),e)}function zrn(e){return pj(),wn((Olt(),MIt),e)}function Grn(e){return Rj(),wn((Dlt(),PIt),e)}function qrn(e){return Vb(),wn((ldt(),t4t),e)}function Vrn(e){return $3(),wn((Pct(),s4t),e)}function Wrn(e){return Cf(),wn((jct(),h4t),e)}function Krn(e){return zd(),wn((Fct(),g4t),e)}function Yrn(e){return vd(),wn(($ct(),I4t),e)}function Jrn(e,t){return Mt(e),e+(Mt(t),t)}function Xrn(e){return p0(),wn((Bct(),j4t),e)}function Zrn(e){return KS(),wn((mdt(),F4t),e)}function Qrn(e){return xC(),wn((gnt(),$4t),e)}function ein(e){return X3(),wn((Ult(),B4t),e)}function tin(e){return Z3(),wn((pdt(),cRt),e)}function nin(e){return PP(),wn((Uct(),lRt),e)}function rin(e){return Tj(),wn((Hct(),gRt),e)}function iin(e){return w7(),wn((nft(),mRt),e)}function oin(e){return tj(),wn((zct(),wRt),e)}function sin(e){return C6(),wn((Hlt(),yRt),e)}function ain(e){return c7(),wn((gdt(),$Rt),e)}function uin(e){return Nj(),wn((Mlt(),BRt),e)}function cin(e){return Jj(),wn((Plt(),URt),e)}function lin(e){return v7(),wn((bdt(),zRt),e)}function din(e){return qj(),wn((zlt(),VRt),e)}function XA(){XA=Y,b_e=(Ue(),Wt),CB=Zt}function hc(){hc=Y,rNt=new iBe,iNt=new oBe}function jO(){jO=Y,E$=new EFe,S$=new SFe}function W8(){W8=Y,Zxt=new YFe,Xxt=new JFe}function fin(e){return!e.e&&(e.e=new Pe),e.e}function hin(e){return TC(),wn((oft(),wOt),e)}function pin(e){return W9(),wn((nct(),vOt),e)}function gin(e){return D6(),wn((jlt(),yOt),e)}function bin(e){return K9(),wn((rct(),SOt),e)}function min(e){return r6(),wn((qct(),TOt),e)}function win(e){return K6(),wn((sft(),AOt),e)}function yin(e){return VP(),wn((Gct(),pOt),e)}function vin(e){return nj(),wn((Flt(),gOt),e)}function Ein(e){return $j(),wn(($lt(),bOt),e)}function Sin(e){return WN(),wn((ict(),BOt),e)}function Tin(e){return A6(),wn((Vct(),UOt),e)}function Ain(e){return UP(),wn((Wct(),HOt),e)}function _in(e){return h7(),wn((wdt(),GOt),e)}function kin(e){return Y9(),wn((oct(),QOt),e)}function xin(e){return J9(),wn((sct(),t6t),e)}function Nin(e){return X9(),wn((act(),r6t),e)}function Cin(e){return b6(),wn((Kct(),o6t),e)}function Iin(e){return Jd(),wn((eft(),d6t),e)}function Rin(e){return A1(),wn((bht(),h6t),e)}function Oin(e){return mh(),wn((Tft(),p6t),e)}function Din(e){return Jb(),wn((Sft(),v6t),e)}function Lin(e){return vi(),wn((Hdt(),V6t),e)}function Min(e){return R_(),wn((ydt(),W6t),e)}function Pin(e){return Kd(),wn((qlt(),K6t),e)}function jin(e){return hp(),wn((vdt(),Y6t),e)}function Fin(e){return E7(),wn((Eft(),J6t),e)}function $in(e){return fp(),wn((Glt(),Z6t),e)}function Bin(e){return vc(),wn((Edt(),eDt),e)}function Uin(e){return Sy(),wn((Cht(),tDt),e)}function Hin(e){return vE(),wn((Qdt(),nDt),e)}function zin(e){return qi(),wn((Aft(),rDt),e)}function Gin(e){return ku(),wn((_ft(),iDt),e)}function qin(e){return z3(),wn((Wlt(),lDt),e)}function Vin(e){return Ue(),wn((Udt(),oDt),e)}function Win(e){return oc(),wn((Tdt(),dDt),e)}function Kin(e){return Bu(),wn((Nht(),fDt),e)}function Yin(e){return GS(),wn((Vlt(),hDt),e)}function Jin(e){return zP(),wn((Sdt(),pDt),e)}function Xin(e){return Vj(),wn((Adt(),gDt),e)}function Zin(e){return Lj(),wn((_dt(),wDt),e)}function RV(e,t){this.c=e,this.a=t,this.b=t-e}function Zu(e,t,r){this.c=e,this.a=t,this.b=r}function Hit(e,t,r){this.a=e,this.c=t,this.b=r}function zit(e,t,r){this.a=e,this.c=t,this.b=r}function Git(e,t,r){this.a=e,this.b=t,this.c=r}function afe(e,t,r){this.a=e,this.b=t,this.c=r}function ufe(e,t,r){this.a=e,this.b=t,this.c=r}function OV(e,t,r){this.a=e,this.b=t,this.c=r}function qit(e,t,r){this.a=e,this.b=t,this.c=r}function cfe(e,t,r){this.a=e,this.b=t,this.c=r}function Vit(e,t,r){this.a=e,this.b=t,this.c=r}function Wit(e,t,r){this.b=e,this.a=t,this.c=r}function ng(e,t,r){this.e=e,this.a=t,this.c=r}function Kit(e,t,r){Uc(),Ahe.call(this,e,t,r)}function DV(e,t,r){Uc(),ohe.call(this,e,t,r)}function lfe(e,t,r){Uc(),ohe.call(this,e,t,r)}function dfe(e,t,r){Uc(),ohe.call(this,e,t,r)}function Yit(e,t,r){Uc(),DV.call(this,e,t,r)}function ffe(e,t,r){Uc(),DV.call(this,e,t,r)}function Jit(e,t,r){Uc(),ffe.call(this,e,t,r)}function Xit(e,t,r){Uc(),lfe.call(this,e,t,r)}function Zit(e,t,r){Uc(),dfe.call(this,e,t,r)}function Qin(e){return iT(),wn((mht(),RDt),e)}function FO(e,t){return xn(e),xn(t),new net(e,t)}function TS(e,t){return xn(e),xn(t),new sot(e,t)}function eon(e,t){return xn(e),xn(t),new aot(e,t)}function ton(e,t){return xn(e),xn(t),new fet(e,t)}function hfe(e,t){BQt.call(this,e,zj(new Ds(t)))}function Qit(e,t){this.c=e,this.b=t,this.a=!1}function pfe(e){this.d=e,DKe(this),this.b=Von(e.d)}function gfe(e,t,r){this.c=e,Q9.call(this,t,r)}function non(e,t,r){Zot.call(this,t,r),this.a=e}function eot(){this.a=";,;",this.b="",this.c=""}function tot(e,t,r){this.b=e,lnt.call(this,t,r)}function ron(e,t){t&&(e.b=t,e.a=(u1(t),t.a))}function LV(e){return un(e.b!=0),Vc(e,e.a.a)}function ion(e){return un(e.b!=0),Vc(e,e.c.b)}function oon(e){return!e.c&&(e.c=new xA),e.c}function not(e){var t;return t=new YG,yK(t,e),t}function $O(e){var t;return t=new Sr,yK(t,e),t}function ZA(e){var t;return t=new Pe,sK(t,e),t}function son(e){var t;return t=new hi,sK(t,e),t}function l(e,t){return v3(e==null||mY(e,t)),e}function K8(e,t){return t&&vP(e,t.d)?t:null}function BO(e,t){if(!e)throw K(new jt(t))}function bfe(e,t){if(!e)throw K(new oQe(t))}function AS(e,t){if(!e)throw K(new Xo(t))}function aon(e,t){return V9(),na(e.d.p,t.d.p)}function uon(e,t){return cp(),yr(e.e.b,t.e.b)}function con(e,t){return cp(),yr(e.e.a,t.e.a)}function lon(e,t){return na(bot(e.d),bot(t.d))}function don(e,t){return t==(Ue(),Wt)?e.c:e.d}function fon(e){return new Le(e.c+e.b,e.d+e.a)}function mfe(e){var t,r;r=e.d,t=e.a,e.d=t,e.a=r}function wfe(e){var t,r;t=e.b,r=e.c,e.b=r,e.c=t}function lh(e,t,r,o,s){e.b=t,e.c=r,e.d=o,e.a=s}function yfe(e,t,r,o,s){e.d=t,e.c=r,e.a=o,e.b=s}function rot(e,t,r,o,s){e.c=t,e.d=r,e.b=o,e.a=s}function Y8(e,t){return dfn(e),e.a*=t,e.b*=t,e}function vfe(e,t){return t<0?e.g=-1:e.g=t,e}function UO(e,t,r){Hle.call(this,e,t),this.c=r}function Efe(e,t,r){GA.call(this,e,t),this.b=r}function Sfe(e){nfe(),m9.call(this),this._h(e)}function J8(e,t,r){Hle.call(this,e,t),this.c=r}function iot(e,t,r){this.a=e,Qv.call(this,t,r)}function oot(e,t,r){this.a=e,Qv.call(this,t,r)}function MV(e){this.b=e,this.a=xb(this.b.a).Md()}function sot(e,t){this.b=e,this.a=t,OG.call(this)}function aot(e,t){this.a=e,this.b=t,OG.call(this)}function uot(e){Sde.call(this,e.length,0),this.a=e}function Tfe(e,t,r){ume(r,0,e,t,r.length,!1)}function QA(e,t,r){var o;o=new Zw(r),Kl(e,t,o)}function hon(e,t){var r;return r=e.c,Jpe(e,t),r}function pon(e,t){return(Jpt(e)<<4|Jpt(t))&Ei}function cot(e){return e!=null&&!nY(e,C4,I4)}function HO(e){return e==0||isNaN(e)?e:e<0?-1:1}function Afe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Gn(e,t){return Wr(e,t,e.c.b,e.c),!0}function X8(e){var t;return t=e.slice(),eK(t,e)}function Z8(e){var t;return t=e.n,e.a.b+t.d+t.a}function lot(e){var t;return t=e.n,e.e.b+t.d+t.a}function _fe(e){var t;return t=e.n,e.e.a+t.b+t.c}function dot(e){return fr(),new dh(0,e)}function fot(){fot=Y,jre=(St(),new UG(vQ))}function Q8(){Q8=Y,new M1e((nq(),OQ),(tq(),RQ))}function hot(){f_(),ksn.call(this,(n1(),Ll))}function pot(e,t){Zot.call(this,t,1040),this.a=e}function s0(e,t){return pC(e,new GA(t.a,t.b))}function gon(e){return!lo(e)&&e.c.i.c==e.d.i.c}function bon(e,t){return e.c<t.c?-1:e.c==t.c?0:1}function got(e){return e.b.c.length-e.e.c.length}function bot(e){return e.e.c.length-e.g.c.length}function PV(e){return e.e.c.length+e.g.c.length}function mot(e){return $S(),me(DB,OF,41,e,0,1)}function wot(){wot=Y,GEe=me(Ti,Me,15,256,0,1)}function yot(){this.b=ue(ce(ze((ed(),ree))))}function mon(e){return gc(),(Ue(),Wa).Gc(e.j)}function won(e,t,r){return cp(),r.e.a+r.f.a+e*t}function yon(e,t,r){return cp(),r.e.b+r.f.b+e*t}function von(e,t,r){return Yn(e.b,l(r.b,17),t)}function Eon(e,t,r){return Yn(e.b,l(r.b,17),t)}function Son(e,t){return je(e,new Le(t.a,t.b))}function Ton(e,t){Xpe(e,t==null?null:(Mt(t),t))}function Aon(e,t){Qpe(e,t==null?null:(Mt(t),t))}function _on(e,t){Qpe(e,t==null?null:(Mt(t),t))}function kfe(e,t,r,o){x1e.call(this,e,t,r,o,0,0)}function eP(e,t){AO.call(this,e,t),this.a=this}function vot(e){nfe(),Sfe.call(this,e),this.a=-1}function Eot(){eV.call(this,"COUNT_CHILDREN",0)}function xfe(e){this.c=e,this.b=this.c.d.vc().Jc()}function Sot(e){return e.e.Pd().gc()*e.c.Pd().gc()}function jV(e,t,r){return new Iit(Isn(e).Ze(),r,t)}function Fn(e,t,r){return e.a=-1,Tde(e,t.g,r),e}function Nfe(e,t,r){var o;return o=e[t],e[t]=r,o}function Hr(e,t){var r;return r=sW(e,t),r.i=2,r}function tP(e,t){var r;return++e.j,r=e.Aj(t),r}function kon(e){return e.a?e.a:gW(e)}function v3(e){if(!e)throw K(new LA(null))}function Cfe(e){if(e.c.e!=e.a)throw K(new $c)}function Ife(e){if(e.e.c!=e.b)throw K(new $c)}function nP(e){for(xn(e);e.Ob();)e.Pb(),e.Qb()}function xon(e){e.a.jd(),l(e.a.kd(),18).gc(),$ce()}function rP(){rP=Y,MQ=new IW((St(),St(),No))}function FV(){FV=Y,DEe=new dle((St(),St(),d$))}function Tot(){Tot=Y,UEe=me(yT,Me,224,256,0,1)}function Aot(){Aot=Y,zEe=me(pI,Me,183,128,0,1)}function _ot(){_ot=Y,qEe=me(K0,Me,192,256,0,1)}function kot(){kot=Y,KEe=me(Y0,Me,193,256,0,1)}function Rfe(){lh(this,!1,!1,!1,!1)}function Ofe(e){Que.call(this,new d1),bo(this,e)}function Ww(e){this.a=new cS(e.gc()),bo(this,e)}function xot(e){this.c=e,this.a=new lS(this.c.a)}function yt(e,t){Tb(),YW.call(this,e),this.a=t}function He(e,t){return at(t,e.c.length),e.c[t]}function Not(e,t){return at(t,e.a.length),e.a[t]}function Cot(e,t){return e.a+=Lf(t,0,t.length),e}function Non(e,t){return e.a==null&&Kwt(e),e.a[t]}function Con(e,t,r){return na(t.d[e.g],r.d[e.g])}function Ion(e,t,r){return na(e.d[t.p],e.d[r.p])}function Ron(e,t,r){return na(e.d[t.p],e.d[r.p])}function Oon(e,t,r){return na(e.d[t.p],e.d[r.p])}function Don(e,t,r){return na(e.d[t.p],e.d[r.p])}function Lon(e,t){return Mt(e),y6(e,(Mt(t),t))}function Mon(e,t){return Mt(t),y6(t,(Mt(e),e))}function Iot(e){return e.q?e.q:(St(),St(),kh)}function Rot(e){return e.c-l(He(e.a,e.b),296).b}function Oot(e,t){return e?0:b.Math.max(0,t-1)}function iP(e,t,r){return b.Math.min(r/e,1/t)}function Kw(e,t,r,o,s,u){return hbt(e,t,r,o,s,0,u)}function oP(e,t,r,o){yfe(this,e,t,r,o)}function Pon(e,t){var r;for(r=0;r<t;++r)e[r]=-1}function Dot(e){var t;return t=pbt(e),t?Dot(t):e}function Qu(e){return e.c?e.c.f:e.e.b}function hu(e){return e.c?e.c.g:e.e.a}function sP(e){m0.call(this,e.gc()),ti(this,e)}function Lot(){mn.call(this,"SIMPLE_X_PLACING",0)}function Mot(){mn.call(this,"SIMPLE_Y_PLACING",0)}function Pot(e){this.a=e,this.c=new hn,Bhn(this)}function jot(e){this.b=new Sr,this.a=e,this.c=-1}function dh(e,t){fr(),Wm.call(this,e),this.a=t}function aP(e,t){Uc(),_9.call(this,t),this.a=e}function E3(e,t,r){this.a=e,yi.call(this,t,r,2)}function kb(e,t,r){ny(t,e.c.length),ZN(e.c,t,r)}function jon(e,t){return!e&&(e=[]),e[e.length]=t,e}function $V(e,t,r){ypt(0,t,e.length),p_(e,0,t,r)}function Fot(e,t,r){var o;for(o=0;o<t;++o)e[o]=r}function Ar(e,t){var r;return r=ct(e),xge(r,t),r}function BV(e,t){return se(t,23)&&fu(e,l(t,23))}function $ot(e,t){return se(t,23)&&sfn(e,l(t,23))}function Zo(e,t){return xpt(e,t,xln(e,e.b.Ae(t)))}function Fon(e,t){return e.a.get(t)!==void 0}function UV(e,t){return e==null?t==null:mt(e,t)}function $on(e,t){return e==null?t==null:Zj(e,t)}function uP(e,t){return fr(),new Yfe(e,t)}function On(e){return ps(e)?e|0:UQe(e)}function HV(){HV=Y,vDt=new Mi((_n(),Hu),0)}function Bot(){Bot=Y,k_t=new uot(me(Ci,Rt,1,0,5,1))}function Uot(){this.b=new uG,this.c=new _at(this)}function Dfe(){this.d=new Vh,this.e=new Aat(this)}function zV(e,t){this.b=new Sr,this.a=e,this.c=t}function Lfe(){Che(),this.g=new Sr,this.f=new Sr}function Bon(e,t){GV(e,Ri(new Le(t.a,t.b),e.c))}function GV(e,t){br(e.c,t),e.b.c+=t.a,e.b.d+=t.b}function cP(e){e.b?cP(e.b):e.d.dc()&&e.f.c.Ac(e.e)}function Mfe(e){return Array.isArray(e)&&e.Rm===ge}function qV(e){return $u(e,26)*FC+$u(e,27)*$C}function Uon(e,t,r){return pi(e,new dS(t.a,r.a))}function Hon(e,t,r){return-na(e.f[t.p],e.f[r.p])}function lP(e,t,r){var o;e&&(o=e.i,o.c=t,o.b=r)}function dP(e,t,r){var o;e&&(o=e.i,o.d=t,o.a=r)}function Ca(e,t,r){return e.a=-1,Tde(e,t.g+1,r),e}function Pfe(e,t,r){return r=Sc(e,l(t,52),7,r),r}function jfe(e,t,r){return r=Sc(e,l(t,52),3,r),r}function zon(e,t,r){O0t(r,e,1),je(t,new ttt(r,e))}function Gon(e,t,r){hC(r,e,1),je(t,new att(r,e))}function Hot(e,t,r){this.a=e,L8.call(this,t,r,22)}function zot(e,t,r){this.a=e,L8.call(this,t,r,14)}function Got(e,t,r,o){Uc(),Mut.call(this,e,t,r,o)}function qot(e,t,r,o){Uc(),Mut.call(this,e,t,r,o)}function qon(e,t){t.Bb&Ws&&!e.a.o&&(e.a.o=t)}function Vot(e){return e!=null&&XV(e)&&e.Rm!==ge}function Ffe(e){return!Array.isArray(e)&&e.Rm===ge}function Von(e){return se(e,16)?l(e,16).cd():e.Jc()}function $fe(e){return e.Oc(me(Ci,Rt,1,e.gc(),5,1))}function S3(e,t){return h1n(d6(e,t))?t.wi():null}function xb(e){return e.c?e.c:e.c=e.Qd()}function VV(e){return e.d?e.d:e.d=e.Rd()}function _S(e){var t;return t=e.i,t||(e.i=e.bc())}function Wot(e){var t;return t=e.f,t||(e.f=e.Cc())}function Kot(e){return fr(),new SW(10,e,0)}function Nb(e){r1(),this.a=0,this.b=e-1,this.c=1}function Yot(e){O8(this),this.g=e,AP(this),this.he()}function Jot(){gc(),this.k=new hn,this.d=new hi}function Bfe(e,t,r,o){this.a=e,ZP.call(this,e,t,r,o)}function Ft(e){this.a=(Bot(),k_t),this.d=l(xn(e),51)}function fP(e){if(e.e.j!=e.d)throw K(new $c)}function T3(e){return ps(e)?""+e:$wt(e)}function fh(e,t){return p1(Xbt(ps(e)?vl(e):e,t))}function a0(e,t){return p1(mme(ps(e)?vl(e):e,t))}function Cb(e,t){return p1(ryn(ps(e)?vl(e):e,t))}function Won(e,t){return _b((Mt(e),e),(Mt(t),t))}function WV(e,t){return yr((Mt(e),e),(Mt(t),t))}function Xot(e,t){return xn(t),e.a.Hd(t)&&!e.b.Hd(t)}function Kon(e,t){return Ua(e.l&t.l,e.m&t.m,e.h&t.h)}function Yon(e,t){return Ua(e.l|t.l,e.m|t.m,e.h|t.h)}function Jon(e,t){return Ua(e.l^t.l,e.m^t.m,e.h^t.h)}function Yw(e,t){return O6(e,(Mt(t),new BKe(t)))}function kS(e,t){return O6(e,(Mt(t),new UKe(t)))}function Xon(e,t,r){e.a.Mb(r)&&(e.b=!0,t.Ad(r))}function Ufe(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function e_(e,t){if(e<0||e>=t)throw K(new oZe)}function Zs(e){e.f=new _nt(e),e.i=new knt(e),++e.g}function hP(e){this.b=new Ra(11),this.a=(f0(),e)}function KV(e){this.b=null,this.a=(f0(),e||n2e)}function Hfe(e,t){this.e=e,this.d=t&64?t|Ff:t}function Zot(e,t){this.c=0,this.d=e,this.b=t|64|Ff}function Qot(e){this.a=d1t(e.a),this.b=new Tu(e.b)}function rg(e,t,r,o){var s;s=e.i,s.i=t,s.a=r,s.b=o}function zfe(e){var t;for(t=e;t.f;)t=t.f;return t}function Zon(e){return e.e?dpe(e.e):null}function Qon(e,t){return US(),yr(t.a.o.a,e.a.o.a)}function est(e,t,r){return X_(),AK(e,t)&&AK(e,r)}function A3(e){return ku(),!e.Gc(Cp)&&!e.Gc(K1)}function tst(e,t,r){return LEt(e,l(t,12),l(r,12))}function nst(e){return bu(),l(e,12).g.c.length!=0}function rst(e){return bu(),l(e,12).e.c.length!=0}function pP(e){return new Le(e.c+e.b/2,e.d+e.a/2)}function YV(e,t){return t.Sh()?w1(e.b,l(t,52)):t}function esn(e,t,r){t.of(r,ue(ce(Ut(e.b,r)))*e.a)}function tsn(e,t){t.Tg("General 'Rotator",1),Lxn(e)}function Pi(e,t,r,o,s){XW.call(this,e,t,r,o,s,-1)}function _3(e,t,r,o,s){o6.call(this,e,t,r,o,s,-1)}function xe(e,t,r,o){yi.call(this,e,t,r),this.b=o}function gP(e,t,r,o){UO.call(this,e,t,r),this.b=o}function ist(e){ent.call(this,e,!1),this.a=!1}function ost(){eV.call(this,"LOOKAHEAD_LAYOUT",1)}function sst(){eV.call(this,"LAYOUT_NEXT_LEVEL",3)}function ast(){mn.call(this,"ABSOLUTE_XPLACING",0)}function ust(e){this.b=e,vS.call(this,e),drt(this)}function cst(e){this.b=e,NO.call(this,e),frt(this)}function lst(e,t){this.b=e,uKe.call(this,e.b),this.a=t}function Jw(e,t,r){this.a=e,ES.call(this,t,r,5,6)}function Gfe(e,t,r,o){this.b=e,yi.call(this,t,r,o)}function Ib(e,t,r){Pf(),this.e=e,this.d=t,this.a=r}function oo(e,t){for(Mt(t);e.Ob();)t.Ad(e.Pb())}function bP(e,t){return fr(),new ihe(e,t,0)}function JV(e,t){return fr(),new ihe(6,e,t)}function nsn(e,t){return mt(e.substr(0,t.length),t)}function ba(e,t){return zi(t)?yW(e,t):!!Zo(e.f,t)}function rsn(e){return Ua(~e.l&Uu,~e.m&Uu,~e.h&yp)}function XV(e){return typeof e===fD||typeof e===qJ}function hh(e){return new Ft(new hde(e.a.length,e.a))}function ZV(e){return new yt(null,dsn(e,e.length))}function dst(e){if(!e)throw K(new ys);return e.d}function xS(e){var t;return t=J3(e),un(t!=null),t}function isn(e){var t;return t=Zpn(e),un(t!=null),t}function t_(e,t){var r;return r=e.a.gc(),cpe(t,r),r-t}function pi(e,t){var r;return r=e.a.yc(t,e),r==null}function zO(e,t){return e.a.yc(t,(Lt(),D1))==null}function osn(e,t){return e>0?b.Math.log(e/t):-100}function qfe(e,t){return t?bo(e,t):!1}function NS(e,t,r){return Jl(e.a,t),Nfe(e.b,t.g,r)}function ssn(e,t,r){e_(r,e.a.c.length),tc(e.a,r,t)}function pe(e,t,r,o){ypt(t,r,e.length),asn(e,t,r,o)}function asn(e,t,r,o){var s;for(s=t;s<r;++s)e[s]=o}function Vfe(e,t){var r;for(r=0;r<t;++r)e[r]=!1}function Wfe(e,t){if(e==null)throw K(new sS(t))}function GO(e,t){Knt(e,se(t,164)?t:l(t,2015).Pl())}function usn(e,t,r){$xn(e.a,e.b,e.d,e.c,l(t,171),r)}function pc(e,t,r){return hpn(e,t.g,r),Jl(e.c,t),e}function csn(e){return RE(e,(vi(),is)),e.d=!0,e}function QV(e){return!e.j&&EZt(e,ITn(e.g,e.b)),e.j}function lsn(e,t,r){var o;return o=sy(e,t),MW(e,t,r),o}function Kfe(e,t,r){this.c=e,this.a=t,St(),this.b=r}function eW(e,t){this.d=e,en.call(this,e),this.e=t}function Yfe(e,t){Wm.call(this,1),this.a=e,this.b=t}function k3(e){Uw(e.b!=-1),og(e.c,e.a=e.b),e.b=-1}function fst(e){e.a=null,e.e=null,Zs(e.b),e.d=0,++e.c}function x3(e){return e.e==0?e:new Ib(-e.e,e.d,e.a)}function dsn(e,t){return nfn(t,e.length),new pot(e,t)}function hst(e,t){return va(e,t)<0?-1:va(e,t)>0?1:0}function fsn(e,t){return yr(e.c.c+e.c.b,t.c.c+t.c.b)}function mP(e,t){Wr(e.d,t,e.b.b,e.b),++e.a,e.c=null}function pst(e,t){return e.c?pst(e.c,t):je(e.b,t),e}function u0(e,t){ei(Ia(e.Mc(),new xBe),new WYe(t))}function n_(e,t,r,o,s){HY(e,l(wr(t.k,r),16),r,o,s)}function gst(e,t,r,o,s){for(;t<r;)o[s++]=uo(e,t++)}function bst(e,t,r){var o;for(o=0;o<t;++o)ii(e,o,r)}function wP(e){e.s=NaN,e.c=NaN,E0t(e,e.e),E0t(e,e.j)}function tW(e){return b.Math.abs(e.d.e-e.e.e)-e.a}function hsn(e,t){return yr(e.e.a+e.f.a,t.e.a+t.f.a)}function psn(e,t){return yr(e.e.b+e.f.b,t.e.b+t.f.b)}function nW(e,t){this.d=Qpn(e),this.c=t,this.a=.5*t}function Xw(e){this.d=(Mt(e),e),this.a=0,this.c=bD}function mst(e){Ehe.call(this),this.a=e,je(e.a,this)}function Jfe(e){e?Tbe(e,(Qp(),$_t)):Jan((Qp(),e))}function gsn(e,t){CS(e,new Zw(t.f!=null?t.f:""+t.g))}function bsn(e,t){CS(e,new Zw(t.f!=null?t.f:""+t.g))}function ti(e,t){return e.Qi()&&(t=Yat(e,t)),e.Di(t)}function rW(e,t){return t=e.Wk(null,t),Rbt(e,null,t)}function wst(e,t,r){return fr(),new wut(e,t,r)}function msn(e,t,r){return l(e.c.fd(t,l(r,138)),45)}function wsn(){return D9(),Z(X(x_t,1),Ce,541,0,[LQ])}function ysn(e){return e==Kr?KD:e==Oi?"-INF":""+e}function vsn(e){return e==Kr?KD:e==Oi?"-INF":""+e}function ln(e){return(e.i==null&&jf(e),e.i).length}function a1(){a1=Y,Bt=hvn(),Tt(),mv&&_mn()}function yst(){yst=Y,D_t=new Uue(!1),L_t=new Uue(!0)}function N3(e){var t;return t=e.g,t||(e.g=new Fue(e))}function yP(e){var t;return t=e.k,t||(e.k=new $ue(e))}function Xfe(e){var t;return t=e.k,t||(e.k=new $ue(e))}function Esn(e){var t;return t=e.i,t||(e.i=new iKe(e))}function iW(e){var t;return t=e.j,t||(e.j=new _Ke(e))}function vst(e){var t;return t=e.f,t||(e.f=new cde(e))}function oW(e){var t;return t=e.d,t||(e.d=new jG(e))}function Zfe(e){return se(e,613)?e:new Fat(e)}function Est(e,t){return QO(t,e.c.b.c.gc()),new tet(e,t)}function Qfe(e,t){var r;return r=e.a.gc(),QO(t,r),r-1-t}function x(e,t,r){var o;return o=sW(e,t),Cft(r,o),o}function sW(e,t){var r;return r=new Tge,r.j=e,r.d=t,r}function r_(e,t){return e.a+=String.fromCharCode(t),e}function Rb(e,t){return e.a+=String.fromCharCode(t),e}function xn(e){if(e==null)throw K(new tS);return e}function Zw(e){if(e==null)throw K(new tS);this.a=e}function Sst(e){wce(),this.b=new Pe,this.a=e,jkn(this,e)}function ehe(e){this.b=e,this.a=l(wl(this.b.a.e),229)}function the(e){this.d=e,this.c=e.a.d.a,this.b=e.a.e.g}function Tst(e){this.b=new Pe,this.a=new Pe,this.c=e}function ra(e){this.c=new to,this.a=new Pe,this.b=e}function Ast(){d1.call(this),this.a=!0,this.b=!0}function nhe(e,t){return Yt(t,e.length+1),e.substr(t)}function ii(e,t,r){return Utn(r==null||pAn(e,r)),e[t]=r}function aW(e,t,r){var o;return o=mK(e,t,r),Kme(e,o)}function _st(e,t){var r;r=console[e],r.call(console,t)}function Ut(e,t){return zi(t)?ma(e,t):Es(Zo(e.f,t))}function kst(e,t){return l(xb(e.a).Kd().Xb(t),45).jd()}function Ssn(e,t){return l(j(t,(Be(),Ky)),15).a<e}function Tsn(e,t){return US(),l(Go(e,t.d),16).Ec(t)}function Asn(e,t,r,o){return r==0||(r-o)/r<e.e||t>=e.g}function C3(e){return b.Math.sqrt(e.a*e.a+e.b*e.b)}function xst(e){return se(e,104)&&(l(e,20).Bb&Ws)!=0}function c0(e){return!e.d&&(e.d=new yi(Uo,e,1)),e.d}function _sn(e){return!e.a&&(e.a=new yi(Y1,e,4)),e.a}function Nst(e){this.c=e,this.a=new Sr,this.b=new Sr}function ksn(e){this.a=(Mt($n),$n),this.b=e,new Nce}function Cst(e,t,r){this.a=e,Hhe.call(this,8,t,null,r)}function rhe(e,t,r){this.a=e,hce.call(this,t),this.b=r}function ihe(e,t,r){Wm.call(this,e),this.a=t,this.b=r}function ohe(e,t,r){_9.call(this,t),this.a=e,this.b=r}function xsn(e,t,r){l(t.b,68),Oa(t.a,new afe(e,r,t))}function uW(e,t){for(Mt(t);e.c<e.d;)e.Qe(t,e.c++)}function Nsn(e,t){++e.j,UY(e,e.i,t),pvn(e,l(t,345))}function Ist(e,t){var r;++e.j,r=e.Cj(),e.pj(e.Xi(r,t))}function CS(e,t){var r;r=e.a.length,sy(e,r),MW(e,r,t)}function l0(e,t){return e_(t,e.a.c.length),He(e.a,t)}function vP(e,t){return LY(e.c,e.f,t,e.b,e.a,e.e,e.d)}function tp(e,t){return be(e)===be(t)||e!=null&&pr(e,t)}function Rst(e){return wl(e),se(e,475)?l(e,475):bs(e)}function Ost(e){return e?e.dc():!e.Jc().Ob()}function Csn(e){return yv?yW(yv,e):!1}function Isn(e){return 0>=e?new rle:Rfn(e-1)}function wl(e){if(e==null)throw K(new tS);return e}function Mt(e){if(e==null)throw K(new tS);return e}function ji(e){return!e.a&&e.c?e.c.b:e.a}function Dst(e){var t,r;return t=e.c.i.c,r=e.d.i.c,t==r}function Rsn(e,t){return na(t.j.c.length,e.j.c.length)}function Lst(e){fhe(e.a),e.b=me(Ci,Rt,1,e.b.length,5,1)}function I3(e){e.c?e.c.Ye():(e.d=!0,S2n(e))}function u1(e){e.c?u1(e.c):(y1(e),e.d=!0)}function Lu(e){Uw(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function Mst(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function Pst(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function ui(){BZe.call(this),Lw(this.j.c,0),this.a=-1}function jst(){mn.call(this,"DELAUNAY_TRIANGULATION",0)}function she(e){for(;e.a.b!=0;)wxn(e,l(Mat(e.a),9))}function Osn(e,t){Tn((!e.a&&(e.a=new DO(e,e)),e.a),t)}function ahe(e,t){e.c<0||e.b.b<e.c?vo(e.b,t):e.a.vf(t)}function Dsn(e,t){var r;r=e.Fh(t),r>=0?e.hi(r):Qbe(e,t)}function Fst(e,t){this.b=e,eW.call(this,e,t),drt(this)}function $st(e,t){this.b=e,efe.call(this,e,t),frt(this)}function Bst(){Ibe.call(this,_l,(FA(),w3e)),I_n(this)}function uhe(e){return!e.b&&(e.b=new k9(new eq)),e.b}function Lsn(e){if(e.p!=3)throw K(new lu);return e.e}function Msn(e){if(e.p!=4)throw K(new lu);return e.e}function Psn(e){if(e.p!=4)throw K(new lu);return e.j}function jsn(e){if(e.p!=3)throw K(new lu);return e.j}function Fsn(e){if(e.p!=6)throw K(new lu);return e.f}function $sn(e){if(e.p!=6)throw K(new lu);return e.k}function d0(e){return e.c==-2&&fZt(e,dwn(e.g,e.b)),e.c}function i_(e,t){var r;return r=sW("",e),r.n=t,r.i=1,r}function ph(e,t){for(;t-- >0;)e=e<<1|(e<0?1:0);return e}function Bsn(e,t){GV(l(t.b,68),e),Oa(t.a,new oce(e))}function Ust(e,t){return Q8(),new M1e(new prt(e),new hrt(t))}function Usn(e,t,r){return zS(),r.Kg(e,l(t.jd(),149))}function Hsn(e){return wc(e,YJ),uj(To(To(5,e),e/10|0))}function che(e){return St(),e?e.Me():(f0(),f0(),r2e)}function Yn(e,t,r){return zi(t)?Qo(e,t,r):eu(e.f,t,r)}function zsn(e){return String.fromCharCode.apply(null,e)}function Hst(e){return!e.d&&(e.d=new NA(e.c.Bc())),e.d}function o_(e){return!e.a&&(e.a=new cQe(e.c.vc())),e.a}function zst(e){return!e.b&&(e.b=new MA(e.c.ec())),e.b}function Gst(e,t){ltn.call(this,Ofn(xn(e),xn(t))),this.a=t}function lhe(e,t,r,o){e0.call(this,e,t),this.d=r,this.a=o}function EP(e,t,r,o){e0.call(this,e,r),this.a=t,this.f=o}function R3(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function qst(){Ibe.call(this,um,(NQe(),oLt)),Ekn(this)}function Vst(){vs.call(this,"There is no more element.")}function uo(e,t){return Yt(t,e.length),e.charCodeAt(t)}function Wst(e,t){e.u.Gc((ku(),Cp))&&uvn(e,t),Xln(e,t)}function ia(e,t){return be(e)===be(t)||e!=null&&pr(e,t)}function Go(e,t){return BV(e.a,t)?e.b[l(t,23).g]:null}function Kst(e,t){var r;return r=new ra(e),Ot(t.c,r),r}function O3(e){return e.j.c.length=0,fhe(e.c),_nn(e.a),e}function Gsn(e){return!e.b&&(e.b=new Et(pn,e,4,7)),e.b}function s_(e){return!e.c&&(e.c=new Et(pn,e,5,8)),e.c}function dhe(e){return!e.c&&(e.c=new xe(zu,e,9,9)),e.c}function cW(e){return!e.n&&(e.n=new xe(Is,e,1,7)),e.n}function nr(e,t,r,o){return fht(e,t,r,!1),Bj(e,o),e}function Yst(e,t){ZK(e,ue(lp(t,"x")),ue(lp(t,"y")))}function Jst(e,t){ZK(e,ue(lp(t,"x")),ue(lp(t,"y")))}function qsn(){return Y9(),Z(X(ZOt,1),Ce,557,0,[Jne])}function Vsn(){return J9(),Z(X(e6t,1),Ce,558,0,[Xne])}function Wsn(){return X9(),Z(X(n6t,1),Ce,559,0,[Zne])}function Ksn(){return K9(),Z(X(EOt,1),Ce,550,0,[Mne])}function Ysn(){return W9(),Z(X(Xke,1),Ce,480,0,[Lne])}function Jsn(){return WN(),Z(X(wxe,1),Ce,531,0,[DL])}function lW(){lW=Y,I_t=new lle(Z(X(cm,1),Q7,45,0,[]))}function Xsn(e,t){return new vat(l(xn(e),50),l(xn(t),50))}function Zsn(e){return e!=null&&zN(yU,e.toLowerCase())}function a_(e){return e.e==Pk&&wZt(e,m1n(e.g,e.b)),e.e}function qO(e){return e.f==Pk&&vZt(e,hmn(e.g,e.b)),e.f}function uE(e){var t;return t=e.b,!t&&(e.b=t=new rKe(e)),t}function fhe(e){var t;for(t=e.Jc();t.Ob();)t.Pb(),t.Qb()}function Qsn(e,t,r){var o;o=l(e.d.Kb(r),163),o&&o.Nb(t)}function ean(e,t){return yr(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function tan(e,t){return yr(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function nan(e,t){return sle(),yr((Mt(e),e),(Mt(t),t))}function Ia(e,t){return y1(e),new yt(e,new lpe(t,e.a))}function lr(e,t){return y1(e),new yt(e,new Tpe(t,e.a))}function Qw(e,t){return y1(e),new Ode(e,new alt(t,e.a))}function SP(e,t){return y1(e),new Dde(e,new ult(t,e.a))}function hhe(e,t){this.b=e,this.c=t,this.a=new lS(this.b)}function dW(e,t,r,o){this.a=e,this.e=t,this.d=r,this.c=o}function fW(e,t,r){this.a=J0e,this.d=e,this.b=t,this.c=r}function TP(e,t,r,o){this.a=e,this.c=t,this.b=r,this.d=o}function phe(e,t,r,o){this.c=e,this.b=t,this.a=r,this.d=o}function Xst(e,t,r,o){this.c=e,this.b=t,this.d=r,this.a=o}function Zst(e,t,r,o){this.a=e,this.d=t,this.c=r,this.b=o}function ql(e,t,r,o){this.c=e,this.d=t,this.b=r,this.a=o}function IS(e,t,r,o){mn.call(this,e,t),this.a=r,this.b=o}function Qst(e,t,r,o){rpt.call(this,e,r,o,!1),this.f=t}function eat(e,t){this.d=(Mt(e),e),this.a=16449,this.c=t}function tat(e){this.a=new Pe,this.e=me(Rn,Me,54,e,0,2)}function ran(e){e.Tg("No crossing minimization",1),e.Ug()}function np(e){var t,r;return r=(t=new Km,t),m_(r,e),r}function hW(e){var t,r;return r=(t=new Km,t),Dbe(r,e),r}function pW(e,t,r){var o,s;return o=j0e(e),s=t.qi(r,o),s}function gW(e){var t;return t=Lfn(e),t||null}function nat(e){return!e.b&&(e.b=new xe(Cr,e,12,3)),e.b}function u_(e){if(Fu(e.d),e.d.d!=e.c)throw K(new $c)}function rat(e,t,r,o){this.a=e,this.c=t,this.d=r,this.b=o}function iat(e,t,r,o){this.a=e,this.b=t,this.d=r,this.c=o}function oat(e,t,r,o){this.a=e,this.b=t,this.c=r,this.d=o}function sat(e,t,r,o){this.a=e,this.b=t,this.c=r,this.d=o}function Ob(e,t,r,o){this.e=e,this.a=t,this.c=r,this.d=o}function aat(e,t,r,o){Uc(),clt.call(this,t,r,o),this.a=e}function uat(e,t,r,o){Uc(),clt.call(this,t,r,o),this.a=e}function cat(e,t){this.a=e,lnn.call(this,e,l(e.d,16).dd(t))}function bW(e){this.f=e,this.c=this.f.e,e.f>0&&sbt(this)}function AP(e){return e.n&&(e.e!==KEt&&e.he(),e.j=null),e}function lat(e){return v3(e==null||XV(e)&&e.Rm!==ge),e}function ian(e,t,r){return je(e.a,(_Y(t,r),new e0(t,r))),e}function oan(e,t,r){A_n(e.a,r),Ihn(r),Vvn(e.b,r),q_n(t,r)}function san(e,t){return yr(hu(e)*Qu(e),hu(t)*Qu(t))}function aan(e,t){return yr(hu(e)*Qu(e),hu(t)*Qu(t))}function uan(e){hc();var t;t=l(e.g,9),t.n.a=e.d.c+t.d.b}function ec(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function ghe(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function bhe(e){return un(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function can(e){return e.length>0?Wl(e):new Pe}function lan(e,t){return l(j(e,(Ie(),CT)),16).Ec(t),t}function dan(e,t){return wt(e,l(j(t,(Be(),Ky)),15),t)}function fan(e){return I0(e)&&Ke(We(ye(e,(Be(),pm))))}function RS(e){var t;return t=e.f,t||(e.f=new UA(e,e.c))}function han(e,t,r){return VN(),Agn(l(Ut(e.e,t),520),r)}function pan(e,t,r){e.i=0,e.e=0,t!=r&&ipt(e,t,r)}function gan(e,t,r){e.i=0,e.e=0,t!=r&&opt(e,t,r)}function dat(e,t,r,o){this.b=e,this.c=o,N8.call(this,t,r)}function fat(e,t){this.g=e,this.d=Z(X(Nh,1),yg,9,0,[t])}function hat(e,t){e.d&&!e.d.a&&(YXe(e.d,t),hat(e.d,t))}function pat(e,t){e.e&&!e.e.a&&(YXe(e.e,t),pat(e.e,t))}function gat(e,t){return yE(e.j,t.s,t.c)+yE(t.e,e.s,e.c)}function ban(e){return l(e.jd(),149).Og()+":"+bs(e.kd())}function man(e,t){return-yr(hu(e)*Qu(e),hu(t)*Qu(t))}function wan(e,t){return nc(e),nc(t),tQe(l(e,23),l(t,23))}function Db(e,t,r){var o,s;o=_V(r),s=new y9(o),Kl(e,t,s)}function yan(e){P9(),b.setTimeout(function(){throw e},0)}function bat(e){this.b=new Pe,li(this.b,this.b),this.a=e}function mat(e){this.b=new pUe,this.a=e,b.Math.random()}function mhe(e,t){new Sr,this.a=new Du,this.b=e,this.c=t}function wat(e,t,r,o){Hle.call(this,t,r),this.b=e,this.a=o}function mW(e,t,r,o,s,u){o6.call(this,e,t,r,o,s,u?-2:-1)}function yat(){KY(this,new Mue),this.wb=(a1(),Bt),FA()}function whe(){whe=Y,akt=new bb,ckt=new Dfe,ukt=new Vp}function St(){St=Y,No=new $e,kh=new ke,d$=new Se}function f0(){f0=Y,n2e=new bt,zQ=new bt,r2e=new qe}function vr(e){return!e.q&&(e.q=new xe(Dl,e,11,10)),e.q}function Ne(e){return!e.s&&(e.s=new xe(au,e,21,17)),e.s}function _P(e){return!e.a&&(e.a=new xe(En,e,10,11)),e.a}function kP(e,t){if(e==null)throw K(new sS(t));return e}function vat(e,t){qZt.call(this,new KV(e)),this.a=e,this.b=t}function yhe(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function vhe(e){return e&&e.hashCode?e.hashCode():o0(e)}function van(e){return new art(e,e.e.Pd().gc()*e.c.Pd().gc())}function Ean(e){return new urt(e,e.e.Pd().gc()*e.c.Pd().gc())}function wW(e){return se(e,18)?new Ww(l(e,18)):son(e.Jc())}function xP(e){return St(),se(e,59)?new dq(e):new j8(e)}function San(e){return xn(e),S1t(new Ft(Gt(e.a.Jc(),new D)))}function yW(e,t){return t==null?!!Zo(e.f,null):Fon(e.i,t)}function Tan(e,t){var r;return r=sde(e.a,t),r&&(t.d=null),r}function Eat(e,t,r){return e.f?e.f.cf(t,r):!1}function VO(e,t,r,o){ii(e.c[t.g],r.g,o),ii(e.c[r.g],t.g,o)}function vW(e,t,r,o){ii(e.c[t.g],t.g,r),ii(e.b[t.g],t.g,o)}function Aan(e,t,r){return ue(ce(r.a))<=e&&ue(ce(r.b))>=t}function Sat(){this.d=new Sr,this.b=new hn,this.c=new Pe}function Tat(){this.b=new hi,this.d=new Sr,this.e=new R9}function Ehe(){this.c=new to,this.d=new to,this.e=new to}function h0(){this.a=new Du,this.b=(wc(3,Cy),new Ra(3))}function Aat(e){this.c=e,this.b=new Zp(l(xn(new Rw),50))}function _at(e){this.c=e,this.b=new Zp(l(xn(new aG),50))}function kat(e){this.b=e,this.a=new Zp(l(xn(new pl),50))}function ig(e,t){this.e=e,this.a=Ci,this.b=nyt(t),this.c=t}function NP(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function xat(e,t,r,o,s,u){this.a=e,fK.call(this,t,r,o,s,u)}function Nat(e,t,r,o,s,u){this.a=e,fK.call(this,t,r,o,s,u)}function c1(e,t,r,o,s,u,f){return new FW(e.e,t,r,o,s,u,f)}function _an(e,t,r){return r>=0&&mt(e.substr(r,t.length),t)}function Cat(e,t){return se(t,149)&&mt(e.b,l(t,149).Og())}function kan(e,t){return e.a?t.Dh().Jc():l(t.Dh(),72).Gi()}function Iat(e,t){var r;return r=e.b.Oc(t),Tct(r,e.b.gc()),r}function WO(e,t){if(e==null)throw K(new sS(t));return e}function us(e){return e.u||(Mu(e),e.u=new nit(e,e)),e.u}function c_(){c_=Y;var e,t;t=!i1n(),e=new ee,FQ=t?new re:e}function Ja(e){var t;return t=l(qt(e,16),29),t||e.fi()}function CP(e,t){var r;return r=Sb(e.Pm),t==null?r:r+": "+t}function yl(e,t,r){return no(t,r,e.length),e.substr(t,r-t)}function Rat(e,t){H8.call(this),Lpe(this),this.a=e,this.c=t}function Oat(){eV.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function xan(){return $P(),Z(X(nTe,1),Ce,425,0,[Jee,tTe])}function Nan(){return HP(),Z(X(bTe,1),Ce,428,0,[ste,ote])}function Can(){return h6(),Z(X(r_e,1),Ce,426,0,[Fte,$te])}function Ian(){return QP(),Z(X(ISe,1),Ce,427,0,[CSe,Cee])}function Ran(){return g6(),Z(X($Se,1),Ce,424,0,[V$,FSe])}function Oan(){return u6(),Z(X(HSe,1),Ce,479,0,[USe,K$])}function Dan(){return zd(),Z(X(p4t,1),Ce,512,0,[ym,uf])}function Lan(){return Cf(),Z(X(f4t,1),Ce,513,0,[sw,kg])}function Man(){return vd(),Z(X(C4t,1),Ce,519,0,[nv,U1])}function Pan(){return $3(),Z(X(o4t,1),Ce,522,0,[JI,YI])}function jan(){return p0(),Z(X(P4t,1),Ce,457,0,[H1,u2])}function Fan(){return PP(),Z(X(Z_e,1),Ce,430,0,[ane,X_e])}function $an(){return Tj(),Z(X(Q_e,1),Ce,490,0,[FB,d2])}function Ban(){return tj(),Z(X(tke,1),Ce,431,0,[eke,hne])}function Uan(){return r6(),Z(X(Zke,1),Ce,433,0,[Pne,YB])}function Han(){return VP(),Z(X(Gke,1),Ce,481,0,[Ine,zke])}function zan(){return A6(),Z(X(vxe,1),Ce,432,0,[XB,yxe])}function Gan(){return b6(),Z(X(i6t,1),Ce,498,0,[ere,Qne])}function qan(){return UP(),Z(X(Sxe,1),Ce,389,0,[Hne,Exe])}function Van(){return aj(),Z(X(b2e,1),Ce,429,0,[tee,b$])}function Wan(){return v_(),Z(X(qxt,1),Ce,506,0,[nL,pee])}function IP(e,t,r,o){return r>=0?e.Rh(t,r,o):e.zh(null,r,o)}function KO(e){return e.b.b==0?e.a.uf():LV(e.b)}function Kan(e){if(e.p!=5)throw K(new lu);return On(e.f)}function Yan(e){if(e.p!=5)throw K(new lu);return On(e.k)}function She(e){return be(e.a)===be((EK(),Lre))&&gkn(e),e.a}function Jan(e){e&&CP(e,e.ge())}function Dat(e,t){nZt(this,new Le(e.a,e.b)),rZt(this,$O(t))}function p0(){p0=Y,H1=new Ile(dT,0),u2=new Ile(fT,1)}function Cf(){Cf=Y,sw=new kle(fT,0),kg=new kle(dT,1)}function Xan(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=iP(e.c,e.b,e.a))}function Zan(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=iP(e.c,e.b,e.a))}function Lat(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function Mat(e){return e.b==0?null:(un(e.b!=0),Vc(e,e.a.a))}function ma(e,t){return t==null?Es(Zo(e.f,null)):XN(e.i,t)}function Pat(e,t,r,o,s){return new JY(e,(g_(),WQ),t,r,o,s)}function RP(e,t){return _ct(t),yfn(e,me(Rn,Xn,30,t,15,1),t)}function OP(e,t){return kP(e,"set1"),kP(t,"set2"),new wet(e,t)}function Qan(e,t){var r=jQ[e.charCodeAt(0)];return r??e}function jat(e,t){var r,o;return r=t,o=new Xt,Hvt(e,r,o),o.d}function EW(e,t,r,o){var s;s=new uit,t.a[r.g]=s,NS(e.b,o,s)}function eun(e,t){var r;return r=gfn(e.f,t),br(B8(r),e.f.d)}function D3(e){var t;xfn(e.a),Pnt(e.a),t=new S9(e.a),g1e(t)}function tun(e,t){qwt(e,!0),Oa(e.e.Pf(),new ife(e,!0,t))}function Fat(e){this.a=l(xn(e),279),this.b=(St(),new wde(e))}function $at(e,t,r){this.i=new Pe,this.b=e,this.g=t,this.a=r}function DP(e,t,r){this.c=new Pe,this.e=e,this.f=t,this.b=r}function The(e,t,r){this.a=new Pe,this.e=e,this.f=t,this.c=r}function SW(e,t,r){fr(),Wm.call(this,e),this.b=t,this.a=r}function Ahe(e,t,r){Uc(),_9.call(this,t),this.a=e,this.b=r}function Bat(e){H8.call(this),Lpe(this),this.a=e,this.c=!0}function g0(){VZt.call(this,new cS(dy(12))),lde(!0),this.a=2}function zd(){zd=Y,ym=new xle(xX,0),uf=new xle("UP",1)}function ey(e){return e.Db>>16!=3?null:l(e.Cb,19)}function Gd(e){return e.Db>>16!=9?null:l(e.Cb,19)}function Uat(e){return e.Db>>16!=6?null:l(e.Cb,74)}function nun(e){if(e.ye())return null;var t=e.n;return o$[t]}function run(e){function t(){}return t.prototype=e||{},new t}function Hat(e){var t;return t=new $9(dy(e.length)),xge(t,e),t}function YO(e,t){var r;r=e.q.getHours(),e.q.setDate(t),CC(e,r)}function _he(e,t,r){var o;o=e.Fh(t),o>=0?e.$h(o,r):Nme(e,t,r)}function cE(e,t,r){LP(),e&&Yn(Rre,e,t),e&&Yn(oM,e,r)}function iun(e,t){return cp(),l(j(t,(Ps(),Yf)),15).a==e}function oun(e,t){return W8(),Lt(),l(t.b,15).a<e}function sun(e,t){return W8(),Lt(),l(t.a,15).a<e}function aun(e,t){return Lht(e,t)?(Dft(e),!0):!1}function rp(e,t){if(t==null)throw K(new tS);return s1n(e,t)}function zat(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function Gat(e,t){var r;for(xn(t),r=e.a;r;r=r.c)t.Wd(r.g,r.i)}function qat(e,t){var r;return r=e.Fh(t),r>=0?e.Th(r):nJ(e,t)}function TW(e,t,r){var o;o=ept(e,t,r),e.b=new kj(o.c.length)}function Vat(e){this.a=e,this.b=me(n4t,Me,2022,e.e.length,0,2)}function Wat(){this.a=new uh,this.e=new hi,this.g=0,this.i=0}function Kat(e,t){O8(this),this.f=t,this.g=e,AP(this),this.he()}function AW(e,t){return b.Math.abs(e)<b.Math.abs(t)?e:t}function po(e){return Math.max(Math.min(e,sr),-2147483648)|0}function uun(e){return!e.a&&(e.a=new xe(En,e,10,11)),e.a.i>0}function khe(e){var t;return t=e.d,t=e._i(e.f),Tn(e,t),t.Ob()}function Yat(e,t){var r;return r=new Ofe(t),Mbt(r,e),new Tu(r)}function cun(e){if(e.p!=0)throw K(new lu);return c3(e.f,0)}function lun(e){if(e.p!=0)throw K(new lu);return c3(e.k,0)}function Jat(e){return e.Db>>16!=7?null:l(e.Cb,244)}function l_(e){return e.Db>>16!=6?null:l(e.Cb,244)}function xhe(e){return e.Db>>16!=7?null:l(e.Cb,176)}function Br(e){return e.Db>>16!=11?null:l(e.Cb,19)}function ty(e){return e.Db>>16!=17?null:l(e.Cb,29)}function Xat(e){return e.Db>>16!=3?null:l(e.Cb,159)}function Nhe(e){var t;return y1(e),t=new hi,lr(e,new WKe(t))}function Zat(e,t){var r=e.a=e.a||[];return r[t]||(r[t]=e.te(t))}function dun(e,t){var r;r=e.q.getHours(),e.q.setMonth(t),CC(e,r)}function go(e,t){e.c&&Xa(e.c.g,e),e.c=t,e.c&&je(e.c.g,e)}function Yi(e,t){e.d&&Xa(e.d.e,e),e.d=t,e.d&&je(e.d.e,e)}function Ii(e,t){e.c&&Xa(e.c.a,e),e.c=t,e.c&&je(e.c.a,e)}function Ts(e,t){e.i&&Xa(e.i.j,e),e.i=t,e.i&&je(e.i.j,e)}function Qo(e,t,r){return t==null?eu(e.f,null,r):A0(e.i,t,r)}function L3(e,t,r,o,s,u){return new ap(e.e,t,e.Jj(),r,o,s,u)}function fun(e){return UK(),Lt(),l(e.a,84).d.e!=0}function Qat(){Qat=Y,N_t=yn((D9(),Z(X(x_t,1),Ce,541,0,[LQ])))}function eut(){eut=Y,jIt=Ca(new ui,(Vi(),$o),(Xi(),AT))}function tut(){tut=Y,FIt=Ca(new ui,(Vi(),$o),(Xi(),AT))}function nut(){nut=Y,$It=Ca(new ui,(Vi(),$o),(Xi(),AT))}function Che(){Che=Y,BIt=Ca(new ui,(Vi(),$o),(Xi(),AT))}function rut(){rut=Y,HIt=Ca(new ui,(Vi(),$o),(Xi(),AT))}function Ihe(){Ihe=Y,zIt=Ca(new ui,(Vi(),$o),(Xi(),AT))}function iut(){iut=Y,a4t=Fn(new ui,(Vi(),$o),(Xi(),SI))}function gc(){gc=Y,l4t=Fn(new ui,(Vi(),$o),(Xi(),SI))}function out(){out=Y,d4t=Fn(new ui,(Vi(),$o),(Xi(),SI))}function _W(){_W=Y,b4t=Fn(new ui,(Vi(),$o),(Xi(),SI))}function sut(){sut=Y,dRt=Ca(new ui,(KS(),ZI),(xC(),v_e))}function LP(){LP=Y,Rre=new hn,oM=new hn,men(W_t,new FGe)}function aut(e,t,r){this.a=t,this.c=e,this.b=(xn(r),new Tu(r))}function uut(e,t,r){this.a=t,this.c=e,this.b=(xn(r),new Tu(r))}function cut(e,t){this.a=e,this.c=So(this.a),this.b=new NP(t)}function Lb(e,t,r,o){this.c=e,this.d=o,xW(this,t),NW(this,r)}function OS(e){this.c=new Sr,this.b=e.b,this.d=e.c,this.a=e.a}function kW(e){this.a=b.Math.cos(e),this.b=b.Math.sin(e)}function xW(e,t){e.a&&Xa(e.a.k,e),e.a=t,e.a&&je(e.a.k,e)}function NW(e,t){e.b&&Xa(e.b.f,e),e.b=t,e.b&&je(e.b.f,e)}function lut(e,t){xsn(e,e.b,e.c),l(e.b.b,68),t&&l(t.b,68).b}function hun(e,t){o1e(e,t),se(e.Cb,89)&&Ey(Mu(l(e.Cb,89)),2)}function CW(e,t){se(e.Cb,89)&&Ey(Mu(l(e.Cb,89)),4),Da(e,t)}function MP(e,t){se(e.Cb,187)&&(l(e.Cb,187).tb=null),Da(e,t)}function dut(e,t){var r;return r=l(hy(RS(e.a),t),18),r?r.gc():0}function pun(e,t){var r,o;r=t.c,o=r!=null,o&&CS(e,new Zw(t.c))}function fut(e){var t,r;return r=(FA(),t=new Km,t),m_(r,e),r}function hut(e){var t,r;return r=(FA(),t=new Km,t),m_(r,e),r}function put(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function wa(e,t){return Oo(),oK(t)?new eP(t,e):new AO(t,e)}function gun(e,t){return yr(l(e.c,65).c.e.b,l(t.c,65).c.e.b)}function bun(e,t){return yr(l(e.c,65).c.e.a,l(t.c,65).c.e.a)}function gut(e,t,r){return new JY(e,(g_(),KQ),t,r,null,!1)}function but(e,t,r){return new JY(e,(g_(),VQ),null,!1,t,r)}function JO(e){return Pf(),va(e,0)>=0?v1(e):x3(v1(ag(e)))}function mun(){return Yc(),Z(X(ru,1),Ce,132,0,[c2e,nu,l2e])}function wun(){return Sd(),Z(X(Py,1),Ce,240,0,[$s,ja,Bs])}function yun(){return _u(),Z(X(hkt,1),Ce,464,0,[Vf,L1,nd])}function vun(){return Za(),Z(X(gkt,1),Ce,465,0,[Nd,M1,rd])}function Eun(e,t){nrt(e,On(Gi(a0(t,24),rF)),On(Gi(t,rF)))}function ny(e,t){if(e<0||e>t)throw K(new Na(owe+e+swe+t))}function at(e,t){if(e<0||e>=t)throw K(new Na(owe+e+swe+t))}function Yt(e,t){if(e<0||e>=t)throw K(new Bce(owe+e+swe+t))}function vt(e,t){this.b=(Mt(e),e),this.a=t&Iy?t:t|64|Ff}function If(e,t,r){Wpt(t,r,e.gc()),this.c=e,this.a=t,this.b=r-t}function mut(e,t,r){var o;Wpt(t,r,e.c.length),o=r-t,Zce(e.c,t,o)}function Sun(e,t,r){var o;o=new Eo(r.d),br(o,e),ZK(t,o.a,o.b)}function Rhe(e){var t;return y1(e),t=(f0(),f0(),zQ),cj(e,t)}function lE(e){return VN(),se(e.g,9)?l(e.g,9):null}function qd(e){return _s(Z(X($i,1),Me,8,0,[e.i.n,e.n,e.a]))}function Tun(){return U3(),Z(X(R2e,1),Ce,385,0,[oee,iee,see])}function Aun(){return g1(),Z(X(Yee,1),Ce,330,0,[uL,eTe,zy])}function _un(){return up(),Z(X(RNt,1),Ce,316,0,[cL,ZE,_T])}function kun(){return A_(),Z(X(Kee,1),Ce,303,0,[Vee,Wee,aL])}function xun(){return gj(),Z(X(MSe,1),Ce,351,0,[LSe,q$,Iee])}function Nun(){return Gb(),Z(X(SNt,1),Ce,452,0,[Fee,Yk,JE])}function Cun(){return Lo(),Z(X(IIt,1),Ce,455,0,[VI,Cu,Fa])}function Iun(){return Ij(),Z(X(s_e,1),Ce,382,0,[i_e,Bte,o_e])}function Run(){return Q3(),Z(X(a_e,1),Ce,349,0,[Hte,Ute,SL])}function Oun(){return I_(),Z(X(c_e,1),Ce,350,0,[zte,u_e,WI])}function Dun(){return eC(),Z(X(WAe,1),Ce,353,0,[Rte,VAe,TB])}function Lun(){return pj(),Z(X(f_e,1),Ce,352,0,[d_e,Gte,l_e])}function Mun(){return Rj(),Z(X(h_e,1),Ce,383,0,[qte,ax,tv])}function Pun(){return X3(),Z(X(I_e,1),Ce,386,0,[C_e,Kte,_L])}function jun(){return C6(),Z(X(ike,1),Ce,387,0,[$B,nke,rke])}function Fun(){return qj(),Z(X(kke,1),Ce,388,0,[_ke,kne,Ake])}function $un(){return S0(),Z(X(vee,1),Ce,369,0,[Z0,P1,X0])}function Bun(){return $j(),Z(X(Jke,1),Ce,435,0,[Kke,Yke,One])}function Uun(){return nj(),Z(X(Wke,1),Ce,434,0,[Rne,Vke,qke])}function Hun(){return D6(),Z(X(Dne,1),Ce,440,0,[VB,WB,KB])}function zun(){return Jj(),Z(X(Tke,1),Ce,441,0,[r4,HB,yne])}function Gun(){return Nj(),Z(X(Ske,1),Ce,304,0,[wne,Eke,vke])}function qun(){return z3(),Z(X(HNe,1),Ce,301,0,[WL,Sre,UNe])}function Vun(){return Kd(),Z(X(ANe,1),Ce,281,0,[wx,dv,yx])}function Wun(){return GS(),Z(X(qNe,1),Ce,283,0,[GNe,hv,hU])}function Kun(){return fp(),Z(X(PNe,1),Ce,348,0,[aU,Cg,v4])}function bc(e){fr(),Wm.call(this,e),this.c=!1,this.a=!1}function wut(e,t,r){Wm.call(this,25),this.b=e,this.a=t,this.c=r}function Ohe(e,t){GZt.call(this,new cS(dy(e))),wc(t,HEt),this.a=t}function Yun(e,t){var r;return r=(Mt(e),e).g,Ade(!!r),Mt(t),r(t)}function yut(e,t){var r,o;return o=t_(e,t),r=e.a.dd(o),new bet(e,r)}function Jun(e,t,r){var o;return o=OC(e,t,!1),o.b<=t&&o.a<=r}function vut(e,t,r){var o;o=new BUe,o.b=t,o.a=r,++t.b,je(e.d,o)}function PP(){PP=Y,ane=new Rle("DFS",0),X_e=new Rle("BFS",1)}function Xun(e){if(e.p!=2)throw K(new lu);return On(e.f)&Ei}function Zun(e){if(e.p!=2)throw K(new lu);return On(e.k)&Ei}function Qun(e){return e.Db>>16!=6?null:l(oJ(e),244)}function q(e){return un(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function ecn(e){return e.a==(f_(),TU)&&pZt(e,BSn(e.g,e.b)),e.a}function DS(e){return e.d==(f_(),TU)&&bZt(e,FAn(e.g,e.b)),e.d}function IW(e){rP(),this.a=(St(),se(e,59)?new dq(e):new j8(e))}function Mb(e){return xn(e),se(e,18)?new Tu(l(e,18)):ZA(e.Jc())}function Dhe(e,t){return $ot(e.a,t)?Nfe(e.b,l(t,23).g,null):null}function Gi(e,t){return p1(Kon(ps(e)?vl(e):e,ps(t)?vl(t):t))}function Rf(e,t){return p1(Yon(ps(e)?vl(e):e,ps(t)?vl(t):t))}function RW(e,t){return p1(Jon(ps(e)?vl(e):e,ps(t)?vl(t):t))}function tcn(e){return To(fh(Gs($u(e,32)),32),Gs($u(e,32)))}function ncn(e){var t;return t=l(X8(e.b),10),new Hc(e.a,t,e.c)}function rcn(e,t){var r;r=ue(ce(e.a.mf((_n(),rU)))),fEt(e,t,r)}function icn(e,t){return H3(),e.c==t.c?yr(t.d,e.d):yr(e.c,t.c)}function ocn(e,t){return H3(),e.c==t.c?yr(e.d,t.d):yr(e.c,t.c)}function scn(e,t){return H3(),e.c==t.c?yr(e.d,t.d):yr(t.c,e.c)}function acn(e,t){return H3(),e.c==t.c?yr(t.d,e.d):yr(t.c,e.c)}function ucn(e,t){e.b=e.b|t.b,e.c=e.c|t.c,e.d=e.d|t.d,e.a=e.a|t.a}function OW(e,t,r){var o;o=e.d[t.p],e.d[t.p]=e.d[r.p],e.d[r.p]=o}function Eut(e,t){var r,o;return r=tK(t),o=r,l(Ut(e.c,o),15).a}function ccn(e,t){var r,o;return r=O1t(e),o=O1t(t),r<o?-1:r>o?1:0}function lcn(e,t){var r;r=l(Ut(e.g,t),60),Oa(t.d,new itt(e,r))}function Sut(e,t){var r;for(r=e+"";r.length<t;)r="0"+r;return r}function Pb(e){return e.c==null||e.c.length==0?"n_"+e.g:"n_"+e.c}function Lhe(e){return e.b==null||e.b.length==0?"n_"+e.a:"n_"+e.b}function XO(e){return l(Yd(e,me(Nh,yg,9,e.c.length,0,1)),201)}function Mhe(e,t){return e&&e.equals?e.equals(t):be(e)===be(t)}function Phe(e,t){return t==0?!!e.o&&e.o.f!=0:gY(e,t)}function dcn(e){return!!e.u&&oa(e.u.a).i!=0&&!(e.n&&EY(e.n))}function fcn(e,t,r){var o;e.n&&t&&r&&(o=new CGe,je(e.e,o))}function DW(e,t){if(pi(e.a,t),t.d)throw K(new vs(f2t));t.d=e}function jhe(e,t){this.a=new Pe,this.d=new Pe,this.f=e,this.c=t}function Tut(){this.c=new qnt,this.a=new hlt,this.b=new pZe,Det()}function Aut(){zS(),this.b=new hn,this.a=new hn,this.c=new Pe}function _ut(e,t,r){this.d=e,this.j=t,this.e=r,this.o=-1,this.p=3}function kut(e,t,r){this.d=e,this.k=t,this.f=r,this.o=-1,this.p=5}function xut(e,t,r,o,s,u){jpe.call(this,e,t,r,o,s),u&&(this.o=-2)}function Nut(e,t,r,o,s,u){Fpe.call(this,e,t,r,o,s),u&&(this.o=-2)}function Cut(e,t,r,o,s,u){npe.call(this,e,t,r,o,s),u&&(this.o=-2)}function Iut(e,t,r,o,s,u){Upe.call(this,e,t,r,o,s),u&&(this.o=-2)}function Rut(e,t,r,o,s,u){rpe.call(this,e,t,r,o,s),u&&(this.o=-2)}function Out(e,t,r,o,s,u){$pe.call(this,e,t,r,o,s),u&&(this.o=-2)}function Dut(e,t,r,o,s,u){Bpe.call(this,e,t,r,o,s),u&&(this.o=-2)}function Lut(e,t,r,o,s,u){ipe.call(this,e,t,r,o,s),u&&(this.o=-2)}function Mut(e,t,r,o){_9.call(this,r),this.b=e,this.c=t,this.d=o}function Put(e,t){this.f=e,this.a=(f_(),SU),this.c=SU,this.b=t}function jut(e,t){this.g=e,this.d=(f_(),TU),this.a=TU,this.b=t}function Fhe(e,t){!e.c&&(e.c=new ni(e,0)),V7(e.c,(Er(),O4),t)}function hcn(e,t){return bEn(e,t,se(t,104)&&(l(t,20).Bb&xo)!=0)}function pcn(e,t){return hst(Gs(e.q.getTime()),Gs(t.q.getTime()))}function Fut(e){return jV(e.e.Pd().gc()*e.c.Pd().gc(),16,new sKe(e))}function gcn(e){return!!e.a&&ju(e.a.a).i!=0&&!(e.b&&SY(e.b))}function M3(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function $ut(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function But(e){return un(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function Uut(e,t){var r;return r=1-t,e.a[r]=Sj(e.a[r],r),Sj(e,t)}function Hut(e,t){var r,o;return o=Gi(e,Po),r=fh(t,32),Rf(r,o)}function bcn(e,t,r){var o;return o=l(e.Zb().xc(t),18),!!o&&o.Gc(r)}function zut(e,t,r){var o;return o=l(e.Zb().xc(t),18),!!o&&o.Kc(r)}function Gut(e,t,r){var o;o=(xn(e),new Tu(e)),emn(new aut(o,t,r))}function ZO(e,t,r){var o;o=(xn(e),new Tu(e)),tmn(new uut(o,t,r))}function qut(){qut=Y,g_e=Ust(Re(1),Re(4)),p_e=Ust(Re(1),Re(2))}function Vut(e){vK.call(this,e,(g_(),qQ),null,!1,null,!1)}function Wut(e,t){Ib.call(this,1,2,Z(X(Rn,1),Xn,30,15,[e,t]))}function Ji(e,t){this.a=e,RN.call(this,e),ny(t,e.gc()),this.b=t}function Kut(e,t){var r;e.e=new Oce,r=Ty(t),_i(r,e.c),Dwt(e,r,0)}function mcn(e,t,r){e.a=t,e.c=r,e.b.a.$b(),ec(e.d),Lw(e.e.a.c,0)}function zr(e,t,r,o){var s;s=new Cue,s.a=t,s.b=r,s.c=o,Gn(e.a,s)}function Oe(e,t,r,o){var s;s=new Cue,s.a=t,s.b=r,s.c=o,Gn(e.b,s)}function Yut(e,t,r,o){return e.a+=""+yl(t==null?tu:bs(t),r,o),e}function Ls(e,t,r,o,s,u){return fht(e,t,r,u),Xge(e,o),Zge(e,s),e}function $he(){var e,t,r;return t=(r=(e=new Km,e),r),je(N3e,t),t}function QO(e,t){if(e<0||e>=t)throw K(new Na(Uyn(e,t)));return e}function Jut(e,t,r){if(e<0||t<e||t>r)throw K(new Na(uyn(e,t,r)))}function wcn(e){if(!("stack"in e))try{throw e}catch{}return e}function ycn(e){return uE(e).dc()?!1:(Qen(e,new P),!0)}function jb(e){var t;return ps(e)?(t=e,t==-0?0:t):jdn(e)}function Xut(e,t){return se(t,45)?xY(e.a,l(t,45)):!1}function Zut(e,t){return se(t,45)?xY(e.a,l(t,45)):!1}function Qut(e,t){return se(t,45)?xY(e.a,l(t,45)):!1}function vcn(e,t){return $S(),l(j(t,(Ps(),c2)),15).a>=e.gc()}function Ecn(e){return gc(),!lo(e)&&!(!lo(e)&&e.c.i.c==e.d.i.c)}function Of(e){return l(Yd(e,me(Hk,Sk,17,e.c.length,0,1)),324)}function jP(e){return new Ra((wc(e,YJ),uj(To(To(5,e),e/10|0))))}function Scn(e,t){return new OV(t,Frt(So(t.e),e,e),(Lt(),!0))}function Tcn(e){return jV(e.e.Pd().gc()*e.c.Pd().gc(),273,new oKe(e))}function ect(e){return l(Yd(e,me(Hxt,B2t,12,e.c.length,0,1)),2021)}function tct(e){this.a=me(Ci,Rt,1,_ge(b.Math.max(8,e))<<1,5,1)}function Bhe(e){var t;return u1(e),t=new _t,Wv(e.a,new GKe(t)),t}function FP(e){var t;return u1(e),t=new At,Wv(e.a,new qKe(t)),t}function Acn(e,t){return e.a<=e.b?(t.Bd(e.a++),!0):!1}function _cn(e,t,r){e.d&&Xa(e.d.e,e),e.d=t,e.d&&kb(e.d.e,r,e)}function Uhe(e,t,r){this.d=new iJe(this),this.e=e,this.i=t,this.f=r}function $P(){$P=Y,Jee=new Tle(hk,0),tTe=new Tle("TOP_LEFT",1)}function nct(){nct=Y,vOt=yn((W9(),Z(X(Xke,1),Ce,480,0,[Lne])))}function rct(){rct=Y,SOt=yn((K9(),Z(X(EOt,1),Ce,550,0,[Mne])))}function ict(){ict=Y,BOt=yn((WN(),Z(X(wxe,1),Ce,531,0,[DL])))}function oct(){oct=Y,QOt=yn((Y9(),Z(X(ZOt,1),Ce,557,0,[Jne])))}function sct(){sct=Y,t6t=yn((J9(),Z(X(e6t,1),Ce,558,0,[Xne])))}function act(){act=Y,r6t=yn((X9(),Z(X(n6t,1),Ce,559,0,[Zne])))}function kcn(e){lgt((!e.a&&(e.a=new xe(En,e,10,11)),e.a),new Eze)}function P3(e,t){ONn(t,e),wfe(e.d),wfe(l(j(e,(Be(),bB)),216))}function LW(e,t){DNn(t,e),mfe(e.d),mfe(l(j(e,(Be(),bB)),216))}function b0(e,t){var r,o;return r=rp(e,t),o=null,r&&(o=r.ne()),o}function j3(e,t){var r,o;return r=rp(e,t),o=null,r&&(o=r.qe()),o}function d_(e,t){var r,o;return r=sy(e,t),o=null,r&&(o=r.qe()),o}function ip(e,t){var r,o;return r=rp(e,t),o=null,r&&(o=Bbe(r)),o}function xcn(e,t,r){var o;return o=$_(r),B7(e.n,o,t),B7(e.o,t,r),t}function Ncn(e,t,r){var o;o=A1n();try{return Enn(e,t,r)}finally{Nln(o)}}function uct(e,t,r,o){return se(r,59)?new krt(e,t,r,o):new Bfe(e,t,r,o)}function Hhe(e,t,r,o){this.d=e,this.n=t,this.g=r,this.o=o,this.p=-1}function cct(e,t,r,o){this.e=null,this.c=e,this.d=t,this.a=r,this.b=o}function lct(e){var t;t=e.Dh(),this.a=se(t,72)?l(t,72).Gi():t.Jc()}function Ccn(e){return new vt(hfn(l(e.a.kd(),18).gc(),e.a.jd()),16)}function ry(e){return se(e,18)?l(e,18).dc():!e.Jc().Ob()}function dct(e){if(e.e.g!=e.b)throw K(new $c);return!!e.c&&e.d>0}function Sn(e){return un(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function zhe(e,t){Mt(t),ii(e.a,e.c,t),e.c=e.c+1&e.a.length-1,$1t(e)}function l1(e,t){Mt(t),e.b=e.b-1&e.a.length-1,ii(e.a,e.b,t),$1t(e)}function Ghe(e,t){var r;return r=l(Wd(e.b,t),66),!r&&(r=new Sr),r}function Icn(e,t){var r;r=t.a,go(r,t.c.d),Yi(r,t.d.d),cy(r.a,e.n)}function fct(e,t){return l(Ju(Yw(l(wr(e.k,t),16).Mc(),WE)),114)}function hct(e,t){return l(Ju(kS(l(wr(e.k,t),16).Mc(),WE)),114)}function Rcn(){return __(),Z(X(Ixt,1),Ce,413,0,[J0,Fy,jy,qE])}function Ocn(){return T0(),Z(X(Bkt,1),Ce,414,0,[ZD,XD,QQ,eee])}function Dcn(){return g_(),Z(X(f$,1),Ce,310,0,[qQ,VQ,WQ,KQ])}function Lcn(){return WS(),Z(X(M2e,1),Ce,384,0,[vI,L2e,dee,fee])}function Mcn(){return Dj(),Z(X(Yxt,1),Ce,368,0,[wee,$$,B$,rL])}function Pcn(){return Xl(),Z(X(sNt,1),Ce,418,0,[Uy,Gk,qk,yee])}function jcn(){return Vb(),Z(X(e4t,1),Ce,409,0,[TL,KI,NB,xB])}function Fcn(){return my(),Z(X(Dte,1),Ce,205,0,[AB,Ote,a2,s2])}function $cn(){return pp(),Z(X(n_e,1),Ce,270,0,[B1,t_e,Pte,jte])}function Bcn(){return aC(),Z(X(DSe,1),Ce,302,0,[AI,RSe,oL,OSe])}function Ucn(){return Z3(),Z(X(J_e,1),Ce,354,0,[sne,jB,one,ine])}function Hcn(){return c7(),Z(X(yke,1),Ce,355,0,[mne,mke,wke,bke])}function zcn(){return v7(),Z(X(HRt,1),Ce,406,0,[Tne,vne,Sne,Ene])}function Gcn(){return KS(),Z(X(w_e,1),Ce,402,0,[OB,XI,ZI,QI])}function qcn(){return h7(),Z(X(Txe,1),Ce,396,0,[Gne,qne,Vne,Wne])}function Vcn(){return R_(),Z(X(TNe,1),Ce,280,0,[UL,sU,ENe,SNe])}function Wcn(){return hp(),Z(X(vre,1),Ce,225,0,[yre,HL,vx,qT])}function Kcn(){return vc(),Z(X(Q6t,1),Ce,293,0,[GL,Ih,q1,zL])}function Ycn(){return oc(),Z(X(_4,1),Ce,381,0,[YL,Am,KL,fv])}function Jcn(){return zP(),Z(X(ZL,1),Ce,290,0,[VNe,KNe,Are,WNe])}function Xcn(){return Vj(),Z(X(ZNe,1),Ce,327,0,[_re,YNe,XNe,JNe])}function Zcn(){return Lj(),Z(X(mDt,1),Ce,412,0,[kre,e3e,QNe,t3e])}function Qcn(e){var t;return e.j==(Ue(),dn)&&(t=v0t(e),fu(t,Zt))}function pct(e,t){var r;for(r=e.j.c.length;r<t;r++)je(e.j,e.Mg())}function gct(e,t,r,o){var s;return s=o[t.g][r.g],ue(ce(j(e.a,s)))}function eln(e,t,r){var o;return o=$_(r),B7(e.f,o,t),Yn(e.g,t,r),t}function tln(e,t,r){var o;return o=$_(r),B7(e.p,o,t),Yn(e.q,t,r),t}function bct(e){var t,r;return t=(e1(),r=new CG,r),e&&O7(t,e),t}function qhe(e){var t;return t=e.$i(e.i),e.i>0&&ua(e.g,0,t,0,e.i),t}function LS(e){return VN(),se(e.g,157)?l(e.g,157):null}function nln(e){return LP(),ba(Rre,e)?l(Ut(Rre,e),343).Pg():null}function zc(e,t,r){return t<0?nJ(e,r):l(r,69).uk().zk(e,e.ei(),t)}function rln(e,t){return mS(new Le(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function mct(e,t){return be(t)===be(e)?"(this Map)":t==null?tu:bs(t)}function wct(e,t){Z9();var r;return r=l(Ut(wU,e),58),!r||r.dk(t)}function iln(e){if(e.p!=1)throw K(new lu);return On(e.f)<<24>>24}function oln(e){if(e.p!=1)throw K(new lu);return On(e.k)<<24>>24}function sln(e){if(e.p!=7)throw K(new lu);return On(e.k)<<16>>16}function aln(e){if(e.p!=7)throw K(new lu);return On(e.f)<<16>>16}function dE(e,t){return t.e==0||e.e==0?gI:(Z_(),uJ(e,t))}function uln(e,t,r){if(r){var o=r.me();e.a[t]=o(r)}else delete e.a[t]}function yct(e,t){var r;return r=new uS,e.Ed(r),r.a+="..",t.Fd(r),r.a}function yd(e){var t;for(t=0;e.Ob();)e.Pb(),t=To(t,1);return uj(t)}function cln(e,t,r){var o;o=l(Ut(e.g,r),60),je(e.a.c,new ko(t,o))}function lln(e,t,r,o,s){var u;u=REn(s,r,o),je(t,Dyn(s,u)),kwn(e,s,t)}function vct(e,t,r){e.i=0,e.e=0,t!=r&&(opt(e,t,r),ipt(e,t,r))}function dln(e){e.a=null,e.e=null,Lw(e.b.c,0),Lw(e.f.c,0),e.c=null}function fln(e,t){return l(t==null?Es(Zo(e.f,null)):XN(e.i,t),291)}function hln(e,t,r){return WV(ce(Es(Zo(e.f,t))),ce(Es(Zo(e.f,r))))}function BP(e,t,r){return H7(e,t,r,se(t,104)&&(l(t,20).Bb&xo)!=0)}function pln(e,t,r){return tk(e,t,r,se(t,104)&&(l(t,20).Bb&xo)!=0)}function gln(e,t,r){return SEn(e,t,r,se(t,104)&&(l(t,20).Bb&xo)!=0)}function Vhe(e,t){return e==(Ht(),Xr)&&t==Xr?4:e==Xr||t==Xr?8:32}function Ect(e,t){Ehe.call(this),this.a=e,this.b=t,je(this.a.b,this)}function iy(e,t){fr(),Wm.call(this,e),this.a=t,this.c=-1,this.b=-1}function Whe(e,t,r,o,s){this.i=e,this.a=t,this.e=r,this.j=o,this.f=s}function op(e,t){Pf(),Ib.call(this,e,1,Z(X(Rn,1),Xn,30,15,[t]))}function gh(e,t){Oo();var r;return r=l(e,69).tk(),$wn(r,t),r.vl(t)}function Sct(e,t){var r;for(r=t;r;)zw(e,r.i,r.j),r=Br(r);return e}function Tct(e,t){var r;for(r=0;r<t;++r)ii(e,r,new Zue(l(e[r],45)))}function Khe(e,t){var r;r=e.q.getHours(),e.q.setFullYear(t+x1),CC(e,r)}function Act(e,t){x_();var r;return r=e.j.g-t.j.g,r!=0?r:0}function F3(e){return un(e.a<e.c.a.length),e.b=e.a,Vdt(e),e.c.b[e.b]}function oa(e){return e.n||(Mu(e),e.n=new Hot(e,Uo,e),us(e)),e.n}function _ct(e){if(e<0)throw K(new sQe("Negative array size: "+e))}function MW(e,t,r){if(r){var o=r.me();r=o(r)}else r=void 0;e.a[t]=r}function bln(e,t){var r;return r=t!=null?ma(e,t):Es(Zo(e.f,t)),x8(r)}function mln(e,t){var r;return r=t!=null?ma(e,t):Es(Zo(e.f,t)),x8(r)}function PW(e){return e.c&&e.d?Lhe(e.c)+"->"+Lhe(e.d):"e_"+o0(e)}function kct(e){se(e,209)&&!Ke(We(e.mf((_n(),nU))))&&LAn(l(e,19))}function Yhe(e){e.b!=e.c&&(e.a=me(Ci,Rt,1,8,5,1),e.b=0,e.c=0)}function Fb(e,t,r){this.e=e,this.a=Ci,this.b=nyt(t),this.c=t,this.d=r}function oy(e,t,r,o){_ut.call(this,1,r,o),this.c=e,this.b=t}function jW(e,t,r,o){kut.call(this,1,r,o),this.c=e,this.b=t}function FW(e,t,r,o,s,u,f){fK.call(this,t,o,s,u,f),this.c=e,this.a=r}function $W(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function xct(e){this.c=e,this.a=l(Sl(e),160),this.b=this.a.hk().ti()}function wln(e,t){return Qp(),Tn(Ne(e.a),t)}function yln(e,t){return Qp(),Tn(Ne(e.a),t)}function UP(){UP=Y,Hne=new jle("STRAIGHT",0),Exe=new jle("BEND",1)}function $3(){$3=Y,JI=new Nle("UPPER",0),YI=new Nle("LOWER",1)}function HP(){HP=Y,ste=new Ale(_d,0),ote=new Ale("ALTERNATING",1)}function zP(){zP=Y,VNe=new Eot,KNe=new ost,Are=new Oat,WNe=new sst}function GP(e){var t;return e?new Ofe(e):(t=new uh,yK(t,e),t)}function vln(e,t){var r;for(r=e.d-1;r>=0&&e.a[r]===t[r];r--);return r<0}function Eln(e,t){var r;return _ct(t),r=e.slice(0,t),r.length=t,eK(r,e)}function Au(e,t){var r;return t.b.Kb(Ndt(e,t.c.Ve(),(r=new YKe(t),r)))}function qP(e){Abe(),nrt(this,On(Gi(a0(e,24),rF)),On(Gi(e,rF)))}function Nct(){Nct=Y,Jkt=yn((aj(),Z(X(b2e,1),Ce,429,0,[tee,b$])))}function Cct(){Cct=Y,Vxt=yn((v_(),Z(X(qxt,1),Ce,506,0,[nL,pee])))}function Ict(){Ict=Y,ENt=yn((g6(),Z(X($Se,1),Ce,424,0,[V$,FSe])))}function Rct(){Rct=Y,mNt=yn((QP(),Z(X(ISe,1),Ce,427,0,[CSe,Cee])))}function Oct(){Oct=Y,_Nt=yn((u6(),Z(X(HSe,1),Ce,479,0,[USe,K$])))}function Dct(){Dct=Y,DNt=yn(($P(),Z(X(nTe,1),Ce,425,0,[Jee,tTe])))}function Lct(){Lct=Y,PNt=yn((HP(),Z(X(bTe,1),Ce,428,0,[ste,ote])))}function Mct(){Mct=Y,CIt=yn((h6(),Z(X(r_e,1),Ce,426,0,[Fte,$te])))}function Pct(){Pct=Y,s4t=yn(($3(),Z(X(o4t,1),Ce,522,0,[JI,YI])))}function jct(){jct=Y,h4t=yn((Cf(),Z(X(f4t,1),Ce,513,0,[sw,kg])))}function Fct(){Fct=Y,g4t=yn((zd(),Z(X(p4t,1),Ce,512,0,[ym,uf])))}function $ct(){$ct=Y,I4t=yn((vd(),Z(X(C4t,1),Ce,519,0,[nv,U1])))}function Bct(){Bct=Y,j4t=yn((p0(),Z(X(P4t,1),Ce,457,0,[H1,u2])))}function Uct(){Uct=Y,lRt=yn((PP(),Z(X(Z_e,1),Ce,430,0,[ane,X_e])))}function Hct(){Hct=Y,gRt=yn((Tj(),Z(X(Q_e,1),Ce,490,0,[FB,d2])))}function zct(){zct=Y,wRt=yn((tj(),Z(X(tke,1),Ce,431,0,[eke,hne])))}function VP(){VP=Y,Ine=new Lle(Swe,0),zke=new Lle("TARGET_WIDTH",1)}function Gct(){Gct=Y,pOt=yn((VP(),Z(X(Gke,1),Ce,481,0,[Ine,zke])))}function qct(){qct=Y,TOt=yn((r6(),Z(X(Zke,1),Ce,433,0,[Pne,YB])))}function Vct(){Vct=Y,UOt=yn((A6(),Z(X(vxe,1),Ce,432,0,[XB,yxe])))}function Wct(){Wct=Y,HOt=yn((UP(),Z(X(Sxe,1),Ce,389,0,[Hne,Exe])))}function Kct(){Kct=Y,o6t=yn((b6(),Z(X(i6t,1),Ce,498,0,[ere,Qne])))}function Sln(){return vi(),Z(X(w4,1),Ce,87,0,[hf,cs,is,ff,il])}function Tln(){return Ue(),Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt])}function Aln(e){return(e.k==(Ht(),Xr)||e.k==mi)&&gr(e,(Ie(),NI))}function _ln(e,t,r){return l(t==null?eu(e.f,null,r):A0(e.i,t,r),291)}function Jhe(e,t,r){e.a.c.length=0,vkn(e,t,r),e.a.c.length==0||qTn(e,t)}function Wr(e,t,r,o){var s;s=new ft,s.c=t,s.b=r,s.a=o,o.b=r.a=s,++e.b}function Xhe(e,t){var r,o;for(r=t,o=0;r>0;)o+=e.a[r],r-=r&-r;return o}function Yct(e,t){var r;for(r=t;r;)zw(e,-r.i,-r.j),r=Br(r);return e}function kln(e,t){var r,o;o=!1;do r=Vht(e,t),o=o|r;while(r);return o}function co(e,t){var r,o;for(Mt(t),o=e.Jc();o.Ob();)r=o.Pb(),t.Ad(r)}function Jct(e,t){var r,o;return r=t.jd(),o=e.De(r),!!o&&ia(o.e,t.kd())}function Xct(e,t){var r;return r=t.jd(),new e0(r,e.e.pc(r,l(t.kd(),18)))}function xln(e,t){var r;return r=e.a.get(t),r??me(Ci,Rt,1,0,5,1)}function tc(e,t,r){var o;return o=(at(t,e.c.length),e.c[t]),e.c[t]=r,o}function Zct(e,t){this.c=0,this.b=t,dnt.call(this,e,17493),this.a=this.c}function Zhe(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function d1(){hn.call(this),Nrt(this),this.d.b=this.d,this.d.a=this.d}function BW(e){WP(),!sf&&(this.c=e,this.e=!0,this.a=new Pe)}function Qct(e){CEt(),XXe(this),this.a=new Sr,Dge(this,e),Gn(this.a,e)}function elt(){aV(this),this.b=new Le(Kr,Kr),this.a=new Le(Oi,Oi)}function Qhe(e){ren.call(this,e==null?tu:bs(e),se(e,81)?l(e,81):null)}function Nln(e){e&&Gdn((Pce(),MEe)),--s$,e&&a$!=-1&&(yen(a$),a$=-1)}function e6(e){e.i=0,dO(e.b,null),dO(e.c,null),e.a=null,e.e=null,++e.g}function WP(){WP=Y,sf=!0,ekt=!1,tkt=!1,rkt=!1,nkt=!1}function lo(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function epe(e,t){return se(t,144)?mt(e.c,l(t,144).c):!1}function UW(e,t){var r;return r=l(Wd(e.d,t),21),r||l(Wd(e.e,t),21)}function fE(e,t){return(y1(e),$A(new yt(e,new Tpe(t,e.a)))).zd(ET)}function Cln(){return Vi(),Z(X(O2e,1),Ce,364,0,[id,xh,la,da,$o])}function Iln(){return w7(),Z(X(bRt,1),Ce,365,0,[dne,une,fne,cne,lne])}function Rln(){return wy(),Z(X(uNt,1),Ce,372,0,[iL,z$,G$,H$,U$])}function Oln(){return TC(),Z(X(mOt,1),Ce,370,0,[f2,FT,c4,u4,OL])}function Dln(){return K6(),Z(X(nxe,1),Ce,331,0,[Qke,jne,txe,Fne,exe])}function Lln(){return lC(),Z(X(YAe,1),Ce,329,0,[KAe,Lte,Mte,zI,GI])}function Mln(){return rc(),Z(X(gTe,1),Ce,166,0,[hL,RI,Ap,OI,hm])}function Pln(){return Jd(),Z(X(cf,1),Ce,161,0,[xt,ri,Rd,Ng,kp])}function jln(){return vE(),Z(X(S4,1),Ce,260,0,[V1,qL,jNe,E4,FNe])}function Fln(e){return P9(),function(){return Ncn(e,this,arguments)}}function Mu(e){return e.t||(e.t=new BXe(e),iC(new iQe(e),0,e.t)),e.t}function tlt(e){var t;return e.c||(t=e.r,se(t,89)&&(e.c=l(t,29))),e.c}function $ln(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function HW(e){var t,r,o;return t=e&Uu,r=e>>22&Uu,o=e<0?yp:0,Ua(t,r,o)}function nlt(e){var t;return t=e.length,mt($t.substr($t.length-t,t),e)}function Qt(e){if(an(e))return e.c=e.a,e.a.Pb();throw K(new ys)}function MS(e,t){return t==0||e.e==0?e:t>0?Cgt(e,t):vwt(e,-t)}function tpe(e,t){return t==0||e.e==0?e:t>0?vwt(e,t):Cgt(e,-t)}function rlt(e){this.b=e,en.call(this,e),this.a=l(qt(this.b.a,4),131)}function ilt(e){this.b=e,yS.call(this,e),this.a=l(qt(this.b.a,4),131)}function Vl(e,t,r,o,s){llt.call(this,t,o,s),this.c=e,this.b=r}function npe(e,t,r,o,s){_ut.call(this,t,o,s),this.c=e,this.a=r}function rpe(e,t,r,o,s){kut.call(this,t,o,s),this.c=e,this.a=r}function ipe(e,t,r,o,s){llt.call(this,t,o,s),this.c=e,this.a=r}function Bln(e,t,r){return yr(mS(B_(e),So(t.b)),mS(B_(e),So(r.b)))}function Uln(e,t,r){return yr(mS(B_(e),So(t.e)),mS(B_(e),So(r.e)))}function Hln(e,t){return b.Math.min(f1(t.a,e.d.d.c),f1(t.b,e.d.d.c))}function zW(e,t,r){var o;return o=e.Fh(t),o>=0?e.Ih(o,r,!0):R0(e,t,r)}function zln(e,t){var r,o;r=l(xpn(e.c,t),18),r&&(o=r.gc(),r.$b(),e.d-=o)}function olt(e){var t,r;return t=e.c.i,r=e.d.i,t.k==(Ht(),mi)&&r.k==mi}function B3(e){var t,r;++e.j,t=e.g,r=e.i,e.g=null,e.i=0,e.Mi(r,t),e.Li()}function t6(e,t){e.Zi(e.i+1),g3(e,e.i,e.Xi(e.i,t)),e.Ki(e.i++,t),e.Li()}function slt(e,t,r){var o;o=new ide(e.a),K3(o,e.a.a),eu(o.f,t,r),e.a.a=o}function ope(e,t,r,o){var s;for(s=0;s<p$;s++)lP(e.a[s][t.g],r,o[t.g])}function spe(e,t,r,o){var s;for(s=0;s<XQ;s++)dP(e.a[t.g][s],r,o[t.g])}function wr(e,t){var r;return r=l(e.c.xc(t),18),!r&&(r=e.ic(t)),e.pc(t,r)}function Gln(e){var t;return t=(xn(e),e?new Tu(e):ZA(e.Jc())),mC(t),zj(t)}function GW(e){var t;return t=new h0,qs(t,e),Ae(t,(Be(),rs),null),t}function Wl(e){var t,r;return xn(e),t=Hsn(e.length),r=new Ra(t),xge(r,e),r}function qW(e,t,r,o){var s;return s=me(Rn,Xn,30,t,15,1),q0n(s,e,t,r,o),s}function og(e,t){var r;return r=(at(t,e.c.length),e.c[t]),Zce(e.c,t,1),r}function ape(e,t){var r,o;return r=(Mt(e),e),o=(Mt(t),t),r==o?0:r<o?-1:1}function upe(e){var t;return t=e.e+e.f,isNaN(t)&&G8(e.d)?e.d:t}function sp(e,t){return e.a?zn(e.a,e.b):e.a=new fc(e.d),d3(e.a,t),e}function cpe(e,t){if(e<0||e>t)throw K(new Na(Ybe(e,t,"index")));return e}function qln(e,t){var r;r=e.q.getHours()+(t/60|0),e.q.setMinutes(t),CC(e,r)}function PS(e,t){return zi(t)?t==null?fme(e.f,null):_ht(e.i,t):fme(e.f,t)}function alt(e,t){lnt.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function ult(e,t){dnt.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function lpe(e,t){N8.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function clt(e,t,r){_9.call(this,r),this.b=e,this.c=t,this.d=(sY(),Pre)}function llt(e,t,r){this.d=e,this.k=t?1:0,this.f=r?1:0,this.o=-1,this.p=0}function dlt(e,t,r){this.a=e,this.c=t,this.d=r,je(t.e,this),je(r.b,this)}function Vd(e){this.c=e,this.a=new V(this.c.a),this.b=new V(this.c.b)}function KP(){this.e=new Pe,this.c=new Pe,this.d=new Pe,this.b=new Pe}function flt(){this.g=new vce,this.b=new vce,this.a=new Pe,this.k=new Pe}function hlt(){this.a=new Ace,this.b=new AZe,this.d=new dG,this.e=new lG}function YP(e,t,r){this.a=e,this.b=t,this.c=r,je(e.t,this),je(t.i,this)}function n6(){this.b=new Sr,this.a=new Sr,this.b=new Sr,this.a=new Sr}function f_(){f_=Y;var e,t;SU=(FA(),t=new N9,t),TU=(e=new XG,e)}function JP(){JP=Y,d4=new cr("org.eclipse.elk.labels.labelManager")}function plt(){plt=Y,ASe=new Pr("separateLayerConnections",(Dj(),wee))}function r6(){r6=Y,Pne=new Mle("FIXED",0),YB=new Mle("CENTER_NODE",1)}function vd(){vd=Y,nv=new Cle("REGULAR",0),U1=new Cle("CRITICAL",1)}function Vln(e,t){var r;return r=Pkn(e,t),e.b=new kj(r.c.length),ekn(e,r)}function Wln(e,t,r){var o;return++e.e,--e.f,o=l(e.d[t].ed(r),138),o.kd()}function Kln(e){var t,r;return t=e.jd(),r=l(e.kd(),18),FO(r.Lc(),new nKe(t))}function VW(e){var t;return t=e.b,t.b==0?null:l(sa(t,0),65).b}function dpe(e){if(e.a){if(e.e)return dpe(e.e)}else return e;return null}function Yln(e,t){return e.p<t.p?1:e.p>t.p?-1:0}function XP(e,t){return Mt(t),e.c<e.d?(e.Qe(t,e.c++),!0):!1}function glt(e,t){return ba(e.a,t)?(PS(e.a,t),!0):!1}function jS(e,t,r){return QO(t,e.e.Pd().gc()),QO(r,e.c.Pd().gc()),e.a[t][r]}function blt(e){var t;return e.a||(t=e.r,se(t,160)&&(e.a=l(t,160))),e.a}function mlt(e){var t;for(u1(e),t=0;e.a.zd(new jc);)t=To(t,1);return t}function Jln(e){var t;return y1(e),t=new tot(e,e.a.e,e.a.d|4),new Ode(e,t)}function Xln(e,t){var r;e.C&&(r=l(Go(e.b,t),129).n,r.d=e.C.d,r.a=e.C.a)}function fpe(e){var t,r,o,s;s=e.d,t=e.a,r=e.b,o=e.c,e.d=r,e.a=o,e.b=s,e.c=t}function hpe(e,t,r){var o,s;for(o=0,s=0;s<t.length;s++)o+=e.sg(t[s],o,r)}function ZP(e,t,r,o){this.f=e,this.e=t,this.d=r,this.b=o,this.c=o?o.d:null}function Zln(e,t){t.Tg("Label management",1),x8(j(e,(JP(),d4))),t.Ug()}function wlt(){wlt=Y,ikt=yn((Yc(),Z(X(ru,1),Ce,132,0,[c2e,nu,l2e])))}function ylt(){ylt=Y,fkt=yn((Sd(),Z(X(Py,1),Ce,240,0,[$s,ja,Bs])))}function vlt(){vlt=Y,pkt=yn((_u(),Z(X(hkt,1),Ce,464,0,[Vf,L1,nd])))}function Elt(){Elt=Y,bkt=yn((Za(),Z(X(gkt,1),Ce,465,0,[Nd,M1,rd])))}function Slt(){Slt=Y,Sxt=yn((U3(),Z(X(R2e,1),Ce,385,0,[oee,iee,see])))}function Tlt(){Tlt=Y,INt=yn((g1(),Z(X(Yee,1),Ce,330,0,[uL,eTe,zy])))}function Alt(){Alt=Y,ONt=yn((up(),Z(X(RNt,1),Ce,316,0,[cL,ZE,_T])))}function _lt(){_lt=Y,CNt=yn((A_(),Z(X(Kee,1),Ce,303,0,[Vee,Wee,aL])))}function klt(){klt=Y,yNt=yn((gj(),Z(X(MSe,1),Ce,351,0,[LSe,q$,Iee])))}function xlt(){xlt=Y,TNt=yn((Gb(),Z(X(SNt,1),Ce,452,0,[Fee,Yk,JE])))}function Nlt(){Nlt=Y,RIt=yn((Lo(),Z(X(IIt,1),Ce,455,0,[VI,Cu,Fa])))}function Clt(){Clt=Y,OIt=yn((Ij(),Z(X(s_e,1),Ce,382,0,[i_e,Bte,o_e])))}function Ilt(){Ilt=Y,DIt=yn((Q3(),Z(X(a_e,1),Ce,349,0,[Hte,Ute,SL])))}function Rlt(){Rlt=Y,LIt=yn((I_(),Z(X(c_e,1),Ce,350,0,[zte,u_e,WI])))}function Olt(){Olt=Y,MIt=yn((pj(),Z(X(f_e,1),Ce,352,0,[d_e,Gte,l_e])))}function Dlt(){Dlt=Y,PIt=yn((Rj(),Z(X(h_e,1),Ce,383,0,[qte,ax,tv])))}function Llt(){Llt=Y,AIt=yn((eC(),Z(X(WAe,1),Ce,353,0,[Rte,VAe,TB])))}function Mlt(){Mlt=Y,BRt=yn((Nj(),Z(X(Ske,1),Ce,304,0,[wne,Eke,vke])))}function Plt(){Plt=Y,URt=yn((Jj(),Z(X(Tke,1),Ce,441,0,[r4,HB,yne])))}function jlt(){jlt=Y,yOt=yn((D6(),Z(X(Dne,1),Ce,440,0,[VB,WB,KB])))}function Flt(){Flt=Y,gOt=yn((nj(),Z(X(Wke,1),Ce,434,0,[Rne,Vke,qke])))}function $lt(){$lt=Y,bOt=yn(($j(),Z(X(Jke,1),Ce,435,0,[Kke,Yke,One])))}function Blt(){Blt=Y,pNt=yn((S0(),Z(X(vee,1),Ce,369,0,[Z0,P1,X0])))}function Ult(){Ult=Y,B4t=yn((X3(),Z(X(I_e,1),Ce,386,0,[C_e,Kte,_L])))}function Hlt(){Hlt=Y,yRt=yn((C6(),Z(X(ike,1),Ce,387,0,[$B,nke,rke])))}function zlt(){zlt=Y,VRt=yn((qj(),Z(X(kke,1),Ce,388,0,[_ke,kne,Ake])))}function Glt(){Glt=Y,Z6t=yn((fp(),Z(X(PNe,1),Ce,348,0,[aU,Cg,v4])))}function qlt(){qlt=Y,K6t=yn((Kd(),Z(X(ANe,1),Ce,281,0,[wx,dv,yx])))}function Vlt(){Vlt=Y,hDt=yn((GS(),Z(X(qNe,1),Ce,283,0,[GNe,hv,hU])))}function Wlt(){Wlt=Y,lDt=yn((z3(),Z(X(HNe,1),Ce,301,0,[WL,Sre,UNe])))}function QP(){QP=Y,CSe=new vle("QUADRATIC",0),Cee=new vle("SCANLINE",1)}function i6(e){return!e.g&&(e.g=new b9),!e.g.c&&(e.g.c=new $Xe(e)),e.g.c}function Qln(e){return!e.g&&(e.g=new b9),!e.g.b&&(e.g.b=new PXe(e)),e.g.b}function edn(e){return!e.g&&(e.g=new b9),!e.g.d&&(e.g.d=new jXe(e)),e.g.d}function tdn(e){return!e.g&&(e.g=new b9),!e.g.a&&(e.g.a=new FXe(e)),e.g.a}function ppe(e,t){var r,o;return r=t,o=xP(ZA(new nK(e,r))),nP(new nK(e,r)),o}function ndn(e,t,r,o){return r&&(o=r.Oh(t,Ur(r.Ah(),e.c.sk()),null,o)),o}function rdn(e,t,r,o){return r&&(o=r.Qh(t,Ur(r.Ah(),e.c.sk()),null,o)),o}function WW(e,t,r,o){var s;return s=me(Rn,Xn,30,t+1,15,1),kAn(s,e,t,r,o),s}function me(e,t,r,o,s,u){var f;return f=I1t(s,o),s!=10&&Z(X(e,u),t,r,s,f),f}function idn(e,t,r){var o,s;for(s=new T_(t,e),o=0;o<r;++o)o7(s);return s}function KW(e,t,r){var o,s;if(r!=null)for(o=0;o<t;++o)s=r[o],e.Oi(o,s)}function gpe(e,t){var r;return r=new Xt,r.c=!0,r.d=t.kd(),Hvt(e,t.jd(),r)}function odn(e,t){var r;r=e.q.getHours()+(t/3600|0),e.q.setSeconds(t),CC(e,r)}function Gc(e,t){return!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),iY(e.o,t)}function bpe(e,t,r){l(e.b,68),l(e.b,68),l(e.b,68),Oa(e.a,new Fit(r,t,e))}function sdn(e,t,r,o){Byt(e,t,r,tk(e,t,o,se(t,104)&&(l(t,20).Bb&xo)!=0))}function no(e,t,r){if(e<0||t>r||t<e)throw K(new Bce(iF+e+iwe+t+twe+r))}function Klt(e,t,r){this.d=new R9,this.c=new hn,this.a=e,this.e=t,this.c=r}function YW(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new Pe)}function JW(e,t){Q9.call(this,e,t),this.a=me(T3n,Q7,443,2,0,1),this.b=!0}function mpe(e){spt.call(this,e,0),Nrt(this),this.d.b=this.d,this.d.a=this.d}function wpe(e){this.e=e,this.b=this.e.a.entries(),this.a=me(Ci,Rt,1,0,5,1)}function Ylt(){Ylt=Y,UIt=Ca(Fn(new ui,(Vi(),id),(Xi(),gee)),$o,AT)}function adn(){return T7(),Z(X(BSe,1),Ce,286,0,[Bee,$ee,Hee,Uee,zee,W$])}function udn(){return V6(),Z(X(WSe,1),Ce,284,0,[Y$,GSe,VSe,zSe,qSe,Gee])}function cdn(){return V_(),Z(X(QSe,1),Ce,285,0,[_I,YSe,ZSe,XSe,JSe,KSe])}function ldn(){return ZS(),Z(X(Kk,1),Ce,233,0,[Wk,TI,Vk,Hy,YE,KE])}function ddn(){return E7(),Z(X(INe,1),Ce,328,0,[Ere,xNe,CNe,_Ne,NNe,kNe])}function fdn(){return Jb(),Z(X(are,1),Ce,300,0,[sre,g4,p4,ore,f4,h4])}function hdn(){return mh(),Z(X(Oxe,1),Ce,259,0,[rre,ML,PL,eU,ZB,QB])}function pdn(){return qi(),Z(X($Ne,1),Ce,103,0,[W1,pf,Ex,Tm,Oh,fa])}function gdn(){return ku(),Z(X(uU,1),Ce,282,0,[K1,Cp,VL,A4,T4,VT])}function ype(e){var t;return!e.a&&e.b!=-1&&(t=e.c.Ah(),e.a=Nt(t,e.b)),e.a}function Tn(e,t){return e.Qi()&&e.Gc(t)?!1:(e.Fi(t),!0)}function Ed(e,t){return WO(t,"Horizontal alignment cannot be null"),e.b=t,e}function Jlt(e,t,r){fr();var o;return o=k1(e,t),r&&o&&Csn(e)&&(o=null),o}function vpe(e,t,r){var o;o=e.b[r.c.p][r.p],o.b+=t.b,o.c+=t.c,o.a+=t.a,++o.a}function Epe(e,t,r){var o;e.d[t.g]=r,o=e.g.c,o[t.g]=b.Math.max(o[t.g],r+1)}function f1(e,t){var r,o;return r=e.a-t.a,o=e.b-t.b,b.Math.sqrt(r*r+o*o)}function Spe(e,t){var r,o;for(o=t.Jc();o.Ob();)r=l(o.Pb(),37),hyt(e,r,0,0)}function sg(e,t,r){var o,s;for(s=e.Jc();s.Ob();)o=l(s.Pb(),37),Q_(o,t,r)}function bdn(e){var t,r;for(r=An(e.a,0);r.b!=r.d.c;)t=l(Sn(r),65),nme(t)}function Xlt(e,t){return Het(e.e,t)||Kb(e.e,t,new e1t(t)),l(Wd(e.e,t),114)}function Pu(e,t,r,o){return Mt(e),Mt(t),Mt(r),Mt(o),new Kfe(e,t,new tr)}function pu(e,t,r,o){this.$j(),this.a=t,this.b=e,this.c=new Gfe(this,t,r,o)}function XW(e,t,r,o,s,u){Hhe.call(this,t,o,s,u),this.c=e,this.b=r}function o6(e,t,r,o,s,u){Hhe.call(this,t,o,s,u),this.c=e,this.a=r}function s6(e,t){var r,o,s;return s=e.r,o=e.d,r=OC(e,t,!0),r.b!=s||r.a!=o}function a6(e,t,r){var o,s;return s=(o=K_(e.b,t),o),s?W7(d6(e,s),r):null}function mdn(e,t,r){var o,s,u;o=rp(e,r),s=null,o&&(s=Bbe(o)),u=s,Jgt(t,r,u)}function wdn(e,t,r){var o,s,u;o=rp(e,r),s=null,o&&(s=Bbe(o)),u=s,Jgt(t,r,u)}function ydn(e,t){var r;return r=Ut(e.k,t),Ome(e,t),bJ(e,t),Sme(e,t,r),null}function h_(e,t){var r;return r=e.Fh(t),r>=0?e.Ih(r,!0,!0):R0(e,t,!0)}function vdn(e,t){return yr(ue(ce(j(e,(Ie(),tw)))),ue(ce(j(t,tw))))}function Tpe(e,t){N8.call(this,t.xd(),t.wd()&-16449),Mt(e),this.a=e,this.c=t}function Ape(e,t,r,o,s){Vnt(this),this.b=e,this.d=t,this.f=r,this.g=o,this.c=s}function Ra(e){aV(this),BO(e>=0,"Initial capacity must not be negative")}function FS(e){var t;return xn(e),se(e,206)?(t=l(e,206),t):new mKe(e)}function Edn(e){for(;!e.a;)if(!kit(e.c,new VKe(e)))return!1;return!0}function Sdn(e){var t;if(!e.a)throw K(new Vst);return t=e.a,e.a=Br(e.a),t}function Tdn(e){if(e.b<=0)throw K(new ys);return--e.b,e.a-=e.c.c,Re(e.a)}function _pe(e,t){if(e.g==null||t>=e.i)throw K(new tV(t,e.i));return e.g[t]}function Zlt(e,t,r){if(N_(e,r),r!=null&&!e.dk(r))throw K(new WG);return r}function Adn(e,t,r){var o;return o=ept(e,t,r),e.b=new kj(o.c.length),Bme(e,o)}function Qlt(e){var t;if(e.ll())for(t=e.i-1;t>=0;--t)ie(e,t);return qhe(e)}function _dn(e){ej(),l(e.mf((_n(),uv)),185).Ec((ku(),VL)),e.of(bre,null)}function ej(){ej=Y,u6t=new Kze,l6t=new Yze,c6t=$hn((_n(),bre),u6t,G1,l6t)}function edt(){edt=Y,z7(),P3e=Kr,vLt=Oi,j3e=new XR(Kr),ELt=new XR(Oi)}function tj(){tj=Y,eke=new Dle("LEAF_NUMBER",0),hne=new Dle("NODE_SIZE",1)}function ZW(e){e.a=me(Rn,Xn,30,e.b+1,15,1),e.c=me(Rn,Xn,30,e.b,15,1),e.d=0}function kdn(e,t){e.a.Le(t.d,e.b)>0&&(je(e.c,new Efe(t.c,t.d,e.d)),e.b=t.d)}function p_(e,t,r,o){var s;o=(f0(),o||n2e),s=e.slice(t,r),Jbe(s,e,t,r,-t,o)}function qc(e,t,r,o,s){return t<0?R0(e,r,o):l(r,69).uk().wk(e,e.ei(),t,o,s)}function tdt(e,t){var r,o;return o=t/e.c.Pd().gc()|0,r=t%e.c.Pd().gc(),jS(e,o,r)}function kpe(e){var t,r;if(!e.b)return null;for(r=e.b;t=r.a[0];)r=t;return r}function ndt(e){var t,r;if(!e.b)return null;for(r=e.b;t=r.a[1];)r=t;return r}function xdn(e){return se(e,183)?""+l(e,183).a:e==null?null:bs(e)}function Ndn(e){return se(e,183)?""+l(e,183).a:e==null?null:bs(e)}function rdt(e,t){if(t.a)throw K(new vs(f2t));pi(e.a,t),t.a=e,!e.j&&(e.j=t)}function _u(){_u=Y,Vf=new _q(dT,0),L1=new _q(hk,1),nd=new _q(fT,2)}function g_(){g_=Y,qQ=new n8("All",0),VQ=new Ont,WQ=new Gnt,KQ=new Dnt}function idt(){idt=Y,Z_t=yn((g_(),Z(X(f$,1),Ce,310,0,[qQ,VQ,WQ,KQ])))}function odt(){odt=Y,Ukt=yn((T0(),Z(X(Bkt,1),Ce,414,0,[ZD,XD,QQ,eee])))}function sdt(){sdt=Y,Rxt=yn((__(),Z(X(Ixt,1),Ce,413,0,[J0,Fy,jy,qE])))}function adt(){adt=Y,jxt=yn((WS(),Z(X(M2e,1),Ce,384,0,[vI,L2e,dee,fee])))}function udt(){udt=Y,Jxt=yn((Dj(),Z(X(Yxt,1),Ce,368,0,[wee,$$,B$,rL])))}function cdt(){cdt=Y,aNt=yn((Xl(),Z(X(sNt,1),Ce,418,0,[Uy,Gk,qk,yee])))}function ldt(){ldt=Y,t4t=yn((Vb(),Z(X(e4t,1),Ce,409,0,[TL,KI,NB,xB])))}function ddt(){ddt=Y,_It=yn((my(),Z(X(Dte,1),Ce,205,0,[AB,Ote,a2,s2])))}function fdt(){fdt=Y,NIt=yn((pp(),Z(X(n_e,1),Ce,270,0,[B1,t_e,Pte,jte])))}function hdt(){hdt=Y,wNt=yn((aC(),Z(X(DSe,1),Ce,302,0,[AI,RSe,oL,OSe])))}function pdt(){pdt=Y,cRt=yn((Z3(),Z(X(J_e,1),Ce,354,0,[sne,jB,one,ine])))}function gdt(){gdt=Y,$Rt=yn((c7(),Z(X(yke,1),Ce,355,0,[mne,mke,wke,bke])))}function bdt(){bdt=Y,zRt=yn((v7(),Z(X(HRt,1),Ce,406,0,[Tne,vne,Sne,Ene])))}function mdt(){mdt=Y,F4t=yn((KS(),Z(X(w_e,1),Ce,402,0,[OB,XI,ZI,QI])))}function wdt(){wdt=Y,GOt=yn((h7(),Z(X(Txe,1),Ce,396,0,[Gne,qne,Vne,Wne])))}function ydt(){ydt=Y,W6t=yn((R_(),Z(X(TNe,1),Ce,280,0,[UL,sU,ENe,SNe])))}function vdt(){vdt=Y,Y6t=yn((hp(),Z(X(vre,1),Ce,225,0,[yre,HL,vx,qT])))}function Edt(){Edt=Y,eDt=yn((vc(),Z(X(Q6t,1),Ce,293,0,[GL,Ih,q1,zL])))}function Sdt(){Sdt=Y,pDt=yn((zP(),Z(X(ZL,1),Ce,290,0,[VNe,KNe,Are,WNe])))}function Tdt(){Tdt=Y,dDt=yn((oc(),Z(X(_4,1),Ce,381,0,[YL,Am,KL,fv])))}function Adt(){Adt=Y,gDt=yn((Vj(),Z(X(ZNe,1),Ce,327,0,[_re,YNe,XNe,JNe])))}function _dt(){_dt=Y,wDt=yn((Lj(),Z(X(mDt,1),Ce,412,0,[kre,e3e,QNe,t3e])))}function u6(){u6=Y,USe=new Sle(_d,0),K$=new Sle("IMPROVE_STRAIGHTNESS",1)}function nj(){nj=Y,Rne=new Wq(RSt,0),Vke=new Wq(qye,1),qke=new Wq(_d,2)}function xpe(e){var t;if(!gK(e))throw K(new ys);return e.e=1,t=e.d,e.d=null,t}function ag(e){var t;return ps(e)&&(t=0-e,!isNaN(t))?t:p1(k_(e))}function As(e,t,r){for(;r<e.c.length;++r)if(ia(t,e.c[r]))return r;return-1}function Xa(e,t){var r;return r=As(e,t,0),r==-1?!1:(og(e,r),!0)}function kdt(e,t){var r;return r=l(PS(e.e,t),395),r?(Afe(r),r.e):null}function Cdn(e,t,r,o,s){return Mt(e),Mt(t),Mt(r),Mt(o),Mt(s),new Kfe(e,t,o)}function xdt(e){Uw(!!e.c),NV(e.f.g,e.d),e.c.Qb(),e.c=null,e.b=gge(e),e.d=e.f.g}function c6(e){var t;for(t=e.p+1;t<e.c.a.c.length;++t)--l(He(e.c.a,t),9).p}function QW(e){var t;t=e.hj(),t!=null&&e.d!=-1&&l(t,95).uh(e),e.i&&e.i.mj()}function Idn(e){var t;return u1(e),t=me(Ki,Wo,30,0,15,1),Wv(e.a,new zKe(t)),t}function Ndt(e,t,r){var o;return u1(e),o=new Hi,o.a=t,e.a.Nb(new Ket(o,r)),o.a}function eK(e,t){return p6(t)!=10&&Z(nc(t),t.Qm,t.__elementTypeId$,p6(t),e),e}function tK(e){var t,r;return r=l(He(e.j,0),12),t=l(j(r,(Ie(),mr)),12),t}function nK(e,t){var r;this.f=e,this.b=t,r=l(Ut(e.b,t),263),this.c=r?r.b:null}function Cdt(){hc(),this.b=new hn,this.f=new hn,this.g=new hn,this.e=new hn}function rj(e){O8(this),this.g=e?CP(e,e.ge()):null,this.f=e,AP(this),this.he()}function ap(e,t,r,o,s,u,f){fK.call(this,t,o,s,u,f),this.c=e,this.b=r}function l6(e,t){if(t<0)throw K(new Na(JSt+t));return pct(e,t+1),He(e.j,t)}function ij(e,t){return ia(t,He(e.f,0))||ia(t,He(e.f,1))||ia(t,He(e.f,2))}function Rdn(e,t){return new OV(t,zw(So(t.e),t.f.a+e,t.f.b+e),(Lt(),!1))}function Odn(e,t){return XA(),je(e,new ko(t,Re(t.e.c.length+t.g.c.length)))}function Ddn(e,t){return XA(),je(e,new ko(t,Re(t.e.c.length+t.g.c.length)))}function Npe(e,t){VN();var r,o;return r=LS(e),o=LS(t),!!r&&!!o&&!o1t(r.k,o.k)}function d6(e,t){var r,o;return r=l(t,687),o=r.ui(),!o&&r.xi(o=new snt(e,t)),o}function es(e,t){var r,o;return r=l(t,689),o=r.Yk(),!o&&r.al(o=new jut(e,t)),o}function f6(e){Tot();var t,r;return t=e+128,r=UEe[t],!r&&(r=UEe[t]=new LKe(e)),r}function ju(e){return e.b||(e.b=new zot(e,Uo,e),!e.a&&(e.a=new DO(e,e))),e.b}function Idt(e){return NV(e.d.a.e.g,e.b),un(e.c!=e.d.a.d),e.a=e.c,e.c=e.c.a,e.a}function oj(e){var t,r;return r=e.length,t=me(al,$f,30,r,15,1),gst(e,0,r,t,0),t}function Rdt(e,t){for(;t[0]<e.length&&xf(` \r
|
||
`,Qa(uo(e,t[0])))>=0;)++t[0]}function Odt(e,t){h2e=new qm,Hkt=t,mI=e,l(mI.b,68),bpe(mI,h2e,null),yvt(mI)}function U3(){U3=Y,oee=new xq("XY",0),iee=new xq("X",1),see=new xq("Y",2)}function Za(){Za=Y,Nd=new kq("TOP",0),M1=new kq(hk,1),rd=new kq(cwe,2)}function up(){up=Y,cL=new Dq(_d,0),ZE=new Dq("TOP",1),_T=new Dq(cwe,2)}function h6(){h6=Y,Fte=new _le("INPUT_ORDER",0),$te=new _le("PORT_DEGREE",1)}function b_(){b_=Y,jEe=Ua(Uu,Uu,524287),P_t=Ua(0,0,yD),FEe=HW(1),HW(2),$Ee=HW(0)}function Cpe(e){var t;return t=BS(qt(e,32)),t==null&&(Ha(e),t=BS(qt(e,32))),t}function Ipe(e){var t;return e.Lh()||(t=ln(e.Ah())-e.gi(),e.Xh().Kk(t)),e.wh()}function Ddt(e){(this.q?this.q:(St(),St(),kh)).zc(e.q?e.q:(St(),St(),kh))}function Ldt(e,t){ya(e,t==null||G8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Mdt(e,t){gu(e,t==null||G8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Pdt(e,t){Bb(e,t==null||G8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function jdt(e,t){$b(e,t==null||G8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Ldn(e,t){SS(l(l(e.f,19).mf((_n(),gx)),103))&&lgt(dhe(l(e.f,19)),t)}function rK(e,t){var r;return r=Ur(e.d,t),r>=0?i7(e,r,!0,!0):R0(e,t,!0)}function sj(e,t){var r;return r=e.bd(t),r>=0?(e.ed(r),!0):!1}function iK(e,t,r){var o;return o=e.g[t],g3(e,t,e.Xi(t,r)),e.Pi(t,r,o),e.Li(),o}function oK(e){var t;return e.d!=e.r&&(t=Sl(e),e.e=!!t&&t.jk()==PAt,e.d=t),e.e}function sK(e,t){var r;for(xn(e),xn(t),r=!1;t.Ob();)r=r|e.Ec(t.Pb());return r}function gs(e,t){var r,o;return y1(e),o=new lpe(t,e.a),r=new Nit(o),new yt(e,r)}function Wd(e,t){var r;return r=l(Ut(e.e,t),395),r?(trt(e,r),r.e):null}function Mdn(e,t){var r,o,s;s=t.c.i,r=l(Ut(e.f,s),60),o=r.d.c-r.e.c,uge(t.a,o,0)}function bh(e,t,r){var o,s;for(o=10,s=0;s<r-1;s++)t<o&&(e.a+="0"),o*=10;e.a+=t}function Rpe(e,t){var r;for(++e.d,++e.c[t],r=t+1;r<e.a.length;)++e.a[r],r+=r&-r}function aK(e){var t;return t=e.b.c.length==0?null:He(e.b,0),t!=null&&bK(e,0),t}function Pdn(e){switch(e.g){case 0:return sr;case 1:return Zi;default:return 0}}function jdn(e){return nbe(e,(b_(),$Ee))<0?-_tn(k_(e)):e.l+e.m*lT+e.h*em}function Fdt(e){var t,r;return t=e/60|0,r=e%60,r==0?""+t:""+t+":"+(""+r)}function sy(e,t){var r=e.a[t],o=(RK(),$Q)[typeof r];return o?o(r):qge(typeof r)}function Fdn(e,t){return se(t,104)&&l(t,20).Bb&xo?new nV(t,e):new T_(t,e)}function $dn(e,t){return se(t,104)&&l(t,20).Bb&xo?new nV(t,e):new T_(t,e)}function Bdn(e,t,r){return mS(new Le(r.e.a+r.f.a/2,r.e.b+r.f.b/2),e)==(Mt(t),t)}function Ope(e){if(!e.c)throw K(new ys);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function $dt(e){if(!e.e)throw K(new ys);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function Bdt(e,t,r,o){if(!e)throw K(new jt(kC(t,Z(X(Ci,1),Rt,1,5,[r,o]))))}function Udt(){Udt=Y,oDt=yn((Ue(),Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt])))}function Hdt(){Hdt=Y,V6t=yn((vi(),Z(X(w4,1),Ce,87,0,[hf,cs,is,ff,il])))}function zdt(){zdt=Y,kxt=yn((Vi(),Z(X(O2e,1),Ce,364,0,[id,xh,la,da,$o])))}function H3(){H3=Y,Lxt=new nG,Mxt=new i9,Oxt=new rG,Dxt=new iG,Pxt=new oG}function aj(){aj=Y,tee=new gle("EADES",0),b$=new gle("FRUCHTERMAN_REINGOLD",1)}function Gdt(e){this.g=e,this.f=new Pe,this.a=b.Math.min(this.g.c.c,this.g.d.c)}function qdt(e,t,r,o){fr(),Wm.call(this,26),this.c=e,this.a=t,this.d=r,this.b=o}function Udn(e,t){var r,o;for(o=t.c,r=o+1;r<=t.f;r++)e.a[r]>e.a[o]&&(o=r);return o}function Vdt(e){var t;for(++e.a,t=e.c.a.length;e.a<t;++e.a)if(e.c.b[e.a])return}function Hdn(e,t){var r;return r=_0(e.e.c,t.e.c),r==0?yr(e.e.d,t.e.d):r}function Wdt(e){var t;return t=l(j(e,(Ie(),Q0)),318),t?t.a==e:!1}function Kdt(e){var t;return t=l(j(e,(Ie(),Q0)),318),t?t.i==e:!1}function Ydt(e,t){return t==(xV(),xV(),Y_t)?e.toLocaleLowerCase():e.toLowerCase()}function p6(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function zdn(e){var t,r;if(e.a){r=null;do t=e.a,e.a=null,r=fmt(t,r);while(e.a);e.a=r}}function Gdn(e){var t,r;if(e.b){r=null;do t=e.b,e.b=null,r=fmt(t,r);while(e.b);e.b=r}}function qdn(e,t){var r;for(r=0;e.e!=e.i.gc();)usn(t,rn(e),Re(r)),r!=sr&&++r}function uK(e,t){var r;return r=l(Ut(e.a,t),151),r||(r=new X2,Yn(e.a,t,r)),r}function Vdn(e,t,r){var o;return o=e.a.e[l(t.a,9).p]-e.a.e[l(r.a,9).p],po(HO(o))}function Nt(e,t){var r;return r=(e.i==null&&jf(e),e.i),t>=0&&t<r.length?r[t]:null}function Dpe(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(ep(e),e.o)}function uj(e){return va(e,sr)>0?sr:va(e,Zi)<0?Zi:On(e)}function Kl(e,t,r){var o;if(t==null)throw K(new tS);return o=rp(e,t),uln(e,t,r),o}function Jdt(e,t){return Mt(t),Ufe(e),e.d.Ob()?(t.Ad(e.d.Pb()),!0):!1}function Xdt(e){this.b=new Pe,this.a=new Pe,this.c=new Pe,this.d=new Pe,this.e=e}function Zdt(e,t,r){H8.call(this),Lpe(this),this.a=e,this.c=r,this.b=t.d,this.f=t.e}function Wdn(){return Ht(),Z(X(hee,1),Ce,252,0,[Xr,gi,mi,Aa,ta,af,tL,EI])}function Qdt(){Qdt=Y,nDt=yn((vE(),Z(X(S4,1),Ce,260,0,[V1,qL,jNe,E4,FNe])))}function eft(){eft=Y,d6t=yn((Jd(),Z(X(cf,1),Ce,161,0,[xt,ri,Rd,Ng,kp])))}function tft(){tft=Y,cNt=yn((wy(),Z(X(uNt,1),Ce,372,0,[iL,z$,G$,H$,U$])))}function nft(){nft=Y,mRt=yn((w7(),Z(X(bRt,1),Ce,365,0,[dne,une,fne,cne,lne])))}function rft(){rft=Y,MNt=yn((rc(),Z(X(gTe,1),Ce,166,0,[hL,RI,Ap,OI,hm])))}function ift(){ift=Y,kIt=yn((lC(),Z(X(YAe,1),Ce,329,0,[KAe,Lte,Mte,zI,GI])))}function oft(){oft=Y,wOt=yn((TC(),Z(X(mOt,1),Ce,370,0,[f2,FT,c4,u4,OL])))}function sft(){sft=Y,AOt=yn((K6(),Z(X(nxe,1),Ce,331,0,[Qke,jne,txe,Fne,exe])))}function Kdn(){return F7(),Z(X(NSe,1),Ce,277,0,[See,_ee,Eee,Nee,Aee,Tee,xee,kee])}function Ydn(){return A1(),Z(X(f6t,1),Ce,287,0,[Cxe,Ai,wo,BT,Qi,$r,$T,lf])}function Jdn(){return iT(),Z(X(iM,1),Ce,235,0,[Ire,mU,rM,nM,Cre,bU,gU,Nre])}function Xdn(e,t){return $S(),-na(l(j(e,(Ps(),c2)),15).a,l(j(t,c2),15).a)}function Zdn(e,t,r,o){var s;e.j=-1,cme(e,Ube(e,t,r),(Oo(),s=l(t,69).tk(),s.vl(o)))}function Qdn(e,t,r){var o,s;for(s=new V(r);s.a<s.c.c.length;)o=q(s),ybe(e,t,o)}function ts(e){var t,r;r=(t=new ZG,t),Tn((!e.q&&(e.q=new xe(Dl,e,11,10)),e.q),r)}function efn(e,t){var r;return r=t>0?t-1:t,yQe(RQt(kft(vfe(new iS,r),e.n),e.j),e.k)}function cj(e,t){var r;return y1(e),r=new dat(e,e.a.xd(),e.a.wd()|4,t),new yt(e,r)}function tfn(e,t){var r,o;return r=l(hy(e.d,t),18),r?(o=t,e.e.pc(o,r)):null}function aft(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(D9(),LQ)}function m0(e){if(e<0)throw K(new jt("Illegal Capacity: "+e));this.g=this.$i(e)}function nfn(e,t){if(0>e||e>t)throw K(new Uce("fromIndex: 0, toIndex: "+e+twe+t))}function uft(e,t){return!!W3(e,t,On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15))))}function rfn(e,t){SS(l(j(l(e.e,9),(Be(),Zr)),103))&&(St(),_i(l(e.e,9).j,t))}function ifn(e){var t;return t=ue(ce(j(e,(Be(),Ag)))),t<0&&(t=0,Ae(e,Ag,t)),t}function lj(e,t){var r,o;for(o=e.Jc();o.Ob();)r=l(o.Pb(),70),Ae(r,(Ie(),IT),t)}function ofn(e,t,r){var o;o=b.Math.max(0,e.b/2-.5),hC(r,o,1),je(t,new Qet(r,o))}function cft(e,t,r,o,s,u){var f;f=GW(o),go(f,s),Yi(f,u),wt(e.a,o,new V8(f,t,r.f))}function lft(e,t){Vn(e,(yh(),_ne),t.f),Vn(e,qRt,t.e),Vn(e,Ane,t.d),Vn(e,GRt,t.c)}function cK(e){var t;Uw(!!e.c),t=e.c.a,Vc(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function dft(e){return e.a>=-.01&&e.a<=nf&&(e.a=0),e.b>=-.01&&e.b<=nf&&(e.b=0),e}function hE(e){X_();var t,r;for(r=Kye,t=0;t<e.length;t++)e[t]>r&&(r=e[t]);return r}function fft(e,t){var r;if(r=nD(e.Ah(),t),!r)throw K(new jt(R1+t+ZZ));return r}function ay(e,t){var r;for(r=e;Br(r);)if(r=Br(r),r==t)return!0;return!1}function sfn(e,t){return t&&e.b[t.g]==t?(ii(e.b,t.g,null),--e.c,!0):!1}function Vc(e,t){var r;return r=t.c,t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,r}function Oa(e,t){var r,o,s,u;for(Mt(t),o=e.c,s=0,u=o.length;s<u;++s)r=o[s],t.Ad(r)}function afn(e,t){var r,o,s;for(o=t.a.jd(),r=l(t.a.kd(),18).gc(),s=0;s<r;s++)e.Ad(o)}function ufn(e){var t,r;for(t=e.a.d.j,r=e.c.d.j;t!=r;)Jl(e.b,t),t=Uj(t);Jl(e.b,t)}function cfn(e){var t;for(t=0;t<e.c.length;t++)(at(t,e.c.length),l(e.c[t],12)).p=t}function lfn(e,t,r){var o,s,u;for(s=t[r],o=0;o<s.length;o++)u=s[o],e.e[u.c.p][u.p]=o}function lK(e,t){var r,o,s,u;for(o=e.d,s=0,u=o.length;s<u;++s)r=o[s],Hd(e.g,r).a=t}function hft(e,t,r){var o,s;o=t;do s=ue(e.p[o.p])+r,e.p[o.p]=s,o=e.a[o.p];while(o!=t)}function dfn(e){var t;return t=b.Math.sqrt(e.a*e.a+e.b*e.b),t>0&&(e.a/=t,e.b/=t),e}function dj(e){this.b=(xn(e),new Tu(e)),this.a=new Pe,this.d=new Pe,this.e=new to}function Lpe(e){e.b=(_u(),L1),e.f=(Za(),M1),e.d=(wc(2,Cy),new Ra(2)),e.e=new to}function pft(){pft=Y,p$=(Sd(),Z(X(Py,1),Ce,240,0,[$s,ja,Bs])).length,XQ=p$}function Sd(){Sd=Y,$s=new Aq("BEGIN",0),ja=new Aq(hk,1),Bs=new Aq("END",2)}function Kd(){Kd=Y,wx=new Jq(hk,0),dv=new Jq("HEAD",1),yx=new Jq("TAIL",2)}function g6(){g6=Y,V$=new Ele("READING_DIRECTION",0),FSe=new Ele("ROTATION",1)}function b6(){b6=Y,ere=new Fle("DIRECT_ROUTING",0),Qne=new Fle("BEND_ROUTING",1)}function $S(){$S=Y,fRt=Mf(Mf(Mf(YN(new ui,(KS(),XI)),(xC(),Wte)),S_e),k_e)}function cp(){cp=Y,pRt=Mf(Mf(Mf(YN(new ui,(KS(),QI)),(xC(),A_e)),y_e),T_e)}function pE(e,t){return MQt(V3(e,t,On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15)))))}function Mpe(e,t){return Ud(),Yl(mg),b.Math.abs(e-t)<=mg||e==t||isNaN(e)&&isNaN(t)}function Ppe(e,t){return Ud(),Yl(mg),b.Math.abs(e-t)<=mg||e==t||isNaN(e)&&isNaN(t)}function mc(e){var t;return e.w?e.w:(t=Qun(e),t&&!t.Sh()&&(e.w=t),t)}function ffn(e){var t;return e==null?null:(t=l(e,198),own(t,t.length))}function ie(e,t){if(e.g==null||t>=e.i)throw K(new tV(t,e.i));return e.Ui(t,e.g[t])}function hfn(e,t){St();var r,o;for(o=new Pe,r=0;r<e;++r)Ot(o.c,t);return new dq(o)}function gft(e){return y1(e),AS(!0,"n may not be negative"),new yt(e,new jft(e.a))}function pfn(e,t){return S1(),na(e.b.c.length-e.e.c.length,t.b.c.length-t.e.c.length)}function m_(e,t){var r,o;o=e.a,r=Vpn(e,t,null),o!=t&&!e.e&&(r=ik(e,t,r)),r&&r.mj()}function gfn(e,t){var r;return r=Ri(So(l(Ut(e.g,t),8)),tde(l(Ut(e.f,t),463).b)),r}function bft(e,t,r){var o=function(){return e.apply(o,arguments)};return t.apply(o,r),o}function BS(e){var t;return v3(e==null||Array.isArray(e)&&(t=p6(e),!(t>=14&&t<=16))),e}function mft(){mft=Y,kNt=yn((V6(),Z(X(WSe,1),Ce,284,0,[Y$,GSe,VSe,zSe,qSe,Gee])))}function wft(){wft=Y,xNt=yn((V_(),Z(X(QSe,1),Ce,285,0,[_I,YSe,ZSe,XSe,JSe,KSe])))}function yft(){yft=Y,ANt=yn((T7(),Z(X(BSe,1),Ce,286,0,[Bee,$ee,Hee,Uee,zee,W$])))}function vft(){vft=Y,bNt=yn((ZS(),Z(X(Kk,1),Ce,233,0,[Wk,TI,Vk,Hy,YE,KE])))}function Eft(){Eft=Y,J6t=yn((E7(),Z(X(INe,1),Ce,328,0,[Ere,xNe,CNe,_Ne,NNe,kNe])))}function Sft(){Sft=Y,v6t=yn((Jb(),Z(X(are,1),Ce,300,0,[sre,g4,p4,ore,f4,h4])))}function Tft(){Tft=Y,p6t=yn((mh(),Z(X(Oxe,1),Ce,259,0,[rre,ML,PL,eU,ZB,QB])))}function Aft(){Aft=Y,rDt=yn((qi(),Z(X($Ne,1),Ce,103,0,[W1,pf,Ex,Tm,Oh,fa])))}function _ft(){_ft=Y,iDt=yn((ku(),Z(X(uU,1),Ce,282,0,[K1,Cp,VL,A4,T4,VT])))}function bfn(){return Sy(),Z(X(Bo,1),Ce,96,0,[ad,Np,ud,ld,Rh,Il,xc,cd,Cl])}function z3(){z3=Y,WL=new Zq(Jve,0),Sre=new Zq("PARENT",1),UNe=new Zq("ROOT",2)}function kft(e,t){return e.n=t,e.n?(e.f=new Pe,e.e=new Pe):(e.f=null,e.e=null),e}function $b(e,t){var r;r=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,3,r,e.f))}function fj(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,1,r,e.b))}function w0(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,3,r,e.b))}function y0(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,4,r,e.c))}function Bb(e,t){var r;r=e.g,e.g=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,4,r,e.g))}function ya(e,t){var r;r=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,5,r,e.i))}function gu(e,t){var r;r=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,6,r,e.j))}function v0(e,t){var r;r=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,1,r,e.j))}function E0(e,t){var r;r=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,2,r,e.k))}function hj(e,t){var r;r=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&hr(e,new oy(e,0,r,e.a))}function ug(e,t){var r;r=e.s,e.s=t,e.Db&4&&!(e.Db&1)&&hr(e,new jW(e,4,r,e.s))}function uy(e,t){var r;r=e.t,e.t=t,e.Db&4&&!(e.Db&1)&&hr(e,new jW(e,5,r,e.t))}function dK(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&hr(e,new jW(e,2,r,e.d))}function w_(e,t){var r;r=e.F,e.F=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,5,r,t))}function m6(e,t){var r;return r=l(Ut((Z9(),wU),e),58),r?r.ek(t):me(Ci,Rt,1,t,5,1)}function lp(e,t){var r,o;return r=t in e.a,r&&(o=rp(e,t).pe(),o)?o.a:null}function mfn(e,t){var r,o,s;return r=(o=(e1(),s=new Iue,s),t&&Lme(o,t),o),Zpe(r,e),r}function xft(e,t,r){var o;return o=$_(r),Yn(e.c,o,t),Yn(e.d,t,r),Yn(e.e,t,ey(t)),t}function fn(e,t,r,o,s,u){var f;return f=sW(e,t),Cft(r,f),f.i=s?8:0,f.f=o,f.e=s,f.g=u,f}function jpe(e,t,r,o,s){this.d=t,this.k=o,this.f=s,this.o=-1,this.p=1,this.c=e,this.a=r}function Fpe(e,t,r,o,s){this.d=t,this.k=o,this.f=s,this.o=-1,this.p=2,this.c=e,this.a=r}function $pe(e,t,r,o,s){this.d=t,this.k=o,this.f=s,this.o=-1,this.p=6,this.c=e,this.a=r}function Bpe(e,t,r,o,s){this.d=t,this.k=o,this.f=s,this.o=-1,this.p=7,this.c=e,this.a=r}function Upe(e,t,r,o,s){this.d=t,this.j=o,this.e=s,this.o=-1,this.p=4,this.c=e,this.a=r}function Nft(e,t){var r,o,s,u;for(o=t,s=0,u=o.length;s<u;++s)r=o[s],rdt(e.a,r);return e}function Wc(e){var t,r,o,s;for(r=e,o=0,s=r.length;o<s;++o)t=r[o],xn(t);return new ynt(e)}function Hpe(e){var t;return t=Ri(So(e.d.d),e.c.d),z_(t,e.c.e.a,e.c.e.b),br(t,e.c.d)}function zpe(e){var t;return t=Ri(So(e.c.d),e.d.d),z_(t,e.d.e.a,e.d.e.b),br(t,e.d.d)}function wfn(e){var t=/function(?:\s+([\w$]+))?\s*\(/,r=t.exec(e);return r&&r[1]||JJ}function Cft(e,t){if(e){t.n=e;var r=nun(t);if(!r){o$[e]=[t];return}r.Pm=t}}function yfn(e,t,r){var o,s;return s=e.length,o=b.Math.min(r,s),ume(e,0,t,0,o,!0),t}function Ift(e,t,r){if(N_(e,r),!e.il()&&r!=null&&!e.dk(r))throw K(new WG);return r}function wn(e,t){var r;return Mt(t),r=e[":"+t],BO(!!r,"Enum constant undefined: "+t),r}function vfn(e,t){var r,o;return r=e.c,o=t.e[e.p],o>0?l(He(r.a,o-1),9):null}function Yl(e){if(!(e>=0))throw K(new jt("tolerance ("+e+") must be >= 0"));return e}function G3(){return tre||(tre=new tyt,bE(tre,Z(X(GE,1),Rt,139,0,[new Lue]))),tre}function pj(){pj=Y,d_e=new $q("NO",0),Gte=new $q(Swe,1),l_e=new $q("LOOK_BACK",2)}function gj(){gj=Y,LSe=new Cq("ARD",0),q$=new Cq("MSD",1),Iee=new Cq("MANUAL",2)}function Lo(){Lo=Y,VI=new Mq(HC,0),Cu=new Mq("INPUT",1),Fa=new Mq("OUTPUT",2)}function Efn(){return Q6(),Z(X(jSe,1),Ce,268,0,[Dee,PSe,Mee,Pee,Lee,jee,sL,Oee,Ree])}function Sfn(){return tD(),Z(X(qAe,1),Ce,269,0,[Ite,HAe,zAe,Nte,UAe,GAe,SB,xte,Cte])}function Tfn(){return Bu(),Z(X(zNe,1),Ce,267,0,[Sx,XL,cU,k4,lU,fU,dU,Tre,JL])}function qo(e,t,r){return Wb(e,t),Da(e,r),ug(e,0),uy(e,1),hg(e,!0),fg(e,!0),e}function Rft(e,t){var r;return se(t,45)?e.c.Kc(t):(r=iY(e,t),Xj(e,t),r)}function q3(e,t){var r,o,s,u;for(o=t,s=0,u=o.length;s<u;++s)r=o[s],Wr(e,r,e.c.b,e.c)}function Afn(){eet();for(var e=CQ,t=0;t<arguments.length;t++)e.push(arguments[t])}function _fn(e){var t,r,o,s;for(r=e.a,o=0,s=r.length;o<s;++o)t=r[o],bst(t,t.length,null)}function bj(e){var t,r;for(r=e.c.Bc().Jc();r.Ob();)t=l(r.Pb(),18),t.$b();e.c.$b(),e.d=0}function w6(e,t){var r;if(r=e.gc(),t<0||t>r)throw K(new Vw(t,r));return new efe(e,t)}function Oft(e,t){var r,o;for(r=0,o=e.gc();r<o;++r)if(ia(t,e.Xb(r)))return r;return-1}function Gpe(e){var t,r;if(e==0)return 32;for(r=0,t=1;!(t&e);t<<=1)++r;return r}function wc(e,t){if(e<0)throw K(new jt(t+" cannot be negative but was: "+e));return e}function kfn(e,t){t.Tg("Hierarchical port constraint processing",1),q1n(e),YNn(e),t.Ug()}function mj(e,t){e.b=b.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),je(e.a,t)}function Dft(e){Uw(e.c>=0),c1n(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function xfn(e){var t,r;for(r=new V(P1t(e));r.a<r.c.c.length;)t=l(q(r),692),t.Zf()}function Nfn(e,t){var r,o,s;s=t.c.i,r=l(Ut(e.f,s),60),o=r.d.c-r.e.c,Oa(t.b,new qYe(o))}function wj(e,t){return LQt(W3(e.a,t,On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15)))))}function Lft(e,t,r,o){this.$j(),this.a=t,this.b=e,this.c=null,this.c=new Tit(this,t,r,o)}function fK(e,t,r,o,s){this.d=e,this.n=t,this.g=r,this.o=o,this.p=-1,s||(this.o=-2-o-1)}function Mft(){pde.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=Tl}function Pft(e){ole(),this.g=new hn,this.f=new hn,this.b=new hn,this.c=new g0,this.i=e}function qpe(){this.f=new to,this.d=new kce,this.c=new to,this.a=new Pe,this.b=new Pe}function jft(e){N8.call(this,e.yd(64)?Qle(0,El(e.xd(),1)):bD,e.wd()),this.b=1,this.a=e}function Cfn(e,t){return $S(),l(j(t,(Ps(),c2)),15).a<e.gc()&&l(j(t,c2),15).a>=0}function Vpe(){Vpe=Y,GIt=Fn(Fn(Fn(new ui,(Vi(),id),(Xi(),VE)),xh,By),la,$y)}function Fft(){Fft=Y,qIt=Fn(Fn(Fn(new ui,(Vi(),id),(Xi(),VE)),xh,By),la,$y)}function Wpe(){Wpe=Y,VIt=Fn(Fn(Fn(new ui,(Vi(),id),(Xi(),VE)),xh,By),la,$y)}function $ft(){$ft=Y,WIt=Fn(Fn(Fn(new ui,(Vi(),id),(Xi(),VE)),xh,By),la,$y)}function Bft(){Bft=Y,KIt=Fn(Fn(Fn(new ui,(Vi(),id),(Xi(),VE)),xh,By),la,$y)}function Uft(){Uft=Y,YIt=Fn(Fn(Fn(new ui,(Vi(),id),(Xi(),VE)),xh,By),la,$y)}function Hft(){Hft=Y,ZIt=Ca(Fn(Fn(new ui,(Vi(),la),(Xi(),R$)),da,k$),$o,I$)}function zft(){zft=Y,j_t=Z(X(Rn,1),Xn,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Kpe(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,0,r,e.b))}function Ype(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,r,e.c))}function hK(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,4,r,e.c))}function Jpe(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,r,e.c))}function Xpe(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,r,e.d))}function y_(e,t){var r;r=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,2,r,e.k))}function pK(e,t){var r;r=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,2,r,e.D))}function yj(e,t){var r;r=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,8,r,e.f))}function vj(e,t){var r;r=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,7,r,e.i))}function Zpe(e,t){var r;r=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,8,r,e.a))}function Qpe(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,0,r,e.b))}function Ifn(e,t,r){var o;e.b=t,e.a=r,o=(e.a&512)==512?new jZe:new Due,e.c=bSn(o,e.b,e.a)}function Gft(e,t){return bp(e.e,t)?(Oo(),oK(t)?new eP(t,e):new AO(t,e)):new ont(t,e)}function Rfn(e){var t,r;return 0>e?new rle:(t=e+1,r=new Zct(t,e),new Dde(null,r))}function Ofn(e,t){St();var r;return r=new cS(1),zi(e)?Qo(r,e,t):eu(r.f,e,t),new zG(r)}function Dfn(e,t){var r;r=new qm,l(t.b,68),l(t.b,68),l(t.b,68),Oa(t.a,new ufe(e,r,t))}function qft(e,t){var r;return se(t,8)?(r=l(t,8),e.a==r.a&&e.b==r.b):!1}function Lfn(e){var t;return t=j(e,(Ie(),mr)),se(t,176)?pgt(l(t,176)):null}function Vft(e){var t;return e=b.Math.max(e,2),t=_ge(e),e>t?(t<<=1,t>0?t:jC):t}function gK(e){switch(dde(e.e!=3),e.e){case 2:return!1;case 0:return!0}return $ln(e)}function ege(e){var t;return e.b==null?(eg(),eg(),uM):(t=e.sl()?e.rl():e.ql(),t)}function Wft(e,t){var r,o;for(o=t.vc().Jc();o.Ob();)r=l(o.Pb(),45),G6(e,r.jd(),r.kd())}function tge(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,11,r,e.d))}function Ej(e,t){var r;r=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,13,r,e.j))}function nge(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,21,r,e.b))}function rge(e,t){e.r>0&&e.c<e.r&&(e.c+=t,e.i&&e.i.d>0&&e.g!=0&&rge(e.i,t/e.r*e.i.d))}function gE(e){var t;return NV(e.f.g,e.d),un(e.b),e.c=e.a,t=l(e.a.Pb(),45),e.b=gge(e),t}function Kft(e,t){var r;return r=t==null?-1:As(e.b,t,0),r<0?!1:(bK(e,r),!0)}function Jl(e,t){var r;return Mt(t),r=t.g,e.b[r]?!1:(ii(e.b,r,t),++e.c,!0)}function Sj(e,t){var r,o;return r=1-t,o=e.a[r],e.a[r]=o.a[t],o.a[t]=e,e.b=!0,o.b=!1,o}function bK(e,t){var r;r=og(e.b,e.b.c.length-1),t<e.b.c.length&&(tc(e.b,t,r),Omt(e,t))}function Mfn(e,t){(WP(),sf?null:t.c).length==0&&Yrt(t,new Dr),Qo(e.a,sf?null:t.c,t)}function Yft(e,t,r){var o,s,u;for(u=e.a.length-1,s=e.b,o=0;o<r;s=s+1&u,++o)ii(t,o,e.a[s])}function Pfn(e,t){typeof window===fD&&typeof window.$gwt===fD&&(window.$gwt[e]=t)}function jfn(e,t){ei(lr(new yt(null,new vt(new Yh(e.b),1)),new Ntt(e,t)),new Itt(e,t))}function h1(){h1=Y,TT=new cr(gwe),y$=new cr(D2t),yI=new cr(L2t),QD=new cr(M2t)}function v_(){v_=Y,nL=new yle("TO_INTERNAL_LTR",0),pee=new yle("TO_INPUT_DIRECTION",1)}function Tj(){Tj=Y,FB=new Ole("P1_NODE_PLACEMENT",0),d2=new Ole("P2_EDGE_ROUTING",1)}function S0(){S0=Y,Z0=new Nq("START",0),P1=new Nq("MIDDLE",1),X0=new Nq("END",2)}function Jft(e,t,r){Uhe.call(this,e,t,r),this.a=new hn,this.b=new hn,this.d=new fJe(this)}function Xft(e){Dfe.call(this),this.b=ue(ce(j(e,(Be(),od)))),this.a=l(j(e,_p),225)}function Ffn(e,t){var r,o;return r=l(j(e,(Be(),Xy)),8),o=l(j(t,Xy),8),yr(r.b,o.b)}function $fn(e,t){var r,o;o=new Pe,r=t;do Ot(o.c,r),r=l(Ut(e.k,r),17);while(r);return o}function mK(e,t,r){var o;return o=new Pe,jme(e,t,o,r,!0,!0),e.b=new kj(o.c.length),o}function Zft(e,t){var r;return r=l(Ut(e.c,t),459),r||(r=new bZe,r.c=t,Yn(e.c,r.c,r)),r}function wK(e,t){var r=e.a,o=0;for(var s in r)r.hasOwnProperty(s)&&(t[o++]=s);return t}function ige(e){var t,r;for(r=new en(e);r.e!=r.i.gc();)t=l(rn(r),19),ya(t,0),gu(t,0)}function Qft(e){var t,r;for(r=e.c.a.ec().Jc();r.Ob();)t=l(r.Pb(),221),XXt(t,new Qot(t.f))}function oge(e){var t,r;for(r=e.c.a.ec().Jc();r.Ob();)t=l(r.Pb(),221),ZXt(t,new Gbt(t.e))}function Ub(e,t){var r,o;for(r=e.Nc(),p_(r,0,r.length,t),o=0;o<r.length;o++)e.fd(o,r[o])}function Da(e,t){var r;r=e.zb,e.zb=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,r,e.zb))}function Jr(e,t){var r,o;r=(o=new XG,o),r.n=t,Tn((!e.s&&(e.s=new xe(au,e,21,17)),e.s),r)}function Lr(e,t){var r,o;o=(r=new Rde,r),o.n=t,Tn((!e.s&&(e.s=new xe(au,e,21,17)),e.s),o)}function yK(e,t){var r;return se(t,18)?(r=l(t,18),e.Fc(r)):sK(e,l(xn(t),22).Jc())}function Aj(e,t){var r;r=e.xb,e.xb=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,r,e.xb))}function _j(e,t){var r;r=e.yb,e.yb=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,2,r,e.yb))}function Bfn(e,t){t.Tg(J2t,1),ei(gs(new yt(null,new vt(e.b,16)),new TG),new l9),t.Ug()}function Ir(e){return zi(e)?cg(e):Bw(e)?gS(e):$w(e)?Jrt(e):Ffe(e)?e.Hb():Mfe(e)?o0(e):vhe(e)}function bo(e,t){var r,o,s;for(Mt(t),r=!1,s=t.Jc();s.Ob();)o=s.Pb(),r=r|e.Ec(o);return r}function eht(e){var t,r,o;for(t=0,o=e.Jc();o.Ob();)r=o.Pb(),t+=r!=null?Ir(r):0,t=~~t;return t}function tht(e){var t;return e==0?"UTC":(e<0?(e=-e,t="UTC+"):t="UTC-",t+Fdt(e))}function sge(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=JO(Gs(e.f))),e.c).e}function nht(e,t){t?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function oi(e,t,r,o,s,u,f,p,m,y,v,T,N){return kmt(e,t,r,o,s,u,f,p,m,y,v,T,N),XK(e,!1),e}function vK(e,t,r,o,s,u){var f;this.c=e,f=new Pe,H1e(e,f,t,e.b,r,o,s,u),this.a=new Ji(f,0)}function rht(){this.c=new B9(0),this.b=new B9(Wye),this.d=new B9(ESt),this.a=new B9(SSt)}function iht(e){this.e=e,this.d=new $9(dy(_S(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function kj(e){this.b=e,this.a=me(Rn,Xn,30,e+1,15,1),this.c=me(Rn,Xn,30,e,15,1),this.d=0}function Ufn(){return _1(),Z(X(e_e,1),Ce,246,0,[_B,vL,EL,XAe,ZAe,JAe,QAe,kB,sx,qI])}function Hfn(){return Mo(),Z(X(qee,1),Ce,262,0,[J$,rl,kI,X$,Zk,XE,xI,Jk,Xk,Z$])}function oht(e,t){return ue(ce(Ju(O6(Ia(new yt(null,new vt(e.c.b,16)),new QYe(e)),t))))}function age(e,t){return ue(ce(Ju(O6(Ia(new yt(null,new vt(e.c.b,16)),new ZYe(e)),t))))}function sht(e,t){return Ud(),Yl(nf),b.Math.abs(0-t)<=nf||t==0||isNaN(0)&&isNaN(t)?0:e/t}function zfn(e,t){return __(),e==J0&&t==Fy||e==Fy&&t==J0||e==qE&&t==jy||e==jy&&t==qE}function Gfn(e,t){return __(),e==J0&&t==jy||e==J0&&t==qE||e==Fy&&t==qE||e==Fy&&t==jy}function qfn(e,t,r){var o,s,u;for(o=0,s=0;s<r;s++)u=t[s],e[s]=u<<1|o,o=u>>>31;o!=0&&(e[r]=o)}function uge(e,t,r){var o,s;for(s=An(e,0);s.b!=s.d.c;)o=l(Sn(s),8),o.a+=t,o.b+=r;return e}function V3(e,t,r){var o;for(o=e.b[r&e.f];o;o=o.b)if(r==o.a&&tp(t,o.g))return o;return null}function W3(e,t,r){var o;for(o=e.c[r&e.f];o;o=o.d)if(r==o.f&&tp(t,o.i))return o;return null}function Vfn(e,t){var r,o;return r=l(ye(e,(T1(),BB)),15),o=l(ye(t,BB),15),na(r.a,o.a)}function Wfn(e,t){var r;t.Tg("General Compactor",1),r=zgn(l(ye(e,(T1(),gne)),387)),r.Bg(e)}function Kfn(e,t,r){r.Tg("DFS Treeifying phase",1),e1n(e,t),F2n(e,t),e.a=null,e.b=null,r.Ug()}function Yfn(e,t,r,o){var s;s=new oS,Db(s,"x",b7(e,t,o.a)),Db(s,"y",m7(e,t,o.b)),CS(r,s)}function Jfn(e,t,r,o){var s;s=new oS,Db(s,"x",b7(e,t,o.a)),Db(s,"y",m7(e,t,o.b)),CS(r,s)}function EK(){EK=Y,R4=new OZe,Lre=Z(X(au,1),UE,182,0,[]),ZDt=Z(X(Dl,1),wEe,62,0,[])}function US(){US=Y,mee=new Pr("edgelabelcenterednessanalysis.includelabel",(Lt(),D1))}function bu(){bu=Y,U2e=new pG,$2e=new gG,B2e=new bG,F2e=new mG,H2e=new wG,z2e=new IN}function Xfn(e,t){t.Tg(J2t,1),g1e(KQt(new S9((qN(),new dW(e,!1,!1,new a9))))),t.Ug()}function SK(e){var t;return t=Bhe(e),u3(t.a,0)?(Pw(),Pw(),GQ):(Pw(),new mV(t.b))}function TK(e){var t;return t=Bhe(e),u3(t.a,0)?(Pw(),Pw(),GQ):(Pw(),new mV(t.c))}function Zfn(e){var t;return t=FP(e),u3(t.a,0)?(G9(),G9(),J_t):(G9(),new Lrt(t.b))}function Qfn(e){return e.b.c.i.k==(Ht(),mi)?l(j(e.b.c.i,(Ie(),mr)),12):e.b.c}function aht(e){return e.b.d.i.k==(Ht(),mi)?l(j(e.b.d.i,(Ie(),mr)),12):e.b.d}function uht(e){switch(e.g){case 2:return Ue(),Wt;case 4:return Ue(),Zt;default:return e}}function cht(e){switch(e.g){case 1:return Ue(),dn;case 3:return Ue(),Vt;default:return e}}function ehn(e,t){var r;return r=kbe(e),rme(new Le(r.c,r.d),new Le(r.b,r.a),e.Kf(),t,e.$f())}function thn(e){var t,r,o;for(o=0,r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),26),t.p=o,++o}function K3(e,t){var r,o;for(Mt(t),o=t.vc().Jc();o.Ob();)r=l(o.Pb(),45),e.yc(r.jd(),r.kd())}function nhn(e,t,r){var o;for(o=r.Jc();o.Ob();)if(!BP(e,t,o.Pb()))return!1;return!0}function rhn(e,t){var r;for(xn(t);e.Ob();)if(r=e.Pb(),!pge(l(r,9)))return!1;return!0}function ihn(e,t,r,o,s){var u;return r&&(u=Ur(t.Ah(),e.c),s=r.Oh(t,-1-(u==-1?o:u),null,s)),s}function ohn(e,t,r,o,s){var u;return r&&(u=Ur(t.Ah(),e.c),s=r.Qh(t,-1-(u==-1?o:u),null,s)),s}function lht(e){var t;if(e.b==-2){if(e.e==0)t=-1;else for(t=0;e.a[t]==0;t++);e.b=t}return e.b}function shn(e){if(Mt(e),e.length==0)throw K(new kf("Zero length BigInteger"));DTn(this,e)}function cge(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function dht(e,t,r){this.g=e,this.d=t,this.e=r,this.a=new Pe,Jyn(this),St(),_i(this.a,null)}function Kc(e,t,r,o,s,u,f){mn.call(this,e,t),this.d=r,this.e=o,this.c=s,this.b=u,this.a=Wl(f)}function lge(e,t){t.q=e,e.d=b.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),je(e.a,t)}function AK(e,t){var r,o,s,u;return s=e.c,r=e.c+e.b,u=e.d,o=e.d+e.a,t.a>s&&t.a<r&&t.b>u&&t.b<o}function cy(e,t){var r,o;for(o=An(e,0);o.b!=o.d.c;)r=l(Sn(o),8),r.a+=t.a,r.b+=t.b;return e}function ahn(e,t){return t<e.b.gc()?l(e.b.Xb(t),9):t==e.b.gc()?e.a:l(He(e.e,t-e.b.gc()-1),9)}function y6(e,t){return Lt(),zi(e)?ape(e,In(t)):Bw(e)?WV(e,ce(t)):$w(e)?Won(e,We(t)):e.Dd(t)}function xj(e,t){var r;se(t,93)?(l(e.c,78).Ek(),r=l(t,93),Wft(e,r)):l(e.c,78).Wb(t)}function fht(e,t,r,o){se(e.Cb,187)&&(l(e.Cb,187).tb=null),Da(e,r),t&&fvn(e,t),o&&e.el(!0)}function v6(e,t){var r,o;for(Mt(t),o=e.vc().Jc();o.Ob();)r=l(o.Pb(),45),t.Wd(r.jd(),r.kd())}function uhn(e){var t,r,o;return e.j==(Ue(),Vt)&&(t=v0t(e),r=fu(t,Zt),o=fu(t,Wt),o||o&&r)}function dge(){dge=Y,QIt=Mf(fnt(Fn(Fn(new ui,(Vi(),la),(Xi(),R$)),da,k$),$o),I$)}function hht(){hht=Y,r4t=Mf(fnt(Fn(Fn(new ui,(Vi(),la),(Xi(),R$)),da,k$),$o),I$)}function pht(){pht=Y,Uxt=yn((Ht(),Z(X(hee,1),Ce,252,0,[Xr,gi,mi,Aa,ta,af,tL,EI])))}function ght(){ght=Y,gNt=yn((F7(),Z(X(NSe,1),Ce,277,0,[See,_ee,Eee,Nee,Aee,Tee,xee,kee])))}function bht(){bht=Y,h6t=yn((A1(),Z(X(f6t,1),Ce,287,0,[Cxe,Ai,wo,BT,Qi,$r,$T,lf])))}function mht(){mht=Y,RDt=yn((iT(),Z(X(iM,1),Ce,235,0,[Ire,mU,rM,nM,Cre,bU,gU,Nre])))}function wht(){return xC(),Z(X(F3n,1),Ce,265,0,[Wte,S_e,k_e,x_e,__e,E_e,N_e,y_e,A_e,T_e,v_e])}function Nj(){Nj=Y,wne=new Gq(_d,0),Eke=new Gq("POLAR_COORDINATE",1),vke=new Gq("ID",2)}function E_(){E_=Y,wI=new Pr("debugSVG",(Lt(),!1)),p2e=new Pr("overlapsExisted",!0)}function chn(){var e;return YQ||(YQ=new sZe,e=new BW(""),Ven(e,(zA(),u2e)),Mfn(YQ,e)),YQ}function yht(e){return Gw(),e.A.Gc((oc(),fv))&&!e.B.Gc((Bu(),XL))?ygt(e):null}function vht(e,t){var r;return r=Xme(G3(),e),r?(Vn(t,(_n(),cv),r),!0):!1}function yc(e,t){var r;for(r=0;r<t.j.c.length;r++)l(l6(e,r),24).Fc(l(l6(t,r),18));return e}function lhn(e,t){var r,o;for(o=new V(t.b);o.a<o.c.c.length;)r=l(q(o),26),e.a[r.p]=Swn(r)}function ly(e){this.f=e,this.e=new Zhe(this.f.i),this.a=this.e,this.b=gge(this),this.d=this.f.g}function ni(e,t){J8.call(this,QDt,e,t),this.b=this,this.a=za(e.Ah(),Nt(this.e.Ah(),this.c))}function Eht(){this.a=l(ze((ed(),m$)),15).a,this.c=ue(ce(ze(w$))),this.b=ue(ce(ze(nee)))}function Sht(e,t){e.a=To(e.a,1),e.c=b.Math.min(e.c,t),e.b=b.Math.max(e.b,t),e.d=To(e.d,t)}function _K(e,t,r,o){var s;s=e.a.length,r>s?r=s:Yt(t,r+1),e.a=yl(e.a,0,t)+(""+o)+nhe(e.a,r)}function Hb(e,t,r){var o,s;return s=l(y3(e.d,t),15),o=l(y3(e.b,r),15),!s||!o?null:jS(e,s.a,o.a)}function dhn(e,t,r){return yr(mS(B_(e),new Le(t.e.a,t.e.b)),mS(B_(e),new Le(r.e.a,r.e.b)))}function fhn(e,t,r){return e==(Vb(),NB)?new _Ue:$u(t,1)!=0?new Vce(r.length):new pQe(r.length)}function hr(e,t){var r,o,s;if(r=e.qh(),r!=null&&e.th())for(o=0,s=r.length;o<s;++o)r[o].bj(t)}function S_(e,t){var r,o;for(r=e,o=ji(r).e;o;){if(r=o,r==t)return!0;o=ji(r).e}return!1}function p1(e){var t;return t=e.h,t==0?e.l+e.m*lT:t==yp?e.l+e.m*lT-em:e}function hhn(e,t,r){var o,s;return o=e.a.f[t.p],s=e.a.f[r.p],o<s?-1:o==s?0:1}function dy(e){return e<3?(wc(e,VEt),e+1):e<jC?po(b.Math.ceil(e/.75)):sr}function Gs(e){return vD<e&&e<em?e<0?b.Math.ceil(e):b.Math.floor(e):p1(E2n(e))}function Tht(e){switch(e.a.g){case 1:return new Ltt;case 3:return new F1t;default:return new PWe}}function qt(e,t){var r;return e.Db&t?(r=IY(e,t),r==-1?e.Eb:BS(e.Eb)[r]):null}function phn(e){var t;if(e.a==e.b.a)throw K(new ys);return t=e.a,e.c=t,e.a=l(wl(e.a.e),229),t}function Aht(e){var t;e.d==null?(++e.e,e.f=0,jpt(null)):(++e.e,t=e.d,e.d=null,e.f=0,jpt(t))}function ghn(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),70),je(e.d,r),Twn(e,r)}function bhn(e,t){var r,o;for(o=new en(e);o.e!=o.i.gc();)r=l(rn(o),19),Bc(r,r.i+t.b,r.j+t.d)}function Ms(e,t){var r,o;return r=(o=new Pue,o),r.G=t,!e.rb&&(e.rb=new Jw(e,Ld,e)),Tn(e.rb,r),r}function rr(e,t){var r,o;return r=(o=new N9,o),r.G=t,!e.rb&&(e.rb=new Jw(e,Ld,e)),Tn(e.rb,r),r}function E6(e){var t,r,o;for(o=0,r=new lS(e.a);r.a<r.c.a.length;)t=F3(r),e.b.Gc(t)&&++o;return o}function mhn(e){var t,r,o;for(t=1,o=e.Jc();o.Ob();)r=o.Pb(),t=31*t+(r==null?0:Ir(r)),t=~~t;return t}function S6(e){var t;return e<128?(Aot(),t=zEe[e],!t&&(t=zEe[e]=new Yue(e)),t):new Yue(e)}function Cj(e){var t;if(e.g>1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw K(new ys)}function whn(e){jnt();var t;return Uet(Vte,e)||(t=new HUe,t.a=e,Bde(Vte,e,t)),l(Go(Vte,e),642)}function vl(e){var t,r,o,s;return s=e,o=0,s<0&&(s+=em,o=yp),r=po(s/lT),t=po(s-r*lT),Ua(t,r,o)}function _ht(e,t){var r;return r=e.a.get(t),r===void 0?++e.d:(Tnn(e.a,t),--e.c,++e.b.g),r}function qs(e,t){var r;return t&&(r=t.lf(),r.dc()||(e.q?K3(e.q,r):e.q=new Ant(r))),e}function yhn(e,t){var r,o,s;return r=t.p-e.p,r==0?(o=e.f.a*e.f.b,s=t.f.a*t.f.b,yr(o,s)):r}function fge(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return Phe(e,t)}function vhn(e){return e.b.c.length!=0&&l(He(e.b,0),70).a?l(He(e.b,0),70).a:gW(e)}function Ehn(e,t){var r;try{t.be()}catch(o){if(o=ci(o),se(o,81))r=o,Ot(e.c,r);else throw K(o)}}function Shn(e,t){var r;t.Tg("Edge and layer constraint edge reversal",1),r=KSn(e),Ixn(r),t.Ug()}function Thn(e,t){var r,o;return r=e.j,o=t.j,r!=o?r.g-o.g:e.p==t.p?0:r==(Ue(),Vt)?e.p-t.p:t.p-e.p}function T_(e,t){this.b=e,this.e=t,this.d=t.j,this.f=(Oo(),l(e,69).vk()),this.k=za(t.e.Ah(),e)}function zb(e,t,r){this.b=(Mt(e),e),this.d=(Mt(t),t),this.e=(Mt(r),r),this.c=this.d+(""+this.e)}function hge(e,t,r,o,s){rpt.call(this,e,r,o,s),this.f=me(Nh,yg,9,t.a.c.length,0,1),Yd(t.a,this.f)}function Y3(e,t,r,o,s){ii(e.c[t.g],r.g,o),ii(e.c[r.g],t.g,o),ii(e.b[t.g],r.g,s),ii(e.b[r.g],t.g,s)}function kht(e,t){e.c&&(dyt(e,t,!0),ei(new yt(null,new vt(t,16)),new oJe(e))),dyt(e,t,!1)}function T6(e){this.n=new Pe,this.e=new Sr,this.j=new Sr,this.k=new Pe,this.f=new Pe,this.p=e}function xht(e){e.r=new hi,e.w=new hi,e.t=new Pe,e.i=new Pe,e.d=new hi,e.a=new bS,e.c=new hn}function T0(){T0=Y,ZD=new r8("UP",0),XD=new r8(xX,1),QQ=new r8(dT,2),eee=new r8(fT,3)}function Ij(){Ij=Y,i_e=new Pq("EQUALLY",0),Bte=new Pq("NORTH",1),o_e=new Pq("NORTH_SOUTH",2)}function A_(){A_=Y,Vee=new Rq("ONE_SIDED",0),Wee=new Rq("TWO_SIDED",1),aL=new Rq("OFF",2)}function Nht(){Nht=Y,fDt=yn((Bu(),Z(X(zNe,1),Ce,267,0,[Sx,XL,cU,k4,lU,fU,dU,Tre,JL])))}function Cht(){Cht=Y,tDt=yn((Sy(),Z(X(Bo,1),Ce,96,0,[ad,Np,ud,ld,Rh,Il,xc,cd,Cl])))}function Iht(){Iht=Y,vNt=yn((Q6(),Z(X(jSe,1),Ce,268,0,[Dee,PSe,Mee,Pee,Lee,jee,sL,Oee,Ree])))}function Rht(){Rht=Y,TIt=yn((tD(),Z(X(qAe,1),Ce,269,0,[Ite,HAe,zAe,Nte,UAe,GAe,SB,xte,Cte])))}function Xl(){Xl=Y,Uy=new a8(hk,0),Gk=new a8(dT,1),qk=new a8(fT,2),yee=new a8("TOP",3)}function Rj(){Rj=Y,qte=new Bq("OFF",0),ax=new Bq("SINGLE_EDGE",1),tv=new Bq("MULTI_EDGE",2)}function A6(){A6=Y,XB=new Ple("MINIMUM_SPANNING_TREE",0),yxe=new Ple("MAXIMUM_SPANNING_TREE",1)}function Ahn(e,t,r){var o,s;s=l(j(e,(Be(),rs)),79),s&&(o=new Du,HK(o,0,s),cy(o,r),bo(t,o))}function pge(e){var t;return t=l(j(e,(Ie(),Us)),64),e.k==(Ht(),mi)&&(t==(Ue(),Wt)||t==Zt)}function _hn(e){var t;if(e){if(t=e,t.dc())throw K(new ys);return t.Xb(t.gc()-1)}return put(e.Jc())}function kK(e,t,r,o){return r==1?(!e.n&&(e.n=new xe(Is,e,1,7)),Ao(e.n,t,o)):Lbe(e,t,r,o)}function _6(e,t){var r,o;return o=(r=new RG,r),Da(o,t),Tn((!e.A&&(e.A=new du(Ka,e,7)),e.A),o),o}function khn(e,t,r){var o,s,u,f;return u=null,f=t,s=b0(f,sQ),o=new Btt(e,r),u=(ubt(o.a,o.b,s),s),u}function Oj(e,t,r){var o,s,u,f;f=ji(e),o=f.d,s=f.c,u=e.n,t&&(u.a=u.a-o.b-s.a),r&&(u.b=u.b-o.d-s.b)}function xhn(e,t){var r,o,s;return r=e.l+t.l,o=e.m+t.m+(r>>22),s=e.h+t.h+(o>>22),Ua(r&Uu,o&Uu,s&yp)}function Oht(e,t){var r,o,s;return r=e.l-t.l,o=e.m-t.m+(r>>22),s=e.h-t.h+(o>>22),Ua(r&Uu,o&Uu,s&yp)}function k6(e,t){var r,o;for(Mt(t),o=t.Jc();o.Ob();)if(r=o.Pb(),!e.Gc(r))return!1;return!0}function xK(e){var t;return(!e.a||!(e.Bb&1)&&e.a.Sh())&&(t=Sl(e),se(t,160)&&(e.a=l(t,160))),e.a}function ci(e){var t;return se(e,81)?e:(t=e&&e.__java$exception,t||(t=new Apt(e),eZe(t)),t)}function NK(e){if(se(e,196))return l(e,127);if(e)return null;throw K(new sS(qTt))}function Dht(e){switch(e.g){case 0:return new Cze;case 1:return new Ize;case 2:default:return null}}function gge(e){return e.a.Ob()?!0:e.a!=e.e?!1:(e.a=new wpe(e.f.f),e.a.Ob())}function Lht(e,t){if(t==null)return!1;for(;e.a!=e.b;)if(pr(t,Fj(e)))return!0;return!1}function Mht(e,t){return!e||!t||e==t?!1:Mgt(e.d.c,t.d.c+t.d.b)&&Mgt(t.d.c,e.d.c+e.d.b)}function Nhn(){return WP(),sf?new BW(null):m0t(chn(),"com.google.common.base.Strings")}function li(e,t){var r,o;return r=t.Nc(),o=r.length,o==0?!1:(Tfe(e.c,e.c.length,r),!0)}function Chn(e,t){var r,o;return r=e.c,o=t.e[e.p],o<r.a.c.length-1?l(He(r.a,o+1),9):null}function Ihn(e){var t,r;for(a_n(e),r=new V(e.d);r.a<r.c.c.length;)t=l(q(r),108),t.i&&Zwn(t)}function Pht(e,t){var r,o;for(o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),70),Ae(r,(Ie(),IT),t)}function Rhn(e,t,r){var o,s;for(s=new V(e.b);s.a<s.c.c.length;)o=l(q(s),19),Bc(o,o.i+t,o.j+r)}function CK(e){var t,r,o;for(t=new Sr,o=An(e.d,0);o.b!=o.d.c;)r=l(Sn(o),65),Gn(t,r.c);return t}function bge(e){var t,r,o,s;for(t=1,r=0,s=e.gc();r<s;++r)o=e.Ti(r),t=31*t+(o==null?0:Ir(o));return t}function jht(e){var t,r;return r=(t=new RG,t),Da(r,"T"),Tn((!e.d&&(e.d=new du(Ka,e,11)),e.d),r),r}function Fht(e,t){var r;return r=ch(t.a.gc()),ei(cj(new yt(null,new vt(t,1)),e.i),new xtt(e,r)),r}function $ht(e,t,r,o){var s;return QO(t,e.e.Pd().gc()),QO(r,e.c.Pd().gc()),s=e.a[t][r],ii(e.a[t],r,o),s}function Ohn(e,t,r,o){l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68),l(o.b,68),Oa(o.a,new afe(e,t,o))}function Dhn(e,t){e.d==(vi(),is)||e.d==il?l(t.a,60).c.Ec(l(t.b,60)):l(t.b,60).c.Ec(l(t.a,60))}function mge(e,t){this.c=e,this.d=t,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function Lhn(e,t,r,o,s){return X_(),b.Math.min($vt(e,t,r,o,s),$vt(r,o,e,t,B8(new Le(s.a,s.b))))}function Bht(e,t){if(!e)throw K(new jt(kC("value already present: %s",Z(X(Ci,1),Rt,1,5,[t]))))}function Uht(e,t,r){var o;Zs(e.a),Oa(r.i,new ZJe(e)),o=new R8(l(Ut(e.a,t.b),68)),Ugt(e,o,t),r.f=o}function Mhn(e){var t;bg(e,!0),t=wg,gr(e,(Be(),rx))&&(t+=l(j(e,rx),15).a),Ae(e,rx,Re(t))}function IK(e){var t,r,o,s;for(s=new Pe,o=e.Jc();o.Ob();)r=l(o.Pb(),19),t=Ty(r),li(s,t);return s}function wge(e){var t,r;return r=(e1(),t=new h9,t),e&&Tn((!e.a&&(e.a=new xe(jr,e,6,6)),e.a),r),r}function HS(e,t){var r,o;if(o=0,e<64&&e<=t)for(t=t<64?t:63,r=e;r<=t;r++)o=Rf(o,fh(1,r));return o}function Hht(e){switch(e.g){case 1:return q1;case 2:return Ih;case 3:return zL;default:return GL}}function Phn(e){switch(l(j(e,(Be(),Ns)),166).g){case 2:case 4:return!0;default:return!1}}function yge(e,t){switch(t){case 0:!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),e.o.c.$b();return}XY(e,t)}function jhn(e,t){var r,o;for(kP(t,"predicate"),o=0;e.Ob();o++)if(r=e.Pb(),t.Lb(r))return o;return-1}function vge(e){St();var t,r,o;for(o=0,r=e.Jc();r.Ob();)t=r.Pb(),o=o+(t!=null?Ir(t):0),o=o|0;return o}function Fhn(e){var t;return t=new he,t.a=e,t.b=Ghn(e),t.c=me(Ye,Me,2,2,6,1),t.c[0]=tht(e),t.c[1]=tht(e),t}function Z(e,t,r,o,s){return s.Pm=e,s.Qm=t,s.Rm=ge,s.__elementTypeId$=r,s.__elementTypeCategory$=o,s}function $hn(e,t,r,o){return new lle(Z(X(cm,1),Q7,45,0,[(_Y(e,t),new e0(e,t)),(_Y(r,o),new e0(r,o))]))}function Dj(){Dj=Y,wee=new s8(_d,0),$$=new s8(Q2t,1),B$=new s8(eSt,2),rL=new s8("BOTH",3)}function __(){__=Y,J0=new i8("Q1",0),Fy=new i8("Q4",1),jy=new i8("Q2",2),qE=new i8("Q3",3)}function g1(){g1=Y,uL=new Oq("ONLY_WITHIN_GROUP",0),eTe=new Oq(OX,1),zy=new Oq("ENFORCED",2)}function Gb(){Gb=Y,Fee=new Iq(_d,0),Yk=new Iq("INCOMING_ONLY",1),JE=new Iq("OUTGOING_ONLY",2)}function zS(){zS=Y,a6t=new Lze,s6t=new Fze}function RK(){RK=Y,$Q={boolean:UQt,number:eQt,string:tQt,object:Cmt,function:Cmt,undefined:DZt}}function zht(){zht=Y,xIt=yn((_1(),Z(X(e_e,1),Ce,246,0,[_B,vL,EL,XAe,ZAe,JAe,QAe,kB,sx,qI])))}function Ght(){Ght=Y,NNt=yn((Mo(),Z(X(qee,1),Ce,262,0,[J$,rl,kI,X$,Zk,XE,xI,Jk,Xk,Z$])))}function Bhn(e){var t,r,o,s;for(r=e.a,o=0,s=r.length;o<s;++o)t=r[o],npt(e,t,(Ue(),dn)),npt(e,t,Vt)}function qht(e){var t,r,o;return r=e.n,o=e.o,t=e.d,new ql(r.a-t.b,r.b-t.d,o.a+(t.b+t.c),o.b+(t.d+t.a))}function Uhn(e,t){return!e||!t||e==t?!1:_0(e.b.c,t.b.c+t.b.b)<0&&_0(t.b.c,e.b.c+e.b.b)<0}function OK(e,t,r){return e>=128?!1:e<64?c3(Gi(fh(1,e),r),0):c3(Gi(fh(1,e-64),t),0)}function Ege(e,t,r){var o;if(o=e.gc(),t>o)throw K(new Vw(t,o));return e.Qi()&&(r=Yat(e,r)),e.Ci(t,r)}function Hhn(e,t){var r,o;return r=l(l(Ut(e.g,t.a),49).a,68),o=l(l(Ut(e.g,t.b),49).a,68),Hyt(r,o)}function k_(e){var t,r,o;return t=~e.l+1&Uu,r=~e.m+(t==0?1:0)&Uu,o=~e.h+(t==0&&r==0?1:0)&yp,Ua(t,r,o)}function zhn(e){X_();var t,r,o;for(r=me($i,Me,8,2,0,1),o=0,t=0;t<2;t++)o+=.5,r[t]=Tbn(o,e);return r}function Vht(e,t){var r,o,s,u;for(r=!1,o=e.a[t].length,u=0;u<o-1;u++)s=u+1,r=r|t1n(e,t,u,s);return r}function Wht(e){var t,r;return r=new KP,qs(r,e),Ae(r,(h1(),TT),e),t=new hn,VAn(e,r,t),Axn(e,r,t),r}function Ae(e,t,r){return r==null?(!e.q&&(e.q=new hn),PS(e.q,t)):(!e.q&&(e.q=new hn),Yn(e.q,t,r)),e}function x6(e,t,r){return r==null?(!e.q&&(e.q=new hn),PS(e.q,t)):(!e.q&&(e.q=new hn),Yn(e.q,t,r)),e}function Kht(e,t){return mS(B_(l(j(t,(Ps(),aw)),87)),new Le(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function Yht(e,t){this.b=e,Qv.call(this,(l(ie(Ne((a1(),Bt).o),10),20),t.i),t.g),this.a=(EK(),Lre)}function Sge(e,t,r){this.q=new b.Date,this.q.setFullYear(e+x1,t,r),this.q.setHours(0,0,0,0),CC(this,0)}function Tge(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function Jht(e,t){for(;e.g==null&&!e.c?khe(e):e.g==null||e.i!=0&&l(e.g[e.i-1],51).Ob();)t.Bi(N7(e))}function N6(e,t,r){switch(r.g){case 2:e.b=t;break;case 1:e.c=t;break;case 4:e.d=t;break;case 3:e.a=t}}function Age(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return w1e(e,t)}function Xht(e){var t,r;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,r=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||r}function J3(e){var t;return t=e.a[e.b],t==null?null:(ii(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function Zht(e,t,r){var o,s;return o=new JW(t,r),s=new Xt,e.b=Awt(e,e.b,o,s),s.b||++e.c,e.b.b=!1,s.d}function Qht(e){var t,r;return r=X6(e.h),r==32?(t=X6(e.m),t==32?X6(e.l)+32:t+20-10):r-12}function _ge(e){var t;if(e<0)return Zi;if(e==0)return 0;for(t=jC;!(t&e);t>>=1);return t}function Ghn(e){var t;return e==0?"Etc/GMT":(e<0?(e=-e,t="Etc/GMT-"):t="Etc/GMT+",t+Fdt(e))}function kge(e){var t;return(!e.c||!(e.Bb&1)&&e.c.Db&64)&&(t=Sl(e),se(t,89)&&(e.c=l(t,29))),e.c}function b1(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.g.c=-t.g.c-t.g.b;L7(e)}function m1(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),t.d.c=-t.d.c-t.d.b;Dme(e)}function qhn(e){var t,r,o;return t=l(e.e&&e.e(),10),o=(r=t.slice(),l(eK(r,t),10)),new Hc(t,o,t.length)}function DK(e){var t,r,o;t=~e.l+1&Uu,r=~e.m+(t==0?1:0)&Uu,o=~e.h+(t==0&&r==0?1:0)&yp,e.l=t,e.m=r,e.h=o}function _s(e){var t,r,o,s,u;for(t=new to,o=e,s=0,u=o.length;s<u;++s)r=o[s],t.a+=r.a,t.b+=r.b;return t}function xge(e,t){St();var r,o,s,u,f;for(f=!1,o=t,s=0,u=o.length;s<u;++s)r=o[s],f=f|e.Ec(r);return f}function LK(e,t,r){var o,s,u,f;return u=null,f=t,s=b0(f,"labels"),o=new Vtt(e,r),u=(R0t(o.a,o.b,s),s),u}function ept(e,t,r){var o;return o=new Pe,jme(e,t,o,(Ue(),Zt),!0,!1),jme(e,r,o,Wt,!1,!1),o}function Vhn(e,t,r,o){var s;return s=Tme(e,t,r,o),!s&&(s=Kpn(e,r,o),s&&!IE(e,t,s))?null:s}function Whn(e,t,r,o){var s;return s=Ame(e,t,r,o),!s&&(s=KK(e,r,o),s&&!IE(e,t,s))?null:s}function tpt(e,t){var r;for(r=0;r<e.a.a.length;r++)if(!l(Not(e.a,r),181).Lb(t))return!1;return!0}function Khn(e,t,r){if(xn(t),r.Ob())for(Gle(t,Rst(r.Pb()));r.Ob();)Gle(t,e.a),Gle(t,Rst(r.Pb()));return t}function Nge(e){St();var t,r,o;for(o=1,r=e.Jc();r.Ob();)t=r.Pb(),o=31*o+(t!=null?Ir(t):0),o=o|0;return o}function npt(e,t,r){var o,s,u,f;for(f=nC(t,r),u=0,s=f.Jc();s.Ob();)o=l(s.Pb(),12),Yn(e.c,o,Re(u++))}function qb(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.f.$b();YZt(e.b,e),fwt(e)}function dp(e){var t;return u1(e),t=new Hi,e.a.zd(t)?(qA(),new rq(Mt(t.a))):(qA(),qA(),o2e)}function Cge(e){var t;return e.b<=0?!1:(t=xf("MLydhHmsSDkK",Qa(uo(e.c,0))),t>1||t>=0&&e.b<3)}function Yhn(e,t,r){return!$A(lr(new yt(null,new vt(e.c,16)),new IA(new Ctt(t,r)))).zd((Tb(),ET))}function MK(e,t,r){this.g=e,this.e=new to,this.f=new to,this.d=new Sr,this.b=new Sr,this.a=t,this.c=r}function PK(e,t,r,o){this.b=new Pe,this.n=new Pe,this.i=o,this.j=r,this.s=e,this.t=t,this.r=0,this.d=0}function rpt(e,t,r,o){this.b=new hn,this.g=new hn,this.d=(eC(),TB),this.c=e,this.e=t,this.d=r,this.a=o}function ipt(e,t,r){e.g=ZY(e,t,(Ue(),Zt),e.b),e.d=ZY(e,r,Zt,e.b),!(e.g.c==0||e.d.c==0)&&qbt(e)}function opt(e,t,r){e.g=ZY(e,t,(Ue(),Wt),e.j),e.d=ZY(e,r,Wt,e.j),!(e.g.c==0||e.d.c==0)&&qbt(e)}function Jhn(e,t,r,o,s){var u;return u=mme(e,t),r&&DK(u),s&&(e=Cbn(e,t),o?O1=k_(e):O1=Ua(e.l,e.m,e.h)),u}function Xhn(e,t,r,o,s){var u,f;if(f=e.length,u=r.length,t<0||o<0||s<0||t+s>f||o+s>u)throw K(new mce)}function spt(e,t){BO(e>=0,"Negative initial capacity"),BO(t>=0,"Non-positive load factor"),Zs(this)}function x_(){x_=Y,kSe=new c$e,xSe=new l$e,tNt=new d$e,eNt=new f$e,Qxt=new h$e,_Se=(Mt(Qxt),new Je)}function X3(){X3=Y,C_e=new Hq(_d,0),Kte=new Hq("MIDDLE_TO_MIDDLE",1),_L=new Hq("AVOID_OVERLAP",2)}function Ige(e,t,r){switch(t){case 0:!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),xj(e.o,r);return}eJ(e,t,r)}function Zhn(e,t){switch(t.g){case 0:se(e.b,638)||(e.b=new Eht);break;case 1:se(e.b,639)||(e.b=new yot)}}function apt(e){switch(e.g){case 0:return new Bze;default:throw K(new jt(PF+(e.f!=null?e.f:""+e.g)))}}function upt(e){switch(e.g){case 0:return new $ze;default:throw K(new jt(PF+(e.f!=null?e.f:""+e.g)))}}function cpt(e){switch(e.g){case 0:return new Hze;default:throw K(new jt(AZ+(e.f!=null?e.f:""+e.g)))}}function lpt(e){switch(e.g){case 0:return new zze;default:throw K(new jt(AZ+(e.f!=null?e.f:""+e.g)))}}function dpt(e){switch(e.g){case 0:return new Mze;default:throw K(new jt(AZ+(e.f!=null?e.f:""+e.g)))}}function N_(e,t){if(!e.Ji()&&t==null)throw K(new jt("The 'no null' constraint is violated"));return t}function Rge(e){var t,r,o;for(t=new Du,o=An(e,0);o.b!=o.d.c;)r=l(Sn(o),8),VA(t,0,new Eo(r));return t}function cg(e){var t,r;for(t=0,r=0;r<e.length;r++)t=(t<<5)-t+(Yt(r,e.length),e.charCodeAt(r))|0;return t}function Qhn(e){var t,r;t=l(j(e,(Ie(),Nu)),9),t&&(r=t.c,Xa(r.a,t),r.a.c.length==0&&Xa(ji(t).b,r))}function epn(e,t){var r,o;return r=l(ye(e,(ef(),IL)),15).a,o=l(ye(t,IL),15).a,r==o||r<o?-1:r>o?1:0}function fpt(e,t){var r,o,s;for(s=e.b;s;){if(r=e.a.Le(t,s.d),r==0)return s;o=r<0?0:1,s=s.a[o]}return null}function bE(e,t){var r,o,s,u,f;for(o=t,s=0,u=o.length;s<u;++s)r=o[s],f=new Nst(e),r.tf(f),i_n(f);Zs(e.f)}function hpt(e,t,r){var o,s;this.g=e,this.c=t,this.a=this,this.d=this,s=Vft(r),o=me(C_t,mD,229,s,0,1),this.b=o}function tpn(){fr();var e;return Bre||(e=$tn(k1("M",!0)),e=uP(k1("M",!1),e),Bre=e,Bre)}function Oge(e){switch(e.g){case 1:return ESt;default:case 2:return 0;case 3:return SSt;case 4:return Wye}}function Dge(e,t){return awt(e,t)?(wt(e.b,l(j(t,(Ie(),Tp)),24),t),Gn(e.a,t),!0):!1}function npn(e){return je(e.c,(zS(),a6t)),Ppe(e.a,ue(ce(ze((oY(),EB)))))?new _Ge:new iXe(e)}function rpn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!BN(e.b))e.d=l(xS(e.b),51);else return null;return e.d}function ipn(e,t){return gr(e,(Ie(),Nr))&&gr(t,Nr)?l(j(e,Nr),15).a-l(j(t,Nr),15).a:0}function opn(e,t){return gr(e,(Ie(),Nr))&&gr(t,Nr)?l(j(t,Nr),15).a-l(j(e,Nr),15).a:0}function jK(e,t){var r;return t===e?!0:se(t,231)?(r=l(t,231),pr(e.Zb(),r.Zb())):!1}function FK(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function ppt(e){return sf?me(Q_t,u2t,574,0,0,1):l(Yd(e.a,me(Q_t,u2t,574,e.a.c.length,0,1)),848)}function Lge(e,t){var r;t*2+1>=e.b.c.length||(Lge(e,2*t+1),r=2*t+2,r<e.b.c.length&&Lge(e,r),Omt(e,t))}function spn(e,t){var r,o;for(o=An(e,0);o.b!=o.d.c;)r=l(Sn(o),221),r.e.length>0&&(t.Ad(r),r.i&&M1n(r))}function Mge(e,t,r){var o;for(o=r-1;o>=0&&e[o]===t[o];o--);return o<0?0:Eq(Gi(e[o],Po),Gi(t[o],Po))?-1:1}function apn(e,t){var r;return!e||e==t||!gr(t,(Ie(),ew))?!1:(r=l(j(t,(Ie(),ew)),9),r!=e)}function mE(e,t,r){var o,s;return s=(o=new ZG,o),qo(s,t,r),Tn((!e.q&&(e.q=new xe(Dl,e,11,10)),e.q),s),s}function $K(e,t){var r,o;return o=l(qt(e.a,4),131),r=me(Ore,gQ,420,t,0,1),o!=null&&ua(o,0,r,0,o.length),r}function BK(e){var t,r,o,s;for(s=oen(NDt,e),r=s.length,o=me(Ye,Me,2,r,6,1),t=0;t<r;++t)o[t]=s[t];return o}function gpt(e,t){var r;return r=new fJ((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t),e.e!=null||(r.c=e),r}function upn(e,t){var r,o;for(o=e.Zb().Bc().Jc();o.Ob();)if(r=l(o.Pb(),18),r.Gc(t))return!0;return!1}function bpt(e,t,r){var o,s,u,f;for(Mt(r),f=!1,u=e.dd(t),s=r.Jc();s.Ob();)o=s.Pb(),u.Rb(o),f=!0;return f}function cpn(e,t){var r;return e===t?!0:se(t,93)?(r=l(t,93),jbe(xb(e),r.vc())):!1}function mpt(e,t,r){var o,s;for(s=r.Jc();s.Ob();)if(o=l(s.Pb(),45),e.ze(t,o.kd()))return!0;return!1}function wpt(e,t,r){return e.d[t.p][r.p]||(rbn(e,t,r),e.d[t.p][r.p]=!0,e.d[r.p][t.p]=!0),e.a[t.p][r.p]}function C_(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),pK(e,t==null?null:(Mt(t),t)),e.C&&e.fl(null)}function Lj(){Lj=Y,kre=new S8("ELK",0),e3e=new S8("JSON",1),QNe=new S8("DOT",2),t3e=new S8("SVG",3)}function Z3(){Z3=Y,sne=new h8(OX,0),jB=new h8(xSt,1),one=new h8("FAN",2),ine=new h8("CONSTRAINT",3)}function C6(){C6=Y,$B=new zq(_d,0),nke=new zq("RADIAL_COMPACTION",1),rke=new zq("WEDGE_COMPACTION",2)}function Q3(){Q3=Y,Hte=new jq("STACKED",0),Ute=new jq("REVERSE_STACKED",1),SL=new jq("SEQUENCED",2)}function Yc(){Yc=Y,c2e=new Tq("CONCURRENT",0),nu=new Tq("IDENTITY_FINISH",1),l2e=new Tq("UNORDERED",2)}function fp(){fp=Y,aU=new Xq(Jve,0),Cg=new Xq("INCLUDE_CHILDREN",1),v4=new Xq("SEPARATE_CHILDREN",2)}function Mj(){Mj=Y,MNe=new Ab(15),X6t=new Mi((_n(),df),MNe),y4=HT,RNe=S6t,ONe=Sm,LNe=b2,DNe=av}function UK(){UK=Y,uee=Hat(Z(X(w4,1),Ce,87,0,[(vi(),is),cs])),cee=Hat(Z(X(w4,1),Ce,87,0,[il,ff]))}function lpn(e){var t,r,o;for(t=0,o=me($i,Me,8,e.b,0,1),r=An(e,0);r.b!=r.d.c;)o[t++]=l(Sn(r),8);return o}function HK(e,t,r){var o,s,u;for(o=new Sr,u=An(r,0);u.b!=u.d.c;)s=l(Sn(u),8),Gn(o,new Eo(s));bpt(e,t,o)}function dpn(e,t){var r;r=ze((oY(),EB))!=null&&t.Rg()!=null?ue(ce(t.Rg()))/ue(ce(ze(EB))):1,Yn(e.b,t,r)}function fpn(e,t){var r,o;return r=l(e.d.Ac(t),18),r?(o=e.e.hc(),o.Fc(r),e.e.d-=r.gc(),r.$b(),o):null}function Pge(e,t){var r,o;if(o=e.c[t],o!=0)for(e.c[t]=0,e.d-=o,r=t+1;r<e.a.length;)e.a[r]-=o,r+=r&-r}function jge(e){var t;if(t=e.a.c.length,t>0)return e_(t-1,e.a.c.length),og(e.a,t-1);throw K(new nZe)}function hpn(e,t,r){if(t<0)throw K(new Na(JSt+t));t<e.j.c.length?tc(e.j,t,r):(pct(e,t),je(e.j,r))}function ypt(e,t,r){if(e>t)throw K(new jt(iF+e+c2t+t));if(e<0||t>r)throw K(new Uce(iF+e+iwe+t+twe+r))}function vpt(e){if(!e.a||!(e.a.i&8))throw K(new Xo("Enumeration class expected for layout option "+e.f))}function Ept(e){Kat.call(this,"The given string does not match the expected format for individual spacings.",e)}function Spt(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function lg(e){switch(e.c){case 0:return FV(),DEe;case 1:return new eS(jmt(new lS(e)));default:return new YZe(e)}}function Tpt(e){switch(e.gc()){case 0:return FV(),DEe;case 1:return new eS(e.Jc().Pb());default:return new dle(e)}}function Fge(e){var t;return t=(!e.a&&(e.a=new xe(Ip,e,9,5)),e.a),t.i!=0?nen(l(ie(t,0),691)):null}function ppn(e,t){var r;return r=To(e,t),Eq(RW(e,t),0)|_8(RW(e,r),0)?r:To(bD,RW(Cb(r,63),1))}function $ge(e,t,r){var o,s;return ny(t,e.c.length),o=r.Nc(),s=o.length,s==0?!1:(Tfe(e.c,t,o),!0)}function gpn(e,t){var r,o;for(r=e.a.length-1;t!=e.b;)o=t-1&r,ii(e.a,t,e.a[o]),t=o;ii(e.a,e.b,null),e.b=e.b+1&r}function bpn(e,t){var r,o;for(r=e.a.length-1,e.c=e.c-1&r;t!=e.c;)o=t+1&r,ii(e.a,t,e.a[o]),t=o;ii(e.a,e.c,null)}function fy(e){var t;++e.j,e.i==0?e.g=null:e.i<e.g.length&&(t=e.g,e.g=e.$i(e.i),ua(t,0,e.g,0,e.i))}function wE(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(Lw(e.a.c,0),li(e.a,e.b),li(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function nc(e){return zi(e)?Ye:Bw(e)?fi:$w(e)?Yr:Ffe(e)||Mfe(e)?e.Pm:e.Pm||Array.isArray(e)&&X(R_t,1)||R_t}function mpn(e){return e?e.i&1?e==uu?Yr:e==Rn?Ti:e==vv?Bk:e==Ki?fi:e==hw?K0:e==S2?Y0:e==Eu?yT:pI:e:null}function Apt(e){nQe(),O8(this),AP(this),this.e=e,ywt(this,e),this.g=e==null?tu:bs(e),this.a="",this.b=e,this.a=""}function _pt(){WZt.call(this,new mpe(dy(16))),wc(2,HEt),this.b=2,this.a=new lhe(null,null,0,null),QR(this.a,this.a)}function Vb(){Vb=Y,TL=new d8("BARYCENTER",0),KI=new d8(X2t,1),NB=new d8(Z2t,2),xB=new d8("MEDIAN",3)}function eC(){eC=Y,Rte=new Lq("DUMMY_NODE_OVER",0),VAe=new Lq("DUMMY_NODE_UNDER",1),TB=new Lq("EQUAL",2)}function I_(){I_=Y,zte=new Fq("CONSERVATIVE",0),u_e=new Fq("CONSERVATIVE_SOFT",1),WI=new Fq("SLOPPY",2)}function kpt(e){var t,r,o;for(o=0,r=new Ft(Gt(e.a.Jc(),new D));an(r);)t=l(Qt(r),17),t.c.i==t.d.i||++o;return o}function Pj(e){var t,r,o,s,u;for(u=1,r=e,o=0,s=r.length;o<s;++o)t=r[o],u=31*u+(t!=null?Ir(t):0),u=u|0;return u}function yn(e){var t,r,o,s,u;for(t={},o=e,s=0,u=o.length;s<u;++s)r=o[s],t[":"+(r.f!=null?r.f:""+r.g)]=r;return t}function xpt(e,t,r){var o,s,u,f;for(s=r,u=0,f=s.length;u<f;++u)if(o=s[u],e.b.ze(t,o.jd()))return o;return null}function wpn(e){var t,r;if(e==null)return null;for(t=0,r=e.length;t<r;t++)if(!cot(e[t]))return e[t];return null}function zK(e,t){return!e||t&&!e.j||se(e,129)&&l(e,129).a.b==0?0:e.ff()}function jj(e,t){return!e||t&&!e.k||se(e,129)&&l(e,129).a.a==0?0:e.gf()}function Npt(e,t){var r;for(r=0;r<t.length;r++)if(e==(Yt(r,t.length),t.charCodeAt(r)))return!0;return!1}function ypn(e,t){return t<e.length&&(Yt(t,e.length),e.charCodeAt(t)!=63)&&(Yt(t,e.length),e.charCodeAt(t)!=35)}function Cpt(e,t){var r,o,s;for(s=t-e.f,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),320),Ngt(r,r.e,r.f+s);e.f=t}function vpn(e){var t,r;for(r=new V(e.r);r.a<r.c.c.length;)if(t=l(q(r),9),e.n[t.p]<=0)return t;return null}function Epn(e){var t;return t=new Gdt(e),ZO(e.a,Pxt,new Ds(Z(X(eL,1),Rt,378,0,[t]))),t.d&&je(t.f,t.d),t.f}function Spn(e){var t;for(xn(e),rfe(!0,"numberToAdvance must be nonnegative"),t=0;t<0&&an(e);t++)Qt(e);return t}function Bge(e,t){var r,o,s;return o=!1,r=t.q.d,t.d<e.b&&(s=Rme(t.q,e.b),t.q.d>s&&(gbt(t.q,s),o=r!=t.q.d)),o}function Ipt(e,t){var r,o,s,u,f,p,m,y;return m=t.i,y=t.j,o=e.f,s=o.i,u=o.j,f=m-s,p=y-u,r=b.Math.sqrt(f*f+p*p),r}function Rpt(e,t){var r,o,s;r=e,s=0;do{if(r==t)return s;if(o=r.e,!o)throw K(new eO);r=ji(o),++s}while(!0)}function Wb(e,t){var r,o,s;o=e.Wk(t,null),s=null,t&&(s=(FA(),r=new Km,r),m_(s,e.r)),o=Zd(e,s,o),o&&o.mj()}function Tpn(e,t){var r,o;for(o=$u(e.d,1)!=0,r=!0;r;)r=!1,r=t.c.kg(t.e,o),r=r|rD(e,t,o,!1),o=!o;oge(e)}function Uge(e,t){var r,o;return o=Qj(e),o||(r=(DJ(),j0t(t)),o=new VXe(r),Tn(o.Cl(),e)),o}function I6(e,t){var r,o;return r=l(e.c.Ac(t),18),r?(o=e.hc(),o.Fc(r),e.d-=r.gc(),r.$b(),e.mc(o)):e.jc()}function Apn(e){var t;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw K(new ys);return t=e.a,e.a+=e.c.c,++e.b,Re(t)}function _pn(e){var t,r;if(e==null)return!1;for(t=0,r=e.length;t<r;t++)if(!cot(e[t]))return!1;return!0}function Opt(e,t){var r;for(r=0;r<t.length;r++)if(e==(Yt(r,t.length),t.charCodeAt(r)))return!0;return!1}function Dpt(e){var t;if(e.c!=0)return e.c;for(t=0;t<e.a.length;t++)e.c=e.c*33+(e.a[t]&-1);return e.c=e.c*e.e,e.c}function Fj(e){var t;return un(e.a!=e.b),t=e.d.a[e.a],xrt(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function Lpt(e,t,r,o){var s,u;e.a=t,u=o?0:1,e.f=(s=new amt(e.c,e.a,r,u),new Gwt(r,e.a,s,e.e,e.b,e.c==(Vb(),KI)))}function kpn(e,t,r){var o,s;for(s=t.a.a.ec().Jc();s.Ob();)if(o=l(s.Pb(),60),Eat(e,o,r))return!0;return!1}function hy(e,t){xn(e);try{return e.xc(t)}catch(r){if(r=ci(r),se(r,214)||se(r,174))return null;throw K(r)}}function xpn(e,t){xn(e);try{return e.Ac(t)}catch(r){if(r=ci(r),se(r,214)||se(r,174))return null;throw K(r)}}function GK(e,t,r){return b.Math.abs(t-e)<IF||b.Math.abs(r-e)<IF?!0:t-e>IF?e-r>IF:r-e>IF}function va(e,t){var r;return ps(e)&&ps(t)&&(r=e-t,!isNaN(r))?r:nbe(ps(e)?vl(e):e,ps(t)?vl(t):t)}function Npn(e,t,r){var o;o=new a0t(e,t),wt(e.r,t.$f(),o),r&&!A3(e.u)&&(o.c=new Bat(e.d),Oa(t.Pf(),new tYe(o)))}function qK(e){var t;return t=new ede(e.a),qs(t,e),Ae(t,(Ie(),mr),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function Cpn(e){var t;return t=I8(ZIt),l(j(e,(Ie(),_a)),24).Gc((Mo(),Zk))&&Fn(t,(Vi(),la),(Xi(),L$)),t}function Ipn(e){var t,r,o,s;for(s=new hi,o=new V(e);o.a<o.c.c.length;)r=l(q(o),19),t=kSn(r),bo(s,t);return s}function Hge(e,t){var r,o,s;for(s=1,r=e,o=t>=0?t:-t;o>0;)o%2==0?(r*=r,o=o/2|0):(s*=r,o-=1);return t<0?1/s:s}function Rpn(e,t){var r,o,s;for(s=1,r=e,o=t>=0?t:-t;o>0;)o%2==0?(r*=r,o=o/2|0):(s*=r,o-=1);return t<0?1/s:s}function w1(e,t){var r,o,s,u;return u=(s=e?Qj(e):null,Nmt((o=t,s&&s.El(),o))),u==t&&(r=Qj(e),r&&r.El()),u}function zge(e,t,r){var o,s;return s=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,1,s,t),r?r.lj(o):r=o),r}function Mpt(e,t,r){var o,s;return s=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,3,s,t),r?r.lj(o):r=o),r}function Ppt(e,t,r){var o,s;return s=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,0,s,t),r?r.lj(o):r=o),r}function Opn(e,t,r,o){var s,u;for(u=e.Jc();u.Ob();)s=l(u.Pb(),70),s.n.a=t.a+(o.a-s.o.a)/2,s.n.b=t.b,t.b+=s.o.b+r}function Dpn(e,t,r,o,s,u,f,p){var m;for(m=r;u<f;)m>=o||t<r&&p.Le(e[t],e[m])<=0?ii(s,u++,e[t++]):ii(s,u++,e[m++])}function jpt(e){var t,r;if(e!=null)for(r=0;r<e.length;++r)t=e[r],t&&(l(t.g,375),t.i)}function Lpn(e,t,r,o,s){t==0||o==0||(t==1?s[o]=P1e(s,r,o,e[0]):o==1?s[t]=P1e(s,e,t,r[0]):Ovn(e,r,s,t,o))}function VK(e){return(Ue(),ou).Gc(e.j)?ue(ce(j(e,(Ie(),Qk)))):_s(Z(X($i,1),Me,8,0,[e.i.n,e.n,e.a])).b}function Fpt(e,t){var r;return r=new Xd(e),Kh(r,(Ht(),gi)),Ae(r,(Ie(),mr),t),Ae(r,(Be(),Zr),(qi(),fa)),r}function $pt(e,t,r){var o,s;for(s=e.Jc();s.Ob();){if(o=l(s.Pb(),9),o==t)return-1;if(o==r)return 1}return 0}function Mpn(e,t,r){var o,s,u,f;for(o=r/e.gc(),s=0,f=e.Jc();f.Ob();)u=l(f.Pb(),189),Cpt(u,u.f+o*s),Hmn(u,t,o),++s}function Ppn(e){var t,r,o;for(o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),221),t=r.c.ig()?r.f:r.a,t&&B_n(t,r.j)}function jpn(e){var t,r,o;for(o=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),o=b.Math.max(o,t.g);return o}function Gge(){this.a=new Rze,this.f=new qJe(this),this.b=new VJe(this),this.i=new WJe(this),this.e=new KJe(this)}function R_(){R_=Y,UL=new m8(Jve,0),sU=new m8("CONTAINER",1),ENe=new m8("PARENT",2),SNe=new m8("ROOT",3)}function GS(){GS=Y,GNe=new Qq("PARALLEL_NODE",0),hv=new Qq("HIERARCHICAL_NODE",1),hU=new Qq("ROOT_NODE",2)}function $j(){$j=Y,Kke=new Kq("EQUAL_BETWEEN_STRUCTURES",0),Yke=new Kq("TO_ASPECT_RATIO",1),One=new Kq(_d,2)}function qge(e){throw RK(),K(new ZZe("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function Bpt(e){switch(e.g){case 0:return new kze;case 1:return new Nze;case 2:return new xze;default:return null}}function Vge(e,t){switch(t){case 1:!e.n&&(e.n=new xe(Is,e,1,7)),vn(e.n);return;case 2:y_(e,null);return}yge(e,t)}function Upt(e,t){var r;e.a.c.length>0&&(r=l(He(e.a,e.a.c.length-1),572),Dge(r,t))||je(e.a,new Qct(t))}function Hpt(e,t){var r;e.c.length!=0&&(r=l(Yd(e,me(Nh,yg,9,e.c.length,0,1)),201),Kle(r,new mFe),Zmt(r,t))}function zpt(e,t){var r;e.c.length!=0&&(r=l(Yd(e,me(Nh,yg,9,e.c.length,0,1)),201),Kle(r,new wFe),Zmt(r,t))}function Re(e){var t,r;return e>-129&&e<128?(wot(),t=e+128,r=GEe[t],!r&&(r=GEe[t]=new Jue(e)),r):new Jue(e)}function O_(e){var t,r;return e>-129&&e<128?(kot(),t=e+128,r=KEe[t],!r&&(r=KEe[t]=new Kue(e)),r):new Kue(e)}function Gpt(e){var t;return t=new Zg,t.a+="VerticalSegment ",ga(t,e.e),t.a+=" ",zn(t,fde(new lq,new V(e.k))),t.a}function Fpn(e){hc();var t,r;t=e.d.c-e.e.c,r=l(e.g,157),Oa(r.b,new FYe(t)),Oa(r.c,new $Ye(t)),co(r.i,new BYe(t))}function $pn(e){var t;return t=l(Wd(e.c.c,""),236),t||(t=new OS(jA(PA(new Z2,""),"Other")),Kb(e.c.c,"",t)),t}function tC(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (name: ",zo(t,e.zb),t.a+=")",t.a)}function Wge(e,t,r){var o,s;return s=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,4,s,t),r?r.lj(o):r=o),r}function WK(e,t){var r,o,s;for(r=0,s=ks(e,t).Jc();s.Ob();)o=l(s.Pb(),12),r+=j(o,(Ie(),Nu))!=null?1:0;return r}function yE(e,t,r){var o,s,u;for(o=0,u=An(e,0);u.b!=u.d.c&&(s=ue(ce(Sn(u))),!(s>r));)s>=t&&++o;return o}function Bpn(e,t,r){var o,s;return o=new ap(e.e,3,13,null,(s=t.c,s||(Tt(),bf)),pg(e,t),!1),r?r.lj(o):r=o,r}function Upn(e,t,r){var o,s;return o=new ap(e.e,4,13,(s=t.c,s||(Tt(),bf)),null,pg(e,t),!1),r?r.lj(o):r=o,r}function Kge(e,t,r){var o,s;return s=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,8,s,e.r),r?r.lj(o):r=o),r}function dg(e,t){var r,o;return r=l(t,688),o=r.cl(),!o&&r.dl(o=se(t,89)?new int(e,l(t,29)):new Put(e,l(t,160))),o}function R6(e,t,r){var o;e.Zi(e.i+1),o=e.Xi(t,r),t!=e.i&&ua(e.g,t,e.g,t+1,e.i-t),ii(e.g,t,o),++e.i,e.Ki(t,r),e.Li()}function Hpn(e,t){var r;e.c=t,e.a=Fgn(t),e.a<54&&(e.f=(r=t.d>1?Hut(t.a[0],t.a[1]):Hut(t.a[0],0),jb(t.e>0?r:ag(r))))}function zpn(e,t){var r;return t.a&&(r=t.a.a.length,e.a?zn(e.a,e.b):e.a=new fc(e.d),Yut(e.a,t.a,t.d.length,r)),e}function Gpn(e,t){var r,o,s,u;if(t.cj(e.a),u=l(qt(e.a,8),2014),u!=null)for(r=u,o=0,s=r.length;o<s;++o)null.Sm()}function O6(e,t){var r;return r=new Hi,e.a.zd(r)?(qA(),new rq(Mt(Ndt(e,r.a,t)))):(u1(e),qA(),qA(),o2e)}function qpt(e){var t;return va(e,0)<0&&(e=p1(rsn(ps(e)?vl(e):e))),t=On(Cb(e,32)),64-(t!=0?X6(t):X6(On(e))+32)}function pr(e,t){return zi(e)?mt(e,t):Bw(e)?Ait(e,t):$w(e)?(Mt(e),be(e)===be(t)):Ffe(e)?e.Fb(t):Mfe(e)?Ent(e,t):Mhe(e,t)}function Vpt(e,t){xn(e);try{return e._b(t)}catch(r){if(r=ci(r),se(r,214)||se(r,174))return!1;throw K(r)}}function Yge(e,t){xn(e);try{return e.Gc(t)}catch(r){if(r=ci(r),se(r,214)||se(r,174))return!1;throw K(r)}}function qpn(e,t){xn(e);try{return e.Kc(t)}catch(r){if(r=ci(r),se(r,214)||se(r,174))return!1;throw K(r)}}function Jge(e,t,r,o){switch(t){case 1:return!e.n&&(e.n=new xe(Is,e,1,7)),e.n;case 2:return e.k}return q1e(e,t,r,o)}function nC(e,t){switch(t.g){case 2:case 1:return ks(e,t);case 3:case 4:return ic(ks(e,t))}return St(),St(),No}function Jc(e,t,r){if(t<0)Qbe(e,r);else{if(!r.pk())throw K(new jt(R1+r.ve()+tI));l(r,69).uk().Ck(e,e.ei(),t)}}function Wpt(e,t,r){if(e<0||t>r)throw K(new Na(iF+e+iwe+t+", size: "+r));if(e>t)throw K(new jt(iF+e+c2t+t))}function fg(e,t){var r;r=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,2,r,t))}function Xge(e,t){var r;r=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,8,r,t))}function Zge(e,t){var r;r=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,9,r,t))}function hg(e,t){var r;r=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,3,r,t))}function Bj(e,t){var r;r=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,8,r,t))}function Vpn(e,t,r){var o,s;return s=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,5,s,e.a),r?bbe(r,o):r=o),r}function Kpt(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (source: ",zo(t,e.d),t.a+=")",t.a)}function rC(e,t){var r;return e.b==-1&&e.a&&(r=e.a.nk(),e.b=r?e.c.Eh(e.a.Jj(),r):Ur(e.c.Ah(),e.a)),e.c.vh(e.b,t)}function Ypt(e,t){var r,o;for(o=new en(e);o.e!=o.i.gc();)if(r=l(rn(o),29),be(t)===be(r))return!0;return!1}function Wpn(e){Z7();var t,r,o,s;for(r=hY(),o=0,s=r.length;o<s;++o)if(t=r[o],As(t.a,e,0)!=-1)return t;return ZQ}function Jpt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function Xpt(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function Qge(e){var t,r;return t=e.k,t==(Ht(),mi)?(r=l(j(e,(Ie(),Us)),64),r==(Ue(),Vt)||r==dn):!1}function Zpt(e,t){var r,o;for(o=new en(e);o.e!=o.i.gc();)if(r=l(rn(o),146),be(t)===be(r))return!0;return!1}function Kpn(e,t,r){var o,s,u;return u=(s=K_(e.b,t),s),u&&(o=l(W7(d6(e,u),""),29),o)?Tme(e,o,t,r):null}function KK(e,t,r){var o,s,u;return u=(s=K_(e.b,t),s),u&&(o=l(W7(d6(e,u),""),29),o)?Ame(e,o,t,r):null}function iC(e,t,r){var o;if(o=e.gc(),t>o)throw K(new Vw(t,o));if(e.Qi()&&e.Gc(r))throw K(new jt(HD));e.Ei(t,r)}function Ypn(e,t){t.Tg("Sort end labels",1),ei(lr(gs(new yt(null,new vt(e.b,16)),new tFe),new nFe),new rFe),t.Ug()}function vi(){vi=Y,hf=new EO(HC,0),cs=new EO(fT,1),is=new EO(dT,2),ff=new EO(xX,3),il=new EO("UP",4)}function D6(){D6=Y,VB=new Yq("P1_STRUCTURE",0),WB=new Yq("P2_PROCESSING_ORDER",1),KB=new Yq("P3_EXECUTION",2)}function Qpt(){Qpt=Y,hRt=Mf(Mf(YN(Mf(Mf(YN(Fn(new ui,(KS(),XI),(xC(),Wte)),ZI),__e),x_e),QI),E_e),N_e)}function Jpn(e){var t,r,o;for(t=new Pe,o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),598),li(t,l(r.Af(),18));return t}function Xpn(e){var t,r,o;for(o=0,r=e.length,t=0;t<r;t++)e[t]==32||e[t]==13||e[t]==10||e[t]==9||(e[o++]=e[t]);return o}function Zpn(e){var t;return t=e.a[e.c-1&e.a.length-1],t==null?null:(e.c=e.c-1&e.a.length-1,ii(e.a,e.c,null),t)}function egt(e){var t,r;for(r=e.p.a.ec().Jc();r.Ob();)if(t=l(r.Pb(),220),t.f&&e.b[t.c]<-1e-10)return t;return null}function e1e(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new ql(t.d,0,t.a,t.b);default:return null}}function tgt(e){switch(e.g){case 2:return cs;case 1:return is;case 4:return ff;case 3:return il;default:return hf}}function t1e(e){switch(e.g){case 1:return Wt;case 2:return Vt;case 3:return Zt;case 4:return dn;default:return Cs}}function L6(e){switch(e.g){case 1:return dn;case 2:return Wt;case 3:return Vt;case 4:return Zt;default:return Cs}}function Uj(e){switch(e.g){case 1:return Zt;case 2:return dn;case 3:return Wt;case 4:return Vt;default:return Cs}}function Qpn(e){switch(e){case 0:return new SZe;case 1:return new vZe;case 2:return new EZe;default:throw K(new eO)}}function egn(e){switch(l(j(e,(Ie(),dm)),316).g){case 1:Ae(e,dm,(up(),_T));break;case 2:Ae(e,dm,(up(),ZE))}}function M6(e,t){this.e=t,this.a=qpt(e),this.a<54?this.f=jb(e):this.c=(Pf(),va(e,0)>=0?v1(e):x3(v1(ag(e))))}function ngt(e,t,r,o,s,u){this.e=new Pe,this.f=(Lo(),VI),je(this.e,e),this.d=t,this.a=r,this.b=o,this.f=s,this.c=u}function tgn(e){var t;if(!e.a)throw K(new Xo("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,hat(e,t),pat(e,t)}function rgt(e){var t;return t=Bhe(e),u3(t.a,0)?(Pw(),Pw(),GQ):(Pw(),new mV(vq(t.a,0)?upe(t)/jb(t.a):0))}function ngn(e,t){var r;if(r=nD(e,t),se(r,336))return l(r,38);throw K(new jt(R1+t+"' is not a valid attribute"))}function yr(e,t){return e<t?-1:e>t?1:e==t?e==0?yr(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function oC(e,t,r){var o,s;return e.Nj()?(s=e.Oj(),o=rJ(e,t,r),e.Hj(e.Gj(7,Re(r),o,t,s)),o):rJ(e,t,r)}function YK(e,t){var r,o,s;e.d==null?(++e.e,--e.f):(s=t.jd(),r=t.yi(),o=(r&sr)%e.d.length,Wln(e,o,G0t(e,o,r,s)))}function D_(e,t){var r;r=(e.Bb&Tl)!=0,t?e.Bb|=Tl:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,10,r,t))}function L_(e,t){var r;r=(e.Bb&Iy)!=0,t?e.Bb|=Iy:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,12,r,t))}function M_(e,t){var r;r=(e.Bb&yu)!=0,t?e.Bb|=yu:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,15,r,t))}function P_(e,t){var r;r=(e.Bb&mp)!=0,t?e.Bb|=mp:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,11,r,t))}function rgn(e,t){var r;return r=yr(e.b.c,t.b.c),r!=0||(r=yr(e.a.a,t.a.a),r!=0)?r:yr(e.a.b,t.a.b)}function Hj(e){var t,r;return r=l(j(e,(Be(),kc)),87),r==(vi(),hf)?(t=ue(ce(j(e,oB))),t>=1?cs:ff):r}function ign(e){var t,r;for(r=F0t(mc(e)).Jc();r.Ob();)if(t=In(r.Pb()),NC(e,t))return bln(($et(),BDt),t);return null}function ogn(e,t,r){var o,s;for(s=e.a.ec().Jc();s.Ob();)if(o=l(s.Pb(),9),k6(r,l(He(t,o.p),18)))return o;return null}function sgn(e,t,r){var o,s;for(s=se(t,104)&&l(t,20).Bb&xo?new nV(t,e):new T_(t,e),o=0;o<r;++o)o7(s);return s}function agn(e,t){var r,o,s,u,f;for(f=za(e.e.Ah(),t),u=0,r=l(e.g,123),s=0;s<e.i;++s)o=r[s],f.$l(o.Jk())&&++u;return u}function ugn(e,t,r){var o,s;return o=l(t.mf(e.a),34),s=l(r.mf(e.a),34),o!=null&&s!=null?y6(o,s):o!=null?-1:s!=null?1:0}function igt(e,t,r){var o,s;if(e.c)Cbe(e.c,t,r);else for(s=new V(e.b);s.a<s.c.c.length;)o=l(q(s),168),igt(o,t,r)}function JK(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),49),Xa(e.b.b,r.b),Tan(l(r.a,197),l(r.b,84))}function n1e(e,t){var r,o,s;for(Mt(t),r=!1,o=new V(e);o.a<o.c.c.length;)s=q(o),t.Gc(s)&&(k3(o),r=!0);return r}function cgn(e){var t,r;for(r=Rb(new Zg,91),t=!0;e.Ob();)t||(r.a+=Ma),t=!1,ga(r,e.Pb());return(r.a+="]",r).a}function r1e(e){var t;return t=me(al,$f,30,2,15,1),e-=xo,t[0]=(e>>10)+ED&Ei,t[1]=(e&1023)+56320&Ei,Lf(t,0,t.length)}function i1e(e,t){var r;r=(e.Bb&xo)!=0,t?e.Bb|=xo:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,20,r,t))}function o1e(e,t){var r;r=(e.Bb&Ws)!=0,t?e.Bb|=Ws:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,18,r,t))}function XK(e,t){var r;r=(e.Bb&Ws)!=0,t?e.Bb|=Ws:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,18,r,t))}function j_(e,t){var r;r=(e.Bb&Ff)!=0,t?e.Bb|=Ff:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,16,r,t))}function s1e(e,t,r){var o;return o=0,t&&(eE(e.a)?o+=t.f.a/2:o+=t.f.b/2),r&&(eE(e.a)?o+=r.f.a/2:o+=r.f.b/2),o}function A0(e,t,r){var o;return o=e.a.get(t),e.a.set(t,r===void 0?null:r),o===void 0?(++e.c,++e.b.g):++e.d,o}function ZK(e,t,r){var o,s;return o=(e1(),s=new p9,s),hj(o,t),fj(o,r),e&&Tn((!e.a&&(e.a=new yi(Ic,e,5)),e.a),o),o}function lgn(e,t,r){var o;o=r,!o&&(o=vfe(new iS,0)),o.Tg(j2t,2),h1t(e.b,t,o.dh(1)),dkn(e,t,o.dh(1)),dNn(t,o.dh(1)),o.Ug()}function ks(e,t){var r;return e.i||Zbe(e),r=l(Go(e.g,t),49),r?new If(e.j,l(r.a,15).a,l(r.b,15).a):(St(),St(),No)}function To(e,t){var r;return ps(e)&&ps(t)&&(r=e+t,vD<r&&r<em)?r:p1(xhn(ps(e)?vl(e):e,ps(t)?vl(t):t))}function mo(e,t){var r;return ps(e)&&ps(t)&&(r=e*t,vD<r&&r<em)?r:p1(Z_n(ps(e)?vl(e):e,ps(t)?vl(t):t))}function El(e,t){var r;return ps(e)&&ps(t)&&(r=e-t,vD<r&&r<em)?r:p1(Oht(ps(e)?vl(e):e,ps(t)?vl(t):t))}function zj(e){var t;switch(e.gc()){case 0:return rP(),MQ;case 1:return new EV(xn(e.Xb(0)));default:return t=e,new IW(t)}}function dgn(e){switch(l(j(e,(Be(),_p)),225).g){case 1:return new GBe;case 3:return new YBe;default:return new zBe}}function fgn(e){var t;return t=yy(e),t>34028234663852886e22?Kr:t<-34028234663852886e22?Oi:t}function Df(e){var t,r,o;for(t=new Pe,o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),12),je(t,r.b);return xn(t),new f3(t)}function si(e){var t,r,o;for(t=new Pe,o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),12),je(t,r.e);return xn(t),new f3(t)}function Rr(e){var t,r,o;for(t=new Pe,o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),12),je(t,r.g);return xn(t),new f3(t)}function QK(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (identifier: ",zo(t,e.k),t.a+=")",t.a)}function y1(e){if(e.c)y1(e.c);else if(e.d)throw K(new Xo("Stream already terminated, can't be modified or used"))}function ogt(e,t,r){switch(t.g){case 1:e.b-=r.b/2;break;case 3:e.b+=r.b/2;break;case 4:e.a-=r.a/2;break;case 2:e.a+=r.a/2}}function hgn(e,t){return mt(t.b&&t.c?Pb(t.b)+"->"+Pb(t.c):"e_"+Ir(t),e.b&&e.c?Pb(e.b)+"->"+Pb(e.c):"e_"+Ir(e))}function pgn(e,t){return mt(t.b&&t.c?Pb(t.b)+"->"+Pb(t.c):"e_"+Ir(t),e.b&&e.c?Pb(e.b)+"->"+Pb(e.c):"e_"+Ir(e))}function ggn(e){return UK(),Lt(),!!(cgt(l(e.a,84).j,l(e.b,87))||l(e.a,84).d.e!=0&&cgt(l(e.a,84).j,l(e.b,87)))}function eY(){Abe();var e,t,r;r=S3n+++Date.now(),e=po(b.Math.floor(r*TD))&rF,t=po(r-e*ewe),this.a=e^1502,this.b=t^EX}function sgt(e,t,r,o,s){Vnt(this),this.b=e,this.d=me(Nh,yg,9,t.a.c.length,0,1),this.f=r,Yd(t.a,this.d),this.g=o,this.c=s}function a1e(e,t){e.n.c.length==0&&je(e.n,new DP(e.s,e.t,e.i)),je(e.b,t),U1e(l(He(e.n,e.n.c.length-1),211),t),Wyt(e,t)}function bgn(e,t,r){var o;r.Tg("Straight Line Edge Routing",1),r.bh(t,ive),o=l(ye(t,(aE(),l2)),19),avt(e,o),r.bh(t,DF)}function ct(e){var t,r,o,s;return r=(t=l(md((o=e.Pm,s=o.f,s==bn?o:s)),10),new Hc(t,l(Gl(t,t.length),10),0)),Jl(r,e),r}function mgn(e){var t,r;for(r=Gvn(mc(ty(e))).Jc();r.Ob();)if(t=In(r.Pb()),NC(e,t))return mln((Bet(),UDt),t);return null}function tY(e,t){var r,o,s;for(s=0,o=l(t.Kb(e),22).Jc();o.Ob();)r=l(o.Pb(),17),Ke(We(j(r,(Ie(),Tg))))||++s;return s}function agt(e){var t,r,o,s;for(t=new iit(e.Pd().gc()),s=0,o=FS(e.Pd().Jc());o.Ob();)r=o.Pb(),ian(t,r,Re(s++));return Kwn(t.a)}function wgn(e){var t,r,o;for(r=0,o=e.length;r<o;r++)if(e[r]==null)throw K(new sS("at index "+r));return t=e,new Ds(t)}function ygn(e,t,r){var o;try{Khn(e,t,r)}catch(s){throw s=ci(s),se(s,602)?(o=s,K(new Qhe(o))):K(s)}return t}function ugt(e,t){var r,o;for(r=An(e,0);r.b!=r.d.c;){if(o=tO(ce(Sn(r))),o==t)return;if(o>t){But(r);break}}mP(r,t)}function vgn(e,t){var r,o,s;o=lE(t),s=ue(ce(gy(o,(Be(),od)))),r=b.Math.max(0,s/2-.5),hC(t,r,1),je(e,new stt(t,r))}function st(e,t){var r,o,s,u,f;if(r=t.f,Kb(e.c.d,r,t),t.g!=null)for(s=t.g,u=0,f=s.length;u<f;++u)o=s[u],Kb(e.c.e,o,t)}function Egn(e,t,r,o){var s,u,f;for(s=t+1;s<r;++s)for(u=s;u>t&&o.Le(e[u-1],e[u])>0;--u)f=e[u],ii(e,u,e[u-1]),ii(e,u-1,f)}function Xc(e,t,r,o){if(t<0)Nme(e,r,o);else{if(!r.pk())throw K(new jt(R1+r.ve()+tI));l(r,69).uk().Ak(e,e.ei(),t,o)}}function Sgn(e,t){var r;if(r=nD(e.Ah(),t),se(r,104))return l(r,20);throw K(new jt(R1+t+"' is not a valid reference"))}function bs(e){var t;return Array.isArray(e)&&e.Rm===ge?Sb(nc(e))+"@"+(t=Ir(e)>>>0,t.toString(16)):e.toString()}function Tgn(e,t){return e.h==yD&&e.m==0&&e.l==0?(t&&(O1=Ua(0,0,0)),Snt((b_(),FEe))):(t&&(O1=Ua(e.l,e.m,e.h)),Ua(0,0,0))}function Agn(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function cgt(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function u1e(e,t,r,o){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return Jge(e,t,r,o)}function Gj(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw K(new jt("Node "+t+" not part of edge "+e))}function _gn(e){return e.e==null?e:(!e.c&&(e.c=new fJ((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function kgn(e){return e.k!=(Ht(),Xr)?!1:fE(new yt(null,new Xw(new Ft(Gt(Rr(e).a.Jc(),new D)))),new SBe)}function Fu(e){var t;if(e.b){if(Fu(e.b),e.b.d!=e.c)throw K(new $c)}else e.d.dc()&&(t=l(e.f.c.xc(e.e),18),t&&(e.d=t))}function xgn(e){Gw();var t,r,o,s;for(t=e.o.b,o=l(l(wr(e.r,(Ue(),dn)),24),85).Jc();o.Ob();)r=l(o.Pb(),116),s=r.e,s.b+=t}function Ngn(e,t){var r,o,s;for(o=sTn(e,t),s=o[o.length-1]/2,r=0;r<o.length;r++)if(o[r]>=s)return t.c+r;return t.c+t.b.gc()}function c1e(e,t,r,o,s){var u,f,p;for(f=s;t.b!=t.c;)u=l(xS(t),9),p=l(ks(u,o).Xb(0),12),e.d[p.p]=f++,Ot(r.c,p);return f}function sC(e){var t;this.a=(t=l(e.e&&e.e(),10),new Hc(t,l(Gl(t,t.length),10),0)),this.b=me(Ci,Rt,1,this.a.a.length,5,1)}function l1e(e){oY(),this.c=Wl(Z(X(U3n,1),Rt,837,0,[EIt])),this.b=new hn,this.a=e,Yn(this.b,EB,1),Oa(SIt,new rXe(this))}function rc(){rc=Y,hL=new pO(_d,0),RI=new pO("FIRST",1),Ap=new pO(Q2t,2),OI=new pO("LAST",3),hm=new pO(eSt,4)}function aC(){aC=Y,AI=new u8("LAYER_SWEEP",0),RSe=new u8("MEDIAN_LAYER_SWEEP",1),oL=new u8(jX,2),OSe=new u8(_d,3)}function qj(){qj=Y,_ke=new Vq("ASPECT_RATIO_DRIVEN",0),kne=new Vq("MAX_SCALE_DRIVEN",1),Ake=new Vq("AREA_DRIVEN",2)}function Vj(){Vj=Y,_re=new E8(qye,0),YNe=new E8("GROUP_DEC",1),XNe=new E8("GROUP_MIXED",2),JNe=new E8("GROUP_INC",3)}function hp(){hp=Y,yre=new w8(HC,0),HL=new w8("POLYLINE",1),vx=new w8("ORTHOGONAL",2),qT=new w8("SPLINES",3)}function d1e(){d1e=Y,KOt=new cr(jve),Axe=(UP(),Hne),WOt=new ht(Fve,Axe),VOt=new ht($ve,50),qOt=new ht(Bve,(Lt(),!0))}function Cgn(e){var t,r,o,s,u;return u=_be(e),r=oO(e.c),o=!r,o&&(s=new yb,Kl(u,"knownLayouters",s),t=new DXe(s),co(e.c,t)),u}function f1e(e,t){var r,o,s,u,f,p;for(o=0,r=0,u=t,f=0,p=u.length;f<p;++f)s=u[f],s>0&&(o+=s,++r);return r>1&&(o+=e.d*(r-1)),o}function h1e(e){var t,r,o;for(o=new Jp,o.a+="[",t=0,r=e.gc();t<r;)zo(o,b3(e.Ti(t))),++t<r&&(o.a+=Ma);return o.a+="]",o.a}function nY(e,t,r){var o,s;for(o=0,s=e.length;o<s;o++)if(OK((Yt(o,e.length),e.charCodeAt(o)),t,r))return!0;return!1}function Ign(e){var t;return e==null?!0:(t=e.length,t>0&&(Yt(t-1,e.length),e.charCodeAt(t-1)==58)&&!nY(e,C4,I4))}function p1e(e,t){var r;return be(e)===be(t)?!0:se(t,92)?(r=l(t,92),e.e==r.e&&e.d==r.d&&vln(e,r.a)):!1}function qS(e){switch(Ue(),e.g){case 4:return Vt;case 1:return Zt;case 3:return dn;case 2:return Wt;default:return Cs}}function Rgn(e){var t,r;if(e.b)return e.b;for(r=sf?null:e.d;r;){if(t=sf?null:r.b,t)return t;r=sf?null:r.d}return zA(),u2e}function _0(e,t){return Ud(),Yl(mg),b.Math.abs(e-t)<=mg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:_b(isNaN(e),isNaN(t))}function lgt(e,t){YA();var r,o,s,u;for(o=Qlt(e),s=t,p_(o,0,o.length,s),r=0;r<o.length;r++)u=fmn(e,o[r],r),r!=u&&oC(e,r,u)}function g1e(e){var t,r,o;for(o=ue(ce(e.a.mf((_n(),rU)))),r=new V(e.a.Qf());r.a<r.c.c.length;)t=l(q(r),692),fEt(e,t,o)}function Ogn(e){var t,r,o,s;for(t=(e.j==null&&(e.j=(c_(),s=FQ.ke(e),Xmn(s))),e.j),r=0,o=t.length;r<o;++r);}function rY(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),49),je(e.b.b,l(r.b,84)),DW(l(r.a,197),l(r.b,84))}function Dgn(e,t,r){var o,s;for(s=e.a.b,o=s.c.length;o<r;o++)kb(s,0,new ra(e.a));Ii(t,l(He(s,s.c.length-r),26)),e.b[t.p]=r}function Lgn(e,t,r){var o;r.Tg(WSt,1),(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i!=0&&(o=l(ye(t,(wh(),l4)),19),ayt(e,o)),r.Ug()}function Mgn(e,t,r,o,s){gc(),Ql($l(Ul(Bl(Hl(new gl,0),s.d.e-e),t),s.d)),Ql($l(Ul(Bl(Hl(new gl,0),r-s.a.e),s.a),o))}function dgt(e,t){var r,o,s,u;t&&(s=lp(t,"x"),r=new _Xe(e),v0(r.a,(Mt(s),s)),u=lp(t,"y"),o=new kXe(e),E0(o.a,(Mt(u),u)))}function fgt(e,t){var r,o,s,u;t&&(s=lp(t,"x"),r=new NXe(e),w0(r.a,(Mt(s),s)),u=lp(t,"y"),o=new CXe(e),y0(o.a,(Mt(u),u)))}function hgt(e,t){var r;return e.d?ba(e.b,t)?l(Ut(e.b,t),43):(r=t.bg(),Yn(e.b,t,r),r):t.bg()}function b1e(e,t,r){var o,s;if(++e.j,r.dc())return!1;for(s=r.Jc();s.Ob();)o=s.Pb(),e.oj(t,e.Xi(t,o)),++t;return!0}function Pgn(e,t){var r,o,s,u;for(s=new Ra(t.gc()),o=t.Jc();o.Ob();)r=o.Pb(),u=vJ(e,l(r,57)),u&&Ot(s.c,u);return s}function py(e,t,r){var o,s;for(s=e.Jc();s.Ob();)if(o=s.Pb(),be(t)===be(o)||t!=null&&pr(t,o))return r&&s.Qb(),!0;return!1}function jgn(e,t,r,o){var s,u;if(u=r-t,u<3)for(;u<3;)e*=10,++u;else{for(s=1;u>3;)s*=10,--u;e=(e+(s>>1))/s|0}return o.i=e,!0}function Fgn(e){var t,r,o;return e.e==0?0:(t=e.d<<5,r=e.a[e.d-1],e.e<0&&(o=lht(e),o==e.d-1&&(--r,r=r|0)),t-=X6(r),t)}function $gn(e){var t,r,o;return e<l$.length?l$[e]:(r=e>>5,t=e&31,o=me(Rn,Xn,30,r+1,15,1),o[r]=1<<t,new Ib(1,r+1,o))}function pgt(e){var t,r,o;return r=e.ih(),r?(t=e.Bh(),se(t,176)&&(o=pgt(l(t,176)),o!=null)?o+"."+r:r):null}function m1e(e){var t;return!e.c&&(e.c=new ho),_i(e.d,new Fl),ISn(e),t=ESn(e),ei(new yt(null,new vt(e.d,16)),new nYe(e)),t}function Bgn(e,t){t.Tg("End label post-processing",1),ei(lr(gs(new yt(null,new vt(e.b,16)),new W7e),new K7e),new Y7e),t.Ug()}function ic(e){var t,r;return se(e,312)?(r=Gln(l(e,312)),t=r,t):se(e,437)?l(e,437).a:se(e,59)?new JZe(e):new ele(e)}function Ugn(e){var t=e.e;function r(o){return!o||o.length==0?"":" "+o.join(`
|
||
`)}return t&&(t.stack||r(e[XJ]))}function w1e(e,t){switch(t){case 3:return e.f!=0;case 4:return e.g!=0;case 5:return e.i!=0;case 6:return e.j!=0}return fge(e,t)}function y1e(e,t){switch(t){case 3:$b(e,0);return;case 4:Bb(e,0);return;case 5:ya(e,0);return;case 6:gu(e,0);return}Vge(e,t)}function Hgn(e){switch(e.g){case 0:return new hze;case 1:return new pze;default:throw K(new jt(OZ+(e.f!=null?e.f:""+e.g)))}}function ggt(e){switch(e.g){case 0:return new fze;case 1:return new gze;default:throw K(new jt(LX+(e.f!=null?e.f:""+e.g)))}}function zgn(e){switch(e.g){case 1:return new oze;case 2:return new Wrt;default:throw K(new jt(OZ+(e.f!=null?e.f:""+e.g)))}}function bgt(e){switch(e.g){case 0:return new Rce;case 1:return new kZe;default:throw K(new jt(PF+(e.f!=null?e.f:""+e.g)))}}function k0(e,t){switch(t.g){case 1:return TS(e.j,(bu(),$2e));case 2:return TS(e.j,(bu(),U2e));default:return St(),St(),No}}function mgt(e,t){var r,o;if(t){for(r=0;r<e.i;++r)if(o=l(e.g[r],374),o.kj(t))return!1;return Tn(e,t)}else return!1}function v1e(e){var t,r,o,s;for(t=new yb,s=new Gv(e.b.Jc());s.b.Ob();)o=l(s.b.Pb(),697),r=eyn(o),lsn(t,t.a.length,r);return t.a}function Wj(e){var t;return e.Db&64?tC(e):(t=new ml(tC(e)),t.a+=" (instanceClassName: ",zo(t,e.D),t.a+=")",t.a)}function E1e(e,t){var r;return e.i>0&&(t.length<e.i&&(r=m6(nc(t).c,e.i),t=r),ua(e.g,0,t,0,e.i)),t.length>e.i&&ii(t,e.i,null),t}function Ggn(e,t,r){var o,s;return o=ue(e.p[t.i.p])+ue(e.d[t.i.p])+t.n.b+t.a.b,s=ue(e.p[r.i.p])+ue(e.d[r.i.p])+r.n.b+r.a.b,s-o}function Ur(e,t){var r,o,s;if(r=(e.i==null&&jf(e),e.i),o=t.Jj(),o!=-1){for(s=r.length;o<s;++o)if(r[o]==t)return o}return-1}function iY(e,t){var r,o,s;return e.f>0?(e.Zj(),o=t==null?0:Ir(t),s=(o&sr)%e.d.length,r=G0t(e,s,o,t),r!=-1):!1}function Kj(e){var t,r,o,s;for(s=0,r=0,o=e.length;r<o;r++)t=(Yt(r,e.length),e.charCodeAt(r)),t<64&&(s=Rf(s,fh(1,t)));return s}function qgn(e){var t,r,o,s,u;for(r=l(e.g,686),o=e.i-1;o>=0;--o)for(t=r[o],s=0;s<o;++s)if(u=r[s],$yt(e,t,u)){JS(e,o);break}}function P6(e,t){var r,o,s,u;for(u=za(e.e.Ah(),t),r=l(e.g,123),s=0;s<e.i;++s)if(o=r[s],u.$l(o.Jk()))return!1;return!0}function wgt(e,t){var r,o;if(o=new CA(e.a.$c(t,!0)),o.a.gc()<=1)throw K(new tS);return r=o.a.ec().Jc(),r.Pb(),l(r.Pb(),41)}function Vgn(e,t,r){var o,s;for(o=Gi(r,Po),s=0;va(o,0)!=0&&s<t;s++)o=To(o,Gi(e[s],Po)),e[s]=On(o),o=a0(o,32);return On(o)}function Yj(e,t){Xle();var r,o;return r=MO((O9(),O9(),hI)),o=null,t==r&&(o=l(ma(PEe,e),622)),o||(o=new Sst(e),t==r&&Qo(PEe,e,o)),o}function ygt(e){Gw();var t;return t=new Eo(l(e.e.mf((_n(),b2)),8)),e.B.Gc((Bu(),Sx))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function Wgn(e){ej(),l(e.mf((_n(),G1)),185).Gc((Bu(),dU))&&(l(e.mf(uv),185).Ec((ku(),VT)),l(e.mf(G1),185).Kc(dU))}function vgt(e){var t,r;t=e.d==(ZS(),Vk),r=gbe(e),t&&!r||!t&&r?Ae(e.a,(Be(),Wf),(mh(),PL)):Ae(e.a,(Be(),Wf),(mh(),ML))}function Kgn(e){var t,r,o,s;for(o=kyn(e),_i(o,Gxt),s=e.d,s.c.length=0,r=new V(o);r.a<r.c.c.length;)t=l(q(r),458),li(s,t.b)}function oY(){oY=Y,q9(),EB=(Be(),wm),SIt=Wl(Z(X(nre,1),Gye,149,0,[wL,od,o2,mm,Qy,Ste,ix,ox,Tte,UI,Zy,$1,ev]))}function Ygn(e,t){var r;return r=l(Au(e,Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),r.Oc(mot(r.gc()))}function Td(e,t){var r,o,s;return e.f>0&&(e.Zj(),o=t==null?0:Ir(t),s=(o&sr)%e.d.length,r=sme(e,s,o,t),r)?r.kd():null}function Egt(e,t){var r,o,s;return se(t,45)?(r=l(t,45),o=r.jd(),s=hy(e.Pc(),o),tp(s,r.kd())&&(s!=null||e.Pc()._b(o))):!1}function La(e,t,r){var o,s,u;return e.Nj()?(o=e.i,u=e.Oj(),R6(e,o,t),s=e.Gj(3,null,t,o,u),r?r.lj(s):r=s):R6(e,e.i,t),r}function Jgn(e,t,r){var o,s;return o=new ap(e.e,4,10,(s=t.c,se(s,89)?l(s,29):(Tt(),Ml)),null,pg(e,t),!1),r?r.lj(o):r=o,r}function Xgn(e,t,r){var o,s;return o=new ap(e.e,3,10,null,(s=t.c,se(s,89)?l(s,29):(Tt(),Ml)),pg(e,t),!1),r?r.lj(o):r=o,r}function Sgt(e){my();var t;return(e.q?e.q:(St(),St(),kh))._b((Be(),iw))?t=l(j(e,iw),205):t=l(j(ji(e),BI),205),t}function v1(e){Pf();var t,r;return r=On(e),t=On(Cb(e,32)),t!=0?new Wut(r,t):r>10||r<0?new op(1,r):H_t[r]}function Tgt(e){if(e.b==null){for(;e.a.Ob();)if(e.b=e.a.Pb(),!l(e.b,52).Gh())return!0;return e.b=null,!1}else return!0}function Agt(e,t,r){pft(),_Ze.call(this),this.a=Kw(dkt,[Me,awe],[599,219],0,[p$,XQ],2),this.c=new bS,this.g=e,this.f=t,this.d=r}function _gt(e){this.e=me(Rn,Xn,30,e.length,15,1),this.c=me(uu,Ad,30,e.length,16,1),this.b=me(uu,Ad,30,e.length,16,1),this.f=0}function Zgn(e){var t,r;for(e.j=me(Ki,Wo,30,e.p.c.length,15,1),r=new V(e.p);r.a<r.c.c.length;)t=l(q(r),9),e.j[t.p]=t.o.b/e.i}function kgt(e,t){var r,o;e.a=To(e.a,1),e.c=b.Math.min(e.c,t),e.b=b.Math.max(e.b,t),e.d+=t,r=t-e.f,o=e.e+r,e.f=o-e.e-r,e.e=o}function Qgn(e,t){t.Tg("Min Size Postprocessing",1),Vn(e,(yh(),rv),b.Math.max(ue(ce(ye(e,rv))),ue(ce(ye(e,o4))))),t.Ug()}function xgt(e,t){e.Vj();try{e.d._c(e.e++,t),e.f=e.d.j,e.g=-1}catch(r){throw r=ci(r),se(r,99)?K(new $c):K(r)}}function sY(){sY=Y,Pre=new XGe,v3e=new ZGe,E3e=new QGe,S3e=new eqe,T3e=new tqe,A3e=new nqe,_3e=new rqe,k3e=new iqe,x3e=new oqe}function S1e(){S1e=Y,BNe=new Ab(15),aDt=new Mi((_n(),df),BNe),cDt=new Mi(Od,15),uDt=new Mi(mre,Re(0)),sDt=new Mi(px,gk)}function Jj(){Jj=Y,r4=new qq("P1_WIDTH_APPROXIMATION",0),HB=new qq("P2_PACKING",1),yne=new qq("P3_WHITESPACE_ELIMINATION",2)}function j6(e,t){var r,o;for(o=t.length,r=0;r<o;r+=2)Ea(e,(Yt(r,t.length),t.charCodeAt(r)),(Yt(r+1,t.length),t.charCodeAt(r+1)))}function Ngt(e,t,r){var o,s,u,f;for(u=t-e.e,f=r-e.f,s=new V(e.a);s.a<s.c.c.length;)o=l(q(s),175),$6(o,o.s+u,o.t+f);e.e=t,e.f=r}function e1n(e,t){var r,o,s,u;for(u=t.b.b,e.a=new Sr,e.b=me(Rn,Xn,30,u,15,1),r=0,s=An(t.b,0);s.b!=s.d.c;)o=l(Sn(s),41),o.g=r++}function gy(e,t){var r,o;return o=null,gr(e,(Be(),yB))&&(r=l(j(e,yB),105),r.nf(t)&&(o=r.mf(t))),o==null&&(o=j(ji(e),t)),o}function uC(e,t){var r;Nxn(t),r=l(j(e,(Be(),dB)),286),r&&Ae(e,dB,Qbn(r)),tg(e.c),tg(e.f),fpe(e.d),fpe(l(j(e,bB),216))}function aY(e,t){var r;return ps(e)&&ps(t)&&(r=e%t,vD<r&&r<em)?r:p1((k0e(ps(e)?vl(e):e,ps(t)?vl(t):t,!0),O1))}function T1e(e,t,r){var o,s,u,f,p;return f=e.k,p=t.k,o=r[f.g][p.g],s=ce(gy(e,o)),u=ce(gy(t,o)),b.Math.max((Mt(s),s),(Mt(u),u))}function A1e(e,t,r){var o,s;o=l(ma(_x,t),122),s=l(ma(P4,t),122),r?(Qo(_x,e,o),Qo(P4,e,s)):(Qo(P4,e,o),Qo(_x,e,s))}function Cgt(e,t){var r,o,s,u;return r=t>>5,t&=31,s=e.d+r+(t==0?0:1),o=me(Rn,Xn,30,s,15,1),Q0n(o,e.a,r,t),u=new Ib(e.e,s,o),M3(u),u}function F_(e,t,r){var o,s,u;for(s=null,u=e.b;u;){if(o=e.a.Le(t,u.d),r&&o==0)return u;o>=0?u=u.a[1]:(s=u,u=u.a[0])}return s}function F6(e,t,r){var o,s,u;for(s=null,u=e.b;u;){if(o=e.a.Le(t,u.d),r&&o==0)return u;o<=0?u=u.a[0]:(s=u,u=u.a[1])}return s}function Igt(e,t,r){var o,s,u,f;for(s=l(Ut(e.b,r),172),o=0,f=new V(t.j);f.a<f.c.c.length;)u=l(q(f),114),s[u.d.p]&&++o;return o}function t1n(e,t,r,o){var s,u,f;return s=!1,Ykn(e.f,r,o)&&(k1n(e.f,e.a[t][r],e.a[t][o]),u=e.a[t],f=u[o],u[o]=u[r],u[r]=f,s=!0),s}function n1n(e,t){var r,o,s;for(o=new Ft(Gt(Rr(e).a.Jc(),new D));an(o);)if(r=l(Qt(o),17),s=r.d.i,s.c==t)return!1;return!0}function r1n(e){var t;t=e.a;do t=l(Qt(new Ft(Gt(Rr(t).a.Jc(),new D))),17).d.i,t.k==(Ht(),gi)&&je(e.e,t);while(t.k==(Ht(),gi))}function uY(e){var t;e.c!=0&&(t=l(He(e.a,e.b),296),t.b==1?(++e.b,e.b<e.a.c.length&&OKe(l(He(e.a,e.b),296))):--t.b,--e.c)}function Rgt(e){var t,r,o,s,u;if(e==null)return null;for(u=new Pe,r=BK(e),o=0,s=r.length;o<s;++o)t=r[o],je(u,Sa(t,!0));return u}function Ogt(e){var t,r,o,s,u;if(e==null)return null;for(u=new Pe,r=BK(e),o=0,s=r.length;o<s;++o)t=r[o],je(u,Sa(t,!0));return u}function Dgt(e){var t,r,o,s,u;if(e==null)return null;for(u=new Pe,r=BK(e),o=0,s=r.length;o<s;++o)t=r[o],je(u,Sa(t,!0));return u}function Lgt(e){var t,r;return t=l(qt(e.a,4),131),t!=null?(r=me(Ore,gQ,420,t.length,0,1),ua(t,0,r,0,t.length),r):ODt}function cY(e,t){for(var r=0;!t[r]||t[r]=="";)r++;for(var o=t[r++];r<t.length;r++)!t[r]||t[r]==""||(o+=e+t[r]);return o}function Lf(e,t,r){var o,s,u,f;for(u=t+r,no(t,u,e.length),f="",s=t;s<u;)o=b.Math.min(s+1e4,u),f+=zsn(e.slice(s,o)),s=o;return f}function i1n(){return Error.stackTraceLimit>0?(b.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function oc(){oc=Y,YL=new v8("PORTS",0),Am=new v8("PORT_LABELS",1),KL=new v8("NODE_LABELS",2),fv=new v8("MINIMUM_SIZE",3)}function pp(){pp=Y,B1=new l8(_d,0),t_e=new l8("NODES_AND_EDGES",1),Pte=new l8("PREFER_EDGES",2),jte=new l8("PREFER_NODES",3)}function o1n(e,t){return Ud(),Ud(),Yl(mg),(b.Math.abs(e-t)<=mg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:_b(isNaN(e),isNaN(t)))>0}function _1e(e,t){return Ud(),Ud(),Yl(mg),(b.Math.abs(e-t)<=mg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:_b(isNaN(e),isNaN(t)))<0}function Mgt(e,t){return Ud(),Ud(),Yl(mg),(b.Math.abs(e-t)<=mg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:_b(isNaN(e),isNaN(t)))<=0}function k1e(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function x1e(e,t,r,o,s,u){this.a=e,this.c=t,this.b=r,this.f=o,this.d=s,this.e=u,this.c>0&&this.b>0&&(this.g=iP(this.c,this.b,this.a))}function s1n(e,t){var r=e.a,o;t=String(t),r.hasOwnProperty(t)&&(o=r[t]);var s=(RK(),$Q)[typeof o],u=s?s(o):qge(typeof o);return u}function $_(e){var t,r,o;if(o=null,t=Gf in e.a,r=!t,r)throw K(new _f("Every element must have an id."));return o=eT(rp(e,Gf)),o}function x0(e){var t,r;for(r=dmt(e),t=null;e.c==2;)dr(e),t||(t=(fr(),fr(),new h3(2)),Zb(t,r),r=t),r.Hm(dmt(e));return r}function Xj(e,t){var r,o,s;return e.Zj(),o=t==null?0:Ir(t),s=(o&sr)%e.d.length,r=sme(e,s,o,t),r?(Rft(e,r),r.kd()):null}function Pgt(e,t){return e.e>t.e?1:e.e<t.e?-1:e.d>t.d?e.e:e.d<t.d?-t.e:e.e*Mge(e.a,t.a,e.d)}function jgt(e){return e>=48&&e<48+b.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function a1n(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw K(new jt("Input edge is not connected to the input port."))}function Mf(e,t){if(e.a<0)throw K(new Xo("Did not call before(...) or after(...) before calling add(...)."));return Tde(e,e.a,t),e}function Fgt(e,t){var r,o,s;if(e.c)$b(e.c,t);else for(r=t-Qu(e),s=new V(e.a);s.a<s.c.c.length;)o=l(q(s),168),Fgt(o,Qu(o)+r)}function $gt(e,t){var r,o,s;if(e.c)Bb(e.c,t);else for(r=t-hu(e),s=new V(e.d);s.a<s.c.c.length;)o=l(q(s),168),$gt(o,hu(o)+r)}function N1e(e){return LP(),se(e,167)?l(Ut(oM,W_t),297).Qg(e):ba(oM,nc(e))?l(Ut(oM,nc(e)),297).Qg(e):null}function Ha(e){var t,r;return e.Db&32||(r=(t=l(qt(e,16),29),ln(t||e.fi())-ln(e.fi())),r!=0&&VS(e,32,me(Ci,Rt,1,r,5,1))),e}function VS(e,t,r){var o;e.Db&t?r==null?Rvn(e,t):(o=IY(e,t),o==-1?e.Eb=r:ii(BS(e.Eb),o,r)):r!=null&&eSn(e,t,r)}function u1n(e,t,r,o){var s,u;t.c.length!=0&&(s=KEn(r,o),u=Qyn(t),ei(cj(new yt(null,new vt(u,1)),new JUe),new Zst(e,r,s,o)))}function c1n(e,t){var r,o,s,u;return o=e.a.length-1,r=t-e.b&o,u=e.c-t&o,s=e.c-e.b&o,xrt(r<s),r>=u?(bpn(e,t),-1):(gpn(e,t),1)}function l1n(e,t){var r,o;for(r=(Yt(t,e.length),e.charCodeAt(t)),o=t+1;o<e.length&&(Yt(o,e.length),e.charCodeAt(o)==r);)++o;return o-t}function C1e(e){var t,r;switch(r=e.Nc(),r.length){case 0:return rP(),MQ;case 1:return t=r[0],new EV(xn(t));default:return new IW(wgn(r))}}function I1e(e){switch(typeof e){case GJ:return cg(e);case z0e:return gS(e);case sT:return Jrt(e);default:return e==null?0:o0(e)}}function d1n(e){if(Zj(Ck,e))return Lt(),$k;if(Zj(WZ,e))return Lt(),D1;throw K(new jt("Expecting true or false"))}function f1n(e,t){return e.e<t.e?-1:e.e>t.e?1:e.f<t.f?-1:e.f>t.f?1:Ir(e)-Ir(t)}function Bgt(e,t){var r;return be(t)===be(e)?!0:!se(t,24)||(r=l(t,24),r.gc()!=e.gc())?!1:e.Hc(r)}function Zj(e,t){return Mt(e),t==null?!1:mt(e,t)?!0:e.length==t.length&&mt(e.toLowerCase(),t.toLowerCase())}function by(e){var t,r;return va(e,-129)>0&&va(e,128)<0?(_ot(),t=On(e)+128,r=qEe[t],!r&&(r=qEe[t]=new Xue(e)),r):new Xue(e)}function WS(){WS=Y,vI=new o8(_d,0),L2e=new o8("INSIDE_PORT_SIDE_GROUPS",1),dee=new o8("GROUP_MODEL_ORDER",2),fee=new o8(OX,3)}function Qj(e){var t,r,o;if(o=e.Gh(),!o)for(t=0,r=e.Mh();r;r=r.Mh()){if(++t>mX)return r.Nh();if(o=r.Gh(),o||r==e)break}return o}function h1n(e){var t;return e.b||OQt(e,(t=Bnn(e.e,e.a),!t||!mt(WZ,Td((!t.b&&(t.b=new Xu((Tt(),Io),Hs,t)),t.b),"qualified")))),e.c}function p1n(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)if(t=l(q(r),70),Ke(We(j(t,(Be(),i2)))))return!0;return!1}function g1n(e,t){_W();var r,o;for(o=new Ft(Gt(Df(e).a.Jc(),new D));an(o);)if(r=l(Qt(o),17),r.d.i==t||r.c.i==t)return r;return null}function Ugt(e,t,r){var o,s,u;for(u=new V(r.a);u.a<u.c.c.length;)s=l(q(u),227),o=new R8(l(Ut(e.a,s.b),68)),je(t.a,o),Ugt(e,o,s)}function Hgt(e,t,r){var o,s,u;o=t.c.p,u=t.p,e.b[o][u]=new fat(e,t),r&&(e.a[o][u]=new sJe(t),s=l(j(t,(Ie(),ew)),9),s&&wt(e.d,s,t))}function b1n(e,t,r){var o;e.a=r,e.a.Tg(KSt,1),(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i!=0&&(o=l(ye(t,(wh(),l4)),19),P0t(e,o)),e.a.Ug()}function zgt(e,t){var r,o;return r=t.ni(e.a),r&&(o=In(Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),or)),o!=null)?o:t.ve()}function m1n(e,t){var r,o;return r=t.ni(e.a),r&&(o=In(Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),or)),o!=null)?o:t.ve()}function w1n(e,t){(!t&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,e)}function y1n(e,t,r,o){o==e,l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68).c.b,bpe(o,t,e)}function R1e(e,t,r){t.b=b.Math.max(t.b,-r.a),t.c=b.Math.max(t.c,r.a-e.a),t.d=b.Math.max(t.d,-r.b),t.a=b.Math.max(t.a,r.b-e.b)}function v1n(e,t,r){var o,s,u;return o=l(ie(ju(e.a),t),88),u=(s=o.c,s||(Tt(),bf)),(u.Sh()?w1(e.b,l(u,52)):u)==r?U7(o):m_(o,r),u}function O1e(e,t,r){this.c=e,this.f=new Pe,this.e=new to,this.j=new Rfe,this.n=new Rfe,this.b=t,this.g=new ql(t.c,t.d,t.b,t.a),this.a=r}function lY(e){var t,r,o,s;for(this.a=new uh,this.d=new hi,this.e=0,r=e,o=0,s=r.length;o<s;++o)t=r[o],!this.f&&(this.f=t),DW(this,t)}function Ggt(e){Pf(),e.length==0?(this.e=0,this.d=1,this.a=Z(X(Rn,1),Xn,30,15,[0])):(this.e=1,this.d=e.length,this.a=e,M3(this))}function cC(e,t,r){_Ze.call(this),this.a=me(dkt,awe,219,(Sd(),Z(X(Py,1),Ce,240,0,[$s,ja,Bs])).length,0,1),this.b=e,this.d=t,this.c=r}function E1n(e){var t,r,o,s,u,f;for(f=l(j(e,(Ie(),mr)),12),Ae(f,Qk,e.i.n.b),t=Of(e.e),o=t,s=0,u=o.length;s<u;++s)r=o[s],Yi(r,f)}function S1n(e){var t,r,o,s,u,f;for(r=l(j(e,(Ie(),mr)),12),Ae(r,Qk,e.i.n.b),t=Of(e.g),s=t,u=0,f=s.length;u<f;++u)o=s[u],go(o,r)}function T1n(e,t){var r,o,s,u;for(o=0,s=t.gc();o<s;++o)r=t.Rl(o),se(r,104)&&l(r,20).Bb&Ws&&(u=t.Sl(o),u!=null&&vJ(e,l(u,57)))}function A1n(){var e;return s$!=0&&(e=Date.now(),e-O_t>2e3&&(O_t=e,a$=b.setTimeout($Qt,10))),s$++==0?(zdn((Pce(),MEe)),!0):!1}function _1n(e,t,r){var o;(ekt?(Rgn(e),!0):tkt||rkt?(zA(),!0):nkt&&(zA(),!1))&&(o=new Bit(t),o.b=r,Rwn(e,o))}function dY(e,t){var r;r=!e.A.Gc((oc(),Am))||e.q==(qi(),fa),e.u.Gc((ku(),Cp))?r?oNn(e,t):eEt(e,t):e.u.Gc(K1)&&(r?xxn(e,t):gEt(e,t))}function qgt(e){var t;be(ye(e,(_n(),h2)))===be((fp(),aU))&&(Br(e)?(t=l(ye(Br(e),h2),348),Vn(e,h2,t)):Vn(e,h2,v4))}function k1n(e,t,r){var o,s;VY(e.e,t,r,(Ue(),Wt)),VY(e.i,t,r,Zt),e.a&&(s=l(j(t,(Ie(),mr)),12),o=l(j(r,mr),12),OW(e.g,s,o))}function Vgt(e,t,r){return new ql(b.Math.min(e.a,t.a)-r/2,b.Math.min(e.b,t.b)-r/2,b.Math.abs(e.a-t.a)+r,b.Math.abs(e.b-t.b)+r)}function x1n(e,t){var r,o;return r=na(e.a.c.p,t.a.c.p),r!=0?r:(o=na(e.a.d.i.p,t.a.d.i.p),o!=0?o:na(t.a.d.p,e.a.d.p))}function N1n(e,t,r){var o,s,u,f;return u=t.j,f=r.j,u!=f?u.g-f.g:(o=e.f[t.p],s=e.f[r.p],o==0&&s==0?0:o==0?-1:s==0?1:yr(o,s))}function Wgt(e){var t;this.d=new Pe,this.j=new to,this.g=new to,t=e.g.b,this.f=l(j(ji(t),(Be(),kc)),87),this.e=ue(ce(n7(t,Qy)))}function Kgt(e){this.d=new Pe,this.e=new d1,this.c=me(Rn,Xn,30,(Ue(),Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt])).length,15,1),this.b=e}function D1e(e,t,r){var o;switch(o=r[e.g][t],e.g){case 1:case 3:return new Le(0,o);case 2:case 4:return new Le(o,0);default:return null}}function C1n(e,t){var r;if(r=pE(e.o,t),r==null)throw K(new _f("Node did not exist in input."));return Ome(e,t),bJ(e,t),Sme(e,t,r),null}function Ygt(e,t,r){var o,s;s=l(KO(t.f),207);try{s.kf(e,r),ahe(t.f,s)}catch(u){throw u=ci(u),se(u,102)?(o=u,K(o)):K(u)}}function Jgt(e,t,r){var o,s,u,f,p,m;return o=null,p=C0e(G3(),t),u=null,p&&(s=null,m=x0e(p,r),f=null,m!=null&&(f=e.of(p,m)),s=f,u=s),o=u,o}function fY(e,t,r,o){var s;if(s=e.length,t>=s)return s;for(t=t>0?t:0;t<s&&!OK((Yt(t,e.length),e.charCodeAt(t)),r,o);t++);return t}function Yd(e,t){var r,o;for(o=e.c.length,t.length<o&&(t=j9(new Array(o),t)),r=0;r<o;++r)ii(t,r,e.c[r]);return t.length>o&&ii(t,o,null),t}function Xgt(e,t){var r,o;for(o=e.a.length,t.length<o&&(t=j9(new Array(o),t)),r=0;r<o;++r)ii(t,r,e.a[r]);return t.length>o&&ii(t,o,null),t}function I1n(e){var t;if(e==null)return null;if(t=vEn(Sa(e,!0)),t==null)throw K(new aq("Invalid hexBinary value: '"+e+"'"));return t}function e7(e,t,r){var o;t.a.length>0&&(je(e.b,new Qit(t.a,r)),o=t.a.length,0<o?t.a=yl(t.a,0,0):0>o&&(t.a+=Ynt(me(al,$f,30,-o,15,1))))}function Zgt(e,t,r){var o,s,u;if(!r[t.d])for(r[t.d]=!0,s=new V(wE(t));s.a<s.c.c.length;)o=l(q(s),220),u=Gj(o,t),Zgt(e,u,r)}function Qgt(e,t){var r,o,s,u;for(r=0,s=new V(t.a);s.a<s.c.c.length;)o=l(q(s),9),u=o.o.a+o.d.c+o.d.b+e.j,r=b.Math.max(r,u);return r}function Kb(e,t,r){var o,s,u;return s=l(Ut(e.e,t),395),s?(u=Hde(s,r),trt(e,s),u):(o=new gfe(e,t,r),Yn(e.e,t,o),Lat(o),null)}function R1n(e,t){var r;if(r=Ut(e.q,t),r==null)throw K(new _f("Port did not exist in input."));return Ome(e,t),bJ(e,t),Sme(e,t,r),null}function hY(){return Z7(),Z(X(Fkt,1),Ce,169,0,[Pkt,Mkt,jkt,xkt,kkt,Nkt,Rkt,Ikt,Ckt,Lkt,Dkt,Okt,Akt,Tkt,_kt,Ekt,vkt,Skt,wkt,mkt,ykt,ZQ])}function B_(e){switch(e.g){case 4:return new Le(0,-1);case 1:return new Le(1,0);case 2:return new Le(-1,0);default:return new Le(0,1)}}function pY(e){switch(e.g){case 1:return vi(),il;case 4:return vi(),is;case 2:return vi(),cs;case 3:return vi(),ff}return vi(),hf}function O1n(e){var t;switch(t=e.fj(null),t){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function Jd(){Jd=Y,xt=new vO("PARENTS",0),ri=new vO("NODES",1),Rd=new vO("EDGES",2),Ng=new vO("PORTS",3),kp=new vO("LABELS",4)}function D1n(e,t,r,o){var s,u,f;return s=new ap(e.e,1,13,(f=t.c,f||(Tt(),bf)),(u=r.c,u||(Tt(),bf)),pg(e,t),!1),o?o.lj(s):o=s,o}function L1n(e,t,r){var o;switch(o=r.q.getFullYear()-x1+x1,o<0&&(o=-o),t){case 1:e.a+=o;break;case 2:bh(e,o%100,2);break;default:bh(e,o,t)}}function An(e,t){var r,o;if(ny(t,e.b),t>=e.b>>1)for(o=e.c,r=e.b;r>t;--r)o=o.b;else for(o=e.a.a,r=0;r<t;++r)o=o.a;return new $it(e,t,o)}function e1t(e){this.b=new Pe,this.e=new Pe,this.d=e,this.a=!$A(lr(new yt(null,new Xw(new Vd(e.b))),new IA(new TBe))).zd((Tb(),ET))}function M1n(e){var t;e.g&&(e.c.ig()?e.f:e.a)&&(t=e.c.ig()?e.f:e.a,Fme(t.a,e.o,!0),Fme(t.a,e.o,!1),Ae(e.o,(Be(),Zr),(qi(),Tm)))}function t1t(e,t){var r,o,s;s=t.d.i,o=s.k,!(o==(Ht(),Xr)||o==af)&&(r=new Ft(Gt(Rr(s).a.Jc(),new D)),an(r)&&Yn(e.k,t,l(Qt(r),17)))}function P1n(e,t){return cp(),yr((e.a.b==0?new Le(e.c.e.a,e.c.e.b):l(KA(e.a),8)).b,(t.a.b==0?new Le(t.c.e.a,t.c.e.b):l(KA(t.a),8)).b)}function j1n(e,t){return cp(),yr((e.a.b==0?new Le(e.c.e.a,e.c.e.b):l(KA(e.a),8)).a,(t.a.b==0?new Le(t.c.e.a,t.c.e.b):l(KA(t.a),8)).a)}function F1n(e,t){return cp(),yr((e.a.b==0?new Le(e.b.e.a,e.b.e.b):l(zl(e.a),8)).a,(t.a.b==0?new Le(t.b.e.a,t.b.e.b):l(zl(t.a),8)).a)}function $1n(e,t){return cp(),yr((e.a.b==0?new Le(e.b.e.a,e.b.e.b):l(zl(e.a),8)).b,(t.a.b==0?new Le(t.b.e.a,t.b.e.b):l(zl(t.a),8)).b)}function vE(){vE=Y,V1=new SO("DISTRIBUTED",0),qL=new SO("JUSTIFIED",1),jNe=new SO("BEGIN",2),E4=new SO(hk,3),FNe=new SO("END",4)}function gY(e,t){var r,o,s;return o=Nt(e.Ah(),t),r=t-e.gi(),r<0?(s=e.Fh(o),s>=0?e.Th(s):nJ(e,o)):r<0?nJ(e,o):l(o,69).uk().zk(e,e.ei(),r)}function n1t(e){var t,r,o;for(o=(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),e.o),r=o.c.Jc();r.e!=r.i.gc();)t=l(r.Wj(),45),t.kd();return i6(o)}function ze(e){var t;if(se(e.a,4)){if(t=N1e(e.a),t==null)throw K(new Xo(ZSt+e.b+"'. "+XSt+(ep(sM),sM.k)+zve));return t}else return e.a}function B1n(e){var t;if(e==null)return null;if(t=hNn(Sa(e,!0)),t==null)throw K(new aq("Invalid base64Binary value: '"+e+"'"));return t}function rn(e){var t;try{return t=e.i.Xb(e.e),e.Vj(),e.g=e.e++,t}catch(r){throw r=ci(r),se(r,99)?(e.Vj(),K(new ys)):K(r)}}function bY(e){var t;try{return t=e.c.Ti(e.e),e.Vj(),e.g=e.e++,t}catch(r){throw r=ci(r),se(r,99)?(e.Vj(),K(new ys)):K(r)}}function t7(e){var t,r,o,s;for(s=0,r=0,o=e.length;r<o;r++)t=(Yt(r,e.length),e.charCodeAt(r)),t>=64&&t<128&&(s=Rf(s,fh(1,t-64)));return s}function n7(e,t){var r,o;return o=null,gr(e,(_n(),zT))&&(r=l(j(e,zT),105),r.nf(t)&&(o=r.mf(t))),o==null&&ji(e)&&(o=j(ji(e),t)),o}function U1n(e,t){var r;return r=l(j(e,(Be(),rs)),79),dV(t,Fxt)?r?ec(r):(r=new Du,Ae(e,rs,r)):r&&Ae(e,rs,null),r}function H1n(e,t){var r,o,s;for(s=new Ra(t.gc()),o=t.Jc();o.Ob();)r=l(o.Pb(),295),r.c==r.f?W_(e,r,r.c):syn(e,r)||Ot(s.c,r);return s}function r1t(e,t){var r,o,s;for(r=e.o,s=l(l(wr(e.r,t),24),85).Jc();s.Ob();)o=l(s.Pb(),116),o.e.a=qbn(o,r.a),o.e.b=r.b*ue(ce(o.b.mf(g$)))}function z1n(e,t){var r,o,s,u;return s=e.k,r=ue(ce(j(e,(Ie(),tw)))),u=t.k,o=ue(ce(j(t,tw))),u!=(Ht(),mi)?-1:s!=mi?1:r==o?0:r<o?-1:1}function G1n(e,t){var r,o;return r=l(l(Ut(e.g,t.a),49).a,68),o=l(l(Ut(e.g,t.b),49).a,68),f1(t.a,t.b)-f1(t.a,tde(r.b))-f1(t.b,tde(o.b))}function U_(e,t){var r,o;if(++e.j,t!=null&&(r=(o=e.a.Cb,se(o,101)?l(o,101).qh():null),vvn(t,r))){VS(e.a,4,r);return}VS(e.a,4,l(t,131))}function r7(e){switch(sle(),this.c=new Pe,this.d=e,e.g){case 0:case 2:this.a=che(D2e),this.b=Kr;break;case 3:case 1:this.a=D2e,this.b=Oi}}function q1n(e){var t;SS(l(j(e,(Be(),Zr)),103))&&(t=e.b,t0t((at(0,t.c.length),l(t.c[0],26))),t0t(l(He(t,t.c.length-1),26)))}function V1n(e,t){t.Tg("Self-Loop post-processing",1),ei(lr(lr(gs(new yt(null,new vt(e.b,16)),new E$e),new S$e),new T$e),new A$e),t.Ug()}function i1t(e,t,r){var o,s;if(e.c)ya(e.c,e.c.i+t),gu(e.c,e.c.j+r);else for(s=new V(e.b);s.a<s.c.c.length;)o=l(q(s),168),i1t(o,t,r)}function W1n(e){var t,r,o;for(o=e.c.a,e.p=(xn(o),new Tu(o)),r=new V(o);r.a<r.c.c.length;)t=l(q(r),9),t.p=Cyn(t).a;St(),_i(e.p,new gUe)}function K1n(e,t){var r,o;if(e.j.length!=t.j.length)return!1;for(r=0,o=e.j.length;r<o;r++)if(!mt(e.j[r],t.j[r]))return!1;return!0}function o1t(e,t){St();var r,o,s,u;for(r=e,u=t,se(e,24)&&!se(t,24)&&(r=t,u=e),s=r.Jc();s.Ob();)if(o=s.Pb(),u.Gc(o))return!1;return!0}function Y1n(e,t,r,o){if(t.a<o.a)return!0;if(t.a==o.a){if(t.b<o.b)return!0;if(t.b==o.b&&e.b>r.b)return!0}return!1}function s1t(e){var t;return t=new Zg,t.a+="n",e.k!=(Ht(),Xr)&&zn(zn((t.a+="(",t),bV(e.k).toLowerCase()),")"),zn((t.a+="_",t),U6(e)),t.a}function lC(){lC=Y,KAe=new gO(qye,0),Lte=new gO(jX,1),Mte=new gO("LINEAR_SEGMENTS",2),zI=new gO("BRANDES_KOEPF",3),GI=new gO(bSt,4)}function KS(){KS=Y,OB=new f8("P1_TREEIFICATION",0),XI=new f8("P2_NODE_ORDERING",1),ZI=new f8("P3_NODE_PLACEMENT",2),QI=new f8(ASt,3)}function YS(e,t,r,o){var s;return r>=0?e.Ph(t,r,o):(e.Mh()&&(o=(s=e.Ch(),s>=0?e.xh(o):e.Mh().Qh(e,-1-s,null,o))),e.zh(t,r,o))}function L1e(e,t){switch(t){case 7:!e.e&&(e.e=new Et(Cr,e,7,4)),vn(e.e);return;case 8:!e.d&&(e.d=new Et(Cr,e,8,5)),vn(e.d);return}y1e(e,t)}function Vn(e,t,r){return r==null?(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),Xj(e.o,t)):(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),G6(e.o,t,r)),e}function sa(e,t){var r;r=e.dd(t);try{return r.Pb()}catch(o){throw o=ci(o),se(o,113)?K(new Na("Can't get element "+t)):K(o)}}function a1t(e,t){var r;switch(r=l(Go(e.b,t),129).n,t.g){case 1:e.t>=0&&(r.d=e.t);break;case 3:e.t>=0&&(r.a=e.t)}e.C&&(r.b=e.C.b,r.c=e.C.c)}function J1n(e){var t;t=e.a;do t=l(Qt(new Ft(Gt(si(t).a.Jc(),new D))),17).c.i,t.k==(Ht(),gi)&&e.b.Ec(t);while(t.k==(Ht(),gi));e.b=ic(e.b)}function u1t(e,t){var r,o,s;for(s=e,o=new Ft(Gt(si(t).a.Jc(),new D));an(o);)r=l(Qt(o),17),r.c.i.c&&(s=b.Math.max(s,r.c.i.c.p));return s}function X1n(e,t){var r,o,s;for(s=0,o=l(l(wr(e.r,t),24),85).Jc();o.Ob();)r=l(o.Pb(),116),s+=r.d.d+r.b.Kf().b+r.d.a,o.Ob()&&(s+=e.w);return s}function Z1n(e,t){var r,o,s;for(s=0,o=l(l(wr(e.r,t),24),85).Jc();o.Ob();)r=l(o.Pb(),116),s+=r.d.b+r.b.Kf().a+r.d.c,o.Ob()&&(s+=e.w);return s}function c1t(e){var t,r,o,s;if(o=0,s=Ty(e),s.c.length==0)return 1;for(r=new V(s);r.a<r.c.c.length;)t=l(q(r),19),o+=c1t(t);return o}function l1t(e){var t,r;for(this.b=new Pe,this.c=e,this.a=!1,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),9),this.a=this.a|t.k==(Ht(),Xr)}function Q1n(e,t,r){var o,s,u,f;return o=e.bd(t),o!=-1&&(e.Nj()?(u=e.Oj(),f=tP(e,o),s=e.Gj(4,f,null,o,u),r?r.lj(s):r=s):tP(e,o)),r}function Ao(e,t,r){var o,s,u,f;return o=e.bd(t),o!=-1&&(e.Nj()?(u=e.Oj(),f=JS(e,o),s=e.Gj(4,f,null,o,u),r?r.lj(s):r=s):JS(e,o)),r}function ebn(e,t,r,o){var s,u,f;r.Uh(t)&&(Oo(),oK(t)?(s=l(r.Jh(t),164),T1n(e,s)):(u=(f=t,f?l(o,52).di(f):null),u&&kZt(r.Jh(t),u)))}function i7(e,t,r,o){var s,u,f;return u=Nt(e.Ah(),t),s=t-e.gi(),s<0?(f=e.Fh(u),f>=0?e.Ih(f,r,!0):R0(e,u,r)):l(u,69).uk().wk(e,e.ei(),s,r,o)}function tbn(e,t,r,o){var s,u;u=t.nf((_n(),g2))?l(t.mf(g2),24):e.j,s=Wpn(u),s!=(Z7(),ZQ)&&(r&&!k1e(s)||Fbe(EEn(e,s,o),t))}function mY(e,t){return zi(e)?!!__t[t]:e.Qm?!!e.Qm[t]:Bw(e)?!!A_t[t]:$w(e)?!!T_t[t]:!1}function nbn(e){switch(e.g){case 1:return T0(),ZD;case 3:return T0(),XD;case 2:return T0(),eee;case 4:return T0(),QQ;default:return null}}function rbn(e,t,r){if(e.e)switch(e.b){case 1:pan(e.c,t,r);break;case 0:gan(e.c,t,r)}else vct(e.c,t,r);e.a[t.p][r.p]=e.c.i,e.a[r.p][t.p]=e.c.e}function d1t(e){var t,r;if(e==null)return null;for(r=me(Nh,Me,201,e.length,0,2),t=0;t<r.length;t++)r[t]=l(Eln(e[t],e[t].length),201);return r}function f1t(e){var t;t=l(j(e,(Ps(),G_e)),100),Ae(e,(xr(),ux),new Le(0,0)),myt(new n6,e,t.b-ue(ce(j(e,Zte))),t.d-ue(ce(j(e,Qte))))}function o7(e){var t;if(FK(e))return fP(e),e.sl()&&(t=vC(e.e,e.b,e.c,e.a,e.j),e.j=t),e.g=e.a,++e.a,++e.c,e.i=0,e.j;throw K(new ys)}function h1t(e,t,r){r.Tg("Compound graph preprocessor",1),e.a=new g0,Jvt(e,t,null),$_n(e,t),u2n(e),Ae(t,(Ie(),sTe),e.a),e.a=null,Zs(e.b),r.Ug()}function p1t(e,t,r){var o,s,u;for(s=new Ft(Gt((t?si(e):Rr(e)).a.Jc(),new D));an(s);)o=l(Qt(s),17),u=t?o.c.i:o.d.i,u.k==(Ht(),ta)&&Ii(u,r)}function ibn(e,t){var r,o,s;for(t.Tg("Untreeify",1),r=l(j(e,(xr(),M_e)),16),s=r.Jc();s.Ob();)o=l(s.Pb(),65),Gn(o.b.d,o),Gn(o.c.b,o);t.Ug()}function g1t(e,t,r){var o,s,u;return o=t.i.j.c.length,gr(t,(Ie(),Nr))&&gr(r,Nr)?(s=O0(t,r,e.b,o),u=O0(r,t,e.b,o),s<u?-1:s>u?1:0):0}function my(){my=Y,AB=new c8(_d,0),Ote=new c8("PORT_POSITION",1),a2=new c8("NODE_SIZE_WHERE_SPACE_PERMITS",2),s2=new c8("NODE_SIZE",3)}function mh(){mh=Y,rre=new r3("AUTOMATIC",0),ML=new r3(dT,1),PL=new r3(fT,2),eU=new r3("TOP",3),ZB=new r3(cwe,4),QB=new r3(hk,5)}function EE(e,t,r){var o,s;if(s=e.gc(),t>=s)throw K(new Vw(t,s));if(e.Qi()&&(o=e.bd(r),o>=0&&o!=t))throw K(new jt(HD));return e.Vi(t,r)}function pg(e,t){var r,o,s;if(s=W1t(e,t),s>=0)return s;if(e.ml()){for(o=0;o<e.i;++o)if(r=e.nl(l(e.g[o],57)),be(r)===be(t))return o}return-1}function M1e(e,t){if(this.a=l(xn(e),257),this.b=l(xn(t),257),e.Cd(t)>0||e==(tq(),RQ)||t==(nq(),OQ))throw K(new jt("Invalid range: "+yct(e,t)))}function P1e(e,t,r,o){Z_();var s,u;for(s=0,u=0;u<r;u++)s=To(mo(Gi(t[u],Po),Gi(o,Po)),Gi(On(s),Po)),e[u]=On(s),s=Cb(s,32);return On(s)}function j1e(e,t,r){var o,s;for(s=0,o=0;o<XQ;o++)s=b.Math.max(s,zK(e.a[t.g][o],r));return t==(Sd(),ja)&&e.b&&(s=b.Math.max(s,e.b.b)),s}function s7(e,t){var r,o;if(Ade(t>0),(t&-t)==t)return po(t*$u(e,31)*4656612873077393e-25);do r=$u(e,31),o=r%t;while(r-o+(t-1)<0);return po(o)}function obn(e,t){var r,o,s;for(r=i0(new Eb,e),s=new V(t);s.a<s.c.c.length;)o=l(q(s),126),Ql($l(Ul(Hl(Bl(new gl,0),0),r),o));return r}function $6(e,t,r){var o,s;for(Rhn(e,t-e.s,r-e.t),s=new V(e.n);s.a<s.c.c.length;)o=l(q(s),211),oZt(o,o.e+t-e.s),sZt(o,o.f+r-e.t);e.s=t,e.t=r}function sbn(e,t,r){switch(r.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function B6(e,t,r,o){var s,u;for(s=t;s<e.c.length;s++)if(u=(at(s,e.c.length),l(e.c[s],12)),r.Mb(u))Ot(o.c,u);else return s;return e.c.length}function abn(e){var t,r,o;for(o=l(wr(e.a,(wy(),z$)),16).Jc();o.Ob();)r=l(o.Pb(),108),t=W1e(r),n_(e,r,t[0],(S0(),X0),0),n_(e,r,t[1],Z0,1)}function ubn(e){var t,r,o;for(o=l(wr(e.a,(wy(),G$)),16).Jc();o.Ob();)r=l(o.Pb(),108),t=W1e(r),n_(e,r,t[0],(S0(),X0),0),n_(e,r,t[1],Z0,1)}function wY(e){switch(e.g){case 0:return null;case 1:return new rht;case 2:return new Oce;default:throw K(new jt(OZ+(e.f!=null?e.f:""+e.g)))}}function b1t(e){var t;return t=ue(ce(ye(e,(_n(),lv))))*b.Math.sqrt((!e.a&&(e.a=new xe(En,e,10,11)),e.a).i),new Le(t,t/ue(ce(ye(e,bx))))}function yY(e){var t;return e.f&&e.f.Sh()&&(t=l(e.f,52),e.f=l(w1(e,t),83),e.f!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,8,t,e.f))),e.f}function vY(e){var t;return e.i&&e.i.Sh()&&(t=l(e.i,52),e.i=l(w1(e,t),83),e.i!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,7,t,e.i))),e.i}function Do(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=l(w1(e,t),20),e.b!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,21,t,e.b))),e.b}function a7(e,t){var r,o,s;e.d==null?(++e.e,++e.f):(o=t.yi(),w2n(e,e.f+1),s=(o&sr)%e.d.length,r=e.d[s],!r&&(r=e.d[s]=e.bk()),r.Ec(t),++e.f)}function F1e(e,t,r){var o;return t.rk()?!1:t.Gk()!=-2?(o=t.gk(),o==null?r==null:pr(o,r)):t.ok()==e.e.Ah()&&r==null}function u7(){var e;wc(16,VEt),e=Vft(16),this.b=me(DQ,mD,309,e,0,1),this.c=me(DQ,mD,309,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function Xd(e){qde.call(this),this.k=(Ht(),Xr),this.j=(wc(6,Cy),new Ra(6)),this.b=(wc(2,Cy),new Ra(2)),this.d=new JG,this.f=new kce,this.a=e}function cbn(e){var t,r,o,s,u;for(r=0,s=new V(e.a);s.a<s.c.c.length;)o=l(q(s),126),o.d=r++;return t=pwn(e),u=null,t.c.length>1&&(u=obn(e,t)),u}function lbn(e){var t,r,o;for(t=0,o=new V(e.c.a);o.a<o.c.c.length;)r=l(q(o),9),t+=yd(new Ft(Gt(Rr(r).a.Jc(),new D)));return t/e.c.a.c.length}function EY(e){var t,r;for(r=new en(e);r.e!=r.i.gc();)if(t=l(rn(r),88),t.e||(!t.d&&(t.d=new yi(Uo,t,1)),t.d).i!=0)return!0;return!1}function SY(e){var t,r;for(r=new en(e);r.e!=r.i.gc();)if(t=l(rn(r),88),t.e||(!t.d&&(t.d=new yi(Uo,t,1)),t.d).i!=0)return!0;return!1}function m1t(e,t,r,o){var s,u,f;for(s=l(wr(o?e.a:e.b,t),24),f=s.Jc();f.Ob();)if(u=l(f.Pb(),19),j7(e,r,u))return!0;return!1}function dbn(e,t){for(var r,o;e.Ob();)if(!t.Ob()||(r=e.Pb(),o=t.Pb(),!(be(r)===be(o)||r!=null&&pr(r,o))))return!1;return!t.Ob()}function fbn(e){var t,r;e.c.length<=1||(t=Rwt(e,(Ue(),dn)),pmt(e,l(t.a,15).a,l(t.b,15).a),r=Rwt(e,Wt),pmt(e,l(r.a,15).a,l(r.b,15).a))}function hbn(e,t,r){var o,s;for(s=e.a.b,o=s.c.length;o<r;o++)kb(s,s.c.length,new ra(e.a));Ii(t,(at(r-1,s.c.length),l(s.c[r-1],26))),e.b[t.p]=r}function w1t(e,t){var r,o,s;for(e.b[t.g]=1,o=An(t.d,0);o.b!=o.d.c;)r=l(Sn(o),65),s=r.c,e.b[s.g]==1?Gn(e.a,r):e.b[s.g]==2?e.b[s.g]=1:w1t(e,s)}function TY(){TY=Y,mxe=(hJ(),hxe),bxe=new Ab(8),new Mi((_n(),df),bxe),new Mi(Od,8),$Ot=dxe,pxe=ROt,gxe=OOt,FOt=new Mi(FL,(Lt(),!1))}function pbn(e,t,r){var o;r.Tg("Shrinking tree compaction",1),Ke(We(j(t,(E_(),wI))))?(Dfn(e,t.f),Odt(t.f,(o=t.c,o))):Odt(t.f,t.c),r.Ug()}function $1e(e,t,r,o){switch(t){case 7:return!e.e&&(e.e=new Et(Cr,e,7,4)),e.e;case 8:return!e.d&&(e.d=new Et(Cr,e,8,5)),e.d}return u1e(e,t,r,o)}function AY(e){var t;return e.a&&e.a.Sh()&&(t=l(e.a,52),e.a=l(w1(e,t),146),e.a!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,5,t,e.a))),e.a}function Yb(e){return e<48||e>102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function _Y(e,t){if(e==null)throw K(new sS("null key in entry: null="+t));if(t==null)throw K(new sS("null value in entry: "+e+"=null"))}function y1t(e,t){var r;return r=Z(X(Ki,1),Wo,30,15,[zK(e.a[0],t),zK(e.a[1],t),zK(e.a[2],t)]),e.d&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function v1t(e,t){var r;return r=Z(X(Ki,1),Wo,30,15,[jj(e.a[0],t),jj(e.a[1],t),jj(e.a[2],t)]),e.d&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function B1e(e,t,r){SS(l(j(t,(Be(),Zr)),103))||(Jhe(e,t,gg(t,r)),Jhe(e,t,gg(t,(Ue(),dn))),Jhe(e,t,gg(t,Vt)),St(),_i(t.j,new rJe(e)))}function E1t(e){var t,r;for(e.c||ykn(e),r=new Du,t=new V(e.a),q(t);t.a<t.c.c.length;)Gn(r,l(q(t),415).a);return un(r.b!=0),Vc(r,r.c.b),r}function gbn(e,t,r){var o,s,u,f,p;for(p=e.r+t,e.r+=t,e.d+=r,o=r/e.n.c.length,s=0,f=new V(e.n);f.a<f.c.c.length;)u=l(q(f),211),fEn(u,p,o,s),++s}function bbn(e){var t,r,o;for(e.b.a.$b(),e.a=me(h$,Rt,60,e.c.c.a.b.c.length,0,1),t=0,o=new V(e.c.c.a.b);o.a<o.c.c.length;)r=l(q(o),60),r.f=t++}function mbn(e){var t,r,o;for(e.b.a.$b(),e.a=me(aee,Rt,84,e.c.a.a.b.c.length,0,1),t=0,o=new V(e.c.a.a.b);o.a<o.c.c.length;)r=l(q(o),84),r.i=t++}function wbn(e){var t,r,o,s,u;for(o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),t=0,u=new V(r.a);u.a<u.c.c.length;)s=l(q(u),9),s.p=t++}function ybn(e,t,r){var o,s,u,f;for(f=0,o=r/e.a.c.length,u=new V(e.a);u.a<u.c.c.length;)s=l(q(u),175),$6(s,s.s,s.t+f*o),gbn(s,e.d-s.r+t,o),++f}function S1t(e){var t;if(t=Spn(e),!an(e))throw K(new Na("position (0) must be less than the number of elements that remained ("+t+")"));return Qt(e)}function vbn(e,t){var r;return e.a||(r=me(Ki,Wo,30,0,15,1),Wv(e.b.a,new HKe(r)),QXe(r,bft(De.prototype.Ke,De,[])),e.a=new xit(r,e.d)),XP(e.a,t)}function T1t(e){switch(e.g){case 1:return Ue(),Wt;case 4:return Ue(),Vt;case 3:return Ue(),Zt;case 2:return Ue(),dn;default:return Ue(),Cs}}function Ebn(e,t,r){t.k==(Ht(),Xr)&&r.k==gi&&(e.d=WK(t,(Ue(),dn)),e.b=WK(t,Vt)),r.k==Xr&&t.k==gi&&(e.d=WK(r,(Ue(),Vt)),e.b=WK(r,dn))}function kY(e,t){var r,o,s;for(s=ks(e,t),o=s.Jc();o.Ob();)if(r=l(o.Pb(),12),j(r,(Ie(),Nu))!=null||m3(new Vd(r.b)))return!0;return!1}function Sbn(e,t,r){r.Tg("Linear segments node placement",1),e.b=l(j(t,(Ie(),t2)),317),JNn(e,t),E_n(e,t),H_n(e,t),kNn(e),e.a=null,e.b=null,r.Ug()}function U1e(e,t){return ya(t,e.e+e.d+(e.c.c.length==0?0:e.b)),gu(t,e.f),e.a=b.Math.max(e.a,t.f),e.d+=t.g+(e.c.c.length==0?0:e.b),je(e.c,t),!0}function Tbn(e,t){var r,o,s,u,f,p;for(s=t.length-1,f=0,p=0,o=0;o<=s;o++)u=t[o],r=Pwn(s,o)*Hge(1-e,s-o)*Hge(e,o),f+=u.a*r,p+=u.b*r;return new Le(f,p)}function A1t(e,t){var r,o,s,u,f;for(r=t.gc(),e.Zi(e.i+r),u=t.Jc(),f=e.i,e.i+=r,o=f;o<e.i;++o)s=u.Pb(),g3(e,o,e.Xi(o,s)),e.Ki(o,s),e.Li();return r!=0}function Abn(e,t,r){var o,s,u;return e.Nj()?(o=e.Cj(),u=e.Oj(),++e.j,e.oj(o,e.Xi(o,t)),s=e.Gj(3,null,t,o,u),r?r.lj(s):r=s):Qrt(e,e.Cj(),t),r}function _bn(e,t,r){var o,s,u;return o=l(ie(oa(e.a),t),88),u=(s=o.c,se(s,89)?l(s,29):(Tt(),Ml)),(u.Db&64?w1(e.b,u):u)==r?U7(o):m_(o,r),u}function kbn(e){var t;return e==null?null:new o1((t=Sa(e,!0),t.length>0&&(Yt(0,t.length),t.charCodeAt(0)==43)?(Yt(1,t.length+1),t.substr(1)):t))}function xbn(e){var t;return e==null?null:new o1((t=Sa(e,!0),t.length>0&&(Yt(0,t.length),t.charCodeAt(0)==43)?(Yt(1,t.length+1),t.substr(1)):t))}function H1e(e,t,r,o,s,u,f,p){var m,y;o&&(m=o.a[0],m&&H1e(e,t,r,m,s,u,f,p),LY(e,r,o.d,s,u,f,p)&&t.Ec(o),y=o.a[1],y&&H1e(e,t,r,y,s,u,f,p))}function dC(e,t){var r,o,s,u;for(u=e.gc(),t.length<u&&(t=j9(new Array(u),t)),s=t,o=e.Jc(),r=0;r<u;++r)ii(s,r,o.Pb());return t.length>u&&ii(t,u,null),t}function Nbn(e,t){var r,o;if(o=e.gc(),t==null){for(r=0;r<o;r++)if(e.Xb(r)==null)return r}else for(r=0;r<o;r++)if(pr(t,e.Xb(r)))return r;return-1}function xY(e,t){var r,o,s;return r=t.jd(),s=t.kd(),o=e.xc(r),!(!(be(s)===be(o)||s!=null&&pr(s,o))||o==null&&!e._b(r))}function Cbn(e,t){var r,o,s;return t<=22?(r=e.l&(1<<t)-1,o=s=0):t<=44?(r=e.l,o=e.m&(1<<t-22)-1,s=0):(r=e.l,o=e.m,s=e.h&(1<<t-44)-1),Ua(r,o,s)}function Ibn(e,t){switch(t.g){case 1:return e.f.n.d+e.t;case 3:return e.f.n.a+e.t;case 2:return e.f.n.c+e.s;case 4:return e.f.n.b+e.s;default:return 0}}function Rbn(e,t){var r,o;switch(o=t.c,r=t.a,e.b.g){case 0:r.d=e.e-o.a-o.d;break;case 1:r.d+=e.e;break;case 2:r.c=e.e-o.a-o.d;break;case 3:r.c=e.e+o.d}}function c7(){c7=Y,mne=new p8(_d,0),mke=new p8(rSt,1),wke=new p8("EDGE_LENGTH_BY_POSITION",2),bke=new p8("CROSSING_MINIMIZATION_BY_POSITION",3)}function NY(e,t){var r,o;if(r=l(pE(e.n,t),19),r)return r;if(o=l(pE(e.p,t),127),o)return o;throw K(new _f("Referenced shape does not exist: "+t))}function _1t(e,t){if(e.g==-1)throw K(new lu);e.Vj();try{e.d.fd(e.g,t),e.f=e.d.j}catch(r){throw r=ci(r),se(r,99)?K(new $c):K(r)}}function z1e(e,t){var r,o;if(se(t,257)){o=l(t,257);try{return r=e.Cd(o),r==0}catch(s){if(s=ci(s),se(s,214))return!1;throw K(s)}}return!1}function Obn(e,t){if(e.c==t)return e.d;if(e.d==t)return e.c;throw K(new jt("Node 'one' must be either source or target of edge 'edge'."))}function Dbn(e,t){if(e.c.i==t)return e.d.i;if(e.d.i==t)return e.c.i;throw K(new jt("Node "+t+" is neither source nor target of edge "+e))}function Lbn(e,t,r){r.Tg("Self-Loop ordering",1),ei(Ia(lr(lr(gs(new yt(null,new vt(t.b,16)),new b$e),new m$e),new w$e),new y$e),new CYe(e)),r.Ug()}function CY(e,t,r,o,s,u){var f,p,m,y,v;for(f=jmn(t,r,u),p=r==(Ue(),Vt)||r==Wt?-1:1,y=e[r.g],v=0;v<y.length;v++)m=y[v],m>0&&(m+=s),y[v]=f,f+=p*(m+o)}function Mbn(e){var t;for(t=0;t<e.a.c.length;t++)if(gr(l(He(e.a,t),9),(Be(),mte))&&Ke(We(j(l(He(e.a,t),9),mte))))return!0;return!1}function k1t(e){var t,r,o;for(o=e.f,e.n=me(Ki,Wo,30,o,15,1),e.d=me(Ki,Wo,30,o,15,1),t=0;t<o;t++)r=l(He(e.c.b,t),26),e.n[t]=Qgt(e,r),e.d[t]=rwt(e,r)}function x1t(e,t,r,o){var s;this.c=e,this.d=t,s=new Sr,Wr(s,r,s.c.b,s.c),this.a=s,this.b=l(j(o,(Ps(),aw)),87),this.e=ue(ce(j(o,W_e))),REt(this)}function Pbn(e,t,r){var o,s;return e.a?s=yr(r.j,t.j):s=yr(t.j,r.j),s==0?(o=na(l(ye(t,(wh(),LL)),15).a,l(ye(r,LL),15).a),o):s}function IY(e,t){var r,o,s;for(s=0,o=2;o<t;o<<=1)e.Db&o&&++s;if(s==0){for(r=t<<=1;r<=128;r<<=1)if(e.Db&r)return 0;return-1}else return s}function N1t(e,t){var r,o,s,u,f;for(f=za(e.e.Ah(),t),u=null,r=l(e.g,123),s=0;s<e.i;++s)o=r[s],f.$l(o.Jk())&&(!u&&(u=new g9),Tn(u,o));u&&bEt(e,u)}function C1t(e){var t,r,o;if(!e)return null;if(e.dc())return"";for(o=new Jp,r=e.Jc();r.Ob();)t=r.Pb(),zo(o,In(t)),o.a+=" ";return rV(o,o.a.length-1)}function I1t(e,t){var r=new Array(t),o;switch(e){case 14:case 15:o=0;break;case 16:o=!1;break;default:return r}for(var s=0;s<t;++s)r[s]=o;return r}function N0(e){var t,r,o;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),t.c.$b();Zh(e.d)?o=e.a.c:o=e.a.d,Oa(o,new QKe(e)),e.c.bf(e),Twt(e)}function R1t(e){var t,r,o,s;for(r=new V(e.e.c);r.a<r.c.c.length;){for(t=l(q(r),292),s=new V(t.b);s.a<s.c.c.length;)o=l(q(s),448),v0e(o);c0t(t)}}function O1t(e){var t,r,o;for(o=sr,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),9),gr(t,(Ie(),Nr))&&(o=b.Math.min(o,l(j(t,Nr),15).a));return o}function l7(e){var t,r,o,s,u;for(o=0,u=0,s=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),u=b.Math.max(u,t.r),o+=t.d+(s>0?e.c:0),++s;e.b=o,e.d=u}function D1t(e,t){var r;return r=Z(X(Ki,1),Wo,30,15,[j1e(e,(Sd(),$s),t),j1e(e,ja,t),j1e(e,Bs,t)]),e.f&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function L1t(e){var t;gr(e,(Be(),rw))&&(t=l(j(e,rw),24),t.Gc((Sy(),ad))?(t.Kc(ad),t.Ec(ud)):t.Gc(ud)&&(t.Kc(ud),t.Ec(ad)))}function M1t(e){var t;gr(e,(Be(),rw))&&(t=l(j(e,rw),24),t.Gc((Sy(),ld))?(t.Kc(ld),t.Ec(Il)):t.Gc(Il)&&(t.Kc(Il),t.Ec(ld)))}function RY(e,t,r,o){var s,u,f,p;return e.a==null&&Mwn(e,t),f=t.b.j.c.length,u=r.d.p,p=o.d.p,s=p-1,s<0&&(s=f-1),u<=s?e.a[s]-e.a[u]:e.a[f-1]-e.a[u]+e.a[s]}function jbn(e){var t;for(t=0;t<e.a.c.length;t++)if(gr(l(He(e.a,t),9),(Be(),wte))&&!Ke(We(j(l(He(e.a,t),9),wte))))return!1;return!0}function Fbn(e,t,r){var o,s,u,f,p;for(u=e.c,p=r?t:e,o=r?e:t,s=p.p+1;s<o.p;++s)if(f=l(He(u.a,s),9),!(f.k==(Ht(),af)||Tmn(f)))return!1;return!0}function $bn(e){var t,r;if(!e.b)for(e.b=jP(l(e.f,19).jh().i),r=new en(l(e.f,19).jh());r.e!=r.i.gc();)t=l(rn(r),158),je(e.b,new oq(t));return e.b}function Bbn(e){var t,r;if(!e.e)for(e.e=jP(dhe(l(e.f,19)).i),r=new en(dhe(l(e.f,19)));r.e!=r.i.gc();)t=l(rn(r),127),je(e.e,new aXe(t));return e.e}function P1t(e){var t,r;if(!e.a)for(e.a=jP(_P(l(e.f,19)).i),r=new en(_P(l(e.f,19)));r.e!=r.i.gc();)t=l(rn(r),19),je(e.a,new F8(e,t));return e.a}function C0(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=yxn(e),t)e.fl(t);else try{e.fl(null)}catch(r){if(r=ci(r),!se(r,63))throw K(r)}return e.C}function Ubn(e){switch(e.q.g){case 5:cbt(e,(Ue(),Vt)),cbt(e,dn);break;case 4:xvt(e,(Ue(),Vt)),xvt(e,dn);break;default:vmt(e,(Ue(),Vt)),vmt(e,dn)}}function Hbn(e){switch(e.q.g){case 5:lbt(e,(Ue(),Zt)),lbt(e,Wt);break;case 4:Nvt(e,(Ue(),Zt)),Nvt(e,Wt);break;default:Emt(e,(Ue(),Zt)),Emt(e,Wt)}}function SE(e,t){var r,o,s;for(s=new to,o=e.Jc();o.Ob();)r=l(o.Pb(),37),Q_(r,s.a,0),s.a+=r.f.a+t,s.b=b.Math.max(s.b,r.f.b);return s.b>0&&(s.b+=t),s}function d7(e,t){var r,o,s;for(s=new to,o=e.Jc();o.Ob();)r=l(o.Pb(),37),Q_(r,0,s.b),s.b+=r.f.b+t,s.a=b.Math.max(s.a,r.f.a);return s.a>0&&(s.a+=t),s}function j1t(e,t){var r,o;if(t.length==0)return 0;for(r=aW(e.a,t[0],(Ue(),Wt)),r+=aW(e.a,t[t.length-1],Zt),o=0;o<t.length;o++)r+=Awn(e,o,t);return r}function F1t(){_C(),this.c=new Pe,this.i=new Pe,this.e=new uh,this.f=new uh,this.g=new uh,this.j=new Pe,this.a=new Pe,this.b=new hn,this.k=new hn}function OY(e,t){var r,o;return e.Db>>16==6?e.Cb.Qh(e,5,Dd,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||e.fi()),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function zbn(e){c_();var t=e.e;if(t&&t.stack){var r=t.stack,o=t+`
|
||
`;return r.substring(0,o.length)==o&&(r=r.substring(o.length)),r.split(`
|
||
`)}return[]}function Gbn(e){var t;return t=(zft(),j_t),t[e>>>28]|t[e>>24&15]<<4|t[e>>20&15]<<8|t[e>>16&15]<<12|t[e>>12&15]<<16|t[e>>8&15]<<20|t[e>>4&15]<<24|t[e&15]<<28}function $1t(e){var t,r,o;e.b==e.c&&(o=e.a.length,r=_ge(b.Math.max(8,o))<<1,e.b!=0?(t=Gl(e.a,r),Yft(e,t,o),e.a=t,e.b=0):Lw(e.a,r),e.c=o)}function qbn(e,t){var r;return r=e.b,r.nf((_n(),Hu))?r.$f()==(Ue(),Wt)?-r.Kf().a-ue(ce(r.mf(Hu))):t+ue(ce(r.mf(Hu))):r.$f()==(Ue(),Wt)?-r.Kf().a:t}function U6(e){var t;return e.b.c.length!=0&&l(He(e.b,0),70).a?l(He(e.b,0),70).a:(t=gW(e),t??""+(e.c?As(e.c.a,e,0):-1))}function f7(e){var t;return e.f.c.length!=0&&l(He(e.f,0),70).a?l(He(e.f,0),70).a:(t=gW(e),t??""+(e.i?As(e.i.j,e,0):-1))}function Vbn(e,t){var r,o;if(t<0||t>=e.gc())return null;for(r=t;r<e.gc();++r)if(o=l(e.Xb(r),134),r==e.gc()-1||!o.o)return new ko(Re(r),o);return null}function G1e(e){var t,r,o,s,u;for(u=0,s=Oi,o=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),u+=t.r+(o>0?e.c:0),s=b.Math.max(s,t.d),++o;e.e=u,e.b=s}function Wbn(e){var t,r;if(!e.b)for(e.b=jP(l(e.f,127).jh().i),r=new en(l(e.f,127).jh());r.e!=r.i.gc();)t=l(rn(r),158),je(e.b,new oq(t));return e.b}function Kbn(e,t){var r,o,s;if(t.dc())return YA(),YA(),aM;for(r=new tit(e,t.gc()),s=new en(e);s.e!=s.i.gc();)o=rn(s),t.Gc(o)&&Tn(r,o);return r}function q1e(e,t,r,o){return t==0?o?(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),e.o):(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),i6(e.o)):i7(e,t,r,o)}function DY(e){var t,r;if(e.rb)for(t=0,r=e.rb.i;t<r;++t)IO(ie(e.rb,t));if(e.vb)for(t=0,r=e.vb.i;t<r;++t)IO(ie(e.vb,t));S3((mu(),so),e),e.Bb|=1}function Mr(e,t,r,o,s,u,f,p,m,y,v,T,N,I){return kmt(e,t,o,null,s,u,f,p,m,y,N,!0,I),o1e(e,v),se(e.Cb,89)&&Ey(Mu(l(e.Cb,89)),2),r&&nge(e,r),i1e(e,T),e}function Ybn(e){var t,r;if(e==null)return null;r=0;try{r=Ec(e,Zi,sr)&Ei}catch(o){if(o=ci(o),se(o,133))t=oj(e),r=t[0];else throw K(o)}return S6(r)}function Jbn(e){var t,r;if(e==null)return null;r=0;try{r=Ec(e,Zi,sr)&Ei}catch(o){if(o=ci(o),se(o,133))t=oj(e),r=t[0];else throw K(o)}return S6(r)}function Xbn(e,t){var r,o,s;return s=e.h-t.h,s<0||(r=e.l-t.l,o=e.m-t.m+(r>>22),s+=o>>22,s<0)?!1:(e.l=r&Uu,e.m=o&Uu,e.h=s&yp,!0)}function LY(e,t,r,o,s,u,f){var p,m;return!(t.Re()&&(m=e.a.Le(r,o),m<0||!s&&m==0)||t.Se()&&(p=e.a.Le(r,u),p>0||!f&&p==0))}function Zbn(e,t){x_();var r;if(r=e.j.g-t.j.g,r!=0)return 0;switch(e.j.g){case 2:return tY(t,xSe)-tY(e,xSe);case 4:return tY(e,kSe)-tY(t,kSe)}return 0}function Qbn(e){switch(e.g){case 0:return $ee;case 1:return Bee;case 2:return Uee;case 3:return Hee;case 4:return W$;case 5:return zee;default:return null}}function ns(e,t,r){var o,s;return o=(s=new QG,Wb(s,t),Da(s,r),Tn((!e.c&&(e.c=new xe(cw,e,12,10)),e.c),s),s),ug(o,0),uy(o,1),hg(o,!0),fg(o,!0),o}function JS(e,t){var r,o;if(t>=e.i)throw K(new tV(t,e.i));return++e.j,r=e.g[t],o=e.i-t-1,o>0&&ua(e.g,t+1,e.g,t,o),ii(e.g,--e.i,null),e.Oi(t,r),e.Li(),r}function B1t(e,t){var r,o;return e.Db>>16==17?e.Cb.Qh(e,21,Ol,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||e.fi()),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function emn(e){var t,r,o,s;for(St(),_i(e.c,e.a),s=new V(e.c);s.a<s.c.c.length;)for(o=q(s),r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),690),t._e(o)}function tmn(e){var t,r,o,s;for(St(),_i(e.c,e.a),s=new V(e.c);s.a<s.c.c.length;)for(o=q(s),r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),378),t._e(o)}function nmn(e){var t,r,o,s,u;for(s=sr,u=null,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),220),r.d.j^r.e.j&&(t=r.e.e-r.d.e-r.a,t<s&&(s=t,u=r));return u}function V1e(){V1e=Y,gxt=new ht(bwe,(Lt(),!1)),fxt=new ht(mwe,100),A2e=(U3(),oee),hxt=new ht(wwe,A2e),pxt=new ht(ywe,Uf),bxt=new ht(vwe,Re(sr))}function U1t(e,t){var r,o,s;for(o=new Ft(Gt(Df(e).a.Jc(),new D));an(o);)return r=l(Qt(o),17),s=l(t.Kb(r),9),new w9(xn(s.n.b+s.o.b/2));return jN(),jN(),IQ}function H1t(e,t,r){var o,s,u,f,p,m,y,v;for(y=0,s=e.a[t],u=0,f=s.length;u<f;++u)for(o=s[u],v=nC(o,r),m=v.Jc();m.Ob();)p=l(m.Pb(),12),Yn(e.f,p,Re(y++))}function z1t(e,t,r){var o,s,u,f;if(r)for(s=r.a.length,o=new Nb(s),f=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);f.Ob();)u=l(f.Pb(),15),wt(e,t,eT(sy(r,u.a)))}function G1t(e,t,r){var o,s,u,f;if(r)for(s=r.a.length,o=new Nb(s),f=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);f.Ob();)u=l(f.Pb(),15),wt(e,t,eT(sy(r,u.a)))}function W1e(e){S1();var t;return t=l(dC(_S(e.k),me(Co,ea,64,2,0,1)),128),p_(t,0,t.length,null),t[0]==(Ue(),Vt)&&t[1]==Wt&&(ii(t,0,Wt),ii(t,1,Vt)),t}function q1t(e,t,r){var o,s,u;return s=L2n(e,t,r),u=Bme(e,s),ZW(e.b),OW(e,t,r),St(),_i(s,new hJe(e)),o=Bme(e,s),ZW(e.b),OW(e,r,t),new ko(Re(u),Re(o))}function V1t(){V1t=Y,u4t=Fn(new ui,(Vi(),$o),(Xi(),SI)),IB=new Pr("linearSegments.inputPrio",Re(0)),RB=new Pr("linearSegments.outputPrio",Re(0))}function rmn(e){var t,r,o,s;for(r=0,t=0,s=new en(e);s.e!=s.i.gc();)o=l(rn(s),19),r=b.Math.max(o.g+o.i,r),t=b.Math.max(o.f+o.j,t);return new Le(r,t)}function imn(e,t){var r,o,s,u;for(u=0,o=new V(e);o.a<o.c.c.length;)r=l(q(o),19),u+=b.Math.pow(r.g*r.f-t,2);return s=b.Math.sqrt(u/(e.c.length-1)),s}function vc(){vc=Y,GL=new y8("UNKNOWN",0),Ih=new y8("ABOVE",1),q1=new y8("BELOW",2),zL=new y8("INLINE",3),new Pr("org.eclipse.elk.labelSide",GL)}function omn(e,t){if(se(t,273))return tnn(e,l(t,74));if(se(t,278))return l(t,278);throw K(new jt(Lk+Qd(new Ds(Z(X(Ci,1),Rt,1,5,[t])))))}function W1t(e,t){var r;if(e.Wi()&&t!=null){for(r=0;r<e.i;++r)if(pr(t,e.g[r]))return r}else for(r=0;r<e.i;++r)if(be(e.g[r])===be(t))return r;return-1}function smn(e,t,r){var o,s;return t.c==(Lo(),Fa)&&r.c==Cu?-1:t.c==Cu&&r.c==Fa?1:(o=Rpt(t.a,e.a),s=Rpt(r.a,e.a),t.c==Fa?s-o:o-s)}function E1(e,t,r){if(r&&(t<0||t>r.a.c.length))throw K(new jt("index must be >= 0 and <= layer node count"));e.c&&Xa(e.c.a,e),e.c=r,r&&kb(r.a,t,e)}function K1t(e,t){this.c=new hn,this.a=e,this.b=t,this.d=l(j(e,(Ie(),t2)),317),be(j(e,(Be(),SAe)))===be((u6(),K$))?this.e=new yZe:this.e=new wZe}function MY(e,t){var r,o;r=e.dd(t);try{return o=r.Pb(),r.Qb(),o}catch(s){throw s=ci(s),se(s,113)?K(new Na("Can't remove element "+t)):K(s)}}function amn(e,t){var r,o,s;if(o=new z9,s=new Sge(o.q.getFullYear()-x1,o.q.getMonth(),o.q.getDate()),r=o_n(e,t,s),r==0||r<t.length)throw K(new jt(t));return s}function K1e(e,t){var r,o,s;for(Mt(t),Ade(t!=e),s=e.b.c.length,o=t.Jc();o.Ob();)r=o.Pb(),je(e.b,Mt(r));return s!=e.b.c.length?(Lge(e,0),!0):!1}function H6(){H6=Y,N2e=(_n(),b4),new Mi(tU,(Lt(),!0)),wxt=Sm,yxt=b2,vxt=G1,mxt=g2,I2e=m4,Ext=uv,x2e=(V1e(),gxt),_2e=hxt,k2e=pxt,C2e=bxt,v$=fxt}function umn(e,t){if(t==e.c)return e.d;if(t==e.d)return e.c;throw K(new jt("'port' must be either the source port or target port of the edge."))}function cmn(e,t){var r,o;for(e.b=0,e.d=new R9,o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),9),l(j(r,(Ie(),II)),15).a==-1&&(Vvt(e,r),e.d.a.c.length=0)}function Y1t(e,t){var r,o,s,u,f;for(o=0,s=0,r=0,f=new V(e);f.a<f.c.c.length;)u=l(q(f),189),o=b.Math.max(o,u.e),s+=u.b+(r>0?t:0),++r;return new Le(o,s)}function lmn(e,t,r){var o,s;switch(s=e.o,o=e.d,t.g){case 1:return-o.d-r;case 3:return s.b+o.a+r;case 2:return s.a+o.c+r;case 4:return-o.b-r;default:return 0}}function Y1e(e,t,r,o){var s,u,f,p;for(Ii(t,l(o.Xb(0),26)),p=o.hd(1,o.gc()),u=l(r.Kb(t),22).Jc();u.Ob();)s=l(u.Pb(),17),f=s.c.i==t?s.d.i:s.c.i,Y1e(e,f,r,p)}function J1t(e){var t;return t=new hn,gr(e,(Ie(),rte))?l(j(e,rte),93):(ei(lr(new yt(null,new vt(e.j,16)),new U$e),new OYe(t)),Ae(e,rte,t),t)}function dmn(e,t,r){var o;r.Tg("AbsolutPlacer",1),(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i!=0&&(o=l(ye(t,(wh(),l4)),19),ya(o,o.i-zmt(e,o)),Hbt(e,o)),r.Ug()}function fC(e,t){var r,o;return o=null,e.nf((_n(),zT))&&(r=l(e.mf(zT),105),r.nf(t)&&(o=r.mf(t))),o==null&&e.Rf()&&(o=e.Rf().mf(t)),o==null&&(o=ze(t)),o}function J1e(e,t){var r,o;return e.Db>>16==6?e.Cb.Qh(e,6,Cr,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Qs(),pU)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function X1e(e,t){var r,o;return e.Db>>16==7?e.Cb.Qh(e,1,QL,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Qs(),r3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function Z1e(e,t){var r,o;return e.Db>>16==9?e.Cb.Qh(e,9,En,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Qs(),o3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function X1t(e,t){var r,o;return e.Db>>16==5?e.Cb.Qh(e,9,vU,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Tt(),Og)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function Z1t(e,t){var r,o;return e.Db>>16==7?e.Cb.Qh(e,6,Dd,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Tt(),Lg)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function Q1e(e,t){var r,o;return e.Db>>16==3?e.Cb.Qh(e,0,tM,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Tt(),Rg)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function ebe(e,t){var r,o;return e.Db>>16==3?e.Cb.Qh(e,12,En,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Qs(),n3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function fmn(e,t,r){var o,s,u;for(r<0&&(r=0),u=e.i,s=r;s<u;s++)if(o=ie(e,s),t==null){if(o==null)return s}else if(be(t)===be(o)||pr(t,o))return s;return-1}function hmn(e,t){var r,o;return r=t.ni(e.a),r?(o=In(Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),t$)),mt(VD,o)?S3(e,mc(t.ok())):o):null}function H_(e,t){var r,o;if(t){if(t==e)return!0;for(r=0,o=l(t,52).Mh();o&&o!=t;o=o.Mh()){if(++r>mX)return H_(e,o);if(o==e)return!0}}return!1}function pmn(e){switch(U8(),e.q.g){case 5:Hmt(e,(Ue(),Vt)),Hmt(e,dn);break;case 4:Y0t(e,(Ue(),Vt)),Y0t(e,dn);break;default:iEt(e,(Ue(),Vt)),iEt(e,dn)}}function gmn(e){switch(U8(),e.q.g){case 5:u0t(e,(Ue(),Zt)),u0t(e,Wt);break;case 4:r1t(e,(Ue(),Zt)),r1t(e,Wt);break;default:oEt(e,(Ue(),Zt)),oEt(e,Wt)}}function bmn(e){var t,r;t=l(j(e,(ed(),oxt)),15),t?(r=t.a,r==0?Ae(e,(h1(),y$),new eY):Ae(e,(h1(),y$),new qP(r))):Ae(e,(h1(),y$),new qP(1))}function mmn(e,t){var r;switch(r=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-r.o.a;case 3:return e.n.b-r.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function wmn(e,t){switch(e.g){case 0:return t==(rc(),Ap)?$$:B$;case 1:return t==(rc(),Ap)?$$:rL;case 2:return t==(rc(),Ap)?rL:B$;default:return rL}}function z6(e,t){var r,o,s;for(Xa(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),s=_Z,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),175),s=b.Math.max(s,r.d);e.b=s}function ymn(e,t,r){var o,s,u;if(u=l(Ut(e.r,t),301),s=null,u)switch(u.g){case 2:o=ce(Ut(e.i,t)),s=(Mt(r),r+(Mt(o),o));break;default:s=r}else s=r;return s}function vmn(e,t,r){var o,s,u;if(u=l(Ut(e.r,t),301),s=null,u)switch(u.g){case 2:o=ce(Ut(e.j,t)),s=(Mt(r),r+(Mt(o),o));break;default:s=r}else s=r;return s}function Sl(e){var t;return!(e.Bb&1)&&e.r&&e.r.Sh()&&(t=l(e.r,52),e.r=l(w1(e,t),146),e.r!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,8,t,e.r))),e.r}function PY(e,t,r){var o;return o=Z(X(Ki,1),Wo,30,15,[xbe(e,(Sd(),$s),t,r),xbe(e,ja,t,r),xbe(e,Bs,t,r)]),e.f&&(o[0]=b.Math.max(o[0],o[2]),o[2]=o[0]),o}function Emn(e,t){var r,o,s;if(s=H1n(e,t),s.c.length!=0)for(_i(s,new HFe),r=s.c.length,o=0;o<r;o++)W_(e,(at(o,s.c.length),l(s.c[o],295)),CSn(e,s,o))}function hC(e,t,r){var o,s;o=t*r,se(e.g,157)?(s=LS(e),s.f.d?s.f.a||(e.d.a+=o+nf):(e.d.d-=o+nf,e.d.a+=o+nf)):se(e.g,9)&&(e.d.d-=o,e.d.a+=2*o)}function Smn(e){var t,r,o,s;for(s=l(wr(e.a,(wy(),U$)),16).Jc();s.Ob();)for(o=l(s.Pb(),108),r=_S(o.k).Jc();r.Ob();)t=l(r.Pb(),64),n_(e,o,t,(S0(),P1),1)}function Tmn(e){var t,r;if(e.k==(Ht(),gi)){for(r=new Ft(Gt(Df(e).a.Jc(),new D));an(r);)if(t=l(Qt(r),17),!lo(t)&&e.c==ube(t,e).c)return!0}return!1}function Amn(e){var t,r;if(e.k==(Ht(),gi)){for(r=new Ft(Gt(Df(e).a.Jc(),new D));an(r);)if(t=l(Qt(r),17),!lo(t)&&t.c.i.c==t.d.i.c)return!0}return!1}function tbe(e,t){var r,o;return e.Db>>16==11?e.Cb.Qh(e,10,En,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Qs(),i3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function Q1t(e,t){var r,o;return e.Db>>16==10?e.Cb.Qh(e,11,Ol,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Tt(),Dg)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function ebt(e,t){var r,o;return e.Db>>16==10?e.Cb.Qh(e,12,Dl,t):(o=Do(l(Nt((r=l(qt(e,16),29),r||(Tt(),wv)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function tbt(e,t){var r,o,s,u,f;if(t)for(s=t.a.length,r=new Nb(s),f=(r.b-r.a)*r.c<0?(r1(),eb):new s1(r);f.Ob();)u=l(f.Pb(),15),o=d_(t,u.a),o&&z0t(e,o)}function _mn(){ule();var e,t;for(e3n((a1(),Bt)),GNn(Bt),DY(Bt),y3e=(Tt(),bf),t=new V(N3e);t.a<t.c.c.length;)e=l(q(t),251),ik(e,bf,null);return!0}function nbe(e,t){var r,o,s,u,f,p,m,y;return m=e.h>>19,y=t.h>>19,m!=y?y-m:(s=e.h,p=t.h,s!=p?s-p:(o=e.m,f=t.m,o!=f?o-f:(r=e.l,u=t.l,r-u)))}function nbt(e,t,r){var o,s,u,f,p;for(s=e[r.g],p=new V(t.d);p.a<p.c.c.length;)f=l(q(p),108),u=f.i,u&&u.i==r&&(o=f.d[r.g],s[o]=b.Math.max(s[o],u.j.b))}function kmn(e,t){var r,o,s,u,f;for(o=0,s=0,r=0,f=new V(t.d);f.a<f.c.c.length;)u=l(q(f),320),l7(u),o=b.Math.max(o,u.b),s+=u.d+(r>0?e.b:0),++r;t.b=o,t.e=s}function rbt(e){var t,r,o;if(o=e.b,ket(e.i,o.length)){for(r=o.length*2,e.b=me(DQ,mD,309,r,0,1),e.c=me(DQ,mD,309,r,0,1),e.f=r-1,e.i=0,t=e.a;t;t=t.c)J6(e,t,t);++e.g}}function pC(e,t){return e.b.a=b.Math.min(e.b.a,t.c),e.b.b=b.Math.min(e.b.b,t.d),e.a.a=b.Math.max(e.a.a,t.c),e.a.b=b.Math.max(e.a.b,t.d),Ot(e.c,t),!0}function xmn(e,t,r){var o;o=t.c.i,o.k==(Ht(),gi)?(Ae(e,(Ie(),Cd),l(j(o,Cd),12)),Ae(e,Nl,l(j(o,Nl),12))):(Ae(e,(Ie(),Cd),t.c),Ae(e,Nl,r.d))}function Nmn(e,t,r){return r.Tg(TSt,1),O3(e.b),pc(e.b,(KS(),OB),OB),pc(e.b,XI,XI),pc(e.b,ZI,ZI),pc(e.b,QI,QI),e.a=MC(e.b,t),g0n(e,t,r.dh(1)),r.Ug(),t}function z_(e,t,r){X_();var o,s,u,f,p,m;return f=t/2,u=r/2,o=b.Math.abs(e.a),s=b.Math.abs(e.b),p=1,m=1,o>f&&(p=f/o),s>u&&(m=u/s),Qh(e,b.Math.min(p,m)),e}function Cmn(){z7();var e,t;try{if(t=l(fbe((n1(),Ll),Dk),2092),t)return t}catch(r){if(r=ci(r),se(r,102))e=r,Jfe((Cn(),e));else throw K(r)}return new LGe}function Imn(){z7();var e,t;try{if(t=l(fbe((n1(),Ll),_l),2019),t)return t}catch(r){if(r=ci(r),se(r,102))e=r,Jfe((Cn(),e));else throw K(r)}return new sqe}function Rmn(){edt();var e,t;try{if(t=l(fbe((n1(),Ll),um),2101),t)return t}catch(r){if(r=ci(r),se(r,102))e=r,Jfe((Cn(),e));else throw K(r)}return new Qqe}function Omn(e,t,r){var o,s;return s=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,4,s,t),r?r.lj(o):r=o),s!=t&&(t?r=ik(e,I7(e,t),r):r=ik(e,e.a,r)),r}function ibt(){z9.call(this),this.e=-1,this.a=!1,this.p=Zi,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Zi}function Dmn(e,t){var r,o,s;if(o=e.b.d.d,e.a||(o+=e.b.d.a),s=t.b.d.d,t.a||(s+=t.b.d.a),r=yr(o,s),r==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return r}function Lmn(e,t){var r,o,s;if(o=e.b.b.d,e.a||(o+=e.b.b.a),s=t.b.b.d,t.a||(s+=t.b.b.a),r=yr(o,s),r==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return r}function Mmn(e,t){var r,o,s;if(o=e.b.g.d,e.a||(o+=e.b.g.a),s=t.b.g.d,t.a||(s+=t.b.g.a),r=yr(o,s),r==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return r}function rbe(){rbe=Y,Txt=Ca(Fn(Fn(Fn(new ui,(Vi(),da),(Xi(),fSe)),da,hSe),$o,pSe),$o,tSe),_xt=Fn(Fn(new ui,da,K2e),da,nSe),Axt=Ca(new ui,$o,iSe)}function Pmn(e){var t,r,o,s,u;for(t=l(j(e,(Ie(),NI)),93),u=e.n,o=t.Bc().Jc();o.Ob();)r=l(o.Pb(),319),s=r.i,s.c+=u.a,s.d+=u.b,r.c?Mwt(r):Pwt(r);Ae(e,NI,null)}function jmn(e,t,r){var o,s;switch(s=e.b,o=s.d,t.g){case 1:return-o.d-r;case 2:return s.o.a+o.c+r;case 3:return s.o.b+o.a+r;case 4:return-o.b-r;default:return-1}}function obt(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),9),e.c[r.c.p][r.p].a=qV(e.i),e.c[r.c.p][r.p].d=ue(e.c[r.c.p][r.p].a),e.c[r.c.p][r.p].b=1}function Fmn(e,t){var r,o,s,u;for(u=0,o=new V(e);o.a<o.c.c.length;)r=l(q(o),168),u+=b.Math.pow(hu(r)*Qu(r)-t,2);return s=b.Math.sqrt(u/(e.c.length-1)),s}function $mn(e,t,r){var o,s;for(r.Tg("Interactive node placement",1),e.a=l(j(t,(Ie(),t2)),317),s=new V(t.b);s.a<s.c.c.length;)o=l(q(s),26),gSn(e,o);r.Ug()}function Bmn(e){var t,r,o,s,u;if(o=0,s=jE,e.b)for(t=0;t<360;t++)r=t*.017453292519943295,r0e(e,e.d,0,0,im,r),u=e.b.Cg(e.d),u<s&&(o=r,s=u);r0e(e,e.d,0,0,im,o)}function Umn(e,t){var r,o,s,u;for(u=new hn,t.e=null,t.f=null,o=new V(t.i);o.a<o.c.c.length;)r=l(q(o),68),s=l(Ut(e.g,r.a),49),r.a=pP(r.b),Yn(u,r.a,s);e.g=u}function Hmn(e,t,r){var o,s,u,f,p,m;for(s=t-e.e,u=s/e.d.c.length,f=0,m=new V(e.d);m.a<m.c.c.length;)p=l(q(m),320),o=e.b-p.b+r,Ngt(p,p.e+f*u,p.f),ybn(p,u,o),++f}function sbt(e){var t;if(e.f.Zj(),e.b!=-1){if(++e.b,t=e.f.d[e.a],e.b<t.i)return;++e.a}for(;e.a<e.f.d.length;++e.a)if(t=e.f.d[e.a],t&&t.i!=0){e.b=0;return}e.b=-1}function zmn(e,t){var r,o,s;for(s=t.c.length,r=Byn(e,s==0?"":(at(0,t.c.length),In(t.c[0]))),o=1;o<s&&r;++o)r=l(r,52).Wh((at(o,t.c.length),In(t.c[o])));return r}function abt(e,t,r,o){var s,u,f;return u=aTn(e,t,r,o),f=Kme(e,u),VY(e,t,r,o),ZW(e.b),St(),_i(u,new pJe(e)),s=Kme(e,u),VY(e,r,t,o),ZW(e.b),new ko(Re(f),Re(s))}function Gmn(e,t){var r;t.Tg("Delaunay triangulation",1),r=new Pe,Oa(e.i,new JJe(r)),Ke(We(j(e,(E_(),wI)))),e.e?bo(e.e,EEt(r)):e.e=EEt(r),t.Ug()}function h7(){h7=Y,Gne=new b8("P1_NODE_Y_PLACEMENT",0),qne=new b8("P2_NODE_RELATIVE_PLACEMENT",1),Vne=new b8("P3_NODE_ABSOLUTE_PLACEMENT",2),Wne=new b8(ASt,3)}function qmn(e,t,r){var o,s;for(kO(e,e.j+t,e.k+r),s=new en((!e.a&&(e.a=new yi(Ic,e,5)),e.a));s.e!=s.i.gc();)o=l(rn(s),373),sV(o,o.a+t,o.b+r);_O(e,e.b+t,e.c+r)}function ibe(e,t,r,o){switch(r){case 7:return!e.e&&(e.e=new Et(Cr,e,7,4)),La(e.e,t,o);case 8:return!e.d&&(e.d=new Et(Cr,e,8,5)),La(e.d,t,o)}return zY(e,t,r,o)}function obe(e,t,r,o){switch(r){case 7:return!e.e&&(e.e=new Et(Cr,e,7,4)),Ao(e.e,t,o);case 8:return!e.d&&(e.d=new Et(Cr,e,8,5)),Ao(e.d,t,o)}return kK(e,t,r,o)}function ubt(e,t,r){var o,s,u,f,p;if(r)for(u=r.a.length,o=new Nb(u),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),s=d_(r,f.a),s&&Umt(e,s,t)}function G6(e,t,r){var o,s,u,f,p;return e.Zj(),u=t==null?0:Ir(t),e.f>0&&(f=(u&sr)%e.d.length,s=sme(e,f,u,t),s)?(p=s.ld(r),p):(o=e.ak(u,t,r),e.c.Ec(o),null)}function sbe(e,t){var r,o,s,u;switch(dg(e,t).Il()){case 3:case 2:{for(r=CE(t),s=0,u=r.i;s<u;++s)if(o=l(ie(r,s),38),d0(es(e,o))==5)return o;break}}return null}function Vmn(e){var t,r,o,s,u;if(ket(e.f,e.b.length))for(o=me(C_t,mD,229,e.b.length*2,0,1),e.b=o,s=o.length-1,r=e.a;r!=e;r=r.Zd())u=l(r,229),t=u.d&s,u.a=o[t],o[t]=u}function cbt(e,t){var r,o,s,u;for(u=0,s=l(l(wr(e.r,t),24),85).Jc();s.Ob();)o=l(s.Pb(),116),u=b.Math.max(u,o.e.a+o.b.Kf().a);r=l(Go(e.b,t),129),r.n.b=0,r.a.a=u}function lbt(e,t){var r,o,s,u;for(r=0,u=l(l(wr(e.r,t),24),85).Jc();u.Ob();)s=l(u.Pb(),116),r=b.Math.max(r,s.e.b+s.b.Kf().b);o=l(Go(e.b,t),129),o.n.d=0,o.a.b=r}function Wmn(e){var t,r,o;for(r=new V(e.p);r.a<r.c.c.length;)t=l(q(r),9),t.k==(Ht(),Xr)&&(o=t.o.b,e.i=b.Math.min(e.i,o),e.g=b.Math.max(e.g,o))}function dbt(e,t,r){var o,s,u;for(u=new V(t);u.a<u.c.c.length;)o=l(q(u),9),e.c[o.c.p][o.p].e=!1;for(s=new V(t);s.a<s.c.c.length;)o=l(q(s),9),O0e(e,o,r)}function Kmn(e){var t,r;return r=l(j(e,(Ie(),_a)),24),t=I8(A4t),r.Gc((Mo(),XE))&&yc(t,x4t),r.Gc(xI)&&yc(t,N4t),r.Gc(Jk)&&yc(t,_4t),r.Gc(Xk)&&yc(t,k4t),t}function abe(e){if(e<0)throw K(new jt("The input must be positive"));return e<Ixe.length?jb(Ixe[e]):b.Math.sqrt(im*e)*(Rpn(e,e)/Hge(2.718281828459045,e))}function G_(e,t){var r;if(e.Wi()&&t!=null){for(r=0;r<e.i;++r)if(pr(t,e.g[r]))return!0}else for(r=0;r<e.i;++r)if(be(e.g[r])===be(t))return!0;return!1}function Ymn(e,t){if(t==null){for(;e.a.Ob();)if(l(e.a.Pb(),45).kd()==null)return!0}else for(;e.a.Ob();)if(pr(t,l(e.a.Pb(),45).kd()))return!0;return!1}function Jmn(e,t){var r,o,s;return t===e?!0:se(t,675)?(s=l(t,2025),Bgt((o=e.g,o||(e.g=new DG(e))),(r=s.g,r||(s.g=new DG(s))))):!1}function Xmn(e){var t,r,o,s;for(t="$z",r="nz",s=b.Math.min(e.length,5),o=s-1;o>=0;o--)if(mt(e[o].d,t)||mt(e[o].d,r)){e.length>=o+1&&e.splice(0,o+1);break}return e}function q6(e,t){var r;return ps(e)&&ps(t)&&(r=e/t,vD<r&&r<em)?r<0?b.Math.ceil(r):b.Math.floor(r):p1(k0e(ps(e)?vl(e):e,ps(t)?vl(t):t,!1))}function ube(e,t){if(t==e.c.i)return e.d.i;if(t==e.d.i)return e.c.i;throw K(new jt("'node' must either be the source node or target node of the edge."))}function Zmn(e){var t,r,o,s;if(s=l(j(e,(Ie(),oTe)),37),s){for(o=new to,t=ji(e.c.i);t!=s;)r=t.e,t=ji(r),zw(br(br(o,r.n),t.c),t.d.b,t.d.d);return o}return zxt}function Qmn(e){var t;t=l(j(e,(Ie(),nw)),339),ei(gs(new yt(null,new vt(t.d,16)),new _$e),new IYe(e)),ei(lr(new yt(null,new vt(t.d,16)),new k$e),new RYe(e))}function jY(e,t){var r,o,s,u;for(s=t?Rr(e):si(e),o=new Ft(Gt(s.a.Jc(),new D));an(o);)if(r=l(Qt(o),17),u=ube(r,e),u.k==(Ht(),gi)&&u.c!=e.c)return u;return null}function FY(e,t,r){var o,s;o=yE(t.j,r.s,r.c)+yE(r.e,t.s,t.c),s=yE(r.j,t.s,t.c)+yE(t.e,r.s,r.c),o==s?o>0&&(e.b+=2,e.a+=o):(e.b+=1,e.a+=b.Math.min(o,s))}function fbt(e,t){var r,o;if(o=!1,zi(t)&&(o=!0,CS(e,new Zw(In(t)))),o||se(t,245)&&(o=!0,CS(e,(r=_V(l(t,245)),new y9(r)))),!o)throw K(new sq(aEe))}function e0n(e,t,r,o){var s,u,f;return s=new ap(e.e,1,10,(f=t.c,se(f,89)?l(f,29):(Tt(),Ml)),(u=r.c,se(u,89)?l(u,29):(Tt(),Ml)),pg(e,t),!1),o?o.lj(s):o=s,o}function cbe(e){var t,r;switch(l(j(ji(e),(Be(),pAe)),425).g){case 0:return t=e.n,r=e.o,new Le(t.a+r.a/2,t.b+r.b/2);case 1:return new Eo(e.n);default:return null}}function V6(){V6=Y,Y$=new t3(_d,0),GSe=new t3("LEFTUP",1),VSe=new t3("RIGHTUP",2),zSe=new t3("LEFTDOWN",3),qSe=new t3("RIGHTDOWN",4),Gee=new t3("BALANCED",5)}function t0n(e,t,r){var o,s,u;if(o=yr(e.a[t.p],e.a[r.p]),o==0){if(s=l(j(t,(Ie(),CT)),16),u=l(j(r,CT),16),s.Gc(r))return-1;if(u.Gc(t))return 1}return o}function n0n(e){switch(e.g){case 1:return new aze;case 2:return new uze;case 3:return new sze;case 0:return null;default:throw K(new jt(OZ+(e.f!=null?e.f:""+e.g)))}}function lbe(e,t,r){switch(t){case 1:!e.n&&(e.n=new xe(Is,e,1,7)),vn(e.n),!e.n&&(e.n=new xe(Is,e,1,7)),ti(e.n,l(r,18));return;case 2:y_(e,In(r));return}Ige(e,t,r)}function dbe(e,t,r){switch(t){case 3:$b(e,ue(ce(r)));return;case 4:Bb(e,ue(ce(r)));return;case 5:ya(e,ue(ce(r)));return;case 6:gu(e,ue(ce(r)));return}lbe(e,t,r)}function p7(e,t,r){var o,s,u;u=(o=new QG,o),s=Zd(u,t,null),s&&s.mj(),Da(u,r),Tn((!e.c&&(e.c=new xe(cw,e,12,10)),e.c),u),ug(u,0),uy(u,1),hg(u,!0),fg(u,!0)}function fbe(e,t){var r,o,s;return r=XN(e.i,t),se(r,244)?(s=l(r,244),s.wi()==null,s.ti()):se(r,496)?(o=l(r,2016),s=o.b,s):null}function r0n(e,t,r,o){var s,u;return xn(t),xn(r),u=l(y3(e.d,t),15),Bdt(!!u,"Row %s not in %s",t,e.e),s=l(y3(e.b,r),15),Bdt(!!s,"Column %s not in %s",r,e.c),$ht(e,u.a,s.a,o)}function i0n(e){var t,r,o,s,u,f;for(r=null,s=e,u=0,f=s.length;u<f;++u){o=s[u];try{I3(o)}catch(p){if(p=ci(p),se(p,102))t=p,r?Obt(r,t):r=t;else throw K(p)}}r&&LZt(r)}function hbt(e,t,r,o,s,u,f){var p,m,y,v,T;if(v=s[u],y=u==f-1,p=y?o:0,T=I1t(p,v),o!=10&&Z(X(e,f-u),t[u],r[u],p,T),!y)for(++u,m=0;m<v;++m)T[m]=hbt(e,t,r,o,s,u,f);return T}function o0n(e){var t,r,o,s,u;for(o=new ly(new Ow(e.b).a);o.b;)r=gE(o),t=l(r.jd(),9),u=l(l(r.kd(),49).a,9),s=l(l(r.kd(),49).b,8),br(wd(t.n),br(So(u.n),s))}function s0n(e,t){var r,o,s,u;for(u=new V(t.a);u.a<u.c.c.length;)for(s=l(q(u),9),$N(e.d),o=new Ft(Gt(Rr(s).a.Jc(),new D));an(o);)r=l(Qt(o),17),y0t(e,s,r.d.i)}function gC(e){if(e.g==-1)throw K(new lu);e.Vj();try{e.i.ed(e.g),e.f=e.i.j,e.g<e.e&&--e.e,e.g=-1}catch(t){throw t=ci(t),se(t,99)?K(new $c):K(t)}}function a0n(e){var t,r,o,s;for(s=-1,o=0,r=new V(e);r.a<r.c.c.length;){if(t=l(q(r),253),t.c==(Lo(),Cu)){s=o==0?0:o-1;break}else o==e.c.length-1&&(s=o);o+=1}return s}function u0n(e){var t,r,o,s;for(s=0,t=0,o=new V(e.c);o.a<o.c.c.length;)r=l(q(o),19),ya(r,e.e+s),gu(r,e.f),s+=r.g+e.b,t=b.Math.max(t,r.f+e.b);e.d=s-e.b,e.a=t-e.b}function TE(e){var t,r,o;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),o=t.d.c,t.d.c=t.d.d,t.d.d=o,o=t.d.b,t.d.b=t.d.a,t.d.a=o,o=t.b.a,t.b.a=t.b.b,t.b.b=o;Dme(e)}function AE(e){var t,r,o;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),o=t.g.c,t.g.c=t.g.d,t.g.d=o,o=t.g.b,t.g.b=t.g.a,t.g.a=o,o=t.e.a,t.e.a=t.e.b,t.e.b=o;L7(e)}function c0n(e){var t,r,o,s,u;for(u=_S(e.k),r=(Ue(),Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt])),o=0,s=r.length;o<s;++o)if(t=r[o],t!=Cs&&!u.Gc(t))return t;return null}function $Y(e,t){var r,o;return o=l(wS(dp(lr(new yt(null,new vt(t.j,16)),new JBe))),12),o&&(r=l(He(o.e,0),17),r)?l(j(r,(Ie(),Nr)),15).a:Pdn(e.d)}function pbt(e){var t,r;return r=C7(e),ry(r)?null:(t=(xn(r),l(S1t(new Ft(Gt(r.a.Jc(),new D))),74)),Vo(l(ie((!t.b&&(t.b=new Et(pn,t,4,7)),t.b),0),83)))}function g7(e){var t;return e.o||(t=e.sk(),t?e.o=new rhe(e,e,null):e.$k()?e.o=new Gde(e,null):d0(es((mu(),so),e))==1?e.o=new xct(e):e.o=new TV(e,null)),e.o}function l0n(e,t,r,o){var s,u,f,p,m;r.Uh(t)&&(s=(f=t,f?l(o,52).di(f):null),s&&(m=r.Jh(t),p=t.t,p>1||p==-1?(u=l(m,16),s.Wb(Pgn(e,u))):s.Wb(vJ(e,l(m,57)))))}function d0n(e,t,r,o){eet();var s=CQ;function u(){for(var f=0;f<s.length;f++)s[f]()}if(e)try{OLt(u)()}catch(f){e(t,f)}else OLt(u)()}function f0n(e,t){var r,o,s,u;for(s=(u=new Yh(e.b).a.vc().Jc(),new E9(u));s.a.Ob();)if(o=(r=l(s.a.Pb(),45),l(r.jd(),34)),Vle(t,l(o,15))<0)return!1;return!0}function h0n(e,t){var r,o,s,u;for(s=(u=new Yh(e.b).a.vc().Jc(),new E9(u));s.a.Ob();)if(o=(r=l(s.a.Pb(),45),l(r.jd(),34)),Vle(t,l(o,15))>0)return!1;return!0}function p0n(e){switch(l(j(e.b,(Be(),aAe)),382).g){case 1:ei(Ia(gs(new yt(null,new vt(e.d,16)),new MBe),new PBe),new jBe);break;case 2:YSn(e);break;case 0:$yn(e)}}function g0n(e,t,r){var o,s,u;for(o=r,!o&&(o=new iS),o.Tg("Layout",e.a.c.length),u=new V(e.a);u.a<u.c.c.length;){if(s=l(q(u),43),o.Zg())return;s.If(t,o.dh(1))}o.Ug()}function b0n(e,t){var r,o;for(Xa(e.b,t),o=new V(e.n);o.a<o.c.c.length;)if(r=l(q(o),211),As(r.c,t,0)!=-1){Xa(r.c,t),u0n(r),r.c.c.length==0&&Xa(e.n,r);break}uvt(e)}function gbt(e,t){var r,o,s,u,f;for(f=e.f,s=0,u=0,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),175),$6(r,e.e,f),s6(r,t),u=b.Math.max(u,r.r),f+=r.d+e.c,s=f;e.d=u,e.b=s}function Jb(){Jb=Y,sre=new i3("V_TOP",0),g4=new i3("V_CENTER",1),p4=new i3("V_BOTTOM",2),ore=new i3("H_LEFT",3),f4=new i3("H_CENTER",4),h4=new i3("H_RIGHT",5)}function hbe(e){var t;return e.Db&64?Wj(e):(t=new ml(Wj(e)),t.a+=" (abstract: ",Xp(t,(e.Bb&256)!=0),t.a+=", interface: ",Xp(t,(e.Bb&512)!=0),t.a+=")",t.a)}function m0n(e){var t;e.c==null&&(t=be(e.b)===be(LEe)?null:e.b,e.d=t==null?tu:Vot(t)?ktn(lat(t)):zi(t)?K0e:Sb(nc(t)),e.a=e.a+": "+(Vot(t)?vnn(lat(t)):t+""),e.c="("+e.d+") "+e.a)}function w0n(){function e(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===qJ&&Map.prototype.entries&&e()?Map:Wxn()}function y0n(e,t){var r,o,s,u;for(u=new Ji(e.e,0),r=0;u.b<u.d.gc();){if(o=ue((un(u.b<u.d.gc()),ce(u.d.Xb(u.c=u.b++)))),s=o-t,s>NZ)return r;s>-1e-6&&++r}return r}function b7(e,t,r){if(se(t,273))return VEn(e,l(t,74),r);if(se(t,278))return ymn(e,l(t,278),r);throw K(new jt(Lk+Qd(new Ds(Z(X(Ci,1),Rt,1,5,[t,r])))))}function m7(e,t,r){if(se(t,273))return WEn(e,l(t,74),r);if(se(t,278))return vmn(e,l(t,278),r);throw K(new jt(Lk+Qd(new Ds(Z(X(Ci,1),Rt,1,5,[t,r])))))}function pbe(e,t){var r;t!=e.b?(r=null,e.b&&(r=IP(e.b,e,-4,r)),t&&(r=YS(t,e,-4,r)),r=Mpt(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,t,t))}function bbt(e,t){var r;t!=e.f?(r=null,e.f&&(r=IP(e.f,e,-1,r)),t&&(r=YS(t,e,-1,r)),r=Ppt(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,0,t,t))}function v0n(e,t,r,o){var s,u,f,p;return Yu(e.e)&&(s=t.Jk(),p=t.kd(),u=r.kd(),f=c1(e,1,s,p,u,s.Hk()?tk(e,s,u,se(s,104)&&(l(s,20).Bb&xo)!=0):-1,!0),o?o.lj(f):o=f),o}function mbt(e){var t,r,o;if(e==null)return null;if(r=l(e,16),r.dc())return"";for(o=new Jp,t=r.Jc();t.Ob();)zo(o,(Er(),In(t.Pb()))),o.a+=" ";return rV(o,o.a.length-1)}function wbt(e){var t,r,o;if(e==null)return null;if(r=l(e,16),r.dc())return"";for(o=new Jp,t=r.Jc();t.Ob();)zo(o,(Er(),In(t.Pb()))),o.a+=" ";return rV(o,o.a.length-1)}function E0n(e,t){var r,o,s,u,f;for(u=new V(t.a);u.a<u.c.c.length;)for(s=l(q(u),9),o=new Ft(Gt(si(s).a.Jc(),new D));an(o);)r=l(Qt(o),17),f=r.c.i.p,e.n[f]=e.n[f]-1}function S0n(e,t,r){var o,s;return o=e.c[t.c.p][t.p],s=e.c[r.c.p][r.p],o.a!=null&&s.a!=null?WV(o.a,s.a):o.a!=null?-1:s.a!=null?1:0}function ybt(e,t){var r,o,s,u,f,p;if(t)for(u=t.a.length,r=new Nb(u),p=(r.b-r.a)*r.c<0?(r1(),eb):new s1(r);p.Ob();)f=l(p.Pb(),15),s=d_(t,f.a),o=new mXe(e),Jst(o.a,s)}function vbt(e,t){var r,o,s,u,f,p;if(t)for(u=t.a.length,r=new Nb(u),p=(r.b-r.a)*r.c<0?(r1(),eb):new s1(r);p.Ob();)f=l(p.Pb(),15),s=d_(t,f.a),o=new uXe(e),Yst(o.a,s)}function T0n(e){var t;if(e!=null&&e.length>0&&uo(e,e.length-1)==33)try{return t=j0t(yl(e,0,e.length-1)),t.e==null}catch(r){if(r=ci(r),!se(r,33))throw K(r)}return!1}function A0n(e,t,r){var o,s,u;switch(o=ji(t),s=Hj(o),u=new aa,Ts(u,t),r.g){case 1:Ni(u,L6(qS(s)));break;case 2:Ni(u,qS(s))}return Ae(u,(Be(),Yy),ce(j(e,Yy))),u}function gbe(e){var t,r;return t=l(Qt(new Ft(Gt(si(e.a).a.Jc(),new D))),17),r=l(Qt(new Ft(Gt(Rr(e.a).a.Jc(),new D))),17),Ke(We(j(t,(Ie(),Tg))))||Ke(We(j(r,Tg)))}function wy(){wy=Y,iL=new hO("ONE_SIDE",0),z$=new hO("TWO_SIDES_CORNER",1),G$=new hO("TWO_SIDES_OPPOSING",2),H$=new hO("THREE_SIDES",3),U$=new hO("FOUR_SIDES",4)}function Ebt(e,t){var r,o,s,u;for(u=new Pe,s=0,o=t.Jc();o.Ob();){for(r=Re(l(o.Pb(),15).a+s);r.a<e.f&&!Non(e,r.a);)r=Re(r.a+1),++s;if(r.a>=e.f)break;Ot(u.c,r)}return u}function _0n(e){var t,r;for(r=new V(e.e.b);r.a<r.c.c.length;)t=l(q(r),26),hxn(e,t);ei(lr(gs(gs(new yt(null,new vt(e.e.b,16)),new NUe),new LUe),new MUe),new NJe(e))}function bbe(e,t){return t?e.kj(t)?!1:e.i?e.i.lj(t):se(t,152)?(e.i=l(t,152),!0):(e.i=new $Ge,e.i.lj(t)):!1}function Sbt(e,t,r){var o,s,u;return o=t.Jk(),u=t.kd(),s=o.Hk()?c1(e,3,o,null,u,tk(e,o,u,se(o,104)&&(l(o,20).Bb&xo)!=0),!0):c1(e,1,o,o.gk(),u,-1,!0),r?r.lj(s):r=s,r}function k0n(e){if(e=Sa(e,!0),mt(Ck,e)||mt("1",e))return Lt(),$k;if(mt(WZ,e)||mt("0",e))return Lt(),D1;throw K(new aq("Invalid boolean value: '"+e+"'"))}function mbe(e,t,r){var o,s,u;for(s=e.vc().Jc();s.Ob();)if(o=l(s.Pb(),45),u=o.jd(),be(t)===be(u)||t!=null&&pr(t,u))return r&&(o=new Q9(o.jd(),o.kd()),s.Qb()),o;return null}function x0n(e){Gw();var t,r,o;e.B.Gc((Bu(),cU))&&(o=e.f.i,t=new NP(e.a.c),r=new rS,r.b=t.c-o.c,r.d=t.d-o.d,r.c=o.c+o.b-(t.c+t.b),r.a=o.d+o.a-(t.d+t.a),e.e.Yf(r))}function Tbt(e,t,r,o){var s,u,f;for(f=b.Math.min(r,Yyt(l(e.b,68),t,r,o)),u=new V(e.a);u.a<u.c.c.length;)s=l(q(u),227),s!=t&&(f=b.Math.min(f,Tbt(s,t,f,o)));return f}function wbe(e){var t,r,o,s;for(s=me(Nh,Me,201,e.b.c.length,0,2),o=new Ji(e.b,0);o.b<o.d.gc();)t=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),26)),r=o.b-1,s[r]=XO(t.a);return s}function ybe(e,t,r){var o,s,u;o=l(Wd(e.a,r),34),o!=null&&(u=l(Wd(e.b,o),66),py(u,r,!0)),s=l(Wd(e.b,t),66),s||(s=new Sr,Kb(e.b,t,s)),Wr(s,r,s.c.b,s.c),Kb(e.a,r,t)}function BY(e,t,r,o,s){var u,f,p,m;for(f=yQt(qce(ofe(nbn(r)),o),lmn(e,r,s)),m=gg(e,r).Jc();m.Ob();)p=l(m.Pb(),12),t[p.p]&&(u=t[p.p].i,je(f.d,new zV(u,e1e(f,u))));m1e(f)}function vbe(e,t){this.f=new hn,this.b=new hn,this.j=new hn,this.a=e,this.c=t,this.c>0&&H1t(this,this.c-1,(Ue(),Zt)),this.c<this.a.length-1&&H1t(this,this.c+1,(Ue(),Wt))}function N0n(e,t){var r,o,s,u,f;for(u=new V(t.d);u.a<u.c.c.length;)for(s=l(q(u),108),f=l(Ut(e.c,s),117).o,o=new lS(s.b);o.a<o.c.a.length;)r=l(F3(o),64),Epe(s,r,f)}function Ebe(e){e.length>0&&e[0].length>0&&(this.c=Ke(We(j(ji(e[0][0]),(Ie(),uTe))))),this.a=me(JIt,Me,2096,e.length,0,2),this.b=me(XIt,Me,2097,e.length,0,2),this.d=new _pt}function C0n(e){return e.c.length==0?!1:(at(0,e.c.length),l(e.c[0],17)).c.i.k==(Ht(),gi)?!0:fE(Ia(new yt(null,new vt(e,16)),new yUe),new bUe)}function Abt(e,t){var r,o,s,u,f,p,m;for(p=Ty(t),u=t.f,m=t.g,f=b.Math.sqrt(u*u+m*m),s=0,o=new V(p);o.a<o.c.c.length;)r=l(q(o),19),s+=Abt(e,r);return b.Math.max(s,f)}function qi(){qi=Y,W1=new s3(HC,0),pf=new s3("FREE",1),Ex=new s3("FIXED_SIDE",2),Tm=new s3("FIXED_ORDER",3),Oh=new s3("FIXED_RATIO",4),fa=new s3("FIXED_POS",5)}function I0n(e,t){var r,o,s;if(r=t.ni(e.a),r){for(s=In(Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),kl)),o=1;o<(mu(),O3e).length;++o)if(mt(O3e[o],s))return o}return 0}function R0n(e){var t,r,o,s,u;if(e==null)return tu;for(u=new zb(Ma,"[","]"),r=e,o=0,s=r.length;o<s;++o)t=r[o],sp(u,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function O0n(e){var t,r,o,s,u;if(e==null)return tu;for(u=new zb(Ma,"[","]"),r=e,o=0,s=r.length;o<s;++o)t=r[o],sp(u,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function _bt(e){var t,r,o;for(o=new zb(Ma,"{","}"),r=e.vc().Jc();r.Ob();)t=l(r.Pb(),45),sp(o,mct(e,t.jd())+"="+mct(e,t.kd()));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function D0n(e){for(var t,r,o,s;!BN(e.o);)r=l(xS(e.o),49),o=l(r.a,126),t=l(r.b,220),s=Gj(t,o),t.e==o?(P8(s.g,t),o.e=s.e+t.a):(P8(s.b,t),o.e=s.e-t.a),je(e.e.a,o)}function Sbe(e,t){var r,o,s;for(r=null,s=l(t.Kb(e),22).Jc();s.Ob();)if(o=l(s.Pb(),17),!r)r=o.c.i==e?o.d.i:o.c.i;else if((o.c.i==e?o.d.i:o.c.i)!=r)return!1;return!0}function kbt(e,t){var r,o,s,u,f;for(r=Q0t(e,!1,t),s=new V(r);s.a<s.c.c.length;)o=l(q(s),135),o.d==0?(xW(o,null),NW(o,null)):(u=o.a,f=o.b,xW(o,f),NW(o,u))}function L0n(e){var t,r;return t=new ui,yc(t,R4t),r=l(j(e,(Ie(),_a)),24),r.Gc((Mo(),xI))&&yc(t,M4t),r.Gc(Jk)&&yc(t,O4t),r.Gc(XE)&&yc(t,L4t),r.Gc(Xk)&&yc(t,D4t),t}function XS(){XS=Y,new Mi((_n(),Od),20),xxe=new Ab(5),new Mi(df,xxe),YOt=b4,XOt=gx,new Mi(tU,(Lt(),!1)),kxe=m4,JOt=xp,hx=(d1e(),KOt),Yne=WOt,_xe=VOt,Kne=qOt}function Tbe(e,t,r){var o,s,u,f,p;for(Ogn(e),s=(e.k==null&&(e.k=me(PQ,Me,81,0,0,1)),e.k),u=0,f=s.length;u<f;++u)o=s[u],Tbe(o);p=e.f,p&&Tbe(p)}function M0n(e){var t,r,o,s;for(fkn(e),r=new Ft(Gt(Df(e).a.Jc(),new D));an(r);)t=l(Qt(r),17),o=t.c.i==e,s=o?t.d:t.c,o?Yi(t,null):go(t,null),Ae(t,(Ie(),fTe),s),Pvn(e,s.i)}function P0n(e,t,r){var o,s,u,f;for(f=As(e.e,t,0),u=new _ce,u.b=r,o=new Ji(e.e,f);o.b<o.d.gc();)s=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),9)),s.p=r,je(u.e,s),Lu(o);return u}function j0n(e){var t,r,o;for(r=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));r.e!=r.i.gc();)if(t=l(rn(r),19),o=C7(t),!an(new Ft(Gt(o.a.Jc(),new D))))return t;return null}function F0n(e){var t,r,o;for(r=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));r.e!=r.i.gc();)if(t=l(rn(r),19),o=C7(t),!an(new Ft(Gt(o.a.Jc(),new D))))return t;return null}function w7(){w7=Y,dne=new mO("OVERLAP_REMOVAL",0),une=new mO(RSt,1),fne=new mO("ROTATION",2),cne=new mO("GRAPH_SIZE_CALCULATION",3),lne=new mO("OUTGOING_EDGE_ANGLES",4)}function xbt(e){switch(e.g){case 0:return new jze;case 1:return new Pze;default:throw K(new jt("No implementation is available for the edge router "+(e.f!=null?e.f:""+e.g)))}}function $0n(){var e;return CDt?l(K_((n1(),Ll),Dk),2094):(e=l(se(ma((n1(),Ll),Dk),563)?ma(Ll,Dk):new T0t,563),CDt=!0,Zkn(e),h3n(e),DY(e),Qo(Ll,Dk,e),e)}function UY(e,t,r){var o,s;if(e.j==0)return r;if(s=l(Ift(e,t,r),76),o=r.Jk(),!o.pk()||!e.a.$l(o))throw K(new vs("Invalid entry feature '"+o.ok().zb+"."+o.ve()+"'"));return s}function B0n(e,t){var r,o,s,u,f,p,m,y;for(p=e.a,m=0,y=p.length;m<y;++m)for(f=p[m],o=f,s=0,u=o.length;s<u;++s)if(r=o[s],be(t)===be(r)||t!=null&&pr(t,r))return!0;return!1}function U0n(e){var t,r,o;return va(e,0)>=0?(r=q6(e,tF),o=aY(e,tF)):(t=Cb(e,1),r=q6(t,5e8),o=aY(t,5e8),o=To(fh(o,1),Gi(e,1))),Rf(fh(o,32),Gi(r,Po))}function H0n(e,t,r,o){var s,u,f,p,m;for(s=null,u=0,p=new V(t);p.a<p.c.c.length;)f=l(q(p),19),m=f.i+f.g,e<f.j+f.f+o&&(s?r.i-m<r.i-u&&(s=f):s=f,u=s.i+s.g);return s?u+o:0}function z0n(e,t,r,o){var s,u,f,p,m;for(u=null,s=0,p=new V(t);p.a<p.c.c.length;)f=l(q(p),19),m=f.j+f.f,e<f.i+f.g+o&&(u?r.j-m<r.j-s&&(u=f):u=f,s=u.j+u.f);return u?s+o:0}function G0n(e){var t,r,o;for(t=!1,o=e.b.c.length,r=0;r<o;r++)Cge(l(He(e.b,r),439))?!t&&r+1<o&&Cge(l(He(e.b,r+1),439))&&(t=!0,l(He(e.b,r),439).a=!0):t=!1}function q0n(e,t,r,o,s){var u,f;for(u=0,f=0;f<s;f++)u=To(u,El(Gi(t[f],Po),Gi(o[f],Po))),e[f]=On(u),u=a0(u,32);for(;f<r;f++)u=To(u,Gi(t[f],Po)),e[f]=On(u),u=a0(u,32)}function V0n(e,t){Z_();var r,o;for(o=(Pf(),c$),r=e;t>1;t>>=1)t&1&&(o=dE(o,r)),r.d==1?r=dE(r,r):r=new Ggt(Tyt(r.a,r.d,me(Rn,Xn,30,r.d<<1,15,1)));return o=dE(o,r),o}function Abe(){Abe=Y;var e,t,r,o;for(s2e=me(Ki,Wo,30,25,15,1),a2e=me(Ki,Wo,30,33,15,1),o=152587890625e-16,t=32;t>=0;t--)a2e[t]=o,o*=.5;for(r=1,e=24;e>=0;e--)s2e[e]=r,r*=.5}function W0n(e){var t,r;if(Ke(We(ye(e,(Be(),Wy))))){for(r=new Ft(Gt(gp(e).a.Jc(),new D));an(r);)if(t=l(Qt(r),74),I0(t)&&Ke(We(ye(t,pm))))return!0}return!1}function Nbt(e){var t,r,o,s;for(t=new Sr,r=new Sr,s=An(e,0);s.b!=s.d.c;)o=l(Sn(s),12),o.e.c.length==0?Wr(r,o,r.c.b,r.c):Wr(t,o,t.c.b,t.c);return ic(t).Fc(r),t}function Cbt(e,t){var r,o,s;pi(e.f,t)&&(t.b=e,o=t.c,As(e.j,o,0)!=-1||je(e.j,o),s=t.d,As(e.j,s,0)!=-1||je(e.j,s),r=t.a.b,r.c.length!=0&&(!e.i&&(e.i=new Wgt(e)),ghn(e.i,r)))}function K0n(e){var t,r,o,s,u;return r=e.c.d,o=r.j,s=e.d.d,u=s.j,o==u?r.p<s.p?0:1:Uj(o)==u?0:t1e(o)==u?1:(t=e.b,fu(t.b,Uj(o))?0:1)}function y7(e,t){var r,o,s,u,f,p;s=e,f=j3(s,"layoutOptions"),!f&&(f=j3(s,PTt)),f&&(p=f,o=null,p&&(o=(u=wK(p,me(Ye,Me,2,0,6,1)),new bq(p,u))),o&&(r=new Ztt(p,t),co(o,r)))}function Vo(e){if(se(e,209))return l(e,19);if(se(e,196))return Gd(l(e,127));throw K(e?new Yp("Only support nodes and ports."):new sS(qTt))}function Y0n(e,t,r,o){return(t>=0&&mt(e.substr(t,3),"GMT")||t>=0&&mt(e.substr(t,3),"UTC"))&&(r[0]=t+3),a0e(e,r,o)}function J0n(e,t){var r,o,s,u,f;for(u=e.g.a,f=e.g.b,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),70),s=r.n,s.a=u,e.i==(Ue(),Vt)?s.b=f+e.j.b-r.o.b:s.b=f,br(s,t),u+=r.o.a+e.e}function Ibt(e,t,r){if(e.b)throw K(new Xo("The task is already done."));return e.p!=null?!1:(e.p=t,e.r=r,e.k&&(e.o=(Qp(),mo(Gs(Date.now()),wg))),!0)}function _be(e){var t,r,o,s,u,f,p;return p=new oS,r=e.Og(),s=r!=null,s&&QA(p,Gf,e.Og()),o=e.ve(),u=o!=null,u&&QA(p,or,e.ve()),t=e.Ng(),f=t!=null,f&&QA(p,"description",e.Ng()),p}function Rbt(e,t,r){var o,s,u;return u=e.q,e.q=t,e.Db&4&&!(e.Db&1)&&(s=new Pi(e,1,9,u,t),r?r.lj(s):r=s),t?(o=t.c,o!=e.r&&(r=e.Wk(o,r))):e.r&&(r=e.Wk(null,r)),r}function X0n(e,t,r){var o,s,u,f,p;for(r=(p=t,YS(p,e.e,-1-e.c,r)),f=uhe(e.a),u=(o=new ly(new Ow(f.a).a),new x9(o));u.a.b;)s=l(gE(u.a).jd(),88),r=ik(s,I7(s,e.a),r);return r}function Z0n(e,t,r){var o,s,u,f,p;for(r=(p=t,IP(p,e.e,-1-e.c,r)),f=uhe(e.a),u=(o=new ly(new Ow(f.a).a),new x9(o));u.a.b;)s=l(gE(u.a).jd(),88),r=ik(s,I7(s,e.a),r);return r}function Q0n(e,t,r,o){var s,u,f;if(o==0)ua(t,0,e,r,e.length-r);else for(f=32-o,e[e.length-1]=0,u=e.length-1;u>r;u--)e[u]|=t[u-r-1]>>>f,e[u-1]=t[u-r-1]<<o;for(s=0;s<r;s++)e[s]=0}function ewn(e){var t,r,o,s,u;for(t=0,r=0,u=e.Jc();u.Ob();)o=l(u.Pb(),116),t=b.Math.max(t,o.d.b),r=b.Math.max(r,o.d.c);for(s=e.Jc();s.Ob();)o=l(s.Pb(),116),o.d.b=t,o.d.c=r}function twn(e){var t,r,o,s,u;for(r=0,t=0,u=e.Jc();u.Ob();)o=l(u.Pb(),116),r=b.Math.max(r,o.d.d),t=b.Math.max(t,o.d.a);for(s=e.Jc();s.Ob();)o=l(s.Pb(),116),o.d.d=r,o.d.a=t}function HY(e,t,r,o,s){var u,f;u=l(Au(lr(t.Mc(),new CBe),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),mC(u),f=l(Hb(e.b,r,o),16),s==0?f.ad(0,u):f.Fc(u)}function nwn(e,t,r){r.Tg("Grow Tree",1),e.b=t.f,Ke(We(j(t,(E_(),wI))))?(e.c=new qm,lut(e,null)):e.c=new qm,e.a=!1,dwt(e,t.f),Ae(t,p2e,(Lt(),!!e.a)),r.Ug()}function Xb(e){var t;this.d=new hn,this.c=e.c,this.e=e.d,this.b=e.b,this.f=new jot(e.e),this.a=e.a,e.f?this.g=e.f:this.g=(t=l(md(iM),10),new Hc(t,l(Gl(t,t.length),10),0))}function kbe(e){var t,r,o,s;for(t=null,s=new V(e.Pf());s.a<s.c.c.length;)o=l(q(s),190),r=new ql(o.Jf().a,o.Jf().b,o.Kf().a,o.Kf().b),t?bC(t,r):t=r;return!t&&(t=new bS),t}function zY(e,t,r,o){var s,u;return r==1?(!e.n&&(e.n=new xe(Is,e,1,7)),La(e.n,t,o)):(u=l(Nt((s=l(qt(e,16),29),s||e.fi()),r),69),u.uk().xk(e,Ha(e),r-ln(e.fi()),t,o))}function GY(e,t,r){var o,s,u,f,p;for(o=r.gc(),e.Zi(e.i+o),p=e.i-t,p>0&&ua(e.g,t,e.g,t+o,p),f=r.Jc(),e.i+=o,s=0;s<o;++s)u=f.Pb(),g3(e,t,e.Xi(t,u)),e.Ki(t,u),e.Li(),++t;return o!=0}function Zd(e,t,r){var o;return t!=e.q?(e.q&&(r=IP(e.q,e,-10,r)),t&&(r=YS(t,e,-10,r)),r=Rbt(e,t,r)):e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,9,t,t),r?r.lj(o):r=o),r}function qY(e,t,r,o){return rfe((r&Ff)==0,"flatMap does not support SUBSIZED characteristic"),rfe((r&4)==0,"flatMap does not support SORTED characteristic"),xn(e),xn(t),new cct(e,t,r,o)}function Obt(e,t){Wfe(t,"Cannot suppress a null exception."),BO(t!=e,"Exception can not suppress itself."),!e.i&&(e.k==null?e.k=Z(X(PQ,1),Me,81,0,[t]):e.k[e.k.length]=t)}function rwn(e,t){var r;if(r=Tnt(e.b.$f(),t.b.$f()),r!=0)return r;switch(e.b.$f().g){case 1:case 2:return na(e.b.Lf(),t.b.Lf());case 3:case 4:return na(t.b.Lf(),e.b.Lf())}return 0}function iwn(e){var t,r,o;for(o=e.e.c.length,e.a=Kw(Rn,[Me,Xn],[54,30],15,[o,o],2),r=new V(e.c);r.a<r.c.c.length;)t=l(q(r),292),e.a[t.c.a][t.d.a]+=l(j(t,(ed(),ST)),15).a}function own(e,t){var r,o,s,u,f;if(e==null)return null;for(f=me(al,$f,30,2*t,15,1),o=0,s=0;o<t;++o)r=e[o]>>4&15,u=e[o]&15,f[s++]=s3e[r],f[s++]=s3e[u];return Lf(f,0,f.length)}function Qa(e){var t,r;return e>=xo?(t=ED+(e-xo>>10&1023)&Ei,r=56320+(e-xo&1023)&Ei,String.fromCharCode(t)+(""+String.fromCharCode(r))):String.fromCharCode(e&Ei)}function swn(e,t){Gw();var r,o,s,u;return s=l(l(wr(e.r,t),24),85),s.gc()>=2?(o=l(s.Jc().Pb(),116),r=e.u.Gc((ku(),A4)),u=e.u.Gc(VT),!o.a&&!r&&(s.gc()==2||u)):!1}function Dbt(e,t,r,o,s){var u,f,p;for(u=xwt(e,t,r,o,s),p=!1;!u;)x7(e,s,!0),p=!0,u=xwt(e,t,r,o,s);p&&x7(e,s,!1),f=IK(s),f.c.length!=0&&(e.d&&e.d.Fg(f),Dbt(e,s,r,o,f))}function v7(){v7=Y,Tne=new g8("NODE_SIZE_REORDERER",0),vne=new g8("INTERACTIVE_NODE_REORDERER",1),Sne=new g8("MIN_SIZE_PRE_PROCESSOR",2),Ene=new g8("MIN_SIZE_POST_PROCESSOR",3)}function E7(){E7=Y,Ere=new o3(_d,0),xNe=new o3("DIRECTED",1),CNe=new o3("UNDIRECTED",2),_Ne=new o3("ASSOCIATION",3),NNe=new o3("GENERALIZATION",4),kNe=new o3("DEPENDENCY",5)}function awn(e,t){var r;if(!Gd(e))throw K(new Xo(STt));switch(r=Gd(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-r.g;case 3:return e.j-r.f;case 4:return-(e.i+e.g)}return 0}function uwn(e,t,r){var o,s,u;return o=t.Jk(),u=t.kd(),s=o.Hk()?c1(e,4,o,u,null,tk(e,o,u,se(o,104)&&(l(o,20).Bb&xo)!=0),!0):c1(e,o.rk()?2:1,o,u,o.gk(),-1,!0),r?r.lj(s):r=s,r}function q_(e,t){var r,o;for(Mt(t),o=e.b.c.length,je(e.b,t);o>0;){if(r=o,o=(o-1)/2|0,e.a.Le(He(e.b,o),t)<=0)return tc(e.b,r,t),!0;tc(e.b,r,He(e.b,o))}return tc(e.b,o,t),!0}function xbe(e,t,r,o){var s,u;if(s=0,r)s=jj(e.a[r.g][t.g],o);else for(u=0;u<p$;u++)s=b.Math.max(s,jj(e.a[u][t.g],o));return t==(Sd(),ja)&&e.b&&(s=b.Math.max(s,e.b.a)),s}function cwn(e,t){var r,o,s,u,f,p;return s=e.i,u=t.i,!s||!u||s.i!=u.i||s.i==(Ue(),Zt)||s.i==(Ue(),Wt)?!1:(f=s.g.a,r=f+s.j.a,p=u.g.a,o=p+u.j.a,f<=o&&r>=p)}function Lbt(e){switch(e.g){case 0:return new Aze;case 1:return new _ze;default:throw K(new jt("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function Nbe(e,t,r,o){var s;if(s=!1,zi(o)&&(s=!0,QA(t,r,In(o))),s||$w(o)&&(s=!0,Nbe(e,t,r,o)),s||se(o,245)&&(s=!0,Db(t,r,l(o,245))),!s)throw K(new sq(aEe))}function lwn(e,t){var r,o,s;if(r=t.ni(e.a),r&&(s=Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),Al),s!=null)){for(o=1;o<(mu(),I3e).length;++o)if(mt(I3e[o],s))return o}return 0}function dwn(e,t){var r,o,s;if(r=t.ni(e.a),r&&(s=Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),Al),s!=null)){for(o=1;o<(mu(),R3e).length;++o)if(mt(R3e[o],s))return o}return 0}function Mbt(e,t){var r,o,s,u;if(Mt(t),u=e.a.gc(),u<t.gc())for(r=e.a.ec().Jc();r.Ob();)o=r.Pb(),t.Gc(o)&&r.Qb();else for(s=t.Jc();s.Ob();)o=s.Pb(),e.a.Ac(o)!=null;return u!=e.a.gc()}function Pbt(e){var t,r;switch(r=So(_s(Z(X($i,1),Me,8,0,[e.i.n,e.n,e.a]))),t=e.i.d,e.j.g){case 1:r.b-=t.d;break;case 2:r.a+=t.c;break;case 3:r.b+=t.a;break;case 4:r.a-=t.b}return r}function fwn(e){var t;for(t=(US(),l(Qt(new Ft(Gt(si(e).a.Jc(),new D))),17).c.i);t.k==(Ht(),gi);)Ae(t,(Ie(),fL),(Lt(),!0)),t=l(Qt(new Ft(Gt(si(t).a.Jc(),new D))),17).c.i}function VY(e,t,r,o){var s,u,f,p;for(p=nC(t,o),f=p.Jc();f.Ob();)s=l(f.Pb(),12),e.d[s.p]=e.d[s.p]+e.c[r.p];for(p=nC(r,o),u=p.Jc();u.Ob();)s=l(u.Pb(),12),e.d[s.p]=e.d[s.p]-e.c[t.p]}function Cbe(e,t,r){var o,s;for(s=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));s.e!=s.i.gc();)o=l(rn(s),19),Bc(o,o.i+t,o.j+r);co((!e.b&&(e.b=new xe(Cr,e,12,3)),e.b),new Rtt(t,r))}function hwn(e,t,r,o){var s,u;for(u=t,s=u.d==null||e.a.Le(r.d,u.d)>0?1:0;u.a[s]!=r;)u=u.a[s],s=e.a.Le(r.d,u.d)>0?1:0;u.a[s]=o,o.b=r.b,o.a[0]=r.a[0],o.a[1]=r.a[1],r.a[0]=null,r.a[1]=null}function pwn(e){var t,r,o,s;for(t=new Pe,r=me(uu,Ad,30,e.a.c.length,16,1),Vfe(r,r.length),s=new V(e.a);s.a<s.c.c.length;)o=l(q(s),126),r[o.d]||(Ot(t.c,o),Zgt(e,o,r));return t}function jbt(e,t){var r,o,s,u,f;for(s=t==1?cee:uee,o=s.a.ec().Jc();o.Ob();)for(r=l(o.Pb(),87),f=l(wr(e.f.c,r),24).Jc();f.Ob();)u=l(f.Pb(),49),Xa(e.b.b,u.b),Xa(e.b.a,l(u.b,84).d)}function gwn(e,t){var r;t.Tg("Hierarchical port position processing",1),r=e.b,r.c.length>0&&wyt((at(0,r.c.length),l(r.c[0],26)),e),r.c.length>1&&wyt(l(He(r,r.c.length-1),26),e),t.Ug()}function bwn(e){ku();var t,r;return t=Ar(Cp,Z(X(uU,1),Ce,282,0,[K1])),!(E6(OP(t,e))>1||(r=Ar(A4,Z(X(uU,1),Ce,282,0,[T4,VT])),E6(OP(r,e))>1))}function Ibe(e,t){var r;r=ma((n1(),Ll),e),se(r,496)?Qo(Ll,e,new nnt(this,t)):Qo(Ll,e,this),KY(this,t),t==(FA(),w3e)?(this.wb=l(this,2017),l(t,2019)):this.wb=(a1(),Bt)}function mwn(e){var t,r,o;if(e==null)return null;for(t=null,r=0;r<N4.length;++r)try{return jet(N4[r],e)}catch(s){if(s=ci(s),se(s,33))o=s,t=o;else throw K(s)}throw K(new rj(t))}function Fbt(){Fbt=Y,q_t=Z(X(Ye,1),Me,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),V_t=Z(X(Ye,1),Me,2,6,["Jan","Feb","Mar","Apr",uT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function j(e,t){var r,o;return o=(!e.q&&(e.q=new hn),Ut(e.q,t)),o??(r=t.Rg(),se(r,4)&&(r==null?(!e.q&&(e.q=new hn),PS(e.q,t)):(!e.q&&(e.q=new hn),Yn(e.q,t,r))),r)}function Vi(){Vi=Y,id=new fO("P1_CYCLE_BREAKING",0),xh=new fO("P2_LAYERING",1),la=new fO("P3_NODE_ORDERING",2),da=new fO("P4_NODE_PLACEMENT",3),$o=new fO("P5_EDGE_ROUTING",4)}function wwn(e,t){H3();var r;if(e.c==t.c){if(e.b==t.b||zfn(e.b,t.b)){if(r=ken(e.b)?1:-1,e.a&&!t.a)return r;if(!e.a&&t.a)return-r}return na(e.b.g,t.b.g)}else return yr(e.c,t.c)}function ywn(e,t,r,o){var s,u,f,p,m;return f=q1t(e.a,t,r),p=l(f.a,15).a,u=l(f.b,15).a,o&&(m=l(j(t,(Ie(),Nu)),9),s=l(j(r,Nu),9),m&&s&&(vct(e.b,m,s),p+=e.b.i,u+=e.b.e)),p>u}function $bt(e,t){var r,o,s;if(Obe(e,t))return!0;for(o=new V(t);o.a<o.c.c.length;)if(r=l(q(o),19),s=pbt(r),j7(e,r,s)||Ipt(e,r)-e.g<=e.a)return!0;return!1}function W6(){W6=Y,JB=(hJ(),hxe),Une=jOt,Bne=POt,sxe=DOt,$ne=MOt,oxe=new Ab(8),kOt=new Mi((_n(),df),oxe),xOt=new Mi(Od,8),NOt=dxe,rxe=COt,ixe=IOt,_Ot=new Mi(FL,(Lt(),!1))}function S7(){S7=Y,jxe=new Ab(15),w6t=new Mi((_n(),df),jxe),y6t=new Mi(Od,15),Fxe=new Mi(BL,Re(0)),Lxe=k6t,b6t=Sm,m6t=G1,Dxe=new Mi(px,QSt),Mxe=b4,Pxe=b2,ire=T6t,g6t=jL}function vwn(e,t){if(se(t,209))return C1n(e,l(t,19));if(se(t,196))return R1n(e,l(t,127));if(t)return null;throw K(new jt(Lk+Qd(new Ds(Z(X(Ci,1),Rt,1,5,[t])))))}function Ewn(e,t){if(se(t,363))return ydn(e,l(t,158));if(se(t,273))return N_n(e,l(t,74));if(t)return null;throw K(new jt(Lk+Qd(new Ds(Z(X(Ci,1),Rt,1,5,[t])))))}function WY(e){if((!e.b&&(e.b=new Et(pn,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new Et(pn,e,5,8)),e.c).i!=1)throw K(new jt(WTt));return Vo(l(ie((!e.b&&(e.b=new Et(pn,e,4,7)),e.b),0),83))}function Bbt(e){if((!e.b&&(e.b=new Et(pn,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new Et(pn,e,5,8)),e.c).i!=1)throw K(new jt(WTt));return Vo(l(ie((!e.c&&(e.c=new Et(pn,e,5,8)),e.c),0),83))}function Rbe(e,t,r){var o,s,u;if(++e.j,s=e.Cj(),t>=s||t<0)throw K(new Na(cQ+t+sm+s));if(r>=s||r<0)throw K(new Na(lQ+r+sm+s));return t!=r?o=(u=e.Aj(r),e.oj(t,u),u):o=e.vj(r),o}function Ubt(e){var t,r,o;if(o=e,e)for(t=0,r=e.Bh();r;r=r.Bh()){if(++t>mX)return Ubt(r);if(o=r,r==e)throw K(new Xo("There is a cycle in the containment hierarchy of "+e))}return o}function Qd(e){var t,r,o;for(o=new zb(Ma,"[","]"),r=e.Jc();r.Ob();)t=r.Pb(),sp(o,be(t)===be(e)?"(this Collection)":t==null?tu:bs(t));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function Obe(e,t){var r,o;if(o=!1,t.gc()<2)return!1;for(r=0;r<t.gc();r++)r<t.gc()-1?o=o|j7(e,l(t.Xb(r),19),l(t.Xb(r+1),19)):o=o|j7(e,l(t.Xb(r),19),l(t.Xb(0),19));return o}function Hbt(e,t){var r,o,s;if(s=(!t.e&&(t.e=new Et(Cr,t,7,4)),t.e).i,s>0)for(o=0;o<s;o++)r=l(ie(s_(l(ie((!t.e&&(t.e=new Et(Cr,t,7,4)),t.e),o),74)),0),19),ya(r,r.i+t.i),Hbt(e,r)}function zbt(e,t){var r;t!=e.a?(r=null,e.a&&(r=l(e.a,52).Qh(e,4,Dd,r)),t&&(r=l(t,52).Oh(e,4,Dd,r)),r=zge(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,t,t))}function Dbe(e,t){var r;t!=e.e?(e.e&&glt(uhe(e.e),e),t&&(!t.b&&(t.b=new k9(new eq)),_it(t.b,e)),r=Omn(e,t,null),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,4,t,t))}function Swn(e){var t,r,o,s;if(eE(l(j(e.b,(Be(),kc)),87)))return 0;for(t=0,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),9),r.k==(Ht(),Xr)&&(s=r.o.a,t=b.Math.max(t,s));return t}function Twn(e,t){var r;r=t.o,Zh(e.f)?(e.j.a=b.Math.max(e.j.a,r.a),e.j.b+=r.b,e.d.c.length>1&&(e.j.b+=e.e)):(e.j.a+=r.a,e.j.b=b.Math.max(e.j.b,r.b),e.d.c.length>1&&(e.j.a+=e.e))}function S1(){S1=Y,dNt=Z(X(Co,1),ea,64,0,[(Ue(),Vt),Zt,dn]),lNt=Z(X(Co,1),ea,64,0,[Zt,dn,Wt]),fNt=Z(X(Co,1),ea,64,0,[dn,Wt,Vt]),hNt=Z(X(Co,1),ea,64,0,[Wt,Vt,Zt])}function Gbt(e){var t,r,o,s,u,f,p,m,y;for(this.a=d1t(e),this.b=new Pe,r=e,o=0,s=r.length;o<s;++o)for(t=r[o],u=new Pe,je(this.b,u),p=t,m=0,y=p.length;m<y;++m)f=p[m],je(u,new Tu(f.j))}function Awn(e,t,r){var o,s,u;return u=0,o=r[t],t<r.length-1&&(s=r[t+1],e.b[t]?(u=l3n(e.d,o,s),u+=aW(e.a,o,(Ue(),Zt)),u+=aW(e.a,s,Wt)):u=Adn(e.a,o,s)),e.c[t]&&(u+=Vln(e.a,o)),u}function _wn(e,t,r,o,s){var u,f,p,m;for(m=null,p=new V(o);p.a<p.c.c.length;)if(f=l(q(p),447),f!=r&&As(f.e,s,0)!=-1){m=f;break}u=GW(s),go(u,r.b),Yi(u,m.b),wt(e.a,s,new V8(u,t,r.f))}function qbt(e){for(;e.g.c!=0&&e.d.c!=0;)vV(e.g).c>vV(e.d).c?(e.i+=e.g.c,uY(e.d)):vV(e.d).c>vV(e.g).c?(e.e+=e.d.c,uY(e.g)):(e.i+=Rot(e.g),e.e+=Rot(e.d),uY(e.g),uY(e.d))}function kwn(e,t,r){var o,s,u,f;for(u=t.q,f=t.r,new Lb((vd(),U1),t,u,1),new Lb(U1,u,f,1),s=new V(r);s.a<s.c.c.length;)o=l(q(s),117),o!=u&&o!=t&&o!=f&&(T0e(e.a,o,t),T0e(e.a,o,f))}function Vbt(e,t,r,o){e.a.d=b.Math.min(t,r),e.a.a=b.Math.max(t,o)-e.a.d,t<r?(e.b=.5*(t+r),e.g=CZ*e.b+.9*t,e.f=CZ*e.b+.9*r):(e.b=.5*(t+o),e.g=CZ*e.b+.9*o,e.f=CZ*e.b+.9*t)}function xwn(e){var t,r,o,s;if(e.b!=0){for(t=new Sr,s=An(e,0);s.b!=s.d.c;)o=l(Sn(s),41),bo(t,CK(o)),r=o.e,r.a=l(j(o,(xr(),xL)),15).a,r.b=l(j(o,NL),15).a;return t}return new Sr}function Nwn(e){switch(l(j(e,(Be(),Ns)),166).g){case 1:Ae(e,Ns,(rc(),OI));break;case 2:Ae(e,Ns,(rc(),hm));break;case 3:Ae(e,Ns,(rc(),RI));break;case 4:Ae(e,Ns,(rc(),Ap))}}function Cwn(e,t,r){var o;r.Tg("Self-Loop routing",1),o=dgn(t),x8(j(t,(JP(),d4))),ei(Ia(lr(lr(gs(new yt(null,new vt(t.b,16)),new R$e),new O$e),new D$e),new L$e),new Zet(e,o)),r.Ug()}function V_(){V_=Y,_I=new n3(_d,0),YSe=new n3(dT,1),ZSe=new n3(fT,2),XSe=new n3("LEFT_RIGHT_CONSTRAINT_LOCKING",3),JSe=new n3("LEFT_RIGHT_CONNECTION_LOCKING",4),KSe=new n3(rSt,5)}function Wbt(e,t,r){var o,s,u,f,p,m,y;p=r.a/2,u=r.b/2,o=b.Math.abs(t.a-e.a),s=b.Math.abs(t.b-e.b),m=1,y=1,o>p&&(m=p/o),s>u&&(y=u/s),f=b.Math.min(m,y),e.a+=f*(t.a-e.a),e.b+=f*(t.b-e.b)}function Iwn(e,t,r,o,s){var u,f;for(f=!1,u=l(He(r.b,0),19);jAn(e,t,u,o,s)&&(f=!0,b0n(r,u),r.b.c.length!=0);)u=l(He(r.b,0),19);return r.b.c.length==0&&z6(r.j,r),f&&l7(t.q),f}function Lbe(e,t,r,o){var s,u;return r==0?(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),z8(e.o,t,o)):(u=l(Nt((s=l(qt(e,16),29),s||e.fi()),r),69),u.uk().yk(e,Ha(e),r-ln(e.fi()),t,o))}function KY(e,t){var r;t!=e.sb?(r=null,e.sb&&(r=l(e.sb,52).Qh(e,1,x4,r)),t&&(r=l(t,52).Oh(e,1,x4,r)),r=Wge(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,4,t,t))}function Kbt(e,t){var r,o,s,u;if(t)s=lp(t,"x"),r=new pXe(e),w0(r.a,(Mt(s),s)),u=lp(t,"y"),o=new gXe(e),y0(o.a,(Mt(u),u));else throw K(new _f("All edge sections need an end point."))}function Ybt(e,t){var r,o,s,u;if(t)s=lp(t,"x"),r=new dXe(e),v0(r.a,(Mt(s),s)),u=lp(t,"y"),o=new fXe(e),E0(o.a,(Mt(u),u));else throw K(new _f("All edge sections need a start point."))}function Rwn(e,t){var r,o,s,u,f,p,m;for(o=ppt(e),u=0,p=o.length;u<p;++u)Zbt(t);for(m=!sf&&e.e?sf?null:e.d:null;m;){for(r=ppt(m),s=0,f=r.length;s<f;++s)Zbt(t);m=!sf&&m.e?sf?null:m.d:null}}function Jbt(e,t){var r,o;o=l(j(t,(Be(),Zr)),103),Ae(t,(Ie(),hTe),o),r=t.e,r&&(ei(new yt(null,new vt(r.a,16)),new sce(e)),ei(gs(new yt(null,new vt(r.b,16)),new t9),new ace(e)))}function Own(e){var t,r,o,s;if(t=!1,gr(e,(Ie(),NI)))for(r=l(j(e,NI),93),s=new V(e.j);s.a<s.c.c.length;)o=l(q(s),12),OEn(o)&&(t||(Kyn(ji(e)),t=!0),Kgn(l(r.xc(o),319)))}function Dwn(e){var t,r,o,s,u,f,p,m,y;return y=_be(e),r=e.e,u=r!=null,u&&QA(y,UF,e.e),p=e.k,f=!!p,f&&QA(y,"type",bV(e.k)),o=oO(e.j),s=!o,s&&(m=new yb,Kl(y,aQ,m),t=new LXe(m),co(e.j,t)),y}function Lwn(e){var t,r,o,s;for(s=Rb((wc(e.gc(),"size"),new uS),123),o=!0,r=xb(e).Jc();r.Ob();)t=l(r.Pb(),45),o||(s.a+=Ma),o=!1,ga(Rb(ga(s,t.jd()),61),t.kd());return(s.a+="}",s).a}function Xbt(e,t){var r,o,s;return t&=63,t<22?(r=e.l<<t,o=e.m<<t|e.l>>22-t,s=e.h<<t|e.m>>22-t):t<44?(r=0,o=e.l<<t-22,s=e.m<<t-22|e.l>>44-t):(r=0,o=0,s=e.l<<t-44),Ua(r&Uu,o&Uu,s&yp)}function yy(e){if(BEe==null&&(BEe=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!BEe.test(e))throw K(new kf(j0+e+'"'));return parseFloat(e)}function Zbt(e){var t,r,o;t=mt(typeof console,AX)?null:new Ui,t&&(zA(),r=(o=900,o>=wg?"error":o>=900?"warn":o>=800?"info":"log"),_st(r,e.a),e.b&&Mme(t,r,e.b,"Exception: ",!0))}function Qbt(e,t){var r,o,s,u,f;for(s=t==1?cee:uee,o=s.a.ec().Jc();o.Ob();)for(r=l(o.Pb(),87),f=l(wr(e.f.c,r),24).Jc();f.Ob();)u=l(f.Pb(),49),je(e.b.b,l(u.b,84)),je(e.b.a,l(u.b,84).d)}function emt(e,t,r,o){var s,u,f,p,m;switch(m=e.b,u=t.d,f=u.j,p=D1e(f,m.d[f.g],r),s=br(So(u.n),u.a),u.j.g){case 3:case 1:p.a+=s.a;break;case 2:p.b+=s.b;break;case 4:p.b+=s.b}Wr(o,p,o.c.b,o.c)}function Mwn(e,t){var r,o,s,u;for(u=t.b.j,e.a=me(Rn,Xn,30,u.c.length,15,1),s=0,o=0;o<u.c.length;o++)r=(at(o,u.c.length),l(u.c[o],12)),r.e.c.length==0&&r.g.c.length==0?s+=1:s+=3,e.a[o]=s}function T7(){T7=Y,Bee=new e3("ALWAYS_UP",0),$ee=new e3("ALWAYS_DOWN",1),Hee=new e3("DIRECTION_UP",2),Uee=new e3("DIRECTION_DOWN",3),zee=new e3("SMART_UP",4),W$=new e3("SMART_DOWN",5)}function tmt(e){switch(e.g){case 0:return new AWe;case 1:return new LWe;case 2:return new MWe;case 3:return new Mtt;case 4:return new Jot;default:throw K(new jt(AZ+(e.f!=null?e.f:""+e.g)))}}function Pwn(e,t){if(e<0||t<0)throw K(new jt("k and n must be positive"));if(t>e)throw K(new jt("k must be smaller than n"));return t==0||t==e?1:e==0?0:abe(e)/(abe(t)*abe(e-t))}function Mbe(e,t){var r,o,s,u;for(r=new iV(e);r.g==null&&!r.c?khe(r):r.g==null||r.i!=0&&l(r.g[r.i-1],51).Ob();)if(u=l(N7(r),57),se(u,176))for(o=l(u,176),s=0;s<t.length;s++)t[s].Jg(o)}function YY(e){var t;return e.Db&64?QK(e):(t=new ml(QK(e)),t.a+=" (height: ",Vv(t,e.f),t.a+=", width: ",Vv(t,e.g),t.a+=", x: ",Vv(t,e.i),t.a+=", y: ",Vv(t,e.j),t.a+=")",t.a)}function jwn(e){var t,r,o,s,u,f,p;for(t=new d1,o=e,s=0,u=o.length;s<u;++s)if(r=o[s],f=xn(r.jd()),p=Kb(t,f,xn(r.kd())),p!=null)throw K(new jt("duplicate key: "+f));this.b=(St(),new zG(t))}function Fwn(e){var t,r,o,s,u;if(e==null)return tu;for(u=new zb(Ma,"[","]"),r=e,o=0,s=r.length;o<s;++o)t=r[o],sp(u,String.fromCharCode(t));return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function Pbe(){Pbe=Y,g2e=(aj(),b$),Gkt=new ht(sF,g2e),Re(1),zkt=new ht(hwe,Re(300)),Re(0),Wkt=new ht(pwe,Re(0)),Kkt=new ht(CX,Uf),qkt=new ht(IX,5),Ykt=b$,Vkt=tee}function $wn(e,t){var r;if(t!=null&&!e.c.Fk().dk(t))throw r=se(t,57)?l(t,57).Ah().zb:Sb(nc(t)),K(new LA(R1+e.c.ve()+"'s type '"+e.c.Fk().ve()+"' does not permit a value of type '"+r+"'"))}function Bwn(e,t,r){var o,s;for(s=new Ji(e.b,0);s.b<s.d.gc();)o=(un(s.b<s.d.gc()),l(s.d.Xb(s.c=s.b++),70)),be(j(o,(Ie(),dTe)))===be(t)&&(zbe(o.n,ji(e.c.i),r),Lu(s),je(t.b,o))}function nmt(e){var t,r;return r=b.Math.sqrt((e.k==null&&(e.k=age(e,new iUe)),ue(e.k)/(e.b*(e.g==null&&(e.g=oht(e,new Aue)),ue(e.g))))),t=On(Gs(b.Math.round(r))),t=b.Math.min(t,e.f),t}function Uwn(){var e,t,r;for(t=0,e=0;e<1;e++){if(r=dme((Yt(e,1),"X".charCodeAt(e))),r==0)throw K(new Dn((Yt(e,2),"Unknown Option: "+"X".substr(e))));t|=r}return t}function Hwn(e){var t,r,o,s,u,f;for(t=new iE,r=new iE,l1(t,e),l1(r,e);r.b!=r.c;)for(s=l(xS(r),37),f=new V(s.a);f.a<f.c.c.length;)u=l(q(f),9),u.e&&(o=u.e,l1(t,o),l1(r,o));return t}function aa(){bu(),qde.call(this),this.j=(Ue(),Cs),this.a=new to,new JG,this.f=(wc(2,Cy),new Ra(2)),this.e=(wc(4,Cy),new Ra(4)),this.g=(wc(4,Cy),new Ra(4)),this.b=new Xet(this.e,this.g)}function zwn(e,t){var r,o;return!(Ke(We(j(t,(Ie(),Tg))))||(o=t.c.i,e==(rc(),RI)&&o.k==(Ht(),ta))||(r=l(j(o,(Be(),Ns)),166),r==Ap))}function Gwn(e,t){var r,o;return!(Ke(We(j(t,(Ie(),Tg))))||(o=t.d.i,e==(rc(),OI)&&o.k==(Ht(),ta))||(r=l(j(o,(Be(),Ns)),166),r==hm))}function qwn(e,t){var r,o,s,u,f,p,m;for(f=e.d,m=e.o,p=new ql(-f.b,-f.d,f.b+m.a+f.c,f.d+m.b+f.a),o=t,s=0,u=o.length;s<u;++s)r=o[s],r&&bC(p,r.i);f.b=-p.c,f.d=-p.d,f.c=p.b-f.b-m.a,f.a=p.a-f.d-m.b}function Vwn(e,t){if(t.a)switch(l(j(t.b,(Ie(),hTe)),103).g){case 0:case 1:p0n(t);case 2:ei(new yt(null,new vt(t.d,16)),new vue),jvn(e.a,t)}else ei(new yt(null,new vt(t.d,16)),new vue)}function K6(){K6=Y,Qke=new yO("CENTER_DISTANCE",0),jne=new yO("CIRCLE_UNDERLAP",1),txe=new yO("RECTANGLE_UNDERLAP",2),Fne=new yO("INVERTED_OVERLAP",3),exe=new yO("MINIMUM_ROOT_DISTANCE",4)}function Wwn(e){Hme();var t,r,o,s,u;if(e==null)return null;for(o=e.length,s=o*2,t=me(al,$f,30,s,15,1),r=0;r<o;r++)u=e[r],u<0&&(u+=256),t[r*2]=_U[u>>4],t[r*2+1]=_U[u&15];return Lf(t,0,t.length)}function Kwn(e){var t,r,o;switch(o=e.c.length,o){case 0:return lW(),I_t;case 1:return t=l(jmt(new V(e)),45),dnn(t.jd(),t.kd());default:return r=l(Yd(e,me(cm,Q7,45,e.c.length,0,1)),178),new cle(r)}}function gg(e,t){switch(t.g){case 1:return TS(e.j,(bu(),B2e));case 2:return TS(e.j,(bu(),F2e));case 3:return TS(e.j,(bu(),H2e));case 4:return TS(e.j,(bu(),z2e));default:return St(),St(),No}}function Ywn(e,t){var r,o,s;r=don(t,e.e),o=l(Ut(e.g.f,r),15).a,s=e.a.c.length-1,e.a.c.length!=0&&l(He(e.a,s),296).c==o?(++l(He(e.a,s),296).a,++l(He(e.a,s),296).b):je(e.a,new Drt(o))}function T1(){T1=Y,jRt=(_n(),HT),FRt=Od,DRt=Sm,LRt=b2,MRt=G1,ORt=g2,lke=m4,PRt=uv,pne=(Zme(),ERt),gne=SRt,fke=kRt,bne=CRt,hke=xRt,pke=NRt,dke=TRt,BB=ARt,UB=_Rt,CL=IRt,gke=RRt,cke=vRt}function rmt(e,t){var r,o,s,u,f;if(e.e<=t||Jun(e,e.g,t))return e.g;for(u=e.r,o=e.g,f=e.r,s=(u-o)/2+o;o+1<u;)r=OC(e,s,!1),r.b<=s&&r.a<=t?(f=s,u=s):o=s,s=(u-o)/2+o;return f}function Jwn(e,t,r){var o;o=Cwt(e,t,!0),Ibt(r,"Recursive Graph Layout",o),Mbe(t,Z(X(Nxe,1),Rt,528,0,[new KWe])),Gc(t,(_n(),cv))||Mbe(t,Z(X(Nxe,1),Rt,528,0,[new Jze])),H0e(e,t,null,r),imt(r)}function imt(e){var t;if(e.p==null)throw K(new Xo("The task has not begun yet."));e.b||(e.k&&(t=(Qp(),mo(Gs(Date.now()),wg)),e.q=jb(El(t,e.o))*1e-9),e.c<e.r&&rge(e,e.r-e.c),e.b=!0)}function Xwn(e){var t,r,o;for(o=new Du,Gn(o,new Le(e.j,e.k)),r=new en((!e.a&&(e.a=new yi(Ic,e,5)),e.a));r.e!=r.i.gc();)t=l(rn(r),373),Gn(o,new Le(t.a,t.b));return Gn(o,new Le(e.b,e.c)),o}function omt(e,t,r,o,s){var u,f,p,m,y,v;if(s)for(m=s.a.length,u=new Nb(m),v=(u.b-u.a)*u.c<0?(r1(),eb):new s1(u);v.Ob();)y=l(v.Pb(),15),p=d_(s,y.a),f=new sat(e,t,r,o),_yt(f.a,f.b,f.c,f.d,p)}function jbe(e,t){var r;if(be(e)===be(t))return!0;if(se(t,24)){r=l(t,24);try{return e.gc()==r.gc()&&e.Hc(r)}catch(o){if(o=ci(o),se(o,174)||se(o,214))return!1;throw K(o)}}return!1}function JY(e,t,r,o,s,u){switch(this.c=e,t.g){case 2:if(e.a.Le(s,r)<0)throw K(new jt(nwe+s+a2t+r));break;case 1:e.a.Le(s,s);break;case 3:e.a.Le(r,r)}this.f=t,this.b=r,this.a=o,this.e=s,this.d=u}function Fbe(e,t){var r;je(e.d,t),r=t.Kf(),e.c?(e.e.a=b.Math.max(e.e.a,r.a),e.e.b+=r.b,e.d.c.length>1&&(e.e.b+=e.a)):(e.e.a+=r.a,e.e.b=b.Math.max(e.e.b,r.b),e.d.c.length>1&&(e.e.a+=e.a))}function Zwn(e){var t,r,o,s;switch(s=e.i,t=s.b,o=s.j,r=s.g,s.a.g){case 0:r.a=(e.g.b.o.a-o.a)/2;break;case 1:r.a=t.d.n.a+t.d.a.a;break;case 2:r.a=t.d.n.a+t.d.a.a-o.a;break;case 3:r.b=t.d.n.b+t.d.a.b}}function Qwn(e,t,r){var o,s,u;for(s=new Ft(Gt(Df(r).a.Jc(),new D));an(s);)o=l(Qt(s),17),!lo(o)&&!(!lo(o)&&o.c.i.c==o.d.i.c)&&(u=Z0t(e,o,r,new TZe),u.c.length>1&&Ot(t.c,u))}function smt(e,t,r,o,s){if(o<t||s<r)throw K(new jt("The highx must be bigger then lowx and the highy must be bigger then lowy"));return e.a<t?e.a=t:e.a>o&&(e.a=o),e.b<r?e.b=r:e.b>s&&(e.b=s),e}function eyn(e){if(se(e,144))return _2n(l(e,144));if(se(e,236))return Cgn(l(e,236));if(se(e,21))return Dwn(l(e,21));throw K(new jt(Lk+Qd(new Ds(Z(X(Ci,1),Rt,1,5,[e])))))}function tyn(e,t,r,o,s){var u,f,p;for(u=!0,f=0;f<o;f++)u=u&r[f]==0;if(s==0)ua(r,o,e,0,t),f=t;else{for(p=32-s,u=u&r[f]<<p==0,f=0;f<t-1;f++)e[f]=r[f+o]>>>s|r[f+o+1]<<p;e[f]=r[f+o]>>>s,++f}return u}function $be(e,t,r,o){var s,u,f;if(t.k==(Ht(),gi)){for(u=new Ft(Gt(si(t).a.Jc(),new D));an(u);)if(s=l(Qt(u),17),f=s.c.i.k,f==gi&&e.c.a[s.c.i.c.p]==o&&e.c.a[t.c.p]==r)return!0}return!1}function nyn(e,t,r){var o;r.Tg("YPlacer",1),e.a=ue(ce(ye(t,(XS(),_xe)))),e.b=ue(ce(ye(t,(_n(),Od)))),(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i!=0&&(o=l(ye(t,(wh(),l4)),19),uwt(e,o,0)),r.Ug()}function ryn(e,t){var r,o,s,u;return t&=63,r=e.h&yp,t<22?(u=r>>>t,s=e.m>>t|r<<22-t,o=e.l>>t|e.m<<22-t):t<44?(u=0,s=r>>>t-22,o=e.m>>t-22|e.h<<44-t):(u=0,s=0,o=r>>>t-44),Ua(o&Uu,s&Uu,u&yp)}function amt(e,t,r,o){var s;this.b=o,this.e=e==(Vb(),KI),s=t[r],this.d=Kw(uu,[Me,Ad],[172,30],16,[s.length,s.length],2),this.a=Kw(Rn,[Me,Xn],[54,30],15,[s.length,s.length],2),this.c=new vbe(t,r)}function iyn(e){var t,r,o;for(e.k=new Ohe((Ue(),Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt])).length,e.j.c.length),o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),114),t=r.d.j,wt(e.k,t,r);e.e=f2n(_S(e.k))}function umt(e,t){var r,o,s;pi(e.d,t),r=new iHe,Yn(e.c,t,r),r.f=VK(t.c),r.a=VK(t.d),r.d=(_C(),s=t.c.i.k,s==(Ht(),Xr)||s==af),r.e=(o=t.d.i.k,o==Xr||o==af),r.b=t.c.j==(Ue(),Wt),r.c=t.d.j==Zt}function oyn(e){var t,r,o,s,u;for(u=sr,s=sr,o=new V(wE(e));o.a<o.c.c.length;)r=l(q(o),220),t=r.e.e-r.d.e,r.e==e&&t<s?s=t:t<u&&(u=t);return s==sr&&(s=-1),u==sr&&(u=-1),new ko(Re(s),Re(u))}function syn(e,t){var r,o,s,u;for(r=t.a.o.a,u=new If(ji(t.a).b,t.c,t.f+1),s=new RN(u);s.b<s.d.gc();)if(o=(un(s.b<s.d.gc()),l(s.d.Xb(s.c=s.b++),26)),o.c.a>=r)return W_(e,t,o.p),!0;return!1}function _E(e,t,r,o){var s,u,f,p,m,y;for(f=r.length,u=0,s=-1,y=Ydt((Yt(t,e.length+1),e.substr(t)),(xV(),i2e)),p=0;p<f;++p)m=r[p].length,m>u&&nsn(y,Ydt(r[p],i2e))&&(s=p,u=m);return s>=0&&(o[0]=t+u),s}function ayn(e,t,r){var o,s,u,f,p,m,y,v;u=e.d.p,p=u.e,m=u.r,e.g=new PO(m),f=e.d.o.c.p,o=f>0?p[f-1]:me(Nh,yg,9,0,0,1),s=p[f],y=f<p.length-1?p[f+1]:me(Nh,yg,9,0,0,1),v=t==r-1,v?TW(e.g,s,y):TW(e.g,o,s)}function cmt(e){var t;return e.Db&64?YY(e):(t=new fc(Zve),!e.a||zn(zn((t.a+=' "',t),e.a),'"'),zn(Qm(zn(Qm(zn(Qm(zn(Qm((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function lmt(e,t,r){var o,s,u,f,p;for(p=za(e.e.Ah(),t),s=l(e.g,123),o=0,f=0;f<e.i;++f)if(u=s[f],p.$l(u.Jk())){if(o==r)return Ay(e,f),Oo(),l(t,69).vk()?u:u.kd();++o}throw K(new Na(iI+r+sm+o))}function dmt(e){var t,r,o;if(t=e.c,t==2||t==7||t==1)return fr(),fr(),j4;for(o=F0e(e),r=null;(t=e.c)!=2&&t!=7&&t!=1;)r||(r=(fr(),fr(),new h3(1)),Zb(r,o),o=r),Zb(r,F0e(e));return o}function uyn(e,t,r){return e<0||e>r?Ybe(e,r,"start index"):t<0||t>r?Ybe(t,r,"end index"):kC("end index (%s) must not be less than start index (%s)",Z(X(Ci,1),Rt,1,5,[Re(t),Re(e)]))}function fmt(e,t){var r,o,s,u;for(o=0,s=e.length;o<s;o++){u=e[o];try{u[1]?u[0].Sm()&&(t=jon(t,u)):u[0].Sm()}catch(f){if(f=ci(f),se(f,81))r=f,P9(),yan(se(r,477)?l(r,477).ie():r);else throw K(f)}}return t}function W_(e,t,r){var o,s,u;for(r!=t.c+t.b.gc()&&w_n(t.a,ahn(t,r-t.c)),u=t.a.c.p,e.a[u]=b.Math.max(e.a[u],t.a.o.a),s=l(j(t.a,(Ie(),CI)),16).Jc();s.Ob();)o=l(s.Pb(),70),Ae(o,mee,(Lt(),!0))}function cyn(e,t){var r,o,s;s=O2n(t),Ae(t,(Ie(),ete),s),s&&(o=sr,Zo(e.f,s)&&(o=l(Es(Zo(e.f,s)),15).a),r=l(He(t.g,0),17),Ke(We(j(r,Tg)))||Yn(e,s,Re(b.Math.min(l(j(r,Nr),15).a,o))))}function lyn(e){var t,r,o,s;for(r=sr,s=!0,t=0;t<e.a.c.length;t++)gr(l(He(e.a,t),9),(Be(),pB))&&(s=!1,o=l(j(l(He(e.a,t),9),pB),15).a,r=r<o?r:o);return s&&(r=l(ze((Be(),pB)),15).a),r}function hmt(e,t,r){var o,s,u,f,p;for(t.p=-1,p=k0(t,(Lo(),Fa)).Jc();p.Ob();)for(f=l(p.Pb(),12),s=new V(f.g);s.a<s.c.c.length;)o=l(q(s),17),u=o.d.i,t!=u&&(u.p<0?r.Ec(o):u.p>0&&hmt(e,u,r));t.p=0}function dyn(e){var t,r,o,s;for(t=Rb(zn(new fc("Predicates."),"and"),40),r=!0,s=new RN(e);s.b<s.d.gc();)o=(un(s.b<s.d.gc()),s.d.Xb(s.c=s.b++)),r||(t.a+=","),t.a+=""+o,r=!1;return(t.a+=")",t).a}function pmt(e,t,r){var o,s,u;if(!(r<=t+2))for(s=(r-t)/2|0,o=0;o<s;++o)u=(at(t+o,e.c.length),l(e.c[t+o],12)),tc(e,t+o,(at(r-o-1,e.c.length),l(e.c[r-o-1],12))),at(r-o-1,e.c.length),e.c[r-o-1]=u}function gmt(e,t){var r,o,s;if(t.c.length!=0){for(r=$bt(e,t),s=!1;!r;)x7(e,t,!0),s=!0,r=$bt(e,t);s&&x7(e,t,!1),o=IK(t),e.b&&e.b.Fg(o),e.a=Ipt(e,(at(0,t.c.length),l(t.c[0],19))),gmt(e,o)}}function XY(e,t){var r,o,s;if(o=Nt(e.Ah(),t),r=t-e.gi(),r<0)if(o)if(o.pk())s=e.Fh(o),s>=0?e.hi(s):Qbe(e,o);else throw K(new jt(R1+o.ve()+tI));else throw K(new jt(DTt+t+LTt));else Jc(e,r,o)}function Bbe(e){var t,r;if(r=null,t=!1,se(e,213)&&(t=!0,r=l(e,213).a),t||se(e,266)&&(t=!0,r=""+l(e,266).a),t||se(e,482)&&(t=!0,r=""+l(e,482).a),!t)throw K(new sq(aEe));return r}function Ube(e,t,r){var o,s,u,f,p,m;for(m=za(e.e.Ah(),t),o=0,p=e.i,s=l(e.g,123),f=0;f<e.i;++f)if(u=s[f],m.$l(u.Jk())){if(r==o)return f;++o,p=f+1}if(r==o)return p;throw K(new Na(iI+r+sm+o))}function fyn(e,t){var r,o,s,u;if(e.f.c.length==0)return null;for(u=new bS,o=new V(e.f);o.a<o.c.c.length;)r=l(q(o),70),s=r.o,u.b=b.Math.max(u.b,s.a),u.a+=s.b;return u.a+=(e.f.c.length-1)*t,u}function hyn(e){var t,r,o,s;for(o=e.a.d.j,s=e.a.d.j,r=new V(e.i.d);r.a<r.c.c.length;)t=l(q(r),70),Ae(t,(Be(),i2),null);o==(Ue(),Vt)||s==Vt?rg(e,dn,(Xl(),Uy),null):rg(e,Vt,(Xl(),Uy),null)}function Hbe(e){var t,r,o,s;for(e.e=0,s=An(e.f,0);s.b!=s.d.c;)o=l(Sn(s),9),o.p>=e.d.b.c.length&&(t=new ra(e.d),t.p=o.p-1,je(e.d.b,t),r=new ra(e.d),r.p=o.p,je(e.d.b,r)),Ii(o,l(He(e.d.b,o.p),26))}function pyn(e){var t,r,o,s;for(r=new Sr,bo(r,e.o),o=new R9;r.b!=0;)t=l(r.b==0?null:(un(r.b!=0),Vc(r,r.a.a)),504),s=dEt(e,t,!0),s&&je(o.a,t);for(;o.a.c.length!=0;)t=l(jge(o),504),dEt(e,t,!1)}function Ze(e){var t;this.c=new Sr,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(t=l(md(cf),10),new Hc(t,l(Gl(t,t.length),10),0)),this.g=e.f}function A1(){A1=Y,Cxe=new hS(HC,0),Ai=new hS("BOOLEAN",1),wo=new hS("INT",2),BT=new hS("STRING",3),Qi=new hS("DOUBLE",4),$r=new hS("ENUM",5),$T=new hS("ENUMSET",6),lf=new hS("OBJECT",7)}function bC(e,t){var r,o,s,u,f;o=b.Math.min(e.c,t.c),u=b.Math.min(e.d,t.d),s=b.Math.max(e.c+e.b,t.c+t.b),f=b.Math.max(e.d+e.a,t.d+t.a),s<o&&(r=o,o=s,s=r),f<u&&(r=u,u=f,f=r),rot(e,o,u,s-o,f-u)}function bmt(e,t){var r,o;if(e.f){for(;t.Ob();)if(r=l(t.Pb(),76),o=r.Jk(),se(o,104)&&l(o,20).Bb&Ws&&(!e.e||o.nk()!=Tx||o.Jj()!=0)&&r.kd()!=null)return t.Ub(),!0;return!1}else return t.Ob()}function mmt(e,t){var r,o;if(e.f){for(;t.Sb();)if(r=l(t.Ub(),76),o=r.Jk(),se(o,104)&&l(o,20).Bb&Ws&&(!e.e||o.nk()!=Tx||o.Jj()!=0)&&r.kd()!=null)return t.Pb(),!0;return!1}else return t.Sb()}function mu(){mu=Y,R3e=Z(X(Ye,1),Me,2,6,[EEe,qD,QF,XAt,e$,wQ,UF]),I3e=Z(X(Ye,1),Me,2,6,[EEe,"empty",qD,GD,"elementOnly"]),O3e=Z(X(Ye,1),Me,2,6,[EEe,"preserve","replace",xd]),so=new hot}function zbe(e,t,r){var o,s,u;if(t!=r){o=t;do br(e,o.c),s=o.e,s&&(u=o.d,zw(e,u.b,u.d),br(e,s.n),o=ji(s));while(s);o=r;do Ri(e,o.c),s=o.e,s&&(u=o.d,Frt(e,u.b,u.d),Ri(e,s.n),o=ji(s));while(s)}}function ZY(e,t,r,o){var s,u,f,p,m;if(o.f.c+o.i.c==0)for(f=e.a[e.c],p=0,m=f.length;p<m;++p)u=f[p],Yn(o,u,new dht(e,u,r));return s=l(Es(Zo(o.f,t)),674),s.b=0,s.c=s.f,s.c==0||OKe(l(He(s.a,s.b),296)),s}function wmt(e){var t;this.j=new Pe,this.f=new hi,this.b=(t=l(md(Co),10),new Hc(t,l(Gl(t,t.length),10),0)),this.d=me(Rn,Xn,30,(Ue(),Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt])).length,15,1),this.g=e}function ZS(){ZS=Y,Wk=new QN("MEDIAN_LAYER",0),TI=new QN("TAIL_LAYER",1),Vk=new QN("HEAD_LAYER",2),Hy=new QN("SPACE_EFFICIENT_LAYER",3),YE=new QN("WIDEST_LAYER",4),KE=new QN("CENTER_LAYER",5)}function Gbe(e,t,r){var o,s,u;if(!e.b[t.g]){for(e.b[t.g]=!0,o=r,!o&&(o=new n6),Gn(o.b,t),u=e.a[t.g].Jc();u.Ob();)s=l(u.Pb(),65),s.b!=t&&Gbe(e,s.b,o),s.c!=t&&Gbe(e,s.c,o),Gn(o.a,s);return o}return null}function gyn(e){switch(e.g){case 0:case 1:case 2:return Ue(),Vt;case 3:case 4:case 5:return Ue(),dn;case 6:case 7:case 8:return Ue(),Wt;case 9:case 10:case 11:return Ue(),Zt;default:return Ue(),Cs}}function byn(e,t){var r;return e.c.length==0?!1:(r=Sgt((at(0,e.c.length),l(e.c[0],17)).c.i),gc(),r==(my(),a2)||r==s2?!0:fE(Ia(new yt(null,new vt(e,16)),new vUe),new EJe(t)))}function QY(e,t){if(se(t,209))return Ben(e,l(t,19));if(se(t,196))return Uen(e,l(t,127));if(se(t,446))return $en(e,l(t,171));throw K(new jt(Lk+Qd(new Ds(Z(X(Ci,1),Rt,1,5,[t])))))}function ymt(e,t,r){var o,s;if(this.f=e,o=l(Ut(e.b,t),263),s=o?o.a:0,cpe(r,s),r>=(s/2|0))for(this.e=o?o.c:null,this.d=s;r++<s;)$dt(this);else for(this.c=o?o.b:null;r-- >0;)Ope(this);this.b=t,this.a=null}function myn(e,t){var r,o;t.a?z2n(e,t):(r=l(wq(e.b,t.b),60),r&&r==e.a[t.b.f]&&r.a&&r.a!=t.b.a&&r.c.Ec(t.b),o=l(mq(e.b,t.b),60),o&&e.a[o.f]==t.b&&o.a&&o.a!=t.b.a&&t.b.c.Ec(o),fV(e.b,t.b))}function vmt(e,t){var r,o;if(r=l(Go(e.b,t),129),l(l(wr(e.r,t),24),85).dc()){r.n.b=0,r.n.c=0;return}r.n.b=e.C.b,r.n.c=e.C.c,e.A.Gc((oc(),Am))&&Zwt(e,t),o=Z1n(e,t),lJ(e,t)==(vE(),V1)&&(o+=2*e.w),r.a.a=o}function Emt(e,t){var r,o;if(r=l(Go(e.b,t),129),l(l(wr(e.r,t),24),85).dc()){r.n.d=0,r.n.a=0;return}r.n.d=e.C.d,r.n.a=e.C.a,e.A.Gc((oc(),Am))&&Qwt(e,t),o=X1n(e,t),lJ(e,t)==(vE(),V1)&&(o+=2*e.w),r.a.b=o}function wyn(e,t){var r,o,s,u;for(u=new Pe,o=new V(t);o.a<o.c.c.length;)r=l(q(o),68),je(u,new mle(r,!0)),je(u,new mle(r,!1));s=new kat(e),s.a.a.$b(),Gut(u,e.b,new Ds(Z(X(okt,1),Rt,690,0,[s])))}function yyn(e,t){var r,o,s;t.Tg("End label pre-processing",1),r=ue(ce(j(e,(Be(),o2)))),o=ue(ce(j(e,Qy))),s=eE(l(j(e,kc),87)),ei(gs(new yt(null,new vt(e.b,16)),new X7e),new Uit(r,o,s)),t.Ug()}function qbe(e,t){var r,o,s;if(!e.d[t.p]){for(e.d[t.p]=!0,e.a[t.p]=!0,o=new Ft(Gt(Rr(t).a.Jc(),new D));an(o);)r=l(Qt(o),17),!lo(r)&&(s=r.d.i,e.a[s.p]?je(e.b,r):qbe(e,s));e.a[t.p]=!1}}function QS(e,t,r){var o;switch(o=0,l(j(t,(Be(),Ns)),166).g){case 2:o=2*-r+e.a,++e.a;break;case 1:o=-r;break;case 3:o=r;break;case 4:o=2*r+e.b,++e.b}return gr(t,(Ie(),Nr))&&(o+=l(j(t,Nr),15).a),o}function Smt(e,t,r){var o,s,u;for(r.yc(t,e),je(e.n,t),u=e.p.yg(t),t.j==e.p.zg()?ugt(e.e,u):ugt(e.j,u),wP(e),s=hh(Wc(Z(X(nl,1),Rt,22,0,[new OA(t),new Q2(t)])));an(s);)o=l(Qt(s),12),r._b(o)||Smt(e,o,r)}function vyn(e,t,r){var o,s,u;for(r.Tg("Processor set neighbors",1),e.a=t.b.b==0?1:t.b.b,s=null,o=An(t.b,0);!s&&o.b!=o.d.c;)u=l(Sn(o),41),Ke(We(j(u,(xr(),z1))))&&(s=u);s&&Owt(e,new Xh(s),r),r.Ug()}function Vbe(e){var t,r,o;return r=l(ye(e,(_n(),Sm)),24),r.Gc((oc(),fv))?(o=l(ye(e,G1),24),t=new Eo(l(ye(e,b2),8)),o.Gc((Bu(),Sx))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new to}function Wbe(e){var t,r,o;if(!e.b){for(o=new KGe,r=new yS(RC(e));r.e!=r.i.gc();)t=l(bY(r),20),t.Bb&Ws&&Tn(o,t);fy(o),e.b=new Qv((l(ie(Ne((a1(),Bt).o),8),20),o.i),o.g),Mu(e).b&=-9}return e.b}function vy(e){var t,r,o;for(r=e.length,o=0;o<r&&(Yt(o,e.length),e.charCodeAt(o)<=32);)++o;for(t=r;t>o&&(Yt(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return o>0||t<r?(no(o,t,e.length),e.substr(o,t-o)):e}function Eyn(e,t){var r,o,s,u,f,p,m,y;m=l(dC(_S(t.k),me(Co,ea,64,2,0,1)),128),y=t.g,r=hct(t,m[0]),s=fct(t,m[1]),o=RY(e,y,r,s),u=hct(t,m[1]),p=fct(t,m[0]),f=RY(e,y,u,p),o<=f?(t.a=r,t.c=s):(t.a=u,t.c=p)}function Tmt(e,t,r,o,s){var u,f,p,m,y;if(t)for(p=t.Jc();p.Ob();)for(f=l(p.Pb(),9),y=Vme(f,(Lo(),Fa),r).Jc();y.Ob();)m=l(y.Pb(),12),u=l(Es(Zo(s.f,m)),117),u||(u=new T6(e.d),Ot(o.c,u),Smt(u,m,s))}function mC(e){var t;St();var r,o,s,u,f,p;if(se(e,59))for(u=0,s=e.gc()-1;u<s;++u,--s)t=e.Xb(u),e.fd(u,e.Xb(s)),e.fd(s,t);else for(r=e.cd(),f=e.dd(e.gc());r.Tb()<f.Vb();)o=r.Pb(),p=f.Ub(),r.Wb(p),f.Wb(o)}function A7(e,t){var r,o,s,u,f,p;for(p=0,u=new iE,l1(u,t);u.b!=u.c;)for(f=l(xS(u),221),p+=j1t(f.d,f.e),s=new V(f.b);s.a<s.c.c.length;)o=l(q(s),37),r=l(He(e.b,o.p),221),r.s||(p+=A7(e,r));return p}function Amt(e,t,r){var o,s;xht(this),t==(p0(),H1)?pi(this.r,e.c):pi(this.w,e.c),r==H1?pi(this.r,e.d):pi(this.w,e.d),umt(this,e),o=VK(e.c),s=VK(e.d),Vbt(this,o,s,s),this.o=(_C(),b.Math.abs(o-s)<.2)}function _mt(e,t,r){var o,s,u,f,p,m;if(p=l(qt(e.a,8),2014),p!=null)for(s=p,u=0,f=s.length;u<f;++u)null.Sm();o=r,e.a.Db&1||(m=new Cst(e,r,t),o.bj(m)),se(o,683)?l(o,683).dj(e.a):o.aj()==e.a&&o.cj(null)}function Syn(){var e;return SLt?l(K_((n1(),Ll),um),2023):(Vxn(),e=l(se(ma((n1(),Ll),um),589)?ma(Ll,um):new qst,589),SLt=!0,RNn(e),d3n(e),Yn((ale(),m3e),e,new eVe),DY(e),Qo(Ll,um,e),e)}function Tyn(e,t,r,o){var s;return s=_E(e,r,Z(X(Ye,1),Me,2,6,[cX,lX,dX,fX,hX,pX,gX]),t),s<0&&(s=_E(e,r,Z(X(Ye,1),Me,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),s<0?!1:(o.d=s,!0)}function Ayn(e,t,r,o){var s;return s=_E(e,r,Z(X(Ye,1),Me,2,6,[cX,lX,dX,fX,hX,pX,gX]),t),s<0&&(s=_E(e,r,Z(X(Ye,1),Me,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),s<0?!1:(o.d=s,!0)}function eu(e,t,r){var o,s,u,f;if(f=e.b.Ae(t),s=(o=e.a.get(f),o??me(Ci,Rt,1,0,5,1)),s.length==0)e.a.set(f,s);else if(u=xpt(e,t,s),u)return u.ld(r);return ii(s,s.length,new Q9(t,r)),++e.c,++e.b.g,null}function _yn(e){var t,r,o;for(AEn(e),o=new Pe,r=new V(e.a.a.b);r.a<r.c.c.length;)t=l(q(r),84),je(o,new wle(t,!0)),je(o,new wle(t,!1));mbn(e.c),ZO(o,e.b,new Ds(Z(X(eL,1),Rt,378,0,[e.c]))),$vn(e)}function Y6(e,t){var r,o,s;for(s=new Pe,o=new V(e.c.a.b);o.a<o.c.c.length;)r=l(q(o),60),t.Lb(r)&&(je(s,new ble(r,!0)),je(s,new ble(r,!1)));bbn(e.e),Gut(s,e.d,new Ds(Z(X(okt,1),Rt,690,0,[e.e])))}function kyn(e){var t,r,o,s;for(r=new hn,s=new V(e.d);s.a<s.c.c.length;)o=l(q(s),190),t=l(o.mf((Ie(),NT)),17),Zo(r.f,t)||Yn(r,t,new bat(t)),je(l(Es(Zo(r.f,t)),458).b,o);return new Tu(new Jh(r))}function xyn(e,t){var r,o,s,u,f;for(o=new tct(e.j.c.length),r=null,u=new V(e.j);u.a<u.c.c.length;)s=l(q(u),12),s.j!=r&&(o.b==o.c||W0t(o,r,t),Yhe(o),r=s.j),f=k0t(s),f&&zhe(o,f);o.b==o.c||W0t(o,r,t)}function Nyn(e,t){var r,o,s;for(o=new Ji(e.b,0);o.b<o.d.gc();)r=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),70)),s=l(j(r,(Be(),Kf)),281),s==(Kd(),dv)&&(Lu(o),je(t.b,r),gr(r,(Ie(),NT))||Ae(r,NT,e))}function Cyn(e){var t,r,o,s,u;for(t=yd(new Ft(Gt(Rr(e).a.Jc(),new D))),s=new Ft(Gt(si(e).a.Jc(),new D));an(s);)o=l(Qt(s),17),r=o.c.i,u=yd(new Ft(Gt(Rr(r).a.Jc(),new D))),t=b.Math.max(t,u);return Re(t)}function Kbe(e,t,r){var o,s,u;o=l(ye(e,(_n(),jL)),24),s=0,u=0,t.a>r.a&&(o.Gc((Jb(),f4))?s=(t.a-r.a)/2:o.Gc(h4)&&(s=t.a-r.a)),t.b>r.b&&(o.Gc((Jb(),g4))?u=(t.b-r.b)/2:o.Gc(p4)&&(u=t.b-r.b)),Cbe(e,s,u)}function kmt(e,t,r,o,s,u,f,p,m,y,v,T,N){se(e.Cb,89)&&Ey(Mu(l(e.Cb,89)),4),Da(e,r),e.f=f,L_(e,p),P_(e,m),D_(e,y),M_(e,v),hg(e,T),j_(e,N),fg(e,!0),ug(e,s),e.Xk(u),Wb(e,t),o!=null&&(e.i=null,Ej(e,o))}function Ybe(e,t,r){if(e<0)return kC(jEt,Z(X(Ci,1),Rt,1,5,[r,Re(e)]));if(t<0)throw K(new jt(FEt+t));return kC("%s (%s) must not be greater than size (%s)",Z(X(Ci,1),Rt,1,5,[r,Re(e),Re(t)]))}function Jbe(e,t,r,o,s,u){var f,p,m,y;if(f=o-r,f<7){Egn(t,r,o,u);return}if(m=r+s,p=o+s,y=m+(p-m>>1),Jbe(t,e,m,y,-s,u),Jbe(t,e,y,p,-s,u),u.Le(e[y-1],e[y])<=0){for(;r<o;)ii(t,r++,e[m++]);return}Dpn(e,m,y,p,t,r,o,u)}function Iyn(e,t){var r,o,s,u,f,p,m;for(m=t.d,s=t.b.j,p=new V(m);p.a<p.c.c.length;)for(f=l(q(p),108),u=me(uu,Ad,30,s.c.length,16,1),Yn(e.b,f,u),r=f.a.d.p-1,o=f.c.d.p;r!=o;)r=(r+1)%s.c.length,u[r]=!0}function Ryn(e,t){if(Vpe(),gr(e,(Ie(),Nr))&&gr(t,Nr))return na(l(j(e,Nr),15).a,l(j(t,Nr),15).a);throw K(new aS("The BF model order layer assigner requires all real nodes to have a model order."))}function Oyn(e,t){if(Wpe(),gr(e,(Ie(),Nr))&&gr(t,Nr))return na(l(j(e,Nr),15).a,l(j(t,Nr),15).a);throw K(new aS("The DF model order layer assigner requires all real nodes to have a model order."))}function Dyn(e,t){for(e.r=new T6(e.p),tZt(e.r,e),bo(e.r.j,e.j),ec(e.j),Gn(e.j,t),Gn(e.r.e,t),wP(e),wP(e.r);e.f.c.length!=0;)Jnt(l(He(e.f,0),135));for(;e.k.c.length!=0;)Jnt(l(He(e.k,0),135));return e.r}function eJ(e,t,r){var o,s,u;if(s=Nt(e.Ah(),t),o=t-e.gi(),o<0)if(s)if(s.pk())u=e.Fh(s),u>=0?e.$h(u,r):Nme(e,s,r);else throw K(new jt(R1+s.ve()+tI));else throw K(new jt(DTt+t+LTt));else Xc(e,o,s,r)}function xmt(e){var t,r;if(e.f){for(;e.n>0;){if(t=l(e.k.Xb(e.n-1),76),r=t.Jk(),se(r,104)&&l(r,20).Bb&Ws&&(!e.e||r.nk()!=Tx||r.Jj()!=0)&&t.kd()!=null)return!0;--e.n}return!1}else return e.n>0}function Nmt(e){var t,r,o,s;if(r=l(e,52).Yh(),r)try{if(o=null,t=K_((n1(),Ll),Syt(_gn(r))),t&&(s=t.Zh(),s&&(o=s.Dl(iQt(r.e)))),o&&o!=e)return Nmt(o)}catch(u){if(u=ci(u),!se(u,63))throw K(u)}return e}function Lyn(e,t,r){var o,s,u;r.Tg("Remove overlaps",1),r.bh(t,ive),o=l(ye(t,(aE(),l2)),19),e.f=o,e.a=wY(l(ye(t,(T1(),CL)),304)),s=ce(ye(t,(_n(),Od))),Wue(e,(Mt(s),s)),u=Ty(o),Wvt(e,t,u,r),r.bh(t,DF)}function Myn(e){var t,r,o;if(Ke(We(ye(e,(_n(),$L))))){for(o=new Pe,r=new Ft(Gt(gp(e).a.Jc(),new D));an(r);)t=l(Qt(r),74),I0(t)&&Ke(We(ye(t,cre)))&&Ot(o.c,t);return o}else return St(),St(),No}function Cmt(e){if(!e)return rQe(),M_t;var t=e.valueOf?e.valueOf():e;if(t!==e){var r=$Q[typeof t];return r?r(t):qge(typeof t)}else return e instanceof Array||e instanceof b.Array?new Bue(e):new KR(e)}function Imt(e,t,r){var o,s,u;switch(u=e.o,o=l(Go(e.p,r),256),s=o.i,s.b=yC(o),s.a=wC(o),s.b=b.Math.max(s.b,u.a),s.b>u.a&&!t&&(s.b=u.a),s.c=-(s.b-u.a)/2,r.g){case 1:s.d=-s.a;break;case 3:s.d=u.b}TJ(o),AJ(o)}function Rmt(e,t,r){var o,s,u;switch(u=e.o,o=l(Go(e.p,r),256),s=o.i,s.b=yC(o),s.a=wC(o),s.a=b.Math.max(s.a,u.b),s.a>u.b&&!t&&(s.a=u.b),s.d=-(s.a-u.b)/2,r.g){case 4:s.c=-s.b;break;case 2:s.c=u.a}TJ(o),AJ(o)}function Pyn(e,t){var r,o,s;return se(t.g,9)&&l(t.g,9).k==(Ht(),mi)?Kr:(s=LS(t),s?b.Math.max(0,e.b/2-.5):(r=lE(t),r?(o=ue(ce(gy(r,(Be(),wm)))),b.Math.max(0,o/2-.5)):Kr))}function jyn(e,t){var r,o,s;return se(t.g,9)&&l(t.g,9).k==(Ht(),mi)?Kr:(s=LS(t),s?b.Math.max(0,e.b/2-.5):(r=lE(t),r?(o=ue(ce(gy(r,(Be(),wm)))),b.Math.max(0,o/2-.5)):Kr))}function Fyn(e,t){var r,o,s,u,f;if(!t.dc()){if(s=l(t.Xb(0),134),t.gc()==1){mwt(e,s,s,1,0,t);return}for(r=1;r<t.gc();)(s.j||!s.o)&&(u=Vbn(t,r),u&&(o=l(u.a,15).a,f=l(u.b,134),mwt(e,s,f,r,o,t),r=o+1,s=f))}}function $yn(e){var t,r,o,s,u,f;for(f=new Tu(e.d),_i(f,new $Be),t=(F7(),Z(X(NSe,1),Ce,277,0,[See,_ee,Eee,Nee,Aee,Tee,xee,kee])),r=0,u=new V(f);u.a<u.c.c.length;)s=l(q(u),108),o=t[r%t.length],_vn(s,o),++r}function Xbe(e,t){var r,o,s,u,f,p,m,y,v,T;return v=null,T=e,f=lp(T,"x"),r=new yXe(t),Ldt(r.a,f),p=lp(T,"y"),o=new vXe(t),Mdt(o.a,p),m=lp(T,rQ),s=new EXe(t),Pdt(s.a,m),y=lp(T,nQ),u=new SXe(t),v=(jdt(u.a,y),y),v}function Ey(e,t){Ywt(e,t),e.b&1&&(e.a.a=null),e.b&2&&(e.a.f=null),e.b&4&&(e.a.g=null,e.a.i=null),e.b&16&&(e.a.d=null,e.a.e=null),e.b&8&&(e.a.b=null),e.b&32&&(e.a.j=null,e.a.c=null)}function Byn(e,t){var r,o,s;if(s=0,t.length>0)try{s=Ec(t,Zi,sr)}catch(u){throw u=ci(u),se(u,133)?(o=u,K(new rj(o))):K(u)}return r=(!e.a&&(e.a=new qG(e)),e.a),s<r.i&&s>=0?l(ie(r,s),57):null}function Uyn(e,t){if(e<0)return kC(jEt,Z(X(Ci,1),Rt,1,5,["index",Re(e)]));if(t<0)throw K(new jt(FEt+t));return kC("%s (%s) must be less than size (%s)",Z(X(Ci,1),Rt,1,5,["index",Re(e),Re(t)]))}function Hyn(e){var t,r,o,s,u;if(e==null)return tu;for(u=new zb(Ma,"[","]"),r=e,o=0,s=r.length;o<s;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),d3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function zyn(e){var t,r,o,s,u;if(e==null)return tu;for(u=new zb(Ma,"[","]"),r=e,o=0,s=r.length;o<s;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),d3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function Gyn(e){var t,r,o,s,u;if(e==null)return tu;for(u=new zb(Ma,"[","]"),r=e,o=0,s=r.length;o<s;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),d3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function qyn(e){var t,r,o,s,u;if(e==null)return tu;for(u=new zb(Ma,"[","]"),r=e,o=0,s=r.length;o<s;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),d3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function Omt(e,t){var r,o,s,u,f,p;for(r=e.b.c.length,s=He(e.b,t);t*2+1<r&&(o=(u=2*t+1,f=u+1,p=u,f<r&&e.a.Le(He(e.b,f),He(e.b,u))<0&&(p=f),p),!(e.a.Le(s,He(e.b,o))<0));)tc(e.b,t,He(e.b,o)),t=o;tc(e.b,t,s)}function tJ(e,t,r){var o,s;return o=r.d,s=r.e,e.g[o.d]<=e.i[t.d]&&e.i[t.d]<=e.i[o.d]&&e.g[s.d]<=e.i[t.d]&&e.i[t.d]<=e.i[s.d]?!(e.i[o.d]<e.i[s.d]):e.i[o.d]<e.i[s.d]}function Vyn(e,t){var r;if(r=l(j(t,(Be(),jI)),302),r!=e)throw K(new aS("The hierarchy aware processor "+r+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}function Wyn(e,t){var r,o,s,u,f;for(o=(!t.s&&(t.s=new xe(au,t,21,17)),t.s),u=null,s=0,f=o.i;s<f;++s)switch(r=l(ie(o,s),182),d0(es(e,r))){case 2:case 3:!u&&(u=new Pe),Ot(u.c,r)}return u||(St(),St(),No)}function Dmt(e,t,r){var o,s,u,f,p,m;for(m=Kr,u=new V(owt(e.b));u.a<u.c.c.length;)for(s=l(q(u),180),p=new V(owt(t.b));p.a<p.c.c.length;)f=l(q(p),180),o=Lhn(s.a,s.b,f.a,f.b,r),m=b.Math.min(m,o);return m}function Ni(e,t){if(!t)throw K(new tS);if(e.j=t,!e.d)switch(e.j.g){case 1:e.a.a=e.o.a/2,e.a.b=0;break;case 2:e.a.a=e.o.a,e.a.b=e.o.b/2;break;case 3:e.a.a=e.o.a/2,e.a.b=e.o.b;break;case 4:e.a.a=0,e.a.b=e.o.b/2}}function Kyn(e){var t,r,o,s,u,f,p;for(o=0,r=new V(e.b);r.a<r.c.c.length;)for(t=l(q(r),26),u=new V(t.a);u.a<u.c.c.length;)for(s=l(q(u),9),s.p=o++,p=new V(s.j);p.a<p.c.c.length;)f=l(q(p),12),f.p=o++}function Yyn(e,t){hc();var r,o,s,u,f,p;for(r=null,f=t.Jc();f.Ob();)u=l(f.Pb(),134),!u.o&&(o=etn(u.a),s=fon(u.a),p=new IC(o,s,null,l(u.d.a.ec().Jc().Pb(),17)),je(p.c,u.a),Ot(e.c,p),r&&je(r.d,p),r=p)}function Jyn(e){var t,r,o,s,u,f;for(f=nC(e.d,e.e),u=f.Jc();u.Ob();)for(s=l(u.Pb(),12),o=e.e==(Ue(),Wt)?s.e:s.g,r=new V(o);r.a<r.c.c.length;)t=l(q(r),17),!lo(t)&&t.c.i.c!=t.d.i.c&&(Ywn(e,t),++e.f,++e.c)}function Lmt(e,t){var r,o;if(t.dc())return St(),St(),No;for(o=new Pe,je(o,Re(Zi)),r=1;r<e.f;++r)e.a==null&&Kwt(e),e.a[r]&&je(o,Re(r));return o.c.length==1?(St(),St(),No):(je(o,Re(sr)),JAn(t,o))}function Xyn(e,t){var r,o,s,u,f,p,m;f=t.c.i.k!=(Ht(),Xr),m=f?t.d:t.c,r=umn(t,m).i,s=l(Ut(e.k,m),126),o=e.i[r.p].a,Dit(m.i)<(r.c?As(r.c.a,r,0):-1)?(u=s,p=o):(u=o,p=s),Ql($l(Ul(Hl(Bl(new gl,0),4),u),p))}function Mmt(e,t,r){var o,s,u,f,p,m;if(r)for(s=r.a.length,o=new Nb(s),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),m=NY(e,eT(sy(r,f.a))),m&&(u=(!t.b&&(t.b=new Et(pn,t,4,7)),t.b),Tn(u,m))}function Pmt(e,t,r){var o,s,u,f,p,m;if(r)for(s=r.a.length,o=new Nb(s),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),m=NY(e,eT(sy(r,f.a))),m&&(u=(!t.c&&(t.c=new Et(pn,t,5,8)),t.c),Tn(u,m))}function J6(e,t,r){var o,s;o=t.a&e.f,t.b=e.b[o],e.b[o]=t,s=t.f&e.f,t.d=e.c[s],e.c[s]=t,r?(t.e=r.e,t.e?t.e.c=t:e.a=t,t.c=r.c,t.c?t.c.e=t:e.e=t):(t.e=e.e,t.c=null,e.e?e.e.c=t:e.a=t,e.e=t),++e.i,++e.g}function jmt(e){var t,r,o;if(t=e.Pb(),!e.Ob())return t;for(o=ga(zn(new Zg,"expected one element but was: <"),t),r=0;r<4&&e.Ob();r++)ga((o.a+=Ma,o),e.Pb());throw e.Ob()&&(o.a+=", ..."),o.a+=">",K(new jt(o.a))}function Zyn(e){var t,r;return r=-e.a,t=Z(X(al,1),$f,30,15,[43,48,48,48,48]),r<0&&(t[0]=45,r=-r),t[1]=t[1]+((r/60|0)/10|0)&Ei,t[2]=t[2]+(r/60|0)%10&Ei,t[3]=t[3]+(r%60/10|0)&Ei,t[4]=t[4]+r%10&Ei,Lf(t,0,t.length)}function Zbe(e){var t,r,o,s;for(e.g=new sC(l(xn(Co),299)),o=0,r=(Ue(),Vt),t=0;t<e.j.c.length;t++)s=l(He(e.j,t),12),s.j!=r&&(o!=t&&NS(e.g,r,new ko(Re(o),Re(t))),r=s.j,o=t);NS(e.g,r,new ko(Re(o),Re(t)))}function Qbe(e,t){var r,o,s;if(s=IE((mu(),so),e.Ah(),t),s)Oo(),l(s,69).vk()||(s=DS(es(so,s))),o=(r=e.Fh(s),l(r>=0?e.Ih(r,!0,!0):R0(e,s,!0),164)),l(o,222).Xl(t);else throw K(new jt(R1+t.ve()+tI))}function eme(e){var t,r;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),r=po(b.Math.floor(b.Math.log(e)/.6931471805599453)),(!t||e!=b.Math.pow(2,r))&&++r,r):qpt(Gs(e))}function Qyn(e){var t,r,o,s,u,f,p;for(u=new uh,r=new V(e);r.a<r.c.c.length;)t=l(q(r),135),f=t.a,p=t.b,!(u.a._b(f)||u.a._b(p))&&(s=f,o=p,f.e.b+f.j.b>2&&p.e.b+p.j.b<=2&&(s=p,o=f),u.a.yc(s,u),s.q=o);return u}function evn(e,t,r){r.Tg("Eades radial",1),r.bh(t,DF),e.d=l(ye(t,(aE(),l2)),19),e.c=ue(ce(ye(t,(T1(),UB)))),e.e=wY(l(ye(t,CL),304)),e.a=Hgn(l(ye(t,gke),431)),e.b=n0n(l(ye(t,dke),355)),Bmn(e),r.bh(t,DF)}function tvn(e,t){if(t.Tg("Target Width Setter",1),Gc(e,(ef(),Cne)))Vn(e,(yh(),rv),ce(ye(e,Cne)));else throw K(new Af("A target width has to be set if the TargetWidthWidthApproximator should be used."));t.Ug()}function Fmt(e,t){var r,o,s;return o=new Xd(e),qs(o,t),Ae(o,(Ie(),nB),t),Ae(o,(Be(),Zr),(qi(),fa)),Ae(o,Wf,(mh(),QB)),Kh(o,(Ht(),mi)),r=new aa,Ts(r,o),Ni(r,(Ue(),Wt)),s=new aa,Ts(s,o),Ni(s,Zt),o}function $mt(e,t){var r,o,s,u,f;for(e.c[t.p]=!0,je(e.a,t),f=new V(t.j);f.a<f.c.c.length;)for(u=l(q(f),12),o=new Vd(u.b);Ss(o.a)||Ss(o.b);)r=l(Ss(o.a)?q(o.a):q(o.b),17),s=a1n(u,r).i,e.c[s.p]||$mt(e,s)}function Bmt(e){var t,r,o,s,u,f,p;for(f=0,r=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));r.e!=r.i.gc();)t=l(rn(r),19),p=t.g,s=t.f,o=b.Math.sqrt(p*p+s*s),f=b.Math.max(o,f),u=Bmt(t),f=b.Math.max(u,f);return f}function ku(){ku=Y,K1=new a3("OUTSIDE",0),Cp=new a3("INSIDE",1),VL=new a3("NEXT_TO_PORT_IF_POSSIBLE",2),A4=new a3("ALWAYS_SAME_SIDE",3),T4=new a3("ALWAYS_OTHER_SAME_SIDE",4),VT=new a3("SPACE_EFFICIENT",5)}function Umt(e,t,r){var o,s,u,f,p,m;return o=xcn(e,(s=(e1(),u=new PN,u),r&&D7(s,r),s),t),y_(o,ip(t,Gf)),y7(t,o),aEn(t,o),Xbe(t,o),f=t,p=b0(f,"ports"),m=new Wtt(e,o),ewt(m.a,m.b,p),LK(e,t,o),khn(e,t,o),o}function nvn(e){var t,r;return r=-e.a,t=Z(X(al,1),$f,30,15,[43,48,48,58,48,48]),r<0&&(t[0]=45,r=-r),t[1]=t[1]+((r/60|0)/10|0)&Ei,t[2]=t[2]+(r/60|0)%10&Ei,t[4]=t[4]+(r%60/10|0)&Ei,t[5]=t[5]+r%10&Ei,Lf(t,0,t.length)}function rvn(e){var t,r,o,s,u;if(e==null)return tu;for(u=new zb(Ma,"[","]"),r=e,o=0,s=r.length;o<s;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),d3(u.a,""+T3(t));return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function tme(e,t){var r,o,s;for(s=sr,o=new V(wE(t));o.a<o.c.c.length;)r=l(q(o),220),r.f&&!e.c[r.c]&&(e.c[r.c]=!0,s=b.Math.min(s,tme(e,Gj(r,t))));return e.i[t.d]=e.j,e.g[t.d]=b.Math.min(s,e.j++),e.g[t.d]}function Hmt(e,t){var r,o,s;for(s=l(l(wr(e.r,t),24),85).Jc();s.Ob();)o=l(s.Pb(),116),o.e.b=(r=o.b,r.nf((_n(),Hu))?r.$f()==(Ue(),Vt)?-r.Kf().b-ue(ce(r.mf(Hu))):ue(ce(r.mf(Hu))):r.$f()==(Ue(),Vt)?-r.Kf().b:0)}function nme(e){var t,r,o,s,u;t=e.a,r=e.b,s=e.c,o=new Le(r.e.a+r.f.a/2,r.e.b+r.f.b/2),u=new Le(s.e.a+s.f.a/2,s.e.b+s.f.b/2),Wr(t,o,t.a,t.a.a),Wr(t,u,t.c.b,t.c),Wbt(o,l(sa(t,1),8),e.b.f),Wbt(u,l(sa(t,t.b-2),8),e.c.f)}function zmt(e,t){var r,o,s,u;if(s=(!t.e&&(t.e=new Et(Cr,t,7,4)),t.e).i,s==0)return t.i;for(o=0,u=0,r=0;r<s;r++)u=zmt(e,l(ie(s_(l(ie((!t.e&&(t.e=new Et(Cr,t,7,4)),t.e),r),74)),0),19)),o=u<o?u:o;return o+t.i}function eT(e){var t,r;if(r=!1,se(e,213))return r=!0,l(e,213).a;if(!r&&se(e,266)&&(t=l(e,266).a%1==0,t))return r=!0,Re(Aen(l(e,266).a));throw K(new _f("Id must be a string or an integer: '"+e+"'."))}function ivn(e,t){var r,o,s,u,f,p;for(u=null,s=new ist((!e.a&&(e.a=new qG(e)),e.a));ame(s);)if(r=l(N7(s),57),o=(f=r.Ah(),p=(CE(f),f.o),!p||!r.Uh(p)?null:Xde(xK(p),r.Jh(p))),o!=null&&mt(o,t)){u=r;break}return u}function Gmt(e,t){var r;this.e=(xn(e),C1e(e)),this.c=(xn(t),C1e(t)),lde(this.e.Pd().dc()==this.c.Pd().dc()),this.d=agt(this.e),this.b=agt(this.c),r=Kw(Ci,[Me,Rt],[5,1],5,[this.e.Pd().gc(),this.c.Pd().gc()],2),this.a=r,_fn(this)}function qmt(e,t,r){var o,s,u,f,p;if(wc(r,"occurrences"),r==0)return p=l(hy(RS(e.a),t),18),p?p.gc():0;if(f=l(hy(RS(e.a),t),18),!f)return 0;if(u=f.gc(),r>=u)f.$b();else for(s=f.Jc(),o=0;o<r;o++)s.Pb(),s.Qb();return u}function ovn(e,t,r){var o,s,u,f;return wc(r,"oldCount"),wc(0,"newCount"),o=l(hy(RS(e.a),t),18),(o?o.gc():0)==r?(wc(0,"count"),s=(u=l(hy(RS(e.a),t),18),u?u.gc():0),f=-s,f>0?$ce():f<0&&qmt(e,t,-f),!0):!1}function svn(e){var t;return t=Z(X(al,1),$f,30,15,[71,77,84,45,48,48,58,48,48]),e<=0&&(t[3]=43,e=-e),t[4]=t[4]+((e/60|0)/10|0)&Ei,t[5]=t[5]+(e/60|0)%10&Ei,t[7]=t[7]+(e%60/10|0)&Ei,t[8]=t[8]+e%10&Ei,Lf(t,0,t.length)}function wC(e){var t,r,o,s,u,f,p;if(p=0,e.b==0){for(f=y1t(e,!0),t=0,o=f,s=0,u=o.length;s<u;++s)r=o[s],r>0&&(p+=r,++t);t>1&&(p+=e.c*(t-1))}else p=lQe(SK(Qw(lr(ZV(e.a),new xN),new Wp)));return p>0?p+e.n.d+e.n.a:0}function yC(e){var t,r,o,s,u,f,p;if(p=0,e.b==0)p=lQe(SK(Qw(lr(ZV(e.a),new Xg),new kN)));else{for(f=v1t(e,!0),t=0,o=f,s=0,u=o.length;s<u;++s)r=o[s],r>0&&(p+=r,++t);t>1&&(p+=e.c*(t-1))}return p>0?p+e.n.b+e.n.c:0}function avn(e){var t,r;if(e.c.length!=2)throw K(new Xo("Order only allowed for two paths."));t=(at(0,e.c.length),l(e.c[0],17)),r=(at(1,e.c.length),l(e.c[1],17)),t.d.i!=r.c.i&&(e.c.length=0,Ot(e.c,r),Ot(e.c,t))}function Vmt(e,t,r){var o;for(r0(r,t.g,t.f),Bc(r,t.i,t.j),o=0;o<(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i;o++)Vmt(e,l(ie((!t.a&&(t.a=new xe(En,t,10,11)),t.a),o),19),l(ie((!r.a&&(r.a=new xe(En,r,10,11)),r.a),o),19))}function uvn(e,t){var r,o,s,u;for(u=l(Go(e.b,t),129),r=u.a,s=l(l(wr(e.r,t),24),85).Jc();s.Ob();)o=l(s.Pb(),116),o.c&&(r.a=b.Math.max(r.a,_fe(o.c)));if(r.a>0)switch(t.g){case 2:u.n.c=e.s;break;case 4:u.n.b=e.s}}function cvn(e,t){var r,o,s;return r=l(j(t,(ed(),ST)),15).a-l(j(e,ST),15).a,r==0?(o=Ri(So(l(j(e,(h1(),QD)),8)),l(j(e,yI),8)),s=Ri(So(l(j(t,QD),8)),l(j(t,yI),8)),yr(o.a*o.b,s.a*s.b)):r}function lvn(e,t){var r,o,s;return r=l(j(t,(Ps(),PB)),15).a-l(j(e,PB),15).a,r==0?(o=Ri(So(l(j(e,(xr(),kL)),8)),l(j(e,ux),8)),s=Ri(So(l(j(t,kL),8)),l(j(t,ux),8)),yr(o.a*o.b,s.a*s.b)):r}function Wmt(e){var t,r;return r=new Zg,r.a+="e_",t=vhn(e),t!=null&&(r.a+=""+t),e.c&&e.d&&(zn((r.a+=" ",r),f7(e.c)),zn(ga((r.a+="[",r),e.c.i),"]"),zn((r.a+=DX,r),f7(e.d)),zn(ga((r.a+="[",r),e.d.i),"]")),r.a}function Kmt(e){switch(e.g){case 0:return new CWe;case 1:return new IWe;case 2:return new UWe;case 3:return new HWe;default:throw K(new jt("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function rme(e,t,r,o,s){var u;switch(u=0,s.g){case 1:u=b.Math.max(0,t.b+e.b-(r.b+o));break;case 3:u=b.Math.max(0,-e.b-o);break;case 2:u=b.Math.max(0,-e.a-o);break;case 4:u=b.Math.max(0,t.a+e.a-(r.a+o))}return u}function Ymt(e,t,r){var o,s,u,f,p;if(r)for(s=r.a.length,o=new Nb(s),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),u=d_(r,f.a),nEe in u.a||aQ in u.a?mTn(e,u,t):UNn(e,u,t),Ttn(l(Ut(e.c,$_(u)),74))}function ime(e){var t,r;switch(e.b){case-1:return!0;case 0:return r=e.t,r>1||r==-1?(e.b=-1,!0):(t=Sl(e),t&&(Oo(),t.jk()==PAt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function ome(e,t){var r,o,s,u;if(dr(e),e.c!=0||e.a!=123)throw K(new Dn(Pn((Cn(),iAt))));if(u=t==112,o=e.d,r=WA(e.i,125,o),r<0)throw K(new Dn(Pn((Cn(),oAt))));return s=yl(e.i,o,r),e.d=r+1,Jlt(s,u,(e.e&512)==512)}function dvn(e){var t,r,o,s,u,f,p;for(p=ch(e.c.length),s=new V(e);s.a<s.c.c.length;){for(o=l(q(s),9),f=new hi,u=Rr(o),r=new Ft(Gt(u.a.Jc(),new D));an(r);)t=l(Qt(r),17),t.c.i==t.d.i||pi(f,t.d.i);Ot(p.c,f)}return p}function fvn(e,t){var r,o,s;if(!t)pK(e,null),w_(e,null);else if(t.i&4)for(o="[]",r=t.c;;r=r.c){if(!(r.i&4)){s=Fce((ep(r),r.o+o)),pK(e,s),w_(e,s);break}o+="[]"}else s=Fce((ep(t),t.o)),pK(e,s),w_(e,s);e.fl(t)}function vC(e,t,r,o,s){var u,f,p,m;return m=yV(e,l(s,57)),be(m)!==be(s)?(p=l(e.g[r],76),u=gh(t,m),g3(e,r,UY(e,r,u)),Yu(e.e)&&(f=c1(e,9,u.Jk(),s,m,o,!1),bbe(f,new ap(e.e,9,e.c,p,u,o,!1)),QW(f)),m):s}function Jmt(e,t){var r,o,s;try{return s=Yun(e.a,t),s}catch(u){if(u=ci(u),se(u,33)){try{if(o=Ec(t,Zi,sr),r=md(e.a),o>=0&&o<r.length)return r[o]}catch(f){if(f=ci(f),!se(f,133))throw K(f)}return null}else throw K(u)}}function nJ(e,t){var r,o,s;if(s=IE((mu(),so),e.Ah(),t),s)return Oo(),l(s,69).vk()||(s=DS(es(so,s))),o=(r=e.Fh(s),l(r>=0?e.Ih(r,!0,!0):R0(e,s,!0),164)),l(o,222).Ul(t);throw K(new jt(R1+t.ve()+ZZ))}function hvn(){ule();var e;return eLt?l(K_((n1(),Ll),_l),2017):(Qn(cm,new qqe),cxn(),e=l(se(ma((n1(),Ll),_l),552)?ma(Ll,_l):new Bst,552),eLt=!0,u3n(e),p3n(e),Yn((ale(),m3e),e,new aqe),Qo(Ll,_l,e),e)}function pvn(e,t){var r,o,s,u;e.j=-1,Yu(e.e)?(r=e.i,u=e.i!=0,t6(e,t),o=new ap(e.e,3,e.c,null,t,r,u),s=t.xl(e.e,e.c,null),s=Sbt(e,t,s),s?(s.lj(o),s.mj()):hr(e.e,o)):(t6(e,t),s=t.xl(e.e,e.c,null),s&&s.mj())}function _7(e,t){var r,o,s;if(s=0,o=t[0],o>=e.length)return-1;for(r=(Yt(o,e.length),e.charCodeAt(o));r>=48&&r<=57&&(s=s*10+(r-48),++o,!(o>=e.length));)r=(Yt(o,e.length),e.charCodeAt(o));return o>t[0]?t[0]=o:s=-1,s}function gvn(e,t,r){var o,s,u,f,p;f=e.c,p=e.d,u=_s(Z(X($i,1),Me,8,0,[f.i.n,f.n,f.a])).b,s=(u+_s(Z(X($i,1),Me,8,0,[p.i.n,p.n,p.a])).b)/2,o=null,f.j==(Ue(),Zt)?o=new Le(t+f.i.c.c.a+r,s):o=new Le(t-r,s),VA(e.a,0,o)}function I0(e){var t,r,o,s;for(t=null,o=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.b&&(e.b=new Et(pn,e,4,7)),e.b),(!e.c&&(e.c=new Et(pn,e,5,8)),e.c)])));an(o);)if(r=l(Qt(o),83),s=Vo(r),!t)t=s;else if(t!=s)return!1;return!0}function rJ(e,t,r){var o;if(++e.j,t>=e.i)throw K(new Na(cQ+t+sm+e.i));if(r>=e.i)throw K(new Na(lQ+r+sm+e.i));return o=e.g[r],t!=r&&(t<r?ua(e.g,t,e.g,t+1,r-t):ua(e.g,r+1,e.g,r,t-r),ii(e.g,t,o),e.Ni(t,o,r),e.Li()),o}function wt(e,t,r){var o;if(o=l(e.c.xc(t),18),o)return o.Ec(r)?(++e.d,!0):!1;if(o=e.ic(t),o.Ec(r))return++e.d,e.c.yc(t,o),!0;throw K(new Qhe("New Collection violated the Collection spec"))}function X6(e){var t,r,o;return e<0?0:e==0?32:(o=-(e>>16),t=o>>16&16,r=16-t,e=e>>t,o=e-256,t=o>>16&8,r+=t,e<<=t,o=e-Iy,t=o>>16&4,r+=t,e<<=t,o=e-Ff,t=o>>16&2,r+=t,e<<=t,o=e>>14,t=o&~(o>>1),r+2-t)}function bvn(e,t){var r,o,s;for(s=new Pe,o=An(t.a,0);o.b!=o.d.c;)r=l(Sn(o),65),r.c.g==e.g&&be(j(r.b,(Ps(),Yf)))!==be(j(r.c,Yf))&&!fE(new yt(null,new vt(s,16)),new DJe(r))&&Ot(s.c,r);return _i(s,new aHe),s}function Xmt(e,t,r){var o,s,u,f;return se(t,156)&&se(r,156)?(u=l(t,156),f=l(r,156),e.a[u.a][f.a]+e.a[f.a][u.a]):se(t,254)&&se(r,254)&&(o=l(t,254),s=l(r,254),o.a==s.a)?l(j(s.a,(ed(),ST)),15).a:0}function Zmt(e,t){var r,o,s,u,f,p,m,y;for(y=ue(ce(j(t,(Be(),UI)))),m=e[0].n.a+e[0].o.a+e[0].d.c+y,p=1;p<e.length;p++)o=e[p].n,s=e[p].o,r=e[p].d,u=o.a-r.b-m,u<0&&(o.a-=u),f=t.f,f.a=b.Math.max(f.a,o.a+s.a),m=o.a+s.a+r.c+y}function mvn(e,t){var r,o,s,u,f,p;return o=l(l(Ut(e.g,t.a),49).a,68),s=l(l(Ut(e.g,t.b),49).a,68),u=o.b,f=s.b,r=V_n(u,f),r>=0?r:(p=C3(Ri(new Le(f.c+f.b/2,f.d+f.a/2),new Le(u.c+u.b/2,u.d+u.a/2))),-(Ryt(u,f)-1)*p)}function wvn(e,t,r){var o;ei(new yt(null,(!r.a&&(r.a=new xe(jr,r,6,6)),new vt(r.a,16))),new Ott(e,t)),ei(new yt(null,(!r.n&&(r.n=new xe(Is,r,1,7)),new vt(r.n,16))),new Dtt(e,t)),o=l(ye(r,(_n(),p2)),79),o&&uge(o,e,t)}function R0(e,t,r){var o,s,u;if(u=IE((mu(),so),e.Ah(),t),u)return Oo(),l(u,69).vk()||(u=DS(es(so,u))),s=(o=e.Fh(u),l(o>=0?e.Ih(o,!0,!0):R0(e,u,!0),164)),l(s,222).Ql(t,r);throw K(new jt(R1+t.ve()+ZZ))}function sme(e,t,r,o){var s,u,f,p,m;if(s=e.d[t],s){if(u=s.g,m=s.i,o!=null){for(p=0;p<m;++p)if(f=l(u[p],138),f.yi()==r&&pr(o,f.jd()))return f}else for(p=0;p<m;++p)if(f=l(u[p],138),be(f.jd())===be(o))return f}return null}function yvn(e,t){var r,o,s,u,f;for(o=(!t.s&&(t.s=new xe(au,t,21,17)),t.s),u=null,s=0,f=o.i;s<f;++s)switch(r=l(ie(o,s),182),d0(es(e,r))){case 4:case 5:case 6:{!u&&(u=new Pe),Ot(u.c,r);break}}return u||(St(),St(),No)}function Z6(e,t){var r;if(t<0)throw K(new M9("Negative exponent"));if(t==0)return c$;if(t==1||p1e(e,c$)||p1e(e,gI))return e;if(!_0t(e,0)){for(r=1;!_0t(e,r);)++r;return dE($gn(r*t),Z6(tpe(e,r),t))}return V0n(e,t)}function vvn(e,t){var r,o,s;if(be(e)===be(t))return!0;if(e==null||t==null||e.length!=t.length)return!1;for(r=0;r<e.length;++r)if(o=e[r],s=t[r],!(be(o)===be(s)||o!=null&&pr(o,s)))return!1;return!0}function Qmt(e){ile();var t,r,o;for(this.b=Cxt,this.c=(vi(),hf),this.f=(Ret(),Nxt),this.a=e,Gce(this,new sG),L7(this),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),84),r.d||(t=new lY(Z(X(aee,1),Rt,84,0,[r])),je(e.a,t))}function e0t(e){whe();var t,r;for(this.b=akt,this.c=ckt,this.g=(Oet(),skt),this.d=(vi(),hf),this.a=e,Dme(this),r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),60),!t.a&&Srt(Nft(new Ece,Z(X(h$,1),Rt,60,0,[t])),e),t.e=new NP(t.d)}function Evn(e,t,r){var o,s,u,f,p,m;if(!e||e.c.length==0)return null;for(u=new Rat(t,!r),s=new V(e);s.a<s.c.c.length;)o=l(q(s),70),Fbe(u,(qN(),new T9(o)));return f=u.i,f.a=(m=u.n,u.e.b+m.d+m.a),f.b=(p=u.n,u.e.a+p.b+p.c),u}function t0t(e){var t,r,o,s,u,f,p;for(p=XO(e.a),Kle(p,new pFe),r=null,s=p,u=0,f=s.length;u<f&&(o=s[u],o.k==(Ht(),mi));++u)t=l(j(o,(Ie(),Us)),64),!(t!=(Ue(),Wt)&&t!=Zt)&&(r&&l(j(r,CT),16).Ec(o),r=o)}function Svn(e,t,r){var o,s,u,f,p,m,y;m=(at(t,e.c.length),l(e.c[t],341)),og(e,t),m.b/2>=r&&(o=t,y=(m.c+m.a)/2,f=y-r,m.c<=y-r&&(s=new RV(m.c,f),kb(e,o++,s)),p=y+r,p<=m.a&&(u=new RV(p,m.a),ny(o,e.c.length),ZN(e.c,o,u)))}function n0t(e,t,r){var o,s,u,f,p,m;if(!t.dc()){for(s=new Sr,m=t.Jc();m.Ob();)for(p=l(m.Pb(),41),Yn(e.a,Re(p.g),Re(r)),f=(o=An(new Xh(p).a.d,0),new qv(o));rO(f.a);)u=l(Sn(f.a),65).c,Wr(s,u,s.c.b,s.c);n0t(e,s,r+1)}}function ame(e){var t;if(!e.c&&e.g==null)e.d=e._i(e.f),Tn(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=l(e.g[e.i-1],51)}return t==e.b&&null.Tm>=null.Sm()?(N7(e),ame(e)):t.Ob()}function r0t(e){if(this.a=e,e.c.i.k==(Ht(),mi))this.c=e.c,this.d=l(j(e.c.i,(Ie(),Us)),64);else if(e.d.i.k==mi)this.c=e.d,this.d=l(j(e.d.i,(Ie(),Us)),64);else throw K(new jt("Edge "+e+" is not an external edge."))}function i0t(e,t){var r,o,s;s=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,s,e.b)),t?t!=e&&(Da(e,t.zb),dK(e,t.d),r=(o=t.c,o??t.zb),hK(e,r==null||mt(r,t.zb)?null:r)):(Da(e,null),dK(e,0),hK(e,null))}function o0t(e){!jQ&&(jQ=bNn());var t=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(r){return Qan(r)});return'"'+t+'"'}function ume(e,t,r,o,s,u){var f,p,m,y,v;if(s!=0)for(be(e)===be(r)&&(e=e.slice(t,t+s),t=0),m=r,p=t,y=t+s;p<y;)f=b.Math.min(p+1e4,y),s=f-p,v=e.slice(p,f),v.splice(0,0,o,u?s:0),Array.prototype.splice.apply(m,v),p=f,o+=s}function Tvn(e){var t,r,o,s,u,f;for(s=e.e.c.length,o=me(_c,Ry,16,s,0,1),f=new V(e.e);f.a<f.c.c.length;)u=l(q(f),156),o[u.a]=new Sr;for(r=new V(e.c);r.a<r.c.c.length;)t=l(q(r),292),o[t.c.a].Ec(t),o[t.d.a].Ec(t);return o}function Avn(e,t){var r,o,s,u,f;if(r=l(qt(e.a,4),131),f=r==null?0:r.length,t>=f)throw K(new Vw(t,f));return s=r[t],f==1?o=null:(o=me(Ore,gQ,420,f-1,0,1),ua(r,0,o,0,t),u=f-t-1,u>0&&ua(r,t+1,o,t,u)),U_(e,o),_mt(e,t,s),s}function s0t(e){var t,r;if(e.f){for(;e.n<e.o;){if(t=l(e.j?e.j.Yi(e.n):e.k.Xb(e.n),76),r=t.Jk(),se(r,104)&&l(r,20).Bb&Ws&&(!e.e||r.nk()!=Tx||r.Jj()!=0)&&t.kd()!=null)return!0;++e.n}return!1}else return e.n<e.o}function tT(){tT=Y,YT=l(ie(Ne((Yce(),Ks).qb),6),38),KT=l(ie(Ne(Ks.qb),3),38),Fre=l(ie(Ne(Ks.qb),4),38),$re=l(ie(Ne(Ks.qb),5),20),g7(YT),g7(KT),g7(Fre),g7($re),iLt=new Ds(Z(X(au,1),UE,182,0,[YT,KT]))}function a0t(e,t){var r;this.d=new MN,this.b=t,this.e=new Eo(t.Jf()),r=e.u.Gc((ku(),VL)),e.u.Gc(Cp)?e.F?this.a=r&&!t._f():this.a=!0:e.u.Gc(K1)?r?this.a=!(t.Sf().Jc().Ob()||t.Uf().Jc().Ob()):this.a=!1:this.a=!1}function u0t(e,t){var r,o,s,u;for(r=e.o.a,u=l(l(wr(e.r,t),24),85).Jc();u.Ob();)s=l(u.Pb(),116),s.e.a=(o=s.b,o.nf((_n(),Hu))?o.$f()==(Ue(),Wt)?-o.Kf().a-ue(ce(o.mf(Hu))):r+ue(ce(o.mf(Hu))):o.$f()==(Ue(),Wt)?-o.Kf().a:r)}function c0t(e){var t,r,o,s,u,f,p;if(o=e.a.c.length,o>0)for(f=e.c.d,p=e.d.d,s=Qh(Ri(new Le(p.a,p.b),f),1/(o+1)),u=new Le(f.a,f.b),r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),254),t.d.a=u.a+s.a,t.d.b=u.b+s.b,u.a+=s.a,u.b+=s.b}function l0t(e,t){var r,o,s,u;r=l(j(e,(Be(),kc)),87),u=l(ye(t,nx),64),s=l(j(e,Zr),103),s!=(qi(),pf)&&s!=W1?u==(Ue(),Cs)&&(u=p0e(t,r),u==Cs&&(u=qS(r))):(o=mvt(t),o>0?u=qS(r):u=L6(qS(r))),Vn(t,nx,u)}function d0t(e,t){var r,o;if(e.c.length!=0){if(e.c.length==2)oT((at(0,e.c.length),l(e.c[0],9)),(vc(),Ih)),oT((at(1,e.c.length),l(e.c[1],9)),q1);else for(o=new V(e);o.a<o.c.c.length;)r=l(q(o),9),oT(r,t);e.c.length=0}}function _vn(e,t){var r,o,s,u,f;for(f=e.j,t.a!=t.b&&_i(f,new BBe),s=f.c.length/2|0,o=0;o<s;o++)u=(at(o,f.c.length),l(f.c[o],114)),u.c&&Ni(u.d,t.a);for(r=s;r<f.c.length;r++)u=(at(r,f.c.length),l(f.c[r],114)),u.c&&Ni(u.d,t.b)}function nT(e,t,r,o){var s;switch(s=0,l(j(t,(Be(),Ns)),166).g){case 2:s=2*-r+e.a,++e.a;break;case 1:s=-r;break;case 3:s=r;break;case 4:s=2*r+e.b,++e.b}return gr(t,(Ie(),Nr))&&(s+=l(j(t,qy),15).a*o+l(j(t,Nr),15).a),s}function kvn(e,t,r){var o,s,u;return o=e.c[t.c.p][t.p],s=e.c[r.c.p][r.p],o.a!=null&&s.a!=null?(u=WV(o.a,s.a),u<0?iD(e,t,r):u>0&&iD(e,r,t),u):o.a!=null?(iD(e,t,r),-1):s.a!=null?(iD(e,r,t),1):0}function f0t(e){_W();var t,r,o,s,u,f,p;for(r=new d1,s=new V(e.e.b);s.a<s.c.c.length;)for(o=l(q(s),26),f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),p=e.g[u.p],t=l(Wd(r,p),16),t||(t=new Pe,Kb(r,p,t)),t.Ec(u);return r}function xvn(e,t){var r,o,s,u,f;for(s=t.b.b,e.a=me(_c,Ry,16,s,0,1),e.b=me(uu,Ad,30,s,16,1),f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),e.a[u.g]=new Sr;for(o=An(t.a,0);o.b!=o.d.c;)r=l(Sn(o),65),e.a[r.b.g].Ec(r),e.a[r.c.g].Ec(r)}function h0t(e,t){var r,o,s,u;e.Nj()?(r=e.Cj(),u=e.Oj(),++e.j,e.oj(r,e.Xi(r,t)),o=e.Gj(3,null,t,r,u),e.Kj()?(s=e.Lj(t,null),s?(s.lj(o),s.mj()):e.Hj(o)):e.Hj(o)):(Ist(e,t),e.Kj()&&(s=e.Lj(t,null),s&&s.mj()))}function cme(e,t,r){var o,s,u;e.Nj()?(u=e.Oj(),R6(e,t,r),o=e.Gj(3,null,r,t,u),e.Kj()?(s=e.Lj(r,null),e.Rj()&&(s=e.Sj(r,s)),s?(s.lj(o),s.mj()):e.Hj(o)):e.Hj(o)):(R6(e,t,r),e.Kj()&&(s=e.Lj(r,null),s&&s.mj()))}function k7(e,t){var r,o,s,u,f;for(f=za(e.e.Ah(),t),s=new g9,r=l(e.g,123),u=e.i;--u>=0;)o=r[u],f.$l(o.Jk())&&Tn(s,o);!bEt(e,s)&&Yu(e.e)&&DA(e,t.Hk()?c1(e,6,t,(St(),No),null,-1,!1):c1(e,t.rk()?2:1,t,null,null,-1,!1))}function Nvn(e,t){var r,o,s,u,f;return e.a==(V_(),_I)?!0:(u=t.a.c,r=t.a.c+t.a.b,!(t.j&&(o=t.A,f=o.c.c.a-o.o.a/2,s=u-(o.n.a+o.o.a),s>f)||t.q&&(o=t.C,f=o.c.c.a-o.o.a/2,s=o.n.a-r,s>f)))}function p0t(e,t,r){var o,s,u,f,p,m;for(o=0,m=r,t||(o=r*(e.c.length-1),m*=-1),u=new V(e);u.a<u.c.c.length;){for(s=l(q(u),9),Ae(s,(Be(),Wf),(mh(),QB)),s.o.a=o,p=gg(s,(Ue(),Zt)).Jc();p.Ob();)f=l(p.Pb(),12),f.n.a=o;o+=m}}function g0t(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (startX: ",Vv(t,e.j),t.a+=", startY: ",Vv(t,e.k),t.a+=", endX: ",Vv(t,e.b),t.a+=", endY: ",Vv(t,e.c),t.a+=", identifier: ",zo(t,e.d),t.a+=")",t.a)}function lme(e){var t;return e.Db&64?tC(e):(t=new ml(tC(e)),t.a+=" (ordered: ",Xp(t,(e.Bb&256)!=0),t.a+=", unique: ",Xp(t,(e.Bb&512)!=0),t.a+=", lowerBound: ",pq(t,e.s),t.a+=", upperBound: ",pq(t,e.t),t.a+=")",t.a)}function b0t(e,t,r,o,s,u,f,p){var m;return se(e.Cb,89)&&Ey(Mu(l(e.Cb,89)),4),Da(e,r),e.f=o,L_(e,s),P_(e,u),D_(e,f),M_(e,!1),hg(e,!0),j_(e,p),fg(e,!0),ug(e,0),e.b=0,uy(e,1),m=Zd(e,t,null),m&&m.mj(),XK(e,!1),e}function m0t(e,t){var r,o,s,u;return r=l(ma(e.a,t),515),r||(o=new BW(t),s=(WP(),sf?null:o.c),u=yl(s,0,b.Math.max(0,M8(s,Qa(46)))),Fnn(o,m0t(e,u)),(sf?null:o.c).length==0&&Yrt(o,new Dr),Qo(e.a,sf?null:o.c,o),o)}function Cvn(e,t){var r,o;return gr(e,(Ie(),r2))?gr(t,r2)?(r=ce(j(e,r2)),o=ce(j(t,r2)),r!=null&&o!=null?yr((Mt(r),r),(Mt(o),o)):r!=null?-1:o!=null?1:0):-1:1}function w0t(){this.a=new PGe,this.n=new u7,this.p=new u7,this.c=new hn,this.f=new u7,this.o=new u7,this.q=new hn,this.d=new hn,this.g=new hn,this.k=new hn,this.e=new hn,this.i=new hn,this.j=new hn,this.r=new hn,this.b=new hn}function rT(e,t,r){var o,s,u,f,p,m;return p=e.nl(r),p!=r?(f=e.g[t],m=p,g3(e,t,e.Xi(t,m)),u=f,e.Pi(t,m,u),e.$k()&&(o=r,s=e.Mj(o,null),!l(p,52).Mh()&&(s=e.Lj(m,s)),s&&s.mj()),Yu(e.e)&&DA(e,e.Gj(9,r,p,t,!1)),p):r}function Ivn(e,t){var r,o,s,u;for(o=new V(e.a.a);o.a<o.c.c.length;)r=l(q(o),197),r.g=!0;for(u=new V(e.a.b);u.a<u.c.c.length;)s=l(q(u),84),s.k=Ke(We(e.e.Kb(new ko(s,t)))),s.d.g=s.d.g&Ke(We(e.e.Kb(new ko(s,t))));return e}function y0t(e,t,r){var o,s,u,f,p;if(!e.d[r.p]){for(s=new Ft(Gt(Rr(r).a.Jc(),new D));an(s);){for(o=l(Qt(s),17),p=o.d.i,f=new Ft(Gt(si(p).a.Jc(),new D));an(f);)u=l(Qt(f),17),u.c.i==t&&(e.a[u.p]=!0);y0t(e,t,p)}e.d[r.p]=!0}}function Rvn(e,t){var r,o,s,u,f,p,m;if(o=Xpt(e.Db&254),o==1)e.Eb=null;else if(u=BS(e.Eb),o==2)s=IY(e,t),e.Eb=u[s==0?1:0];else{for(f=me(Ci,Rt,1,o-1,5,1),r=2,p=0,m=0;r<=128;r<<=1)r==t?++p:e.Db&r&&(f[m++]=u[p++]);e.Eb=f}e.Db&=~t}function dme(e){var t;switch(t=0,e){case 105:t=2;break;case 109:t=8;break;case 115:t=4;break;case 120:t=16;break;case 117:t=32;break;case 119:t=64;break;case 70:t=256;break;case 72:t=128;break;case 88:t=512;break;case 44:t=Tl}return t}function Ovn(e,t,r,o,s){var u,f,p,m;if(be(e)===be(t)&&o==s){Tyt(e,o,r);return}for(p=0;p<o;p++){for(f=0,u=e[p],m=0;m<s;m++)f=To(To(mo(Gi(u,Po),Gi(t[m],Po)),Gi(r[p+m],Po)),Gi(On(f),Po)),r[p+m]=On(f),f=Cb(f,32);r[p+s]=On(f)}}function v0t(e){var t,r,o,s,u;if(r=(t=l(md(Co),10),new Hc(t,l(Gl(t,t.length),10),0)),u=l(j(e,(Ie(),Nu)),9),u)for(s=new V(u.j);s.a<s.c.c.length;)o=l(q(s),12),be(j(o,mr))===be(e)&&m3(new Vd(o.b))&&Jl(r,o.j);return r}function Dvn(e,t){var r,o,s;for(o=new V(e.i.d);o.a<o.c.c.length;)r=l(q(o),70),Ae(r,(Be(),i2),null);switch(t.g){case 2:case 4:s=e.a,e.c.d.n.b<s.d.n.b&&(s=e.c),rg(e,t,(Xl(),yee),s);break;case 1:case 3:rg(e,t,(Xl(),Uy),null)}}function E0t(e,t){t.b!=0&&(isNaN(e.s)?e.s=ue((un(t.b!=0),ce(t.a.a.c))):e.s=b.Math.min(e.s,ue((un(t.b!=0),ce(t.a.a.c)))),isNaN(e.c)?e.c=ue((un(t.b!=0),ce(t.c.b.c))):e.c=b.Math.max(e.c,ue((un(t.b!=0),ce(t.c.b.c)))))}function EC(e){var t,r,o,s;for(t=null,o=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.b&&(e.b=new Et(pn,e,4,7)),e.b),(!e.c&&(e.c=new Et(pn,e,5,8)),e.c)])));an(o);)if(r=l(Qt(o),83),s=Vo(r),!t)t=Br(s);else if(t!=Br(s))return!0;return!1}function iJ(e,t){var r,o,s,u;e.Nj()?(r=e.i,u=e.Oj(),t6(e,t),o=e.Gj(3,null,t,r,u),e.Kj()?(s=e.Lj(t,null),e.Rj()&&(s=e.Sj(t,s)),s?(s.lj(o),s.mj()):e.Hj(o)):e.Hj(o)):(t6(e,t),e.Kj()&&(s=e.Lj(t,null),s&&s.mj()))}function Lvn(e,t){var r,o,s,u;if(u=zO(e.a,t.b),!u)throw K(new Xo("Invalid hitboxes for scanline overlap calculation."));for(s=!1,o=e.a.a.ec().Jc();o.Ob();)if(r=l(o.Pb(),68),Uhn(t.b,r))DQt(e.b.a,t.b,r),s=!0;else if(s)break}function Mvn(e){var t;if(!e.a)throw K(new Xo("IDataType class expected for layout option "+e.f));if(t=nln(e.a),t==null)throw K(new Xo("Couldn't create new instance of property '"+e.f+"'. "+XSt+(ep(sM),sM.k)+zve));return l(t,419)}function oJ(e){var t,r,o,s,u;return u=e.Mh(),u&&u.Sh()&&(s=w1(e,u),s!=u)?(r=e.Ch(),o=(t=e.Ch(),t>=0?e.xh(null):e.Mh().Qh(e,-1-t,null,null)),e.yh(l(s,52),r),o&&o.mj(),e.sh()&&e.th()&&r>-1&&hr(e,new Pi(e,9,r,u,s)),s):u}function fme(e,t){var r,o,s,u,f;for(u=e.b.Ae(t),o=(r=e.a.get(u),r??me(Ci,Rt,1,0,5,1)),f=0;f<o.length;f++)if(s=o[f],e.b.ze(t,s.jd()))return o.length==1?(o.length=0,Snn(e.a,u)):o.splice(f,1),--e.c,++e.b.g,s.kd();return null}function S0t(e){var t,r,o,s,u,f,p,m;for(f=0,u=e.f.e,o=0;o<u.c.length;++o)for(p=(at(o,u.c.length),l(u.c[o],156)),s=o+1;s<u.c.length;++s)m=(at(s,u.c.length),l(u.c[s],156)),r=f1(p.d,m.d),t=r-e.a[p.a][m.a],f+=e.i[p.a][m.a]*t*t;return f}function Pvn(e,t){var r;if(!gr(t,(Be(),Ns))&&(r=wmn(l(j(t,ASe),368),l(j(e,Ns),166)),Ae(t,ASe,r),!an(new Ft(Gt(Df(t).a.Jc(),new D)))))switch(r.g){case 1:Ae(t,Ns,(rc(),RI));break;case 2:Ae(t,Ns,(rc(),OI))}}function jvn(e,t){var r;XSn(e),e.a=(r=new cq,ei(new yt(null,new vt(t.d,16)),new KYe(r)),r),dTn(e,l(j(t.b,(Be(),pte)),349)),abn(e),qvn(e),Smn(e),ubn(e),ckn(e,t),ei(gs(new yt(null,Fut(Esn(e.b).a)),new ABe),new _Be),t.a=!1,e.a=null}function hme(){hme=Y,H4t=new ht(Yye,(Lt(),!1)),z4t=new ht(Jye,7),Re(0),W4t=new ht(Xye,Re(0)),q4t=new ht(Zye,Re(-1)),F_e=(Z3(),sne),K4t=new ht(Qye,F_e),P_e=(X3(),_L),G4t=new ht(eve,P_e),j_e=(PP(),ane),V4t=new ht(tve,j_e)}function T0t(){Ibe.call(this,Dk,(e1(),EDt)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function iT(){iT=Y,Ire=new pS(iSt,0),mU=new pS("INSIDE_SELF_LOOPS",1),rM=new pS("MULTI_EDGES",2),nM=new pS("EDGE_LABELS",3),Cre=new pS("PORTS",4),bU=new pS("COMPOUND",5),gU=new pS("CLUSTERS",6),Nre=new pS("DISCONNECTED",7)}function A0t(e,t,r){var o,s,u;e.Nj()?(u=e.Oj(),++e.j,e.oj(t,e.Xi(t,r)),o=e.Gj(3,null,r,t,u),e.Kj()?(s=e.Lj(r,null),s?(s.lj(o),s.mj()):e.Hj(o)):e.Hj(o)):(++e.j,e.oj(t,e.Xi(t,r)),e.Kj()&&(s=e.Lj(r,null),s&&s.mj()))}function _0t(e,t){var r,o,s;if(t==0)return(e.a[0]&1)!=0;if(t<0)throw K(new M9("Negative bit address"));if(s=t>>5,s>=e.d)return e.e<0;if(r=e.a[s],t=1<<(t&31),e.e<0){if(o=lht(e),s<o)return!1;o==s?r=-r:r=~r}return(r&t)!=0}function k0t(e){var t,r,o,s,u;if(s=new Pe,u=xyt(e,s),t=l(j(e,(Ie(),Nu)),9),t)for(o=new V(t.j);o.a<o.c.c.length;)r=l(q(o),12),be(j(r,mr))===be(e)&&(u=b.Math.max(u,xyt(r,s)));return s.c.length==0||Ae(e,QE,u),u!=-1?s:null}function Fvn(e,t,r,o){var s;l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68),s=Ri(So(l(r.b,68).c),l(o.b,68).c),Y8(s,Dmt(l(r.b,68),l(o.b,68),s)),l(o.b,68),l(o.b,68),l(o.b,68).c.a+s.a,l(o.b,68).c.b+s.b,l(o.b,68),Oa(o.a,new ufe(e,t,o))}function pme(e,t){var r,o,s,u,f,p,m;if(u=t.e,u){for(r=oJ(u),o=l(e.g,686),f=0;f<e.i;++f)if(m=o[f],AY(m)==r&&(s=(!m.d&&(m.d=new yi(Uo,m,1)),m.d),p=l(r.Jh(mJ(u,u.Cb,u.Db>>16)),16).bd(u),p<s.i))return pme(e,l(ie(s,p),88))}return t}function A(e,t,r){var o=o$,s,u=o[e],f=u instanceof Array?u[0]:null;u&&!f?h=u:(h=(s=t&&t.prototype,!s&&(s=o$[t]),run(s)),h.Qm=r,!t&&(h.Rm=ge),o[e]=h);for(var p=3;p<arguments.length;++p)arguments[p].prototype=h;f&&(h.Pm=f)}function an(e){for(var t;!l(xn(e.a),51).Ob();){if(e.d=rpn(e),!e.d)return!1;if(e.a=l(e.d.Pb(),51),se(e.a,35)){if(t=l(e.a,35),e.a=t.a,!e.b&&(e.b=new iE),l1(e.b,e.d),t.b)for(;!BN(t.b);)l1(e.b,l(isn(t.b),51));e.d=t.d}}return!0}function gme(e,t){var r,o,s,u;for(s=1,t.j=!0,u=null,o=new V(wE(t));o.a<o.c.c.length;)r=l(q(o),220),e.c[r.c]||(e.c[r.c]=!0,u=Gj(r,t),r.f?s+=gme(e,u):!u.j&&r.a==r.e.e-r.d.e&&(r.f=!0,pi(e.p,r),s+=gme(e,u)));return s}function $vn(e){var t,r,o;for(r=new V(e.a.a.b);r.a<r.c.c.length;)t=l(q(r),84),o=(Mt(0),0),o>0&&(!(Zh(e.a.c)&&t.n.d)&&!(eE(e.a.c)&&t.n.b)&&(t.g.d+=b.Math.max(0,o/2-.5)),!(Zh(e.a.c)&&t.n.a)&&!(eE(e.a.c)&&t.n.c)&&(t.g.a-=o-1))}function x0t(e,t,r){var o,s,u,f,p,m;u=l(He(t.e,0),17).c,o=u.i,s=o.k,m=l(He(r.g,0),17).d,f=m.i,p=f.k,s==(Ht(),gi)?Ae(e,(Ie(),Cd),l(j(o,Cd),12)):Ae(e,(Ie(),Cd),u),p==gi?Ae(e,(Ie(),Nl),l(j(f,Nl),12)):Ae(e,(Ie(),Nl),m)}function N0t(e,t){var r,o,s,u,f,p;for(u=new V(e.b);u.a<u.c.c.length;)for(s=l(q(u),26),p=new V(s.a);p.a<p.c.c.length;)for(f=l(q(p),9),f.k==(Ht(),ta)&&oT(f,t),o=new Ft(Gt(Rr(f).a.Jc(),new D));an(o);)r=l(Qt(o),17),Pht(r,t)}function Bvn(e,t){var r,o,s;for(t.Tg("Layer constraint preprocessing",1),r=new Pe,s=new Ji(e.a,0);s.b<s.d.gc();)o=(un(s.b<s.d.gc()),l(s.d.Xb(s.c=s.b++),9)),Phn(o)&&(M0n(o),Ot(r.c,o),Lu(s));r.c.length==0||Ae(e,(Ie(),Zee),r),t.Ug()}function bme(e){var t,r,o;this.c=e,o=l(j(e,(Be(),kc)),87),t=ue(ce(j(e,oB))),r=ue(ce(j(e,LAe))),o==(vi(),is)||o==cs||o==hf?this.b=t*r:this.b=1/(t*r),this.j=ue(ce(j(e,ev))),this.e=ue(ce(j(e,wm))),this.f=e.b.c.length}function Uvn(e){var t,r;for(e.e=me(Rn,Xn,30,e.p.c.length,15,1),e.k=me(Rn,Xn,30,e.p.c.length,15,1),r=new V(e.p);r.a<r.c.c.length;)t=l(q(r),9),e.e[t.p]=yd(new Ft(Gt(si(t).a.Jc(),new D))),e.k[t.p]=yd(new Ft(Gt(Rr(t).a.Jc(),new D)))}function Hvn(e){var t,r,o,s,u,f;for(s=0,e.q=new Pe,t=new hi,f=new V(e.p);f.a<f.c.c.length;){for(u=l(q(f),9),u.p=s,o=new Ft(Gt(Rr(u).a.Jc(),new D));an(o);)r=l(Qt(o),17),pi(t,r.d.i);t.a.Ac(u)!=null,je(e.q,new Ww(t)),t.a.$b(),++s}}function mme(e,t){var r,o,s,u,f;return t&=63,r=e.h,o=(r&yD)!=0,o&&(r|=-1048576),t<22?(f=r>>t,u=e.m>>t|r<<22-t,s=e.l>>t|e.m<<22-t):t<44?(f=o?yp:0,u=r>>t-22,s=e.m>>t-22|r<<44-t):(f=o?yp:0,u=o?Uu:0,s=r>>t-44),Ua(s&Uu,u&Uu,f&yp)}function zvn(e,t){var r;switch(O3(e.a),pc(e.a,(h7(),Gne),(Y9(),Jne)),pc(e.a,qne,(J9(),Xne)),pc(e.a,Vne,(X9(),Zne)),l(ye(t,(XS(),Yne)),389).g){case 1:r=(b6(),Qne);break;case 0:default:r=(b6(),ere)}return pc(e.a,Wne,r),MC(e.a,t)}function C0t(e,t){var r,o,s,u,f,p,m,y,v;if(e.a.f>0&&se(t,45)&&(e.a.Zj(),y=l(t,45),m=y.jd(),u=m==null?0:Ir(m),f=Fde(e.a,u),r=e.a.d[f],r)){for(o=l(r.g,375),v=r.i,p=0;p<v;++p)if(s=o[p],s.yi()==u&&s.Fb(y))return C0t(e,y),!0}return!1}function Gvn(e){var t,r,o,s,u,f,p;if(t=e.ni(_l),t&&(p=In(Td((!t.b&&(t.b=new Xu((Tt(),Io),Hs,t)),t.b),"settingDelegates")),p!=null)){for(r=new Pe,s=ky(p,"\\w+"),u=0,f=s.length;u<f;++u)o=s[u],Ot(r.c,o);return r}return St(),St(),No}function qvn(e){var t,r,o,s;for(s=l(wr(e.a,(wy(),H$)),16).Jc();s.Ob();)o=l(s.Pb(),108),r=(t=_S(o.k),t.Gc((Ue(),Vt))?t.Gc(Zt)?t.Gc(dn)?t.Gc(Wt)?null:dNt:hNt:fNt:lNt),n_(e,o,r[0],(S0(),X0),0),n_(e,o,r[1],P1,1),n_(e,o,r[2],Z0,1)}function Vvn(e,t){var r,o;r=_Tn(t),pSn(e,t,r),kbt(e.a,l(j(ji(t.b),(Ie(),RT)),237)),VTn(e),N0n(e,t),o=me(Rn,Xn,30,t.b.j.c.length,15,1),jJ(e,t,(Ue(),Vt),o,r),jJ(e,t,Zt,o,r),jJ(e,t,dn,o,r),jJ(e,t,Wt,o,r),e.a=null,e.c=null,e.b=null}function wme(e,t,r){switch(t){case 7:!e.e&&(e.e=new Et(Cr,e,7,4)),vn(e.e),!e.e&&(e.e=new Et(Cr,e,7,4)),ti(e.e,l(r,18));return;case 8:!e.d&&(e.d=new Et(Cr,e,8,5)),vn(e.d),!e.d&&(e.d=new Et(Cr,e,8,5)),ti(e.d,l(r,18));return}dbe(e,t,r)}function yme(e,t){var r,o,s,u,f;if(be(t)===be(e))return!0;if(!se(t,16)||(f=l(t,16),e.gc()!=f.gc()))return!1;for(u=f.Jc(),o=e.Jc();o.Ob();)if(r=o.Pb(),s=u.Pb(),!(be(r)===be(s)||r!=null&&pr(r,s)))return!1;return!0}function Wvn(e,t){var r,o,s,u;for(u=l(Au(gs(gs(new yt(null,new vt(t.b,16)),new AFe),new _Fe),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),u.Ic(new kFe),r=0,s=u.Jc();s.Ob();)o=l(s.Pb(),12),o.p==-1&&Eme(e,o,r++)}function Kvn(e,t){var r,o,s,u,f;for(t.Tg("Port side processing",1),f=new V(e.a);f.a<f.c.c.length;)s=l(q(f),9),Qyt(s);for(o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)s=l(q(u),9),Qyt(s);t.Ug()}function Yvn(e,t){var r,o,s,u,f,p;for(o=new d1,f=GP(new Ds(e.g)),u=f.a.ec().Jc();u.Ob();){if(s=l(u.Pb(),9),!s){t.ah("There are no classes in a balanced layout.");break}p=e.j[s.p],r=l(Wd(o,p),16),r||(r=new Pe,Kb(o,p,r)),r.Ec(s)}return o}function Jvn(e,t){var r,o,s,u,f;o=new Sr,Wr(o,t,o.c.b,o.c);do for(r=(un(o.b!=0),l(Vc(o,o.a.a),41)),e.b[r.g]=1,u=An(r.d,0);u.b!=u.d.c;)s=l(Sn(u),65),f=s.c,e.b[f.g]==1?Gn(e.a,s):e.b[f.g]==2?e.b[f.g]=1:Wr(o,f,o.c.b,o.c);while(o.b!=0)}function vme(e,t){if(se(t,209))return Br(l(t,19));if(se(t,196))return Gd(l(t,127));if(se(t,363))return xhe(l(t,158));if(se(t,273))return enn(e,l(t,74));throw K(new jt(Lk+Qd(new Ds(Z(X(Ci,1),Rt,1,5,[t])))))}function Xvn(e,t,r){var o;o=null,t&&(o=t.d),pC(e,new GA(t.n.a-o.b+r.a,t.n.b-o.d+r.b)),pC(e,new GA(t.n.a-o.b+r.a,t.n.b+t.o.b+o.a+r.b)),pC(e,new GA(t.n.a+t.o.a+o.c+r.a,t.n.b-o.d+r.b)),pC(e,new GA(t.n.a+t.o.a+o.c+r.a,t.n.b+t.o.b+o.a+r.b))}function Eme(e,t,r){var o,s,u;for(t.p=r,u=hh(Wc(Z(X(nl,1),Rt,22,0,[new OA(t),new Q2(t)])));an(u);)o=l(Qt(u),12),o.p==-1&&Eme(e,o,r);if(t.i.k==(Ht(),gi))for(s=new V(t.i.j);s.a<s.c.c.length;)o=l(q(s),12),o!=t&&o.p==-1&&Eme(e,o,r)}function I0t(e){var t,r,o,s,u;if(s=l(Au(Nhe(Rhe(e)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),o=jE,s.gc()>=2)for(r=s.Jc(),t=ce(r.Pb());r.Ob();)u=t,t=ce(r.Pb()),o=b.Math.min(o,(Mt(t),t-(Mt(u),u)));return o}function Zvn(e,t){var r,o,s;for(s=new Pe,o=An(t.a,0);o.b!=o.d.c;)r=l(Sn(o),65),r.b.g==e.g&&!mt(r.b.c,RF)&&be(j(r.b,(Ps(),Yf)))!==be(j(r.c,Yf))&&!fE(new yt(null,new vt(s,16)),new LJe(r))&&Ot(s.c,r);return _i(s,new dHe),s}function Qvn(e,t){var r,o,s;if(be(t)===be(xn(e)))return!0;if(!se(t,16)||(o=l(t,16),s=e.gc(),s!=o.gc()))return!1;if(se(o,59)){for(r=0;r<s;r++)if(!tp(e.Xb(r),o.Xb(r)))return!1;return!0}else return dbn(e.Jc(),o.Jc())}function eEn(e,t,r,o,s,u){var f,p,m,y;for(p=!$A(lr(e.Mc(),new IA(new $Fe))).zd((Tb(),ET)),f=e,u==(vi(),il)&&(f=ic(f)),y=f.Jc();y.Ob();)m=l(y.Pb(),70),m.n.a=t.a,p?m.n.b=t.b+(o.b-m.o.b)/2:s?m.n.b=t.b:m.n.b=t.b+o.b-m.o.b,t.a+=m.o.a+r}function R0t(e,t,r){var o,s,u,f,p,m,y;if(r)for(u=r.a.length,o=new Nb(u),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),m=d_(r,f.a),m&&(y=mfn(ip(m,oQ),t),Yn(e.k,y,m),s=Gf in m.a,s&&y_(y,ip(m,Gf)),y7(m,y),Xbe(m,y))}function tEn(e,t,r){var o,s,u,f,p;if(p=r,!p&&(p=vfe(new iS,0)),p.Tg(j2t,1),Pvt(e.c,t),f=lxn(e.a,t),f.gc()==1)gvt(l(f.Xb(0),37),p);else for(u=1/f.gc(),s=f.Jc();s.Ob();){if(o=l(s.Pb(),37),r.Zg())return;gvt(o,p.dh(u))}uQt(e.a,f,t),MSn(t),p.Ug()}function O0t(e,t,r){var o,s,u,f,p;if(s=e.f,!s&&(s=l(e.a.a.ec().Jc().Pb(),60)),hC(s,t,r),e.a.a.gc()!=1)for(o=t*r,f=e.a.a.ec().Jc();f.Ob();)u=l(f.Pb(),60),u!=s&&(p=LS(u),p.f.d?(u.d.d+=o+nf,u.d.a-=o+nf):p.f.a&&(u.d.a-=o+nf))}function nEn(e,t,r,o){var s,u,f,p,m,y,v,T;s=r,v=t,u=v;do u=e.a[u.p],p=(T=e.g[u.p],ue(e.p[T.p])+ue(e.d[u.p])-u.d.d),m=vfn(u,o),m&&(f=(y=e.g[m.p],ue(e.p[y.p])+ue(e.d[m.p])+m.o.b+m.d.a),s=b.Math.min(s,p-(f+rE(e.k,u,m))));while(v!=u);return s}function rEn(e,t,r,o){var s,u,f,p,m,y,v,T;s=r,v=t,u=v;do u=e.a[u.p],f=(T=e.g[u.p],ue(e.p[T.p])+ue(e.d[u.p])+u.o.b+u.d.a),m=Chn(u,o),m&&(p=(y=e.g[m.p],ue(e.p[y.p])+ue(e.d[m.p])-m.d.d),s=b.Math.min(s,p-(f+rE(e.k,u,m))));while(v!=u);return s}function D0t(e,t){var r;if(t.Tg("Equal Whitespace Eliminator",1),Gc(e,(yh(),GB)))Mpn(l(ye(e,GB),16),ue(ce(ye(e,jT))),(r=ue(ce(ye(e,i4))),ue(ce(ye(e,(ef(),a4)))),r));else throw K(new Af("The graph does not contain rows."));t.Ug()}function ye(e,t){var r,o;return o=(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),Td(e.o,t)),o??(r=t.Rg(),se(r,4)&&(r==null?(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),Xj(e.o,t)):(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),G6(e.o,t,r))),r)}function Sy(){Sy=Y,ad=new Jv("H_LEFT",0),Np=new Jv("H_CENTER",1),ud=new Jv("H_RIGHT",2),ld=new Jv("V_TOP",3),Rh=new Jv("V_CENTER",4),Il=new Jv("V_BOTTOM",5),xc=new Jv("INSIDE",6),cd=new Jv("OUTSIDE",7),Cl=new Jv("H_PRIORITY",8)}function iEn(e,t){var r,o,s,u,f,p,m;if(!t.f)throw K(new jt("The input edge is not a tree edge."));for(u=null,s=sr,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),220),p=r.d,m=r.e,tJ(e,p,t)&&!tJ(e,m,t)&&(f=m.e-p.e-r.a,f<s&&(s=f,u=r));return u}function oEn(e){var t,r,o,s,u,f;if(!(e.f.e.c.length<=1)){t=0,s=S0t(e),r=Kr;do{for(t>0&&(s=r),f=new V(e.f.e);f.a<f.c.c.length;)u=l(q(f),156),!Ke(We(j(u,(H6(),x2e))))&&(o=bAn(e,u),br(wd(u.d),o));r=S0t(e)}while(!Asn(e,t++,s,r))}}function sEn(e,t){var r,o,s,u,f;for(u=e.g.a,f=e.g.b,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),70),s=r.n,e.a==(Xl(),Gk)||e.i==(Ue(),Zt)?s.a=u:e.a==qk||e.i==(Ue(),Wt)?s.a=u+e.j.a-r.o.a:s.a=u+(e.j.a-r.o.a)/2,s.b=f,br(s,t),f+=r.o.b+e.e}function L0t(e){var t,r,o,s;for(s=0,t=l(ye(e,(_n(),q6t)),15).a,o=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));o.e!=o.i.gc();)r=l(rn(o),19),!r.a&&(r.a=new xe(En,r,10,11)),r.a&&(!r.a&&(r.a=new xe(En,r,10,11)),r.a).i>0?s+=t:s+=1;return s}function aEn(e,t){var r,o,s,u,f,p,m,y,v,T;y=e,m=j3(y,"individualSpacings"),m&&(o=Gc(t,(_n(),zT)),f=!o,f&&(s=new xG,Vn(t,zT,s)),p=l(ye(t,zT),380),T=m,u=null,T&&(u=(v=wK(T,me(Ye,Me,2,0,6,1)),new bq(T,v))),u&&(r=new Qtt(T,p),co(u,r)))}function uEn(e,t){var r,o,s,u,f,p,m,y,v,T,N;return m=null,T=e,v=null,(zTt in T.a||GTt in T.a||BF in T.a)&&(y=null,N=wge(t),f=j3(T,zTt),r=new wXe(N),dgt(r.a,f),p=j3(T,GTt),o=new xXe(N),fgt(o.a,p),u=b0(T,BF),s=new IXe(N),y=(vbt(s.a,u),u),v=y),m=v,m}function cEn(e,t){var r,o,s;if(t===e)return!0;if(se(t,544)){if(s=l(t,841),e.a.d!=s.a.d||uE(e).gc()!=uE(s).gc())return!1;for(o=uE(s).Jc();o.Ob();)if(r=l(o.Pb(),421),dut(e,r.a.jd())!=l(r.a.kd(),18).gc())return!1;return!0}return!1}function lEn(e,t){var r,o,s,u;for(u=new V(t.a);u.a<u.c.c.length;)for(s=l(q(u),9),Ae(s,(Ie(),iB),(Lt(),!1)),Ae(s,OT,Re(-1)),Ae(s,II,Re(-1)),e.d.a.c.length=0,o=new Ft(Gt(Df(s).a.Jc(),new D));an(o);)r=l(Qt(o),17),Ae(r,LNt,!1)}function dEn(e,t){return e.c<t.c?-1:e.c>t.c?1:e.b<t.b?-1:e.b>t.b?1:e.a!=t.a?Ir(e.a)-Ir(t.a):e.d==($3(),JI)&&t.d==YI?-1:e.d==YI&&t.d==JI?1:0}function sJ(e){var t,r,o,s,u,f,p,m;for(s=Kr,o=Oi,r=new V(e.e.b);r.a<r.c.c.length;)for(t=l(q(r),26),f=new V(t.a);f.a<f.c.c.length;)u=l(q(f),9),m=ue(e.p[u.p]),p=m+ue(e.b[e.g[u.p].p]),s=b.Math.min(s,m),o=b.Math.max(o,p);return o-s}function M0t(e,t){var r,o,s,u,f;return u=t.a,u.c.i==t.b?f=u.d:f=u.c,u.c.i==t.b?o=u.c:o=u.d,s=Ggn(e.a,f,o),s>0&&s<jE?(r=nEn(e.a,o.i,s,e.c),hft(e.a,o.i,-r),r>0):s<0&&-s<jE?(r=rEn(e.a,o.i,-s,e.c),hft(e.a,o.i,r),r>0):!1}function fEn(e,t,r,o){var s,u,f,p,m,y,v,T;for(s=(t-e.d)/e.c.c.length,u=0,e.a+=r,e.d=t,T=new V(e.c);T.a<T.c.c.length;)v=l(q(T),19),y=v.g,m=v.f,ya(v,v.i+u*s),gu(v,v.j+o*r),Bb(v,v.g+s),$b(v,e.a),++u,p=v.g,f=v.f,Kbe(v,new Le(p,f),new Le(y,m))}function P0t(e,t){var r,o,s,u,f,p,m,y;for(o=new Ft(Gt(gp(t).a.Jc(),new D));an(o);)r=l(Qt(o),74),y=Vo(l(ie((!r.c&&(r.c=new Et(pn,r,5,8)),r.c),0),83)),f=AC(r),p=t.i+t.g/2,m=t.j+t.f,s=y.i+y.g/2,u=y.j,v0(f,p),E0(f,m),w0(f,s),y0(f,u),P0t(e,y)}function hEn(e){var t,r,o,s,u,f,p;if(e==null)return null;for(p=e.length,s=(p+1)/2|0,f=me(Eu,BE,30,s,15,1),p%2!=0&&(f[--s]=qme((Yt(p-1,e.length),e.charCodeAt(p-1)))),r=0,o=0;r<s;++r)t=qme(uo(e,o++)),u=qme(uo(e,o++)),f[r]=(t<<4|u)<<24>>24;return f}function pEn(e){if(e.xe()){var t=e.c;t.ye()?e.o="["+t.n:t.xe()?e.o="["+t.ve():e.o="[L"+t.ve()+";",e.b=t.ue()+"[]",e.k=t.we()+"[]";return}var r=e.j,o=e.d;o=o.split("/"),e.o=cY(".",[r,cY("$",o)]),e.b=cY(".",[r,cY(".",o)]),e.k=o[o.length-1]}function gEn(e,t){var r,o,s,u,f;for(f=null,u=new V(e.e.a);u.a<u.c.c.length;)if(s=l(q(u),126),s.b.a.c.length==s.g.a.c.length){for(o=s.e,f=oyn(s),r=s.e-l(f.a,15).a+1;r<s.e+l(f.b,15).a;r++)t[r]<t[o]&&(o=r);t[o]<t[s.e]&&(--t[s.e],++t[o],s.e=o)}}function Sme(e,t,r){var o,s,u,f,p,m,y,v;y=l(r,150),v=vme(e,t),u=null,o=null,v&&(o=b7(e,v,t.i)),o!=null?u=o:(p=t.i,u=p),Db(y,"x",u),f=null,s=null,v&&(s=m7(e,v,t.j)),s!=null?f=s:(m=t.j,f=m),Db(y,"y",f),Db(y,rQ,t.g),Db(y,nQ,t.f)}function j0t(e){DJ();var t,r,o,s;return o=xf(e,Qa(35)),t=o==-1?e:(no(0,o,e.length),e.substr(0,o)),r=o==-1?null:(Yt(o+1,e.length+1),e.substr(o+1)),s=fln(b3e,t),s?r!=null&&(s=gpt(s,(Mt(r),r))):(s=n3n(t),_ln(b3e,t,s),r!=null&&(s=gpt(s,r))),s}function Tme(e,t,r,o){var s,u,f,p,m;for(s=Qme(e,t),p=0,m=s.gc();p<m;++p)if(u=l(s.Xb(p),182),mt(o,a_(es(e,u)))){if(f=qO(es(e,u)),r==null){if(f==null)return u}else if(mt(r,f))return u}return null}function Ame(e,t,r,o){var s,u,f,p,m;for(s=wJ(e,t),p=0,m=s.gc();p<m;++p)if(u=l(s.Xb(p),182),mt(o,a_(es(e,u)))){if(f=qO(es(e,u)),r==null){if(f==null)return u}else if(mt(r,f))return u}return null}function bEn(e,t,r){var o,s,u,f,p,m;if(f=new g9,p=za(e.e.Ah(),t),o=l(e.g,123),Oo(),l(t,69).vk())for(u=0;u<e.i;++u)s=o[u],p.$l(s.Jk())&&Tn(f,s);else for(u=0;u<e.i;++u)s=o[u],p.$l(s.Jk())&&(m=s.kd(),Tn(f,r?vC(e,t,u,f.i,m):m));return qhe(f)}function F0t(e){var t,r,o,s,u,f,p;if(e&&(t=e.ni(_l),t&&(f=In(Td((!t.b&&(t.b=new Xu((Tt(),Io),Hs,t)),t.b),"conversionDelegates")),f!=null))){for(p=new Pe,o=ky(f,"\\w+"),s=0,u=o.length;s<u;++s)r=o[s],Ot(p.c,r);return p}return St(),St(),No}function $0t(e,t){var r,o,s,u,f,p,m,y;for(f=t==1?cee:uee,u=f.a.ec().Jc();u.Ob();)for(s=l(u.Pb(),87),m=l(wr(e.f.c,s),24).Jc();m.Ob();)switch(p=l(m.Pb(),49),o=l(p.b,84),y=l(p.a,197),r=y.c,s.g){case 2:case 1:o.g.d+=r;break;case 4:case 3:o.g.c+=r}}function mEn(e,t){var r,o,s,u,f;for(r=new sC(Kk),s=(ZS(),Z(X(Kk,1),Ce,233,0,[Wk,TI,Vk,Hy,YE,KE])),u=0,f=s.length;u<f;++u)o=s[u],Bde(r,o,new Pe);return ei(Ia(lr(gs(new yt(null,new vt(e.b,16)),new BFe),new UFe),new SYe(t)),new TYe(r)),r}function B0t(e,t){var r,o,s;for(r=1;r<e.c.length;r++){for(s=(at(r,e.c.length),l(e.c[r],9)),o=r;o>0&&dD(t,(at(o-1,e.c.length),l(e.c[o-1],9)),s)>0;)tc(e,o,(at(o-1,e.c.length),l(e.c[o-1],9))),--o;at(o,e.c.length),e.c[o]=s}t.b=new hn,t.g=new hn}function U0t(e,t,r){var o,s,u;for(o=1;o<e.c.length;o++){for(u=(at(o,e.c.length),l(e.c[o],9)),s=o;s>0&&t.Le((at(s-1,e.c.length),l(e.c[s-1],9)),u)>0;)tc(e,s,(at(s-1,e.c.length),l(e.c[s-1],9))),--s;at(s,e.c.length),e.c[s]=u}r.a=new hn,r.b=new hn}function x7(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(u=t.Jc();u.Ob();)s=l(u.Pb(),19),v=s.i+s.g/2,N=s.j+s.f/2,m=e.f,f=m.i+m.g/2,p=m.j+m.f/2,y=v-f,T=N-p,o=b.Math.sqrt(y*y+T*T),y*=e.e/o,T*=e.e/o,r?(v-=y,N-=T):(v+=y,N+=T),ya(s,v-s.g/2),gu(s,N-s.f/2)}function kE(e){var t,r,o;if(!e.c&&e.b!=null){for(t=e.b.length-4;t>=0;t-=2)for(r=0;r<=t;r+=2)(e.b[r]>e.b[r+2]||e.b[r]===e.b[r+2]&&e.b[r+1]>e.b[r+3])&&(o=e.b[r+2],e.b[r+2]=e.b[r],e.b[r]=o,o=e.b[r+3],e.b[r+3]=e.b[r+1],e.b[r+1]=o);e.c=!0}}function Zl(e){var t,r;return r=new fc(Sb(e.Pm)),r.a+="@",zn(r,(t=Ir(e)>>>0,t.toString(16))),e.Sh()?(r.a+=" (eProxyURI: ",ga(r,e.Yh()),e.Hh()&&(r.a+=" eClass: ",ga(r,e.Hh())),r.a+=")"):e.Hh()&&(r.a+=" (eClass: ",ga(r,e.Hh()),r.a+=")"),r.a}function SC(e){var t,r,o,s;if(e.e)throw K(new Xo((ep(JQ),_X+JQ.k+kX)));for(e.d==(vi(),hf)&&K7(e,is),r=new V(e.a.a);r.a<r.c.c.length;)t=l(q(r),321),t.g=t.i;for(s=new V(e.a.b);s.a<s.c.c.length;)o=l(q(s),60),o.i=Oi;return e.b.af(e),e}function wEn(e,t){var r,o,s,u,f,p,m,y,v;for(m=ch(e.c-e.b&e.a.length-1),y=null,v=null,u=new R3(e);u.a!=u.b;)s=l(Fj(u),9),r=(p=l(j(s,(Ie(),Cd)),12),p?p.i:null),o=(f=l(j(s,Nl),12),f?f.i:null),(y!=r||v!=o)&&(d0t(m,t),y=r,v=o),Ot(m.c,s);d0t(m,t)}function H0t(e){switch(e.g){case 0:return new L9((Vb(),TL));case 1:return new L9((Vb(),xB));case 2:return new NWe;case 3:return new RWe;default:throw K(new jt("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function yEn(e,t){var r,o,s,u,f;if(t<2*e.b)throw K(new jt("The knot vector must have at least two time the dimension elements."));for(e.f=1,s=0;s<e.b;s++)je(e.e,0);for(f=t+1-2*e.b,r=f,u=1;u<f;u++)je(e.e,u/r);if(e.d)for(o=0;o<e.b;o++)je(e.e,1)}function z0t(e,t){var r,o,s,u,f,p,m,y,v;if(y=t,v=l(wj(oW(e.o),y),19),!v)throw s=ip(y,Gf),p="Unable to find elk node for json object '"+s,m=p+"' Panic!",K(new _f(m));u=b0(y,"edges"),r=new Utt(e,v),Ymt(r.a,r.b,u),f=b0(y,sQ),o=new lXe(e),tbt(o.a,f)}function G0t(e,t,r,o){var s,u,f,p,m;if(o!=null){if(s=e.d[t],s){for(u=s.g,m=s.i,p=0;p<m;++p)if(f=l(u[p],138),f.yi()==r&&pr(o,f.jd()))return p}}else if(s=e.d[t],s){for(u=s.g,m=s.i,p=0;p<m;++p)if(f=l(u[p],138),be(f.jd())===be(o))return p}return-1}function K_(e,t){var r,o,s;return r=t==null?Es(Zo(e.f,null)):XN(e.i,t),se(r,244)?(s=l(r,244),s.wi()==null,s):se(r,496)?(o=l(r,2016),s=o.a,s&&(s.yb==null||(t==null?eu(e.f,null,s):A0(e.i,t,s))),s):null}function vEn(e){Hme();var t,r,o,s,u,f,p;if(e==null||(s=e.length,s%2!=0))return null;for(t=oj(e),u=s/2|0,r=me(Eu,BE,30,u,15,1),o=0;o<u;o++){if(f=M4[t[o*2]],f==-1||(p=M4[t[o*2+1]],p==-1))return null;r[o]=(f<<4|p)<<24>>24}return r}function EEn(e,t,r){var o,s,u;if(s=l(Go(e.i,t),319),!s)if(s=new Zdt(e.d,t,r),NS(e.i,t,s),k1e(t))Stn(e.a,t.c,t.b,s);else switch(u=gyn(t),o=l(Go(e.p,u),256),u.g){case 1:case 3:s.j=!0,iq(o,t.b,s);break;case 4:case 2:s.k=!0,iq(o,t.c,s)}return s}function SEn(e,t,r,o){var s,u,f,p,m,y;if(p=new g9,m=za(e.e.Ah(),t),s=l(e.g,123),Oo(),l(t,69).vk())for(f=0;f<e.i;++f)u=s[f],m.$l(u.Jk())&&Tn(p,u);else for(f=0;f<e.i;++f)u=s[f],m.$l(u.Jk())&&(y=u.kd(),Tn(p,o?vC(e,t,f,p.i,y):y));return E1e(p,r)}function q0t(e,t){var r,o,s,u,f,p,m,y;if(s=e.b[t.p],s>=0)return s;for(u=1,p=new V(t.j);p.a<p.c.c.length;)for(f=l(q(p),12),o=new V(f.g);o.a<o.c.c.length;)r=l(q(o),17),y=r.d.i,t!=y&&(m=q0t(e,y),u=b.Math.max(u,m+1));return Dgn(e,t,u),u}function V0t(e,t){var r,o,s,u,f,p,m,y;if(s=e.b[t.p],s>=0)return s;for(u=1,p=new V(t.j);p.a<p.c.c.length;)for(f=l(q(p),12),o=new V(f.e);o.a<o.c.c.length;)r=l(q(o),17),y=r.c.i,t!=y&&(m=V0t(e,y),u=b.Math.max(u,m+1));return hbn(e,t,u),u}function TEn(e){var t,r,o,s;for(s=e.length,t=null,o=0;o<s;o++)r=(Yt(o,e.length),e.charCodeAt(o)),xf(".*+?{[()|\\^$",Qa(r))>=0?(t||(t=new UN,o>0&&zo(t,(no(0,o,e.length),e.substr(0,o)))),t.a+="\\",r_(t,r&Ei)):t&&r_(t,r&Ei);return t?t.a:e}function AEn(e){var t,r,o;for(r=new V(e.a.a.b);r.a<r.c.c.length;)t=l(q(r),84),o=(Mt(0),0),o>0&&(!(Zh(e.a.c)&&t.n.d)&&!(eE(e.a.c)&&t.n.b)&&(t.g.d-=b.Math.max(0,o/2-.5)),!(Zh(e.a.c)&&t.n.a)&&!(eE(e.a.c)&&t.n.c)&&(t.g.a+=b.Math.max(0,o-1)))}function W0t(e,t,r){var o,s;if((e.c-e.b&e.a.length-1)==2)t==(Ue(),Vt)||t==Zt?(lj(l(J3(e),16),(vc(),Ih)),lj(l(J3(e),16),q1)):(lj(l(J3(e),16),(vc(),q1)),lj(l(J3(e),16),Ih));else for(s=new R3(e);s.a!=s.b;)o=l(Fj(s),16),lj(o,r)}function _En(e,t,r){var o,s,u,f,p,m,y,v,T;for(v=-1,T=0,p=t,m=0,y=p.length;m<y;++m){for(f=p[m],o=new Qst(e,v==-1?t[0]:t[v],r,(eC(),TB)),s=0;s<f.length;s++)for(u=s+1;u<f.length;u++)gr(f[s],(Ie(),Nr))&&gr(f[u],Nr)&&dD(o,f[s],f[u])>0&&++T;++v}return T}function kEn(e,t,r){var o;if(r.Tg("XPlacer",1),e.b=ue(ce(ye(t,(_n(),Od)))),e.a=Ke(We(ye(t,(XS(),Kne)))),(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i!=0)switch(o=l(ye(t,(wh(),l4)),19),l(ye(t,Yne),389).g){case 0:DEt(e,o);break;case 1:OEt(e,o)}r.Ug()}function xEn(e,t){var r,o,s,u,f,p,m;for(s=ZA(new fce(e)),p=new Ji(s,s.c.length),u=ZA(new fce(t)),m=new Ji(u,u.c.length),f=null;p.b>0&&m.b>0&&(r=(un(p.b>0),l(p.a.Xb(p.c=--p.b),19)),o=(un(m.b>0),l(m.a.Xb(m.c=--m.b),19)),r==o);)f=r;return f}function NEn(e,t){var r,o,s,u;for(t.Tg("Self-Loop pre-processing",1),o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),9),kgn(r)&&(s=(u=new Kgt(r),Ae(r,(Ie(),nw),u),JTn(u),u),ei(Ia(gs(new yt(null,new vt(s.d,16)),new N$e),new C$e),new I$e),V2n(s));t.Ug()}function K0t(e,t,r){var o,s,u,f;Eut(e,t)>Eut(e,r)?(o=ks(r,(Ue(),Zt)),e.d=o.dc()?0:PV(l(o.Xb(0),12)),f=ks(t,Wt),e.b=f.dc()?0:PV(l(f.Xb(0),12))):(s=ks(r,(Ue(),Wt)),e.d=s.dc()?0:PV(l(s.Xb(0),12)),u=ks(t,Zt),e.b=u.dc()?0:PV(l(u.Xb(0),12)))}function CEn(e){var t,r,o,s,u,f,p,m;t=!0,s=null,u=null;e:for(m=new V(e.a);m.a<m.c.c.length;)for(p=l(q(m),9),o=new Ft(Gt(si(p).a.Jc(),new D));an(o);){if(r=l(Qt(o),17),s&&s!=p){t=!1;break e}if(s=p,f=r.c.i,u&&u!=f){t=!1;break e}u=f}return t}function IEn(e,t,r){var o,s,u,f,p,m,y,v;for(v=(o=l(t.e&&t.e(),10),new Hc(o,l(Gl(o,o.length),10),0)),m=ky(r,"[\\[\\]\\s,]+"),u=m,f=0,p=u.length;f<p;++f)if(s=u[f],vy(s).length!=0){if(y=Jmt(e,s),y==null)return null;Jl(v,l(y,23))}return v}function Y0t(e,t){var r,o,s,u;for(r=e.o.a,u=l(l(wr(e.r,t),24),85).Jc();u.Ob();)s=l(u.Pb(),116),s.e.a=r*ue(ce(s.b.mf(g$))),s.e.b=(o=s.b,o.nf((_n(),Hu))?o.$f()==(Ue(),Vt)?-o.Kf().b-ue(ce(o.mf(Hu))):ue(ce(o.mf(Hu))):o.$f()==(Ue(),Vt)?-o.Kf().b:0)}function REn(e,t,r){var o,s,u,f,p,m;for(u=-1,p=-1,f=0;f<t.c.length&&(s=(at(f,t.c.length),l(t.c[f],341)),!(s.c>e.c));f++)s.a>=e.s&&(u<0&&(u=f),p=f);return m=(e.s+e.c)/2,u>=0&&(o=gTn(e,t,u,p),m=ten((at(o,t.c.length),l(t.c[o],341))),Svn(t,o,r)),m}function kn(e,t,r){var o,s,u,f,p,m,y;for(f=(u=new Rue,u),Xpe(f,(Mt(t),t)),y=(!f.b&&(f.b=new Xu((Tt(),Io),Hs,f)),f.b),m=1;m<r.length;m+=2)G6(y,r[m-1],r[m]);for(o=(!e.Ab&&(e.Ab=new xe(Kn,e,0,3)),e.Ab),p=0;p<0;++p)s=_sn(l(ie(o,o.i-1),594)),o=s;Tn(o,f)}function _me(e,t,r,o,s,u){var f,p,m;if(!s[t.a]){for(s[t.a]=!0,f=o,!f&&(f=new KP),je(f.e,t),m=u[t.a].Jc();m.Ob();)p=l(m.Pb(),292),!(p.d==r||p.c==r)&&(p.c!=t&&_me(e,p.c,t,f,s,u),p.d!=t&&_me(e,p.d,t,f,s,u),je(f.c,p),li(f.d,p.b));return f}return null}function OEn(e){var t,r,o,s,u,f,p;for(t=0,s=new V(e.e);s.a<s.c.c.length;)o=l(q(s),17),r=fE(new yt(null,new vt(o.b,16)),new iFe),r&&++t;for(f=new V(e.g);f.a<f.c.c.length;)u=l(q(f),17),p=fE(new yt(null,new vt(u.b,16)),new oFe),p&&++t;return t>=2}function DEn(e,t,r,o,s){var u,f,p,m,y,v;for(u=e.c.d.j,f=l(sa(r,0),8),v=1;v<r.b;v++)y=l(sa(r,v),8),Wr(o,f,o.c.b,o.c),p=Qh(br(new Eo(f),y),.5),m=Qh(new kW(Oge(u)),s),br(p,m),Wr(o,p,o.c.b,o.c),f=y,u=t==0?Uj(u):t1e(u);Gn(o,(un(r.b!=0),l(r.c.b.c,8)))}function LEn(e){Sy();var t,r,o;return r=Ar(xc,Z(X(Bo,1),Ce,96,0,[cd])),!(E6(OP(r,e))>1||(t=Ar(ad,Z(X(Bo,1),Ce,96,0,[Np,ud])),E6(OP(t,e))>1)||(o=Ar(ld,Z(X(Bo,1),Ce,96,0,[Rh,Il])),E6(OP(o,e))>1))}function J0t(e){var t,r,o,s,u,f,p;for(t=0,o=new V(e.a);o.a<o.c.c.length;)for(r=l(q(o),9),u=new Ft(Gt(Rr(r).a.Jc(),new D));an(u);)s=l(Qt(u),17),e==s.d.i.c&&s.c.j==(Ue(),Wt)&&(f=qd(s.c).b,p=qd(s.d).b,t=b.Math.max(t,b.Math.abs(p-f)));return t}function kme(e,t,r){var o,s,u;for(u=new V(e.t);u.a<u.c.c.length;)o=l(q(u),275),o.b.s<0&&o.c>0&&(o.b.n-=o.c,o.b.n<=0&&o.b.u>0&&Gn(t,o.b));for(s=new V(e.i);s.a<s.c.c.length;)o=l(q(s),275),o.a.s<0&&o.c>0&&(o.a.u-=o.c,o.a.u<=0&&o.a.n>0&&Gn(r,o.a))}function MEn(e){var t,r,o,s,u,f;for(f=l(ye(e,(_n(),df)),100),r=0,o=0,u=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));u.e!=u.i.gc();)s=l(rn(u),19),t=l(ye(s,xp),125),r<s.i+s.g+t.c&&(r=s.i+s.g+t.c),o<s.j+s.f+t.a&&(o=s.j+s.f+t.a);Bb(e,r+f.c),$b(e,o+f.a)}function N7(e){var t,r,o,s,u;if(e.g==null&&(e.d=e._i(e.f),Tn(e,e.d),e.c))return u=e.f,u;if(t=l(e.g[e.i-1],51),s=t.Pb(),e.e=t,r=e._i(s),r.Ob())e.d=r,Tn(e,r);else for(e.d=null;!t.Ob()&&(ii(e.g,--e.i,null),e.i!=0);)o=l(e.g[e.i-1],51),t=o;return s}function PEn(e,t){var r,o,s,u,f,p;if(o=t,s=o.Jk(),bp(e.e,s)){if(s.Qi()&&BP(e,s,o.kd()))return!1}else for(p=za(e.e.Ah(),s),r=l(e.g,123),u=0;u<e.i;++u)if(f=r[u],p.$l(f.Jk()))return pr(f,o)?!1:(l(EE(e,u,t),76),!0);return Tn(e,t)}function Ht(){Ht=Y,Xr=new fS("NORMAL",0),gi=new fS("LONG_EDGE",1),mi=new fS("EXTERNAL_PORT",2),Aa=new fS("NORTH_SOUTH_PORT",3),ta=new fS("LABEL",4),af=new fS("BREAKING_POINT",5),tL=new fS("PLACEHOLDER",6),EI=new fS("NONSHIFTING_PLACEHOLDER",7)}function jEn(e,t,r,o){var s,u,f,p;for(s=new Xd(e),Kh(s,(Ht(),ta)),Ae(s,(Ie(),mr),t),Ae(s,CI,o),Ae(s,(Be(),Zr),(qi(),fa)),Ae(s,Cd,t.c),Ae(s,Nl,t.d),cJ(t,s),p=b.Math.floor(r/2),f=new V(s.j);f.a<f.c.c.length;)u=l(q(f),12),u.n.b=p;return s}function Q6(){Q6=Y,Dee=new Kv(Swe,0),PSe=new Kv(nSt,1),Mee=new Kv(jX,2),Pee=new Kv(OX,3),Lee=new Kv("GREEDY_MODEL_ORDER",4),jee=new Kv("SCC_CONNECTIVITY",5),sL=new Kv("SCC_NODE_TYPE",6),Oee=new Kv("DFS_NODE_ORDER",7),Ree=new Kv("BFS_NODE_ORDER",8)}function X0t(e,t,r){var o,s,u,f,p;for(r.Tg("ELK Force",1),Ke(We(ye(t,(ed(),y2e))))||D3((o=new RA((t1(),new Kp(t))),o)),p=Wht(t),bmn(p),Zhn(e,l(j(p,w2e),429)),f=Kyt(e.a,p),u=f.Jc();u.Ob();)s=l(u.Pb(),238),AAn(e.b,s,r.dh(1/f.gc()));p=lEt(f),yEt(p),r.Ug()}function xme(e,t,r){switch(r.g){case 1:return new Le(t.a,b.Math.min(e.d.b,t.b));case 2:return new Le(b.Math.max(e.c.a,t.a),t.b);case 3:return new Le(t.a,b.Math.max(e.c.b,t.b));case 4:return new Le(b.Math.min(t.a,e.d.a),t.b)}return new Le(t.a,t.b)}function FEn(e,t){var r,o,s,u,f;if(t.Tg("Breaking Point Processor",1),Txn(e),Ke(We(j(e,(Be(),$Ae))))){for(s=new V(e.b);s.a<s.c.c.length;)for(o=l(q(s),26),r=0,f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),u.p=r++;p_n(e),bwt(e,!0),bwt(e,!1)}t.Ug()}function C7(e){var t,r,o;for(t=ch(1+(!e.c&&(e.c=new xe(zu,e,9,9)),e.c).i),je(t,(!e.d&&(e.d=new Et(Cr,e,8,5)),e.d)),o=new en((!e.c&&(e.c=new xe(zu,e,9,9)),e.c));o.e!=o.i.gc();)r=l(rn(o),127),je(t,(!r.d&&(r.d=new Et(Cr,r,8,5)),r.d));return xn(t),new f3(t)}function gp(e){var t,r,o;for(t=ch(1+(!e.c&&(e.c=new xe(zu,e,9,9)),e.c).i),je(t,(!e.e&&(e.e=new Et(Cr,e,7,4)),e.e)),o=new en((!e.c&&(e.c=new xe(zu,e,9,9)),e.c));o.e!=o.i.gc();)r=l(rn(o),127),je(t,(!r.e&&(r.e=new Et(Cr,r,7,4)),r.e));return xn(t),new f3(t)}function $En(e){var t,r,o,s;if(e==null)return null;if(o=Sa(e,!0),s=KD.length,mt(o.substr(o.length-s,s),KD)){if(r=o.length,r==4){if(t=(Yt(0,o.length),o.charCodeAt(0)),t==43)return P3e;if(t==45)return vLt}else if(r==3)return P3e}return yy(o)}function BEn(e,t,r,o){var s,u,f,p,m,y,v,T,N;for(T=o?(Ue(),Wt):(Ue(),Zt),s=!1,m=t[r],y=0,v=m.length;y<v;++y)p=m[y],!SS(l(j(p,(Be(),Zr)),103))&&(f=p.e,N=!ks(p,T).dc()&&!!f,N&&(u=wbe(f),e.b=new vbe(u,o?0:u.length-1)),s=s|xSn(e,p,T,N));return s}function Z0t(e,t,r,o){var s,u,f;if(f=ube(t,r),Ot(o.c,t),e.j[f.p]==-1||e.j[f.p]==2||e.a[t.p])return o;for(e.j[f.p]=-1,u=new Ft(Gt(Df(f).a.Jc(),new D));an(u);)if(s=l(Qt(u),17),!(!(!lo(s)&&!(!lo(s)&&s.c.i.c==s.d.i.c))||s==t))return Z0t(e,s,f,o);return o}function UEn(e){var t,r,o,s;for(t=0,r=0,s=new V(e.j);s.a<s.c.c.length;)if(o=l(q(s),12),t=On(To(t,mlt(lr(new yt(null,new vt(o.e,16)),new OUe)))),r=On(To(r,mlt(lr(new yt(null,new vt(o.g,16)),new DUe)))),t>1||r>1)return 2;return t+r==1?2:0}function $u(e,t){var r,o,s,u,f,p;return u=e.a*EX+e.b*1502,p=e.b*EX+11,r=b.Math.floor(p*TD),u+=r,p-=r*ewe,u%=ewe,e.a=u,e.b=p,t<=24?b.Math.floor(e.a*s2e[t]):(s=e.a*(1<<t-24),f=b.Math.floor(e.b*a2e[t]),o=s+f,o>=2147483648&&(o-=4294967296),o)}function Q0t(e,t,r){var o,s,u,f,p,m,y;for(u=new Pe,y=new Sr,f=new Sr,r_n(e,y,f,t),Fkn(e,y,f,t,r),m=new V(e);m.a<m.c.c.length;)for(p=l(q(m),117),s=new V(p.k);s.a<s.c.c.length;)o=l(q(s),135),(!t||o.c==(vd(),U1))&&p.g>o.b.g&&Ot(u.c,o);return u}function HEn(e,t,r){var o,s,u,f,p,m;for(p=e.c,f=(r.q?r.q:(St(),St(),kh)).vc().Jc();f.Ob();)u=l(f.Pb(),45),o=!$A(lr(new yt(null,new vt(p,16)),new IA(new ktt(t,u)))).zd((Tb(),ET)),o&&(m=u.kd(),se(m,4)&&(s=N1e(m),s!=null&&(m=s)),t.of(l(u.jd(),149),m))}function zEn(e,t){var r,o,s,u;for(t.Tg("Resize child graph to fit parent.",1),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),26),li(e.a,r.a),r.a.c.length=0;for(u=new V(e.a);u.a<u.c.c.length;)s=l(q(u),9),Ii(s,null);e.b.c.length=0,cSn(e),e.e&&nAn(e.e,e),t.Ug()}function GEn(e,t){var r,o,s,u,f;for(t.Tg("Edge joining",1),r=Ke(We(j(e,(Be(),Ate)))),s=new V(e.b);s.a<s.c.c.length;)for(o=l(q(s),26),f=new Ji(o.a,0);f.b<f.d.gc();)u=(un(f.b<f.d.gc()),l(f.d.Xb(f.c=f.b++),9)),u.k==(Ht(),gi)&&(PJ(u,r),Lu(f));t.Ug()}function qEn(e,t,r){var o,s;if(O3(e.b),pc(e.b,(D6(),VB),(WN(),DL)),pc(e.b,WB,t.g),pc(e.b,KB,t.a),e.a=MC(e.b,t),r.Tg("Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(s=new V(e.a);s.a<s.c.c.length;)o=l(q(s),43),o.If(t,r.dh(1));r.Ug()}function Nme(e,t,r){var o,s,u;if(u=IE((mu(),so),e.Ah(),t),u){if(Oo(),!l(u,69).vk()&&(u=DS(es(so,u)),!u))throw K(new jt(R1+t.ve()+tI));s=(o=e.Fh(u),l(o>=0?e.Ih(o,!0,!0):R0(e,u,!0),164)),l(s,222).Vl(t,r)}else throw K(new jt(R1+t.ve()+tI))}function VEn(e,t,r){var o,s,u,f,p,m;if(m=Lde(e,l(Ut(e.e,t),19)),p=null,m)switch(m.g){case 3:o=nde(e,ey(t)),p=(Mt(r),r+(Mt(o),o));break;case 2:s=nde(e,ey(t)),f=(Mt(r),r+(Mt(s),s)),u=nde(e,l(Ut(e.e,t),19)),p=f-(Mt(u),u);break;default:p=r}else p=r;return p}function WEn(e,t,r){var o,s,u,f,p,m;if(m=Lde(e,l(Ut(e.e,t),19)),p=null,m)switch(m.g){case 3:o=rde(e,ey(t)),p=(Mt(r),r+(Mt(o),o));break;case 2:s=rde(e,ey(t)),f=(Mt(r),r+(Mt(s),s)),u=rde(e,l(Ut(e.e,t),19)),p=f-(Mt(u),u);break;default:p=r}else p=r;return p}function I7(e,t){var r,o,s,u,f;if(t){for(u=se(e.Cb,89)||se(e.Cb,104),f=!u&&se(e.Cb,336),o=new en((!t.a&&(t.a=new E3(t,Uo,t)),t.a));o.e!=o.i.gc();)if(r=l(rn(o),88),s=U7(r),u?se(s,89):f?se(s,160):s)return s;return u?(Tt(),Ml):(Tt(),bf)}else return null}function KEn(e,t){var r,o,s,u,f;for(r=new Pe,s=gs(new yt(null,new vt(e,16)),new XUe),u=gs(new yt(null,new vt(e,16)),new ZUe),f=Idn(Jln(Qw(o2n(Z(X(_3n,1),Rt,840,0,[s,u])),new QUe))),o=1;o<f.length;o++)f[o]-f[o-1]>=2*t&&je(r,new RV(f[o-1]+t,f[o]-t));return r}function ewt(e,t,r){var o,s,u,f,p,m,y,v;if(r)for(u=r.a.length,o=new Nb(u),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),s=d_(r,f.a),s&&(m=tln(e,(y=(e1(),v=new xce,v),t&&Cme(y,t),y),s),y_(m,ip(s,Gf)),y7(s,m),Xbe(s,m),LK(e,s,m))}function R7(e){var t,r,o,s,u,f;if(!e.j){if(f=new YGe,t=R4,u=t.a.yc(e,t),u==null){for(o=new en(us(e));o.e!=o.i.gc();)r=l(rn(o),29),s=R7(r),ti(f,s),Tn(f,r);t.a.Ac(e)!=null}fy(f),e.j=new Qv((l(ie(Ne((a1(),Bt).o),11),20),f.i),f.g),Mu(e).b&=-33}return e.j}function YEn(e){var t,r,o,s;if(e==null)return null;if(o=Sa(e,!0),s=KD.length,mt(o.substr(o.length-s,s),KD)){if(r=o.length,r==4){if(t=(Yt(0,o.length),o.charCodeAt(0)),t==43)return j3e;if(t==45)return ELt}else if(r==3)return j3e}return new yce(o)}function JEn(e){var t,r,o;return r=e.l,r&r-1||(o=e.m,o&o-1)||(t=e.h,t&t-1)||t==0&&o==0&&r==0?-1:t==0&&o==0&&r!=0?Gpe(r):t==0&&o!=0&&r==0?Gpe(o)+22:t!=0&&o==0&&r==0?Gpe(t)+44:-1}function xE(e,t){var r,o,s,u,f;for(s=t.a&e.f,u=null,o=e.b[s];;o=o.b){if(o==t){u?u.b=t.b:e.b[s]=t.b;break}u=o}for(f=t.f&e.f,u=null,r=e.c[f];;r=r.d){if(r==t){u?u.d=t.d:e.c[f]=t.d;break}u=r}t.e?t.e.c=t.c:e.a=t.c,t.c?t.c.e=t.e:e.e=t.e,--e.i,++e.g}function XEn(e,t){var r;t.d?t.d.b=t.b:e.a=t.b,t.b?t.b.d=t.d:e.e=t.d,!t.e&&!t.c?(r=l(wl(l(PS(e.b,t.a),263)),263),r.a=0,++e.c):(r=l(wl(l(Ut(e.b,t.a),263)),263),--r.a,t.e?t.e.c=t.c:r.b=l(wl(t.c),501),t.c?t.c.e=t.e:r.c=l(wl(t.e),501)),--e.d}function aJ(e,t){var r,o,s,u;for(u=new Ji(e,0),r=(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),148));u.b<u.d.gc();)o=(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),148)),s=new Efe(o.c,r.d,t),un(u.b>0),u.a.Xb(u.c=--u.b),qw(u,s),un(u.b<u.d.gc()),u.d.Xb(u.c=u.b++),s.a=!1,r=o}function twt(e){var t,r,o,s,u,f;for(s=l(j(e,(Ie(),Q$)),12),f=new V(e.j);f.a<f.c.c.length;){for(u=l(q(f),12),o=new V(u.g);o.a<o.c.c.length;)return t=l(q(o),17),Yi(t,s),u;for(r=new V(u.e);r.a<r.c.c.length;)return t=l(q(r),17),go(t,s),u}return null}function nwt(e,t,r){var o,s,u,f,p,m;for(m=l(Hw(e.a,t),15).a,r?ybe(e.a,Re(m+1),t):ybe(e.a,Re(m-1),t),f=new uh,s=new Ft(Gt((r?Rr(t):si(t)).a.Jc(),new D));an(s);)o=l(Qt(s),17),r?u=o.d.i:u=o.c.i,be(Hw(e.a,u))===be(Hw(e.a,t))&&(p=f.a.yc(u,f),p==null);return f}function ZEn(e,t,r){var o,s;o=Gs(r.q.getTime()),va(o,0)<0?(s=wg-On(aY(ag(o),wg)),s==wg&&(s=0)):s=On(aY(o,wg)),t==1?(s=b.Math.min((s+50)/100|0,9),Rb(e,48+s&Ei)):t==2?(s=b.Math.min((s+5)/10|0,99),bh(e,s,2)):(bh(e,s,3),t>3&&bh(e,0,t-3))}function QEn(e){var t,r,o,s;return be(j(e,(Be(),Vy)))===be((fp(),Cg))?!e.e&&be(j(e,gL))!==be((A_(),aL)):(o=l(j(e,fte),303),s=Ke(We(j(e,hte)))||be(j(e,jI))===be((aC(),oL)),t=l(j(e,tAe),15).a,r=e.a.c.length,!s&&o!=(A_(),aL)&&(t==0||t>r))}function e2n(e,t){var r,o,s,u,f,p,m;for(s=e.Jc();s.Ob();)for(o=l(s.Pb(),9),p=new aa,Ts(p,o),Ni(p,(Ue(),Zt)),Ae(p,(Ie(),rB),(Lt(),!0)),f=t.Jc();f.Ob();)u=l(f.Pb(),9),m=new aa,Ts(m,u),Ni(m,Wt),Ae(m,rB,!0),r=new h0,Ae(r,rB,!0),go(r,p),Yi(r,m)}function t2n(e){var t,r;for(r=0;r<e.c.length&&!(got((at(r,e.c.length),l(e.c[r],114)))>0);r++);if(r>0&&r<e.c.length-1)return r;for(t=0;t<e.c.length&&!(got((at(t,e.c.length),l(e.c[t],114)))>0);t++);return t>0&&r<e.c.length-1?t:e.c.length/2|0}function rwt(e,t){var r,o,s,u,f,p,m;for(s=0,f=new V(t.a);f.a<f.c.c.length;)for(u=l(q(f),9),s+=u.o.b+u.d.a+u.d.d+e.e,o=new Ft(Gt(si(u).a.Jc(),new D));an(o);)r=l(Qt(o),17),r.c.i.k==(Ht(),Aa)&&(m=r.c.i,p=l(j(m,(Ie(),mr)),9),s+=p.o.b+p.d.a+p.d.d);return s}function n2n(e,t){var r,o,s,u;t.Tg("Min Size Preprocessing",1),o=Vbe(e),Br(e)&&(r=(t1(),new Kp(Br(e))),u=new F8(Br(e)?new Kp(Br(e)):null,e),s=D0e(r,u,!1,!0),o.a=b.Math.max(o.a,s.a),o.b=b.Math.max(o.b,s.b)),Vn(e,(yh(),o4),o.a),Vn(e,zB,o.b),t.Ug()}function iwt(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=6&&t){if(H_(e,t))throw K(new jt(nI+g0t(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?J1e(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=YS(t,e,6,o)),o=Pde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,6,t,t))}function O7(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=3&&t){if(H_(e,t))throw K(new jt(nI+cvt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?ebe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=YS(t,e,12,o)),o=Mde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,t,t))}function Cme(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=9&&t){if(H_(e,t))throw K(new jt(nI+ryt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?Z1e(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=YS(t,e,9,o)),o=jde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,9,t,t))}function Y_(e){var t,r,o,s,u;if(o=Sl(e),u=e.j,u==null&&o)return e.Hk()?null:o.gk();if(se(o,160)){if(r=o.hk(),r&&(s=r.ti(),s!=e.i)){if(t=l(o,160),t.lk())try{e.g=s.qi(t,u)}catch(f){if(f=ci(f),se(f,81))e.g=null;else throw K(f)}e.i=s}return e.g}return null}function owt(e){var t;return t=new Pe,je(t,new dS(new Le(e.c,e.d),new Le(e.c+e.b,e.d))),je(t,new dS(new Le(e.c,e.d),new Le(e.c,e.d+e.a))),je(t,new dS(new Le(e.c+e.b,e.d+e.a),new Le(e.c+e.b,e.d))),je(t,new dS(new Le(e.c+e.b,e.d+e.a),new Le(e.c,e.d+e.a))),t}function r2n(e){var t,r,o,s;for(o=e.a.d.j,s=e.c.d.j,r=new V(e.i.d);r.a<r.c.c.length;)t=l(q(r),70),Ae(t,(Be(),i2),null);o==(Ue(),Vt)?rg(e,Vt,(Xl(),Gk),e.a):s==Vt?rg(e,Vt,(Xl(),qk),e.c):o==dn?rg(e,dn,(Xl(),qk),e.a):s==dn&&rg(e,dn,(Xl(),Gk),e.c)}function i2n(e){var t,r,o;if(e==null)return tu;try{return bs(e)}catch(s){if(s=ci(s),se(s,102))return t=s,o=Sb(nc(e))+"@"+(r=(Qp(),I1e(e)>>>0),r.toString(16)),_1n(Nhn(),(zA(),"Exception during lenientFormat for "+o),t),"<"+o+" threw "+Sb(t.Pm)+">";throw K(s)}}function o2n(e){var t,r,o,s,u,f,p,m,y;for(o=!1,t=336,r=0,u=new rit(e.length),p=e,m=0,y=p.length;m<y;++m)f=p[m],o=o|(y1(f),!1),s=(u1(f),f.a),je(u.a,xn(s)),t&=s.wd(),r=ppn(r,s.xd());return l(l(pst(new yt(null,qY(new vt(C1e(u.a),16),new _,t,r)),new CKe(e)),684),840)}function s2n(e,t,r,o){var s,u,f,p;s=Igt(e,t,r),u=Igt(e,r,t),f=l(Ut(e.c,t),117),p=l(Ut(e.c,r),117),s<u?new Lb((vd(),nv),f,p,u-s):u<s?new Lb((vd(),nv),p,f,s-u):(s!=0||!(!t.i||!r.i)&&o[t.i.c][r.i.c])&&(new Lb((vd(),nv),f,p,0),new Lb(nv,p,f,0))}function a2n(e,t,r){var o,s,u,f,p;for(r.Tg("Breaking Point Removing",1),e.a=l(j(t,(Be(),_p)),225),u=new V(t.b);u.a<u.c.c.length;)for(s=l(q(u),26),p=new V(Mb(s.a));p.a<p.c.c.length;)f=l(q(p),9),Wdt(f)&&(o=l(j(f,(Ie(),Q0)),318),!o.d&&tEt(e,o));r.Ug()}function TC(){TC=Y,f2=new wO("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),FT=new wO("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),c4=new wO("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),u4=new wO("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),OL=new wO("WHOLE_DRAWING",4)}function u2n(e){var t,r,o,s;for(o=new ly(new Ow(e.b).a);o.b;)r=gE(o),s=l(r.jd(),12),t=l(r.kd(),9),Ae(t,(Ie(),mr),s),Ae(s,Nu,t),Ae(s,dL,(Lt(),!0)),Ni(s,l(j(t,Us),64)),j(t,Us),Ae(s.i,(Be(),Zr),(qi(),Ex)),l(j(ji(s.i),_a),24).Ec((Mo(),Zk))}function c2n(e){var t,r,o,s,u,f,p;for(u=new Sr,s=new V(e.d.a);s.a<s.c.c.length;)o=l(q(s),126),o.b.a.c.length==0&&Wr(u,o,u.c.b,u.c);if(u.b>1)for(t=i0((r=new Eb,++e.b,r),e.d),p=An(u,0);p.b!=p.d.c;)f=l(Sn(p),126),Ql($l(Ul(Hl(Bl(new gl,1),0),t),f))}function D7(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=11&&t){if(H_(e,t))throw K(new jt(nI+Jme(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?tbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=YS(t,e,10,o)),o=Wde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,11,t,t))}function l2n(e,t,r){var o,s,u,f,p,m;if(u=0,f=0,e.c)for(m=new V(e.d.i.j);m.a<m.c.c.length;)p=l(q(m),12),u+=p.e.c.length;else u=1;if(e.d)for(m=new V(e.c.i.j);m.a<m.c.c.length;)p=l(q(m),12),f+=p.g.c.length;else f=1;return s=po(HO(f-u)),o=(r+t)/2+(r-t)*(.4*s),o}function d2n(e,t){var r,o,s,u,f,p;for(t.Tg("Partition postprocessing",1),o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)for(s=l(q(u),9),p=new V(s.j);p.a<p.c.c.length;)f=l(q(p),12),Ke(We(j(f,(Ie(),rB))))&&k3(p);t.Ug()}function f2n(e){wy();var t,r;if(e.Gc((Ue(),Cs)))throw K(new jt("Port sides must not contain UNDEFINED"));switch(e.gc()){case 1:return iL;case 2:return t=e.Gc(Zt)&&e.Gc(Wt),r=e.Gc(Vt)&&e.Gc(dn),t||r?G$:z$;case 3:return H$;case 4:return U$;default:return null}}function swt(e,t,r){return X_(),AK(e,t)&&AK(e,r)?!1:FJ(new Le(e.c,e.d),new Le(e.c+e.b,e.d),t,r)||FJ(new Le(e.c+e.b,e.d),new Le(e.c+e.b,e.d+e.a),t,r)||FJ(new Le(e.c+e.b,e.d+e.a),new Le(e.c,e.d+e.a),t,r)||FJ(new Le(e.c,e.d+e.a),new Le(e.c,e.d),t,r)}function Ime(e,t){var r,o,s,u;if(!e.dc()){for(r=0,o=e.gc();r<o;++r)if(u=In(e.Xb(r)),u==null?t==null:mt(u.substr(0,3),"!##")?t!=null&&(s=t.length,!mt(u.substr(u.length-s,s),t)||u.length!=t.length+3)&&!mt(um,t):mt(u,vQ)&&!mt(um,t)||mt(u,t))return!0}return!1}function h2n(e,t,r,o){var s,u,f,p,m,y;for(f=e.j.c.length,m=me(N3n,awe,319,f,0,1),p=0;p<f;p++)u=l(He(e.j,p),12),u.p=p,m[p]=Evn(k0t(u),r,o);for($2n(e,m,r,t,o),y=new hn,s=0;s<m.length;s++)m[s]&&Yn(y,l(He(e.j,s),12),m[s]);y.f.c+y.i.c!=0&&(Ae(e,(Ie(),NI),y),qwn(e,m))}function p2n(e,t,r){var o,s,u;for(s=new V(e.a.b);s.a<s.c.c.length;)if(o=l(q(s),60),u=lE(o),u&&u.k==(Ht(),mi))switch(l(j(u,(Ie(),Us)),64).g){case 4:u.n.a=t.a;break;case 2:u.n.a=r.a-(u.o.a+u.d.c);break;case 1:u.n.b=t.b;break;case 3:u.n.b=r.b-(u.o.b+u.d.a)}}function g2n(e,t,r){var o,s,u;for(r.Tg("Processor determine the height for each level",1),e.a=t.b.b==0?1:t.b.b,s=null,o=An(t.b,0);!s&&o.b!=o.d.c;)u=l(Sn(o),41),Ke(We(j(u,(xr(),z1))))&&(s=u);s&&Zyt(e,Wl(Z(X(DB,1),OF,41,0,[s])),r,l(j(t,(Ps(),aw)),87)),r.Ug()}function b2n(e){var t,r,o,s,u,f;for(o=(e1(),u=new PN,u),eD(o,e),r=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));r.e!=r.i.gc();)t=l(rn(r),19),f=(s=new PN,s),D7(f,o),r0(f,t.g,t.f),y_(f,t.k),Bc(f,t.i,t.j),Tn((!o.a&&(o.a=new xe(En,o,10,11)),o.a),f),eD(f,t);return o}function m2n(e,t,r){var o,s,u,f,p;return s=l(ye(t,(S7(),Fxe)),15),!s&&(s=Re(0)),u=l(ye(r,Fxe),15),!u&&(u=Re(0)),s.a>u.a?-1:s.a<u.a?1:e.a&&(o=yr(t.j,r.j),o!=0||(o=yr(t.i,r.i),o!=0))?o:(f=t.g*t.f,p=r.g*r.f,yr(f,p))}function w2n(e,t){var r,o,s,u,f,p,m,y,v,T;if(++e.e,m=e.d==null?0:e.d.length,t>m){for(v=e.d,e.d=me(u3e,bEe,67,2*m+4,0,1),u=0;u<m;++u)if(y=v[u],y)for(o=y.g,T=y.i,p=0;p<T;++p)s=l(o[p],138),f=Fde(e,s.yi()),r=e.d[f],!r&&(r=e.d[f]=e.bk()),r.Ec(s);return!0}else return!1}function y2n(e,t,r){var o,s,u,f,p,m;if(s=r,u=s.Jk(),bp(e.e,u)){if(u.Qi()){for(o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],pr(p,s)&&f!=t)throw K(new jt(HD))}}else for(m=za(e.e.Ah(),u),o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],m.$l(p.Jk()))throw K(new jt(WD));iC(e,t,r)}function awt(e,t){var r,o,s,u,f,p;for(r=l(j(t,(Ie(),Tp)),24),f=l(wr((HJ(),Tr),r),24),p=l(wr(Wn,r),24),u=f.Jc();u.Ob();)if(o=l(u.Pb(),24),!l(wr(e.b,o),16).dc())return!1;for(s=p.Jc();s.Ob();)if(o=l(s.Pb(),24),!l(wr(e.b,o),16).dc())return!1;return!0}function v2n(e,t,r){e.d=0,e.b=0,t.k==(Ht(),Aa)&&r.k==Aa&&l(j(t,(Ie(),mr)),9)==l(j(r,mr),9)&&(tK(t).j==(Ue(),Vt)?K0t(e,t,r):K0t(e,r,t)),t.k==Aa&&r.k==gi?tK(t).j==(Ue(),Vt)?e.d=1:e.b=1:r.k==Aa&&t.k==gi&&(tK(r).j==(Ue(),Vt)?e.b=1:e.d=1),Ebn(e,t,r)}function Rme(e,t){var r,o,s,u,f,p,m,y,v;if(e.a.c.length==1)return rmt(l(He(e.a,0),175),t);for(f=jpn(e),m=0,y=e.d,u=f,v=e.d,p=(y-u)/2+u;u+1<y;){for(m=0,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),175),m+=(s=OC(r,p,!1),s.a);m<t?(v=p,y=p):u=p,p=(y-u)/2+u}return v}function eD(e,t){var r,o,s,u,f;if(!t)return e;if(se(t,344))for(s=l(t,344),u=(!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),e.o),o=s.fh().c.Jc();o.e!=o.i.gc();)r=l(o.Wj(),45),f=r.kd(),G6(u,l(r.jd(),149),f);else!e.o&&(e.o=new pu((Qs(),Dh),Ig,e,0)),Wft(e.o,t.lf());return e}function Ome(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;return v=null,L=vme(e,t),m=null,L&&(m=omn(e,L)),U=m,r=null,s=ce(Ut(e.i,U)),s!=null?r=s:r=Re(0),N=r,o=null,u=ce(Ut(e.j,U)),u!=null?o=u:o=Re(0),I=o,y=t.i,f=Vrt(y,N),Yn(e.i,t,f),T=t.j,p=Vrt(T,I),v=ce(Yn(e.j,t,p)),v}function E2n(e){var t,r,o,s,u;return isNaN(e)?(b_(),$Ee):e<-9223372036854776e3?(b_(),P_t):e>=9223372036854776e3?(b_(),jEe):(s=!1,e<0&&(s=!0,e=-e),o=0,e>=em&&(o=po(e/em),e-=o*em),r=0,e>=lT&&(r=po(e/lT),e-=r*lT),t=po(e),u=Ua(t,r,o),s&&DK(u),u)}function S2n(e){var t,r,o,s,u;if(u=new Pe,Oa(e.b,new JKe(u)),e.b.c.length=0,u.c.length!=0){for(t=(at(0,u.c.length),l(u.c[0],81)),r=1,o=u.c.length;r<o;++r)s=(at(r,u.c.length),l(u.c[r],81)),s!=t&&Obt(t,s);if(se(t,63))throw K(l(t,63));if(se(t,298))throw K(l(t,298))}}function T2n(e,t){var r,o,s,u;for(r=!t||!e.u.Gc((ku(),Cp)),u=0,s=new V(e.e.Vf());s.a<s.c.c.length;){if(o=l(q(s),844),o.$f()==(Ue(),Cs))throw K(new jt("Label and node size calculator can only be used with ports that have port sides assigned."));o.Of(u++),Npn(e,o,r)}}function uwt(e,t,r){var o,s,u;for(Gc(t,(XS(),hx))&&(r=ue(ce(ye(t,hx)))),gu(t,r),u=r+e.a+t.f+b.Math.max(l(ye(t,(_n(),xp)),125).a,e.b),s=0;s<(!t.e&&(t.e=new Et(Cr,t,7,4)),t.e).i;s++)o=l(ie(s_(l(ie((!t.e&&(t.e=new Et(Cr,t,7,4)),t.e),s),74)),0),19),uwt(e,o,u)}function Dme(e){var t,r,o,s,u;for(r=new V(e.a.a);r.a<r.c.c.length;){for(t=l(q(r),321),t.j=null,u=t.a.a.ec().Jc();u.Ob();)o=l(u.Pb(),60),wd(o.b),(!t.j||o.d.c<t.j.d.c)&&(t.j=o);for(s=t.a.a.ec().Jc();s.Ob();)o=l(s.Pb(),60),o.b.a=o.d.c-t.j.d.c,o.b.b=o.d.d-t.j.d.d}return e}function L7(e){var t,r,o,s,u;for(r=new V(e.a.a);r.a<r.c.c.length;){for(t=l(q(r),197),t.f=null,u=t.a.a.ec().Jc();u.Ob();)o=l(u.Pb(),84),wd(o.e),(!t.f||o.g.c<t.f.g.c)&&(t.f=o);for(s=t.a.a.ec().Jc();s.Ob();)o=l(s.Pb(),84),o.e.a=o.g.c-t.f.g.c,o.e.b=o.g.d-t.f.g.d}return e}function A2n(e,t,r){var o,s,u,f,p;for(f=nC(e,r),p=me(Nh,yg,9,t.length,0,1),o=0,u=f.Jc();u.Ob();)s=l(u.Pb(),12),Ke(We(j(s,(Ie(),dL))))&&(p[o++]=l(j(s,Nu),9));if(o<t.length)throw K(new Xo("Expected "+t.length+" hierarchical ports, but found only "+o+"."));return p}function _2n(e){var t,r,o,s,u,f,p,m,y,v,T;return T=_be(e),t=e.a,m=t!=null,m&&QA(T,"category",e.a),s=oO(new Yh(e.d)),f=!s,f&&(y=new yb,Kl(T,"knownOptions",y),r=new RXe(y),co(new Yh(e.d),r)),u=oO(e.g),p=!u,p&&(v=new yb,Kl(T,"supportedFeatures",v),o=new OXe(v),co(e.g,o)),T}function k2n(e,t){var r;e.d&&(t.c!=e.e.c||Gfn(e.e.b,t.b))&&(je(e.f,e.d),e.a=e.d.c+e.d.b,e.d=null,e.e=null),xen(t.b)?e.c=t:e.b=t,(t.b==(__(),J0)&&!t.a||t.b==jy&&t.a||t.b==qE&&t.a||t.b==Fy&&!t.a)&&e.c&&e.b&&(r=new ql(e.a,e.c.d,t.c-e.a,e.b.d-e.c.d),e.d=r,e.e=t)}function wh(){wh=Y,vm=new cr("LEFT_OUTLINE"),iv=new cr("RIGHT_OUTLINE"),Jf=new cr("OUTLINE_MAX_DEPTH"),fx=new cr("MIN_X"),dx=new cr("MAX_X"),zOt=new cr("MIN_Y"),zne=new cr("MAX_Y"),l4=new cr("root"),uw=new cr("EDGE_BEND_HEIGHT"),LL=new cr("Node Model Order")}function Lme(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=7&&t){if(H_(e,t))throw K(new jt(nI+cmt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?X1e(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=l(t,52).Oh(e,1,QL,o)),o=Pfe(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,7,t,t))}function cwt(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=3&&t){if(H_(e,t))throw K(new jt(nI+Kpt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?Q1e(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=l(t,52).Oh(e,0,tM,o)),o=jfe(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,t,t))}function uJ(e,t){Z_();var r,o,s,u,f,p,m,y,v;return t.d>e.d&&(p=e,e=t,t=p),t.d<63?fSn(e,t):(f=(e.d&-2)<<4,y=tpe(e,f),v=tpe(t,f),o=NJ(e,MS(y,f)),s=NJ(t,MS(v,f)),m=uJ(y,v),r=uJ(o,s),u=uJ(NJ(y,o),NJ(s,v)),u=MJ(MJ(u,m),r),u=MS(u,f),m=MS(m,f<<1),MJ(MJ(m,u),r))}function tD(){tD=Y,Ite=new Yv(bSt,0),HAe=new Yv("LONGEST_PATH",1),zAe=new Yv("LONGEST_PATH_SOURCE",2),Nte=new Yv("COFFMAN_GRAHAM",3),UAe=new Yv(jX,4),GAe=new Yv("STRETCH_WIDTH",5),SB=new Yv("MIN_WIDTH",6),xte=new Yv("BF_MODEL_ORDER",7),Cte=new Yv("DF_MODEL_ORDER",8)}function x2n(e,t){var r,o,s,u,f,p;if(!e.tb){for(u=(!e.rb&&(e.rb=new Jw(e,Ld,e)),e.rb),p=new cS(u.i),s=new en(u);s.e!=s.i.gc();)o=l(rn(s),146),f=o.ve(),r=l(f==null?eu(p.f,null,o):A0(p.i,f,o),146),r&&(f==null?eu(p.f,null,r):A0(p.i,f,r));e.tb=p}return l(ma(e.tb,t),146)}function nD(e,t){var r,o,s,u,f;if((e.i==null&&jf(e),e.i).length,!e.p){for(f=new cS((3*e.g.i/2|0)+1),s=new yS(e.g);s.e!=s.i.gc();)o=l(bY(s),182),u=o.ve(),r=l(u==null?eu(f.f,null,o):A0(f.i,u,o),182),r&&(u==null?eu(f.f,null,r):A0(f.i,u,r));e.p=f}return l(ma(e.p,t),182)}function Mme(e,t,r,o,s){var u,f,p,m,y;for(w1n(o+CP(r,r.ge()),s),_st(t,Ugn(r)),u=r.f,u&&Mme(e,t,u,"Caused by: ",!1),p=(r.k==null&&(r.k=me(PQ,Me,81,0,0,1)),r.k),m=0,y=p.length;m<y;++m)f=p[m],Mme(e,t,f,"Suppressed: ",!1);console.groupEnd!=null&&console.groupEnd.call(console)}function rD(e,t,r,o){var s,u,f,p,m;for(m=t.e,p=m.length,f=t.q.tg(m,r?0:p-1,r),s=m[r?0:p-1],f=f|Jwt(e,s,r,o),u=r?1:p-2;r?u<p:u>=0;u+=r?1:-1)f=f|t.c.jg(m,u,r,o&&!Ke(We(j(t.j,(Ie(),j1))))&&!Ke(We(j(t.j,(Ie(),e2))))),f=f|t.q.tg(m,u,r),f=f|Jwt(e,m[u],r,o);return pi(e.c,t),f}function M7(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(v=ect(e.j),T=0,N=v.length;T<N;++T){if(y=v[T],r==(Lo(),Cu)||r==VI)for(m=Of(y.g),s=m,u=0,f=s.length;u<f;++u)o=s[u],Gwn(t,o)&&bg(o,!0);if(r==Fa||r==VI)for(p=Of(y.e),s=p,u=0,f=s.length;u<f;++u)o=s[u],zwn(t,o)&&bg(o,!0)}}function lwt(){return Xi(),Z(X(D3n,1),Ce,80,0,[eSe,X2e,VE,gee,ySe,x$,j$,By,mSe,uSe,gSe,$y,wSe,oSe,vSe,q2e,R$,bee,_$,L$,SSe,D$,V2e,bSe,TSe,M$,G2e,ESe,k$,nSe,hSe,fSe,F$,Y2e,A$,C$,K2e,zk,lSe,sSe,pSe,SI,Z2e,J2e,dSe,aSe,I$,P$,W2e,O$,cSe,N$,rSe,tSe,AT,T$,iSe,Q2e])}function N2n(e){var t,r;switch(t=null,r=null,c0n(e).g){case 1:t=(Ue(),Zt),r=Wt;break;case 2:t=(Ue(),dn),r=Vt;break;case 3:t=(Ue(),Wt),r=Zt;break;case 4:t=(Ue(),Vt),r=dn}que(e,l(Ju(kS(l(wr(e.k,t),16).Mc(),WE)),114)),Gue(e,l(Ju(Yw(l(wr(e.k,r),16).Mc(),WE)),114))}function J_(e){var t;if(BZe.call(this),this.i=new Wze,this.g=e,this.f=l(e.e&&e.e(),10).length,this.f==0)throw K(new jt("There must be at least one phase in the phase enumeration."));this.c=(t=l(md(this.g),10),new Hc(t,l(Gl(t,t.length),10),0)),this.a=new ui,this.b=new hn}function C2n(e){var t,r,o,s,u,f;if(s=l(He(e.j,0),12),s.e.c.length+s.g.c.length==0)e.n.a=0;else{for(f=0,o=hh(Wc(Z(X(nl,1),Rt,22,0,[new OA(s),new Q2(s)])));an(o);)r=l(Qt(o),12),f+=r.i.n.a+r.n.a+r.a.a;t=l(j(e,(Be(),ow)),8),u=t?t.a:0,e.n.a=f/(s.e.c.length+s.g.c.length)-u}}function dwt(e,t){var r,o,s;for(o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),227),GV(l(r.b,68),Ri(So(l(t.b,68).c),l(t.b,68).a)),s=Ryt(l(t.b,68).b,l(r.b,68).b),s>1&&(e.a=!0),Bon(l(r.b,68),br(So(l(t.b,68).c),Qh(Ri(So(l(r.b,68).a),l(t.b,68).a),s))),lut(e,t),dwt(e,r)}function fwt(e){var t,r,o,s,u,f,p;for(u=new V(e.a.a);u.a<u.c.c.length;)o=l(q(u),197),o.e=0,o.d.a.$b();for(s=new V(e.a.a);s.a<s.c.c.length;)for(o=l(q(s),197),r=o.a.a.ec().Jc();r.Ob();)for(t=l(r.Pb(),84),p=t.f.Jc();p.Ob();)f=l(p.Pb(),84),f.d!=o&&(pi(o.d,f),++f.d.e)}function I2n(e,t){var r,o,s,u,f,p,m;for(t.Tg("Constraints Postprocessor",1),f=0,u=new V(e.b);u.a<u.c.c.length;){for(s=l(q(u),26),m=0,p=!1,o=new V(s.a);o.a<o.c.c.length;)r=l(q(o),9),r.k==(Ht(),Xr)&&(p=!0,Ae(r,(Be(),FI),Re(f)),Ae(r,cB,Re(m)),++m);p&&++f}t.Ug()}function R2n(e){var t,r,o,s,u,f,p,m;for(m=e.j.c.length,r=0,t=m,s=2*m,p=new V(e.j);p.a<p.c.c.length;)switch(f=l(q(p),12),f.j.g){case 2:case 4:f.p=-1;break;case 1:case 3:o=f.e.c.length,u=f.g.c.length,o>0&&u>0?f.p=t++:o>0?f.p=r++:u>0?f.p=s++:f.p=r++}St(),_i(e.j,new e$e)}function O2n(e){var t,r;r=null,t=l(He(e.g,0),17);do{if(r=t.d.i,gr(r,(Ie(),Nl)))return l(j(r,Nl),12).i;if(r.k!=(Ht(),Xr)&&an(new Ft(Gt(Rr(r).a.Jc(),new D))))t=l(Qt(new Ft(Gt(Rr(r).a.Jc(),new D))),17);else if(r.k!=Xr)return null}while(r&&r.k!=(Ht(),Xr));return r}function D2n(e,t){var r,o,s,u,f,p,m,y,v;for(p=t.j,f=t.g,m=l(He(p,p.c.length-1),114),v=(at(0,p.c.length),l(p.c[0],114)),y=RY(e,f,m,v),u=1;u<p.c.length;u++)r=(at(u-1,p.c.length),l(p.c[u-1],114)),s=(at(u,p.c.length),l(p.c[u],114)),o=RY(e,f,r,s),o>y&&(m=r,v=s,y=o);t.a=v,t.c=m}function O0(e,t,r,o){var s,u;if(s=be(j(r,(Be(),MI)))===be((g1(),zy)),u=l(j(r,eAe),16),gr(e,(Ie(),Nr)))if(s){if(u.Gc(j(e,PI))&&u.Gc(j(t,PI)))return o*l(j(e,PI),15).a+l(j(e,Nr),15).a}else return l(j(e,Nr),15).a;else return-1;return l(j(e,Nr),15).a}function L2n(e,t,r){var o,s,u,f,p,m,y;for(y=new Zp(new bJe(e)),f=Z(X(Hxt,1),B2t,12,0,[t,r]),p=0,m=f.length;p<m;++p)for(u=f[p],y.a.yc(u,(Lt(),D1))==null,s=new Vd(u.b);Ss(s.a)||Ss(s.b);)o=l(Ss(s.a)?q(s.a):q(s.b),17),o.c==o.d||zO(y,u==o.c?o.d:o.c);return xn(y),new Tu(y)}function Ql(e){if(!e.a.d||!e.a.e)throw K(new Xo((ep(lkt),lkt.k+" must have a source and target "+(ep(d2e),d2e.k)+" specified.")));if(e.a.d==e.a.e)throw K(new Xo("Network simplex does not support self-loops: "+e.a+" "+e.a.d+" "+e.a.e));return P8(e.a.d.g,e.a),P8(e.a.e.b,e.a),e.a}function M2n(e,t,r){var o,s,u,f,p;for(r.Tg("Longest path layering",1),e.a=t,p=e.a.a,e.b=me(Rn,Xn,30,p.c.length,15,1),o=0,f=new V(p);f.a<f.c.c.length;)s=l(q(f),9),s.p=o,e.b[o]=-1,++o;for(u=new V(p);u.a<u.c.c.length;)s=l(q(u),9),q0t(e,s);p.c.length=0,e.a=null,e.b=null,r.Ug()}function hwt(e,t,r){var o,s,u,f,p,m;if(o=0,t.b!=0&&r.b!=0){u=An(t,0),f=An(r,0),p=ue(ce(Sn(u))),m=ue(ce(Sn(f))),s=!0;do{if(p>m-e.b&&p<m+e.b)return-1;p>m-e.a&&p<m+e.a&&++o,p<=m&&u.b!=u.d.c?p=ue(ce(Sn(u))):m<=p&&f.b!=f.d.c?m=ue(ce(Sn(f))):s=!1}while(s)}return o}function pwt(e,t){var r,o;return O3(e.a),pc(e.a,(Tj(),FB),FB),pc(e.a,d2,d2),o=new ui,Fn(o,d2,(w7(),dne)),be(ye(t,(T1(),gne)))!==be((C6(),$B))&&Fn(o,d2,une),Ke(We(ye(t,fke)))&&Fn(o,d2,fne),Fn(o,d2,cne),Ke(We(ye(t,pke)))&&Ca(o,d2,lne),Yle(e.a,o),r=MC(e.a,t),r}function P2n(e,t,r,o){var s,u,f,p,m,y,v,T,N;for(m=0,v=new V(e.a);v.a<v.c.c.length;){for(y=l(q(v),9),p=0,u=new Ft(Gt(si(y).a.Jc(),new D));an(u);)s=l(Qt(u),17),T=qd(s.c).b,N=qd(s.d).b,p=b.Math.max(p,b.Math.abs(N-T));m=b.Math.max(m,p)}return f=o*b.Math.min(1,t/r)*m,f}function j2n(e){var t,r;for(r=new Ft(Gt(Rr(e).a.Jc(),new D));an(r);)if(t=l(Qt(r),17),t.d.i.k!=(Ht(),ta))throw K(new Af(PX+U6(e)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function F2n(e,t){var r,o,s,u,f;for(f=l(j(t,(Ps(),V_e)),430),u=An(t.b,0);u.b!=u.d.c;)if(s=l(Sn(u),41),e.b[s.g]==0){switch(f.g){case 0:w1t(e,s);break;case 1:Jvn(e,s)}e.b[s.g]=2}for(o=An(e.a,0);o.b!=o.d.c;)r=l(Sn(o),65),py(r.b.d,r,!0),py(r.c.b,r,!0);Ae(t,(xr(),M_e),e.a)}function Pme(e){var t;return t=new UN,e&256&&(t.a+="F"),e&128&&(t.a+="H"),e&512&&(t.a+="X"),e&2&&(t.a+="i"),e&8&&(t.a+="m"),e&4&&(t.a+="s"),e&32&&(t.a+="u"),e&64&&(t.a+="w"),e&16&&(t.a+="x"),e&Tl&&(t.a+=","),Fce(t.a)}function $2n(e,t,r,o,s){var u,f,p,m;for(m=(u=l(md(Co),10),new Hc(u,l(Gl(u,u.length),10),0)),p=new V(e.j);p.a<p.c.c.length;)f=l(q(p),12),t[f.p]&&(uNn(f,t[f.p],o),Jl(m,f.j));s?(BY(e,t,(Ue(),Zt),2*r,o),BY(e,t,Wt,2*r,o)):(BY(e,t,(Ue(),Vt),2*r,o),BY(e,t,dn,2*r,o))}function B2n(e,t){var r,o,s,u,f,p,m;for(s=new Pe,r=0;r<=e.j;r++)o=new ra(t),o.p=e.j-r,Ot(s.c,o);for(p=new V(e.p);p.a<p.c.c.length;)f=l(q(p),9),Ii(f,l(He(s,e.j-e.g[f.p]),26));for(u=new V(s);u.a<u.c.c.length;)m=l(q(u),26),m.a.c.length==0&&k3(u);t.b.c.length=0,li(t.b,s)}function U2n(e,t,r){var o,s,u,f,p,m;for(o=l(wr(e.c,t),16),s=l(wr(e.c,r),16),u=o.dd(o.gc()),f=s.dd(s.gc());u.Sb()&&f.Sb();)if(p=l(u.Ub(),15),m=l(f.Ub(),15),p!=m)return na(p.a,m.a);return!u.Ob()&&!f.Ob()?t.p<r.p?-1:t.p>r.p?1:0:u.Ob()?1:-1}function H2n(e,t){var r,o,s,u,f,p;t.Tg(HSt,1),s=l(ye(e,(ef(),s4)),100),u=(!e.a&&(e.a=new xe(En,e,10,11)),e.a),f=rmn(u),p=b.Math.max(f.a,ue(ce(ye(e,(yh(),o4))))-(s.b+s.c)),o=b.Math.max(f.b,ue(ce(ye(e,zB)))-(s.d+s.a)),r=o-f.b,Vn(e,i4,r),Vn(e,jT,p),Vn(e,lx,o+r),t.Ug()}function AC(e){var t,r;if((!e.a&&(e.a=new xe(jr,e,6,6)),e.a).i==0)return wge(e);for(t=l(ie((!e.a&&(e.a=new xe(jr,e,6,6)),e.a),0),171),vn((!t.a&&(t.a=new yi(Ic,t,5)),t.a)),v0(t,0),E0(t,0),w0(t,0),y0(t,0),r=(!e.a&&(e.a=new xe(jr,e,6,6)),e.a);r.i>1;)Ay(r,r.i-1);return t}function za(e,t){Oo();var r,o,s,u;return t?t==(Er(),yLt)||(t==aLt||t==_m||t==sLt)&&e!=M3e?new L0e(e,t):(o=l(t,689),r=o.Yk(),r||(a_(es((mu(),so),t)),r=o.Yk()),u=(!r.i&&(r.i=new hn),r.i),s=l(Es(Zo(u.f,e)),2020),!s&&Yn(u,e,s=new L0e(e,t)),s):rLt}function z2n(e,t){var r,o;if(o=zO(e.b,t.b),!o)throw K(new Xo("Invalid hitboxes for scanline constraint calculation."));(Mht(t.b,l(zQt(e.b,t.b),60))||Mht(t.b,l(HQt(e.b,t.b),60)))&&Qp(),e.a[t.b.f]=l(wq(e.b,t.b),60),r=l(mq(e.b,t.b),60),r&&(e.a[r.f]=t.b)}function G2n(e,t){var r,o,s,u,f,p,m,y,v;for(m=l(j(e,(Ie(),mr)),12),y=_s(Z(X($i,1),Me,8,0,[m.i.n,m.n,m.a])).a,v=e.i.n.b,r=Of(e.e),s=r,u=0,f=s.length;u<f;++u)o=s[u],Yi(o,m),vo(o.a,new Le(y,v)),t&&(p=l(j(o,(Be(),rs)),79),p||(p=new Du,Ae(o,rs,p)),Gn(p,new Le(y,v)))}function q2n(e,t){var r,o,s,u,f,p,m,y,v;for(s=l(j(e,(Ie(),mr)),12),y=_s(Z(X($i,1),Me,8,0,[s.i.n,s.n,s.a])).a,v=e.i.n.b,r=Of(e.g),f=r,p=0,m=f.length;p<m;++p)u=f[p],go(u,s),Zv(u.a,new Le(y,v)),t&&(o=l(j(u,(Be(),rs)),79),o||(o=new Du,Ae(u,rs,o)),Gn(o,new Le(y,v)))}function V2n(e){var t,r,o,s,u,f,p,m,y;if(o=e.b,u=o.e,f=SS(l(j(o,(Be(),Zr)),103)),r=!!u&&l(j(u,(Ie(),_a)),24).Gc((Mo(),rl)),!(f||r))for(y=(p=new Jh(e.e).a.vc().Jc(),new Dw(p));y.a.Ob();)m=(t=l(y.a.Pb(),45),l(t.kd(),114)),m.a&&(s=m.d,Ts(s,null),m.c=!0,e.a=!0)}function W2n(e,t){var r,o,s,u;for(t.Tg("Semi-Interactive Crossing Minimization Processor",1),r=!1,s=new V(e.b);s.a<s.c.c.length;)o=l(q(s),26),u=O6(cj(lr(lr(new yt(null,new vt(o.a,16)),new P$e),new j$e),new F$e),new $$e),r=r|u.a!=null;r&&Ae(e,(Ie(),uTe),(Lt(),!0)),t.Ug()}function K2n(e,t){var r,o,s,u,f,p;for(e.b=new Pe,e.d=l(j(t,(Ie(),RT)),237),e.e=tcn(e.d),u=new Sr,s=Wl(Z(X($xt,1),F2t,37,0,[t])),f=0;f<s.c.length;)o=(at(f,s.c.length),l(s.c[f],37)),o.p=f++,r=new Fvt(o,e.a,e.b),li(s,r.b),je(e.b,r),r.s&&(p=An(u,0),mP(p,r));return e.c=new hi,u}function Y2n(e,t){var r,o,s,u,f,p;for(f=l(l(wr(e.r,t),24),85).Jc();f.Ob();)u=l(f.Pb(),116),r=u.c?_fe(u.c):0,r>0?u.a?(p=u.b.Kf().a,r>p&&(s=(r-p)/2,u.d.b=s,u.d.c=s)):u.d.c=e.s+r:A3(e.u)&&(o=kbe(u.b),o.c<0&&(u.d.b=-o.c),o.c+o.b>u.b.Kf().a&&(u.d.c=o.c+o.b-u.b.Kf().a))}function J2n(e,t){var r,o,s,u,f;f=new Pe,r=t;do u=l(Ut(e.b,r),134),u.B=r.c,u.D=r.d,Ot(f.c,u),r=l(Ut(e.k,r),17);while(r);return o=(at(0,f.c.length),l(f.c[0],134)),o.j=!0,o.A=l(o.d.a.ec().Jc().Pb(),17).c.i,s=l(He(f,f.c.length-1),134),s.q=!0,s.C=l(s.d.a.ec().Jc().Pb(),17).d.i,f}function X2n(e){var t,r;r=l(j(e,(Be(),Ns)),166),t=l(j(e,(Ie(),dm)),316),r==(rc(),Ap)?(Ae(e,Ns,hL),Ae(e,dm,(up(),ZE))):r==hm?(Ae(e,Ns,hL),Ae(e,dm,(up(),_T))):t==(up(),ZE)?(Ae(e,Ns,Ap),Ae(e,dm,cL)):t==_T&&(Ae(e,Ns,hm),Ae(e,dm,cL))}function P7(){P7=Y,AL=new GUe,A4t=Fn(new ui,(Vi(),la),(Xi(),_$)),x4t=Ca(Fn(new ui,la,D$),$o,O$),N4t=Mf(Mf(YN(Ca(Fn(new ui,id,j$),$o,P$),da),M$),F$),_4t=Ca(Fn(Fn(Fn(new ui,xh,x$),da,C$),da,zk),$o,N$),k4t=Ca(Fn(Fn(new ui,da,zk),da,A$),$o,T$)}function _C(){_C=Y,R4t=Fn(Ca(new ui,(Vi(),$o),(Xi(),rSe)),la,_$),M4t=Mf(Mf(YN(Ca(Fn(new ui,id,j$),$o,P$),da),M$),F$),O4t=Ca(Fn(Fn(Fn(new ui,xh,x$),da,C$),da,zk),$o,N$),L4t=Fn(Fn(new ui,la,D$),$o,O$),D4t=Ca(Fn(Fn(new ui,da,zk),da,A$),$o,T$)}function Z2n(e,t,r,o,s){var u,f;(!lo(t)&&t.c.i.c==t.d.i.c||!qft(_s(Z(X($i,1),Me,8,0,[s.i.n,s.n,s.a])),r))&&!lo(t)&&(t.c==s?VA(t.a,0,new Eo(r)):Gn(t.a,new Eo(r)),o&&!bl(e.a,r)&&(f=l(j(t,(Be(),rs)),79),f||(f=new Du,Ae(t,rs,f)),u=new Eo(r),Wr(f,u,f.c.b,f.c),pi(e.a,u)))}function gwt(e,t){var r,o,s,u;for(u=On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15))),r=u&e.b.length-1,s=null,o=e.b[r];o;s=o,o=o.a)if(o.d==u&&tp(o.i,t))return s?s.a=o.a:e.b[r]=o.a,hQe(l(wl(o.c),600),l(wl(o.f),600)),QR(l(wl(o.b),229),l(wl(o.e),229)),--e.f,++e.e,!0;return!1}function Q2n(e){var t,r;for(r=new Ft(Gt(si(e).a.Jc(),new D));an(r);)if(t=l(Qt(r),17),t.c.i.k!=(Ht(),ta))throw K(new Af(PX+U6(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function bwt(e,t){var r,o,s,u,f,p,m,y,v,T,N;s=t?new XBe:new tUe,u=!1;do for(u=!1,y=t?ic(e.b):e.b,m=y.Jc();m.Ob();)for(p=l(m.Pb(),26),N=Mb(p.a),t||ic(N),T=new V(N);T.a<T.c.c.length;)v=l(q(T),9),s.Mb(v)&&(o=v,r=l(j(v,(Ie(),Q0)),318),f=t?r.b:r.k,u=Hwt(o,f,t,!1));while(u)}function eSn(e,t,r){var o,s,u,f,p,m,y;if(s=Xpt(e.Db&254),s==0)e.Eb=r;else{if(s==1)p=me(Ci,Rt,1,2,5,1),u=IY(e,t),u==0?(p[0]=r,p[1]=e.Eb):(p[0]=e.Eb,p[1]=r);else for(p=me(Ci,Rt,1,s+1,5,1),f=BS(e.Eb),o=2,m=0,y=0;o<=128;o<<=1)o==t?p[y++]=r:e.Db&o&&(p[y++]=f[m++]);e.Eb=p}e.Db|=t}function mwt(e,t,r,o,s,u){var f,p,m,y,v,T,N,I,L,U,G,J;for(v=o,t.j&&t.o?(I=l(Ut(e.f,t.A),60),U=I.d.c+I.d.b,--v):U=t.a.c+t.a.b,T=s,r.q&&r.o?(I=l(Ut(e.f,r.C),60),y=I.d.c,++T):y=r.a.c,G=y-U,m=b.Math.max(2,T-v),p=G/m,L=U+p,N=v;N<T;++N)f=l(u.Xb(N),134),J=f.a.b,f.a.c=L-J/2,L+=p}function jme(e,t,r,o,s,u){var f,p,m,y,v,T;for(y=r.c.length,u&&(e.c=me(Rn,Xn,30,t.length,15,1)),f=s?0:t.length-1;s?f<t.length:f>=0;f+=s?1:-1){for(p=t[f],m=o==(Ue(),Zt)?s?ks(p,o):ic(ks(p,o)):s?ic(ks(p,o)):ks(p,o),u&&(e.c[p.p]=m.gc()),T=m.Jc();T.Ob();)v=l(T.Pb(),12),e.d[v.p]=y++;li(r,m)}}function wwt(e,t,r){var o,s,u,f,p,m,y,v;for(u=ue(ce(e.b.Jc().Pb())),y=ue(ce(_hn(t.b))),o=Qh(So(e.a),y-r),s=Qh(So(t.a),r-u),v=br(o,s),Qh(v,1/(y-u)),this.a=v,this.b=new Pe,p=!0,f=e.b.Jc(),f.Pb();f.Ob();)m=ue(ce(f.Pb())),p&&m-r>NZ&&(this.b.Ec(r),p=!1),this.b.Ec(m);p&&this.b.Ec(r)}function tSn(e){var t,r,o,s;if(wTn(e,e.n),e.d.c.length>0){for($N(e.c);gme(e,l(q(new V(e.e.a)),126))<e.e.a.c.length;){for(t=nmn(e),s=t.e.e-t.d.e-t.a,t.e.j&&(s=-s),o=new V(e.e.a);o.a<o.c.c.length;)r=l(q(o),126),r.j&&(r.e+=s);$N(e.c)}$N(e.c),tme(e,l(q(new V(e.e.a)),126)),kvt(e)}}function nSn(e,t,r){var o,s,u,f,p;for(r.Tg("Longest path to source layering",1),e.a=t,p=e.a.a,e.b=me(Rn,Xn,30,p.c.length,15,1),o=0,f=new V(p);f.a<f.c.c.length;)s=l(q(f),9),s.p=o,e.b[o]=-1,++o;for(u=new V(p);u.a<u.c.c.length;)s=l(q(u),9),V0t(e,s);p.c.length=0,e.a=null,e.b=null,r.Ug()}function rSn(e,t){zS();var r,o;if(r=UW(G3(),t.Og()),r){if(o=r.j,se(e,209))return uun(l(e,19))?fu(o,(Jd(),ri))||fu(o,xt):fu(o,(Jd(),ri));if(se(e,273))return fu(o,(Jd(),Rd));if(se(e,196))return fu(o,(Jd(),Ng));if(se(e,363))return fu(o,(Jd(),kp))}return!0}function iSn(e,t,r){var o,s,u,f,p,m;if(s=r,u=s.Jk(),bp(e.e,u)){if(u.Qi()){for(o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],pr(p,s)&&f!=t)throw K(new jt(HD))}}else for(m=za(e.e.Ah(),u),o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],m.$l(p.Jk())&&f!=t)throw K(new jt(WD));return l(EE(e,t,r),76)}function ywt(e,t){if(t instanceof Object)try{if(t.__java$exception=e,navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&$doc.documentMode<9)return;var r=e;Object.defineProperties(t,{cause:{get:function(){var o=r.fe();return o&&o.de()}},suppressed:{get:function(){return r.ee()}}})}catch{}}function vwt(e,t){var r,o,s,u,f;if(o=t>>5,t&=31,o>=e.d)return e.e<0?(Pf(),U_t):(Pf(),gI);if(u=e.d-o,s=me(Rn,Xn,30,u+1,15,1),tyn(s,u,e.a,o,t),e.e<0){for(r=0;r<o&&e.a[r]==0;r++);if(r<o||t>0&&e.a[r]<<32-t){for(r=0;r<u&&s[r]==-1;r++)s[r]=0;r==u&&++u,++s[r]}}return f=new Ib(e.e,u,s),M3(f),f}function oSn(e,t,r,o){var s,u,f,p,m;return p=Vo(l(ie((!t.b&&(t.b=new Et(pn,t,4,7)),t.b),0),83)),m=Vo(l(ie((!t.c&&(t.c=new Et(pn,t,5,8)),t.c),0),83)),Br(p)==Br(m)||ay(m,p)?null:(f=ey(t),f==r?o:(u=l(Ut(e.a,f),9),u&&(s=u.e,s)?s:null))}function sSn(e,t){var r;switch(r=l(j(e,(Be(),dB)),286),t.Tg("Label side selection ("+r+")",1),r.g){case 0:N0t(e,(vc(),Ih));break;case 1:N0t(e,(vc(),q1));break;case 2:evt(e,(vc(),Ih));break;case 3:evt(e,(vc(),q1));break;case 4:Nwt(e,(vc(),Ih));break;case 5:Nwt(e,(vc(),q1))}t.Ug()}function bp(e,t){Oo();var r,o,s;return t.Hk()?!0:t.Gk()==-2?t==(tT(),YT)||t==KT||t==Fre||t==$re?!0:(s=e.Ah(),Ur(s,t)>=0?!1:(r=IE((mu(),so),s,t),r?(o=r.Gk(),(o>1||o==-1)&&d0(es(so,r))!=3):!0)):!1}function aSn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I;if(m=e.c.d,y=e.d.d,m.j!=y.j)for(I=e.b,v=null,p=null,f=p1n(e),f&&I.i&&(v=e.b.i.i,p=I.i.j),s=m.j,T=null;s!=y.j;)T=t==0?Uj(s):t1e(s),u=D1e(s,I.d[s.g],r),N=D1e(T,I.d[T.g],r),f&&v&&p&&(s==v?ogt(u,v,p):T==v&&ogt(N,v,p)),Gn(o,br(u,N)),s=T}function Fme(e,t,r){var o,s,u,f,p,m;if(o=CQt(r,e.length),f=e[o],u=wQe(r,f.length),f[u].k==(Ht(),mi))for(m=t.j,s=0;s<m.c.length;s++)p=(at(s,m.c.length),l(m.c[s],12)),(r?p.j==(Ue(),Zt):p.j==(Ue(),Wt))&&Ke(We(j(p,(Ie(),dL))))&&(tc(m,s,l(j(f[u],(Ie(),mr)),12)),u+=r?1:-1)}function uSn(e,t){var r,o,s,u,f,p,m,y;t.Tg("Greedy Width Approximator",1),r=ue(ce(ye(e,(ef(),qB)))),m=l(ye(e,s4),100),u=l(ye(e,Bke),388),f=Ke(We(ye(e,$ke))),p=ue(ce(ye(e,a4))),y=(!e.a&&(e.a=new xe(En,e,10,11)),e.a),ige(y),s=new Vit(r,u,f),o=bTn(s,y,p,m),Vn(e,(yh(),rv),o.c),t.Ug()}function Ewt(e){if(e.g==null)switch(e.p){case 0:e.g=cun(e)?(Lt(),$k):(Lt(),D1);break;case 1:e.g=f6(iln(e));break;case 2:e.g=S6(Xun(e));break;case 3:e.g=Lsn(e);break;case 4:e.g=new XR(Msn(e));break;case 6:e.g=by(Fsn(e));break;case 5:e.g=Re(Kan(e));break;case 7:e.g=O_(aln(e))}return e.g}function $me(e){if(e.n==null)switch(e.p){case 0:e.n=lun(e)?(Lt(),$k):(Lt(),D1);break;case 1:e.n=f6(oln(e));break;case 2:e.n=S6(Zun(e));break;case 3:e.n=jsn(e);break;case 4:e.n=new XR(Psn(e));break;case 6:e.n=by($sn(e));break;case 5:e.n=Re(Yan(e));break;case 7:e.n=O_(sln(e))}return e.n}function Swt(e,t,r,o){var s,u,f,p,m;if(p=(Oo(),l(t,69).vk()),bp(e.e,t)){if(t.Qi()&&H7(e,t,o,se(t,104)&&(l(t,20).Bb&xo)!=0))throw K(new jt(HD))}else for(m=za(e.e.Ah(),t),s=l(e.g,123),f=0;f<e.i;++f)if(u=s[f],m.$l(u.Jk()))throw K(new jt(WD));iC(e,Ube(e,t,r),p?l(o,76):gh(t,o))}function Twt(e){var t,r,o,s,u,f,p;for(u=new V(e.a.a);u.a<u.c.c.length;)o=l(q(u),321),o.g=0,o.i=0,o.e.a.$b();for(s=new V(e.a.a);s.a<s.c.c.length;)for(o=l(q(s),321),r=o.a.a.ec().Jc();r.Ob();)for(t=l(r.Pb(),60),p=t.c.Jc();p.Ob();)f=l(p.Pb(),60),f.a!=o&&(pi(o.e,f),++f.a.g,++f.a.i)}function cSn(e){var t,r,o,s,u;s=l(j(e,(Be(),gm)),24),u=l(j(e,wB),24),r=new Le(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new Eo(r),s.Gc((oc(),fv))&&(o=l(j(e,tx),8),u.Gc((Bu(),Sx))&&(o.a<=0&&(o.a=20),o.b<=0&&(o.b=20)),t.a=b.Math.max(r.a,o.a),t.b=b.Math.max(r.b,o.b)),l_n(e,r,t)}function lSn(e,t){var r,o,s;t.a?(zO(e.b,t.b),e.a[t.b.i]=l(wq(e.b,t.b),84),r=l(mq(e.b,t.b),84),r&&(e.a[r.i]=t.b)):(o=l(wq(e.b,t.b),84),o&&o==e.a[t.b.i]&&o.d&&o.d!=t.b.d&&o.f.Ec(t.b),s=l(mq(e.b,t.b),84),s&&e.a[s.i]==t.b&&s.d&&s.d!=t.b.d&&t.b.f.Ec(s),fV(e.b,t.b))}function cJ(e,t){var r,o,s,u,f,p;return u=e.d,p=ue(ce(j(e,(Be(),Ag)))),p<0&&(p=0,Ae(e,Ag,p)),t.o.b=p,f=b.Math.floor(p/2),o=new aa,Ni(o,(Ue(),Wt)),Ts(o,t),o.n.b=f,s=new aa,Ni(s,Zt),Ts(s,t),s.n.b=f,Yi(e,o),r=new h0,qs(r,e),Ae(r,rs,null),go(r,s),Yi(r,u),EAn(t,e,r),Nyn(e,r),r}function dSn(e){var t,r;return r=l(j(e,(Ie(),_a)),24),t=new ui,r.Gc((Mo(),kI))&&(yc(t,v4t),yc(t,m_e)),(r.Gc(Zk)||Ke(We(j(e,(Be(),bte)))))&&(yc(t,m_e),r.Gc(XE)&&yc(t,S4t)),r.Gc(rl)&&yc(t,y4t),r.Gc(xI)&&yc(t,T4t),r.Gc(X$)&&yc(t,E4t),r.Gc(Jk)&&yc(t,m4t),r.Gc(Xk)&&yc(t,w4t),t}function fSn(e,t){var r,o,s,u,f,p,m,y,v,T,N;return o=e.d,u=t.d,p=o+u,m=e.e!=t.e?-1:1,p==2?(v=mo(Gi(e.a[0],Po),Gi(t.a[0],Po)),N=On(v),T=On(Cb(v,32)),T==0?new op(m,N):new Ib(m,2,Z(X(Rn,1),Xn,30,15,[N,T]))):(r=e.a,s=t.a,f=me(Rn,Xn,30,p,15,1),Lpn(r,o,s,u,f),y=new Ib(m,p,f),M3(y),y)}function Awt(e,t,r,o){var s,u;if(t){if(s=e.a.Le(r.d,t.d),s==0)return o.d=Hde(t,r.e),o.b=!0,t;u=s<0?0:1,t.a[u]=Awt(e,t.a[u],r,o),Mw(t.a[u])&&(Mw(t.a[1-u])?(t.b=!0,t.a[0].b=!1,t.a[1].b=!1):Mw(t.a[u].a[u])?t=Sj(t,1-u):Mw(t.a[u].a[1-u])&&(t=Uut(t,1-u)))}else return r;return t}function _wt(e,t,r){var o,s,u,f;s=e.i,o=e.n,ope(e,(Sd(),$s),s.c+o.b,r),ope(e,Bs,s.c+s.b-o.c-r[2],r),f=s.b-o.b-o.c,r[0]>0&&(r[0]+=e.d,f-=r[0]),r[2]>0&&(r[2]+=e.d,f-=r[2]),u=b.Math.max(0,f),r[1]=b.Math.max(r[1],f),ope(e,ja,s.c+o.b+r[0]-(r[1]-f)/2,r),t==ja&&(e.c.b=u,e.c.c=s.c+o.b+(u-f)/2)}function kwt(){this.c=me(Ki,Wo,30,(Ue(),Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt])).length,15,1),this.b=me(Ki,Wo,30,Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt]).length,15,1),this.a=me(Ki,Wo,30,Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt]).length,15,1),ple(this.c,Kr),ple(this.b,Oi),ple(this.a,Oi)}function hSn(e,t,r,o){var s,u,f,p,m;for(m=t.i,p=r[m.g][e.d[m.g]],s=!1,f=new V(t.d);f.a<f.c.c.length;)if(u=l(q(f),70),Ke(We(j(u,(Be(),i2))))){s=!0;break}switch(s&&(o=0),m.g){case 1:p-=o+t.j.b,t.g.b=p;break;case 3:p+=o,t.g.b=p;break;case 4:p-=o+t.j.a,t.g.a=p;break;case 2:p+=o,t.g.a=p}}function Ea(e,t,r){var o,s,u,f;if(t<=r?(s=t,u=r):(s=r,u=t),o=0,e.b==null)e.b=me(Rn,Xn,30,2,15,1),e.b[0]=s,e.b[1]=u,e.c=!0;else{if(o=e.b.length,e.b[o-1]+1==s){e.b[o-1]=u;return}f=me(Rn,Xn,30,o+2,15,1),ua(e.b,0,f,0,o),e.b=f,e.b[o-1]>=s&&(e.c=!1,e.a=!1),e.b[o++]=s,e.b[o]=u,e.c||kE(e)}}function pSn(e,t,r){var o,s,u,f,p,m,y;for(y=t.d,e.a=new Ra(y.c.length),e.c=new hn,p=new V(y);p.a<p.c.c.length;)f=l(q(p),108),u=new T6(null),je(e.a,u),Yn(e.c,f,u);for(e.b=new hn,Iyn(e,t),o=0;o<y.c.length-1;o++)for(m=l(He(t.d,o),108),s=o+1;s<y.c.length;s++)s2n(e,m,l(He(t.d,s),108),r)}function gSn(e,t){var r,o,s,u,f,p,m;for(r=Oi,p=(Ht(),Xr),s=new V(t.a);s.a<s.c.c.length;)o=l(q(s),9),u=o.k,u!=Xr&&(f=ce(j(o,(Ie(),lTe))),f==null?(r=b.Math.max(r,0),o.n.b=r+Ede(e.a,u,p)):o.n.b=(Mt(f),f)),m=Ede(e.a,u,p),o.n.b<r+m+o.d.d&&(o.n.b=r+m+o.d.d),r=o.n.b+o.o.b+o.d.a,p=u}function Ty(e){var t,r,o,s,u;for(s=new Pe,t=new Ww((!e.a&&(e.a=new xe(En,e,10,11)),e.a)),o=new Ft(Gt(gp(e).a.Jc(),new D));an(o);)r=l(Qt(o),74),se(ie((!r.b&&(r.b=new Et(pn,r,4,7)),r.b),0),196)||(u=Vo(l(ie((!r.c&&(r.c=new Et(pn,r,5,8)),r.c),0),83)),t.a._b(u)||Ot(s.c,u));return s}function bSn(e,t,r){var o,s,u;if(e.e=r,e.d=0,e.b=0,e.f=1,e.i=t,(e.e&16)==16&&(e.i=TTn(e.i)),e.j=e.i.length,dr(e),u=x0(e),e.d!=e.j)throw K(new Dn(Pn((Cn(),YTt))));if(e.g){for(o=0;o<e.g.a.c.length;o++)if(s=l(l0(e.g,o),587),e.f<=s.a)throw K(new Dn(Pn((Cn(),JTt))));e.g.a.c.length=0}return u}function mSn(e,t){var r,o,s,u,f,p,m;for(t.Tg("Comment post-processing",1),u=new V(e.b);u.a<u.c.c.length;){for(s=l(q(u),26),o=new Pe,p=new V(s.a);p.a<p.c.c.length;)f=l(q(p),9),m=l(j(f,(Ie(),DT)),16),r=l(j(f,kT),16),(m||r)&&(Mxn(f,m,r),m&&li(o,m),r&&li(o,r));li(s.a,o)}t.Ug()}function xwt(e,t,r,o,s){var u,f,p,m,y,v;if(e.d&&e.d.Fg(s),u=l(s.Xb(0),19),m1t(e,r,u,!1)||(f=l(s.Xb(s.gc()-1),19),m1t(e,o,f,!0))||Obe(e,s))return!0;for(v=s.Jc();v.Ob();)for(y=l(v.Pb(),19),m=t.Jc();m.Ob();)if(p=l(m.Pb(),19),j7(e,y,p))return!0;return!1}function wSn(e,t,r){var o,s,u,f,p,m,y,v,T,N;N=t.c.length,T=(y=e.Fh(r),l(y>=0?e.Ih(y,!1,!0):R0(e,r,!1),61));e:for(u=T.Jc();u.Ob();){for(s=l(u.Pb(),57),v=0;v<N;++v)if(f=(at(v,t.c.length),l(t.c[v],76)),m=f.kd(),p=f.Jk(),o=s.Kh(p,!1),m==null?o!=null:!pr(m,o))continue e;return s}return null}function ySn(e,t,r,o){var s,u,f,p;for(s=l(gg(t,(Ue(),Wt)).Jc().Pb(),12),u=l(gg(t,Zt).Jc().Pb(),12),p=new V(e.j);p.a<p.c.c.length;){for(f=l(q(p),12);f.e.c.length!=0;)Yi(l(He(f.e,0),17),s);for(;f.g.c.length!=0;)go(l(He(f.g,0),17),u)}r||Ae(t,(Ie(),Cd),null),o||Ae(t,(Ie(),Nl),null)}function Nwt(e,t){var r,o,s,u,f,p,m;for(r=new iE,u=new V(e.b);u.a<u.c.c.length;){for(s=l(q(u),26),m=!0,o=0,p=new V(s.a);p.a<p.c.c.length;)switch(f=l(q(p),9),f.k.g){case 4:++o;case 1:zhe(r,f);break;case 0:xyn(f,t);default:r.b==r.c||yyt(r,o,m,!1,t),m=!1,o=0}r.b==r.c||yyt(r,o,m,!0,t)}}function vSn(e){var t,r,o,s,u,f,p,m,y;for(e.a=new Vde,y=0,s=0,o=new V(e.i.b);o.a<o.c.c.length;){for(t=l(q(o),26),t.p=s,m=new V(t.a);m.a<m.c.c.length;)p=l(q(m),9),p.p=y,++y;++s}for(u=e.r==(_1(),sx),f=u?Zxt:Xxt,r=new V(e.i.b);r.a<r.c.c.length;)t=l(q(r),26),_i(t.a,f),Qdn(e.a,Re(t.p),t.a)}function Bme(e,t){var r,o,s,u,f,p;for(r=0,p=new V(t);p.a<p.c.c.length;){for(f=l(q(p),12),Pge(e.b,e.d[f.p]),s=new Vd(f.b);Ss(s.a)||Ss(s.b);)o=l(Ss(s.a)?q(s.a):q(s.b),17),u=Xce(e,f==o.c?o.d:o.c),u>e.d[f.p]&&(r+=Xhe(e.b,u),l1(e.a,Re(u)));for(;!BN(e.a);)Rpe(e.b,l(xS(e.a),15).a)}return r}function Cwt(e,t,r){var o,s,u,f;for(u=(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i,s=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));s.e!=s.i.gc();)o=l(rn(s),19),(!o.a&&(o.a=new xe(En,o,10,11)),o.a).i==0||(u+=Cwt(e,o,!1));if(r)for(f=Br(t);f;)u+=(!f.a&&(f.a=new xe(En,f,10,11)),f.a).i,f=Br(f);return u}function Ay(e,t){var r,o,s,u;return e.Nj()?(o=null,s=e.Oj(),e.Rj()&&(o=e.Tj(e.Yi(t),null)),r=e.Gj(4,u=JS(e,t),null,t,s),e.Kj()&&u!=null&&(o=e.Mj(u,o)),o?(o.lj(r),o.mj()):e.Hj(r),u):(u=JS(e,t),e.Kj()&&u!=null&&(o=e.Mj(u,null),o&&o.mj()),u)}function ESn(e){var t,r,o,s,u,f,p,m,y,v;for(y=e.a,t=new hi,m=0,o=new V(e.d);o.a<o.c.c.length;){for(r=l(q(o),228),v=0,Ub(r.b,new Fc),f=An(r.b,0);f.b!=f.d.c;)u=l(Sn(f),228),t.a._b(u)&&(s=r.c,p=u.c,v<p.d+p.a+y&&v+s.a+y>p.d&&(v=p.d+p.a+y));r.c.d=v,t.a.yc(r,t),m=b.Math.max(m,r.c.d+r.c.a)}return m}function SSn(e,t,r){var o,s,u,f,p,m;for(f=l(j(e,(Ie(),Zee)),16).Jc();f.Ob();){switch(u=l(f.Pb(),9),l(j(u,(Be(),Ns)),166).g){case 2:Ii(u,t);break;case 4:Ii(u,r)}for(s=new Ft(Gt(Df(u).a.Jc(),new D));an(s);)o=l(Qt(s),17),!(o.c&&o.d)&&(p=!o.d,m=l(j(o,fTe),12),p?Yi(o,m):go(o,m))}}function Mo(){Mo=Y,J$=new jw("COMMENTS",0),rl=new jw("EXTERNAL_PORTS",1),kI=new jw("HYPEREDGES",2),X$=new jw("HYPERNODES",3),Zk=new jw("NON_FREE_PORTS",4),XE=new jw("NORTH_SOUTH_PORTS",5),xI=new jw(iSt,6),Jk=new jw("CENTER_LABELS",7),Xk=new jw("END_LABELS",8),Z$=new jw("PARTITIONS",9)}function TSn(e,t,r,o,s){return o<0?(o=_E(e,s,Z(X(Ye,1),Me,2,6,[ZJ,QJ,eX,tX,uT,nX,rX,iX,oX,sX,aX,uX]),t),o<0&&(o=_E(e,s,Z(X(Ye,1),Me,2,6,["Jan","Feb","Mar","Apr",uT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),o<0?!1:(r.k=o,!0)):o>0?(r.k=o-1,!0):!1}function ASn(e,t,r,o,s){return o<0?(o=_E(e,s,Z(X(Ye,1),Me,2,6,[ZJ,QJ,eX,tX,uT,nX,rX,iX,oX,sX,aX,uX]),t),o<0&&(o=_E(e,s,Z(X(Ye,1),Me,2,6,["Jan","Feb","Mar","Apr",uT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),o<0?!1:(r.k=o,!0)):o>0?(r.k=o-1,!0):!1}function _Sn(e,t,r,o,s,u){var f,p,m,y;if(p=32,o<0){if(t[0]>=e.length||(p=uo(e,t[0]),p!=43&&p!=45)||(++t[0],o=_7(e,t),o<0))return!1;p==45&&(o=-o)}return p==32&&t[0]-r==2&&s.b==2&&(m=new z9,y=m.q.getFullYear()-x1+x1-80,f=y%100,u.a=o==f,o+=(y/100|0)*100+(o<f?100:0)),u.p=o,!0}function Iwt(e,t){var r,o,s,u,f;Br(e)&&(f=l(j(t,(Be(),gm)),185),be(ye(e,Zr))===be((qi(),W1))&&Vn(e,Zr,pf),o=(t1(),new Kp(Br(e))),u=new F8(Br(e)?new Kp(Br(e)):null,e),s=D0e(o,u,!1,!0),Jl(f,(oc(),fv)),r=l(j(t,tx),8),r.a=b.Math.max(s.a,r.a),r.b=b.Math.max(s.b,r.b))}function kSn(e){var t,r,o,s,u,f;for(u=new hi,t=new Ww((!e.a&&(e.a=new xe(En,e,10,11)),e.a)),s=new Ft(Gt(gp(e).a.Jc(),new D));an(s);)o=l(Qt(s),74),se(ie((!o.b&&(o.b=new Et(pn,o,4,7)),o.b),0),196)||(f=Vo(l(ie((!o.c&&(o.c=new Et(pn,o,5,8)),o.c),0),83)),t.a._b(f)||(r=u.a.yc(f,u),r==null));return u}function X_(){X_=Y,Ixe=Z(X(hw,1),t2t,30,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),b.Math.pow(2,-65)}function Z_(){Z_=Y;var e,t;for(vT=me(zE,Me,92,32,0,1),bI=me(zE,Me,92,32,0,1),e=1,t=0;t<=18;t++)vT[t]=(Pf(),va(e,0)>=0?v1(e):x3(v1(ag(e)))),bI[t]=_8(fh(e,t),0)?v1(fh(e,t)):x3(v1(ag(fh(e,t)))),e=mo(e,5);for(;t<bI.length;t++)vT[t]=dE(vT[t-1],vT[1]),bI[t]=dE(bI[t-1],(Pf(),HQ))}function Rwt(e,t){var r,o,s,u,f;if(e.c.length==0)return new ko(Re(0),Re(0));for(r=(at(0,e.c.length),l(e.c[0],12)).j,f=0,u=t.g,o=t.g+1;f<e.c.length-1&&r.g<u;)++f,r=(at(f,e.c.length),l(e.c[f],12)).j;for(s=f;s<e.c.length-1&&r.g<o;)++s,r=(at(f,e.c.length),l(e.c[f],12)).j;return new ko(Re(f),Re(s))}function xSn(e,t,r,o){var s,u,f,p,m,y,v;m=ks(t,r),(r==(Ue(),dn)||r==Wt)&&(m=ic(m)),f=!1;do for(s=!1,u=0;u<m.gc()-1;u++)y=l(m.Xb(u),12),p=l(m.Xb(u+1),12),ywn(e,y,p,o)&&(f=!0,OW(e.a,l(m.Xb(u),12),l(m.Xb(u+1),12)),v=l(m.Xb(u+1),12),m.fd(u+1,l(m.Xb(u),12)),m.fd(u,v),s=!0);while(s);return f}function NSn(e,t,r){var o,s,u,f;for(r.Tg(_St,1),s=l(Au(lr(new yt(null,new vt(t.b,16)),new NHe),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),n0t(e,s,0),f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),o=Ut(e.a,Re(u.g))!=null?l(Ut(e.a,Re(u.g)),15).a:0,Ae(u,(Ps(),Yf),Re(o));r.Ug()}function j7(e,t,r){var o,s,u,f,p,m,y,v;return p=t.i-e.g/2,m=r.i-e.g/2,y=t.j-e.g/2,v=r.j-e.g/2,u=t.g+e.g,f=r.g+e.g,o=t.f+e.g,s=r.f+e.g,p<m+f&&m<p&&y<v+s&&v<y||m<p+u&&p<m&&v<y+o&&y<v||p<m+f&&m<p&&y<v&&v<y+o?!0:m<p+u&&p<m&&y<v+s&&v<y}function CSn(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(u=t.c.length,f=(at(r,t.c.length),l(t.c[r],295)),p=f.a.o.a,T=f.c,N=0,y=f.c;y<=f.f;y++){if(p<=e.a[y])return y;for(v=e.a[y],m=null,s=r+1;s<u;s++)o=(at(s,t.c.length),l(t.c[s],295)),o.c<=y&&o.f>=y&&(m=o);m&&(v=b.Math.max(v,m.a.o.a)),v>N&&(T=y,N=v)}return T}function ISn(e){var t,r,o,s,u,f,p;for(u=new Zp(l(xn(new Tf),50)),p=Oi,r=new V(e.d);r.a<r.c.c.length;){for(t=l(q(r),228),p=t.c.c;u.a.gc()!=0&&(f=l(u.a.Rc(),228),f.c.c+f.c.b<p);)u.a.Ac(f)!=null;for(s=u.a.ec().Jc();s.Ob();)o=l(s.Pb(),228),Gn(o.b,t),Gn(t.b,o);u.a.yc(t,(Lt(),D1))==null}}function Owt(e,t,r){var o,s,u,f,p;if(!ry(t)){for(p=r.dh((se(t,18)?l(t,18).gc():yd(t.Jc()))/e.a|0),p.Tg(kSt,1),f=new IHe,u=null,s=t.Jc();s.Ob();)o=l(s.Pb(),41),f=Wc(Z(X(nl,1),Rt,22,0,[f,new Xh(o)])),u&&(Ae(u,(xr(),U4t),o),Ae(o,ene,u),VW(o)==VW(u)&&(Ae(u,tne,o),Ae(o,LB,u))),u=o;p.Ug(),Owt(e,f,r)}}function RSn(e,t){var r,o,s;if(t==null){for(o=(!e.a&&(e.a=new xe(Ip,e,9,5)),new en(e.a));o.e!=o.i.gc();)if(r=l(rn(o),691),s=r.c,(s??r.zb)==null)return r}else for(o=(!e.a&&(e.a=new xe(Ip,e,9,5)),new en(e.a));o.e!=o.i.gc();)if(r=l(rn(o),691),mt(t,(s=r.c,s??r.zb)))return r;return null}function lJ(e,t){var r;switch(r=null,t.g){case 1:e.e.nf((_n(),fre))&&(r=l(e.e.mf(fre),260));break;case 3:e.e.nf((_n(),hre))&&(r=l(e.e.mf(hre),260));break;case 2:e.e.nf((_n(),dre))&&(r=l(e.e.mf(dre),260));break;case 4:e.e.nf((_n(),pre))&&(r=l(e.e.mf(pre),260))}return!r&&(r=l(e.e.mf((_n(),sNe)),260)),r}function Dwt(e,t,r){var o,s,u,f,p,m;for(s=r,u=0,p=new V(t);p.a<p.c.c.length;)f=l(q(p),19),Vn(f,(T1(),BB),Re(s++)),m=Ty(f),o=b.Math.atan2(f.j+f.f/2,f.i+f.g/2),o+=o<0?im:0,o<.7853981633974483||o>PSt?_i(m,e.b):o<=PSt&&o>jSt?_i(m,e.d):o<=jSt&&o>FSt?_i(m,e.c):o<=FSt&&_i(m,e.a),u=Dwt(e,m,u);return s}function Lwt(e,t,r,o){var s,u,f,p,m,y;for(s=(o.c+o.a)/2,ec(t.j),Gn(t.j,s),ec(r.e),Gn(r.e,s),y=new bQe,p=new V(e.f);p.a<p.c.c.length;)u=l(q(p),135),m=u.a,FY(y,t,m),FY(y,r,m);for(f=new V(e.k);f.a<f.c.c.length;)u=l(q(f),135),m=u.b,FY(y,t,m),FY(y,r,m);return y.b+=2,y.a+=gat(t,e.q),y.a+=gat(e.q,r),y}function OSn(e,t,r){var o;r.Tg("Processor arrange node",1),Ke(We(j(t,(Ps(),B_e)))),o=l(Ju(dp(lr(new yt(null,new vt(t.b,16)),new BHe))),41),e.a=l(j(t,Y_e),354),e.a==(Z3(),one)||e.a==jB?Zvt(e,new Ds(Z(X(DB,1),OF,41,0,[o])),r.dh(1)):e.a==ine&&_Et(e,new Ds(Z(X(DB,1),OF,41,0,[o])),r.dh(1)),r.Ug()}function Mwt(e){var t,r,o,s,u,f,p;for(r=e.i,t=e.n,p=r.d,e.f==(Za(),M1)?p+=(r.a-e.e.b)/2:e.f==rd&&(p+=r.a-e.e.b),s=new V(e.d);s.a<s.c.c.length;){switch(o=l(q(s),190),f=o.Kf(),u=new to,u.b=p,p+=f.b+e.a,e.b.g){case 0:u.a=r.c+t.b;break;case 1:u.a=r.c+t.b+(r.b-f.a)/2;break;case 2:u.a=r.c+r.b-t.c-f.a}o.Mf(u)}}function Pwt(e){var t,r,o,s,u,f,p;for(r=e.i,t=e.n,p=r.c,e.b==(_u(),L1)?p+=(r.b-e.e.a)/2:e.b==nd&&(p+=r.b-e.e.a),s=new V(e.d);s.a<s.c.c.length;){switch(o=l(q(s),190),f=o.Kf(),u=new to,u.a=p,p+=f.a+e.a,e.f.g){case 0:u.b=r.d+t.d;break;case 1:u.b=r.d+t.d+(r.a-f.b)/2;break;case 2:u.b=r.d+r.a-t.a-f.b}o.Mf(u)}}function DSn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L;v=r.a.c,f=r.a.c+r.a.b,u=l(Ut(r.c,t),460),I=u.f,L=u.a,m=new Le(v,I),T=new Le(f,L),s=v,r.p||(s+=e.c),s+=r.F+r.v*e.b,y=new Le(s,I),N=new Le(s,L),q3(t.a,Z(X($i,1),Me,8,0,[m,y])),p=r.d.a.gc()>1,p&&(o=new Le(s,r.b),Gn(t.a,o)),q3(t.a,Z(X($i,1),Me,8,0,[N,T]))}function Ume(e,t,r){var o,s;for(t<e.d.b.c.length?(e.b=l(He(e.d.b,t),26),e.a=l(He(e.d.b,t-1),26),e.c=t):(e.a=new ra(e.d),e.a.p=t-1,je(e.d.b,e.a),e.b=new ra(e.d),e.b.p=t,je(e.d.b,e.b),e.c=t),Ii(r,e.b),s=new Ft(Gt(si(r).a.Jc(),new D));an(s);)o=l(Qt(s),17),!o.c.i.c&&o.c.i.k==(Ht(),ta)&&Ii(o.c.i,e.a)}function LSn(e,t){var r,o,s,u;for(u=ks(t,(Ue(),dn)).Jc();u.Ob();)o=l(u.Pb(),12),r=l(j(o,(Ie(),Nu)),9),r&&Ql($l(Ul(Hl(Bl(new gl,0),.1),e.i[t.p].d),e.i[r.p].a));for(s=ks(t,Vt).Jc();s.Ob();)o=l(s.Pb(),12),r=l(j(o,(Ie(),Nu)),9),r&&Ql($l(Ul(Hl(Bl(new gl,0),.1),e.i[r.p].d),e.i[t.p].a))}function jwt(e){t0(e,new Xb(Zm(Ym(Xm(Jm(new wb,FF),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new yGe))),Oe(e,FF,$0,BNe),Oe(e,FF,F0,15),Oe(e,FF,aF,Re(0)),Oe(e,FF,bk,gk)}function Hme(){Hme=Y;var e,t,r,o,s,u;for(M4=me(Eu,BE,30,255,15,1),_U=me(al,$f,30,16,15,1),t=0;t<255;t++)M4[t]=-1;for(r=57;r>=48;r--)M4[r]=r-48<<24>>24;for(o=70;o>=65;o--)M4[o]=o-65+10<<24>>24;for(s=102;s>=97;s--)M4[s]=s-97+10<<24>>24;for(u=0;u<10;u++)_U[u]=48+u&Ei;for(e=10;e<=15;e++)_U[e]=65+e-10&Ei}function Fwt(e,t){t.Tg("Process graph bounds",1),Ae(e,(xr(),Zte),bO(TK(Qw(new yt(null,new vt(e.b,16)),new EHe)))),Ae(e,Qte,bO(TK(Qw(new yt(null,new vt(e.b,16)),new SHe)))),Ae(e,D_e,bO(SK(Qw(new yt(null,new vt(e.b,16)),new THe)))),Ae(e,L_e,bO(SK(Qw(new yt(null,new vt(e.b,16)),new AHe)))),t.Ug()}function MSn(e){var t,r,o,s,u;s=l(j(e,(Be(),gm)),24),u=l(j(e,wB),24),r=new Le(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new Eo(r),s.Gc((oc(),fv))&&(o=l(j(e,tx),8),u.Gc((Bu(),Sx))&&(o.a<=0&&(o.a=20),o.b<=0&&(o.b=20)),t.a=b.Math.max(r.a,o.a),t.b=b.Math.max(r.b,o.b)),Ke(We(j(e,vte)))||c_n(e,r,t)}function PSn(e){var t,r,o,s,u,f,p;for(t=!1,r=0,s=new V(e.d.b);s.a<s.c.c.length;)for(o=l(q(s),26),o.p=r++,f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),!t&&!ry(Df(u))&&(t=!0);p=Ar((vi(),hf),Z(X(w4,1),Ce,87,0,[is,cs])),t||(Jl(p,il),Jl(p,ff)),e.a=new Xdt(p),Zs(e.f),Zs(e.b),Zs(e.e),Zs(e.g)}function dJ(e){var t,r,o,s,u,f;if(!e.c){if(f=new qGe,t=R4,u=t.a.yc(e,t),u==null){for(o=new en(oa(e));o.e!=o.i.gc();)r=l(rn(o),88),s=U7(r),se(s,89)&&ti(f,dJ(l(s,29))),Tn(f,r);t.a.Ac(e)!=null,t.a.gc()==0}qgn(f),fy(f),e.c=new Qv((l(ie(Ne((a1(),Bt).o),15),20),f.i),f.g),Mu(e).b&=-33}return e.c}function zme(e){var t;if(e.c!=10)throw K(new Dn(Pn((Cn(),GF))));switch(t=e.a,t){case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw K(new Dn(Pn((Cn(),tl))))}return t}function $wt(e){var t,r,o,s,u;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==yD&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+$wt(k_(e));for(r=e,o="";!(r.l==0&&r.m==0&&r.h==0);){if(s=HW(tF),r=k0e(r,s,!0),t=""+UQe(O1),!(r.l==0&&r.m==0&&r.h==0))for(u=9-t.length;u>0;u--)t="0"+t;o=t+o}return o}function jSn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",t=Object.create(null);if(t[e]!==void 0)return!1;var r=Object.getOwnPropertyNames(t);return!(r.length!=0||(t[e]=42,t[e]!==42)||Object.getOwnPropertyNames(t).length==0)}function FSn(e,t,r){var o,s,u,f,p,m,y,v,T;for(o=r.c,s=r.d,p=qd(t.c),m=qd(t.d),o==t.c?(p=xme(e,p,s),m=Pbt(t.d)):(p=Pbt(t.c),m=xme(e,m,s)),y=new F9(t.a),Wr(y,p,y.a,y.a.a),Wr(y,m,y.c.b,y.c),f=t.c==o,T=new cZe,u=0;u<y.b-1;++u)v=new ko(l(sa(y,u),8),l(sa(y,u+1),8)),f&&u==0||!f&&u==y.b-2?T.b=v:je(T.a,v);return T}function $Sn(e,t){var r,o,s,u;if(u=e.j.g-t.j.g,u!=0)return u;if(r=l(j(e,(Be(),_g)),15),o=l(j(t,_g),15),r&&o&&(s=r.a-o.a,s!=0))return s;switch(e.j.g){case 1:return yr(e.n.a,t.n.a);case 2:return yr(e.n.b,t.n.b);case 3:return yr(t.n.a,e.n.a);case 4:return yr(t.n.b,e.n.b);default:throw K(new Xo(Ewe))}}function Gme(e,t,r,o){var s,u,f,p,m;if(yd((jO(),new Ft(Gt(Df(t).a.Jc(),new D))))>=e.a||!Sbe(t,r))return-1;if(ry(l(o.Kb(t),22)))return 1;for(s=0,f=l(o.Kb(t),22).Jc();f.Ob();)if(u=l(f.Pb(),17),m=u.c.i==t?u.d.i:u.c.i,p=Gme(e,m,r,o),p==-1||(s=b.Math.max(s,p),s>e.c-1))return-1;return s+1}function ef(){ef=Y,qB=new Mi((_n(),px),1.3),lOt=new Mi(av,(Lt(),!1)),Pke=new Ab(15),s4=new Mi(df,Pke),a4=new Mi(Od,15),sOt=jL,cOt=Sm,dOt=b2,fOt=G1,uOt=g2,xne=m4,hOt=uv,Bke=(c0e(),rOt),$ke=nOt,Cne=oOt,Uke=iOt,Mke=QRt,Nne=ZRt,Lke=XRt,Fke=tOt,Oke=b4,aOt=lre,IL=KRt,Rke=WRt,RL=YRt,jke=eOt,Dke=JRt}function Bwt(e,t){var r,o,s,u,f,p;if(be(t)===be(e))return!0;if(!se(t,16)||(o=l(t,16),p=e.gc(),o.gc()!=p))return!1;if(f=o.Jc(),e.Wi()){for(r=0;r<p;++r)if(s=e.Ti(r),u=f.Pb(),s==null?u!=null:!pr(s,u))return!1}else for(r=0;r<p;++r)if(s=e.Ti(r),u=f.Pb(),be(s)!==be(u))return!1;return!0}function Uwt(e,t){var r,o,s,u,f,p;if(e.f>0){if(e.Zj(),t!=null){for(u=0;u<e.d.length;++u)if(r=e.d[u],r){for(o=l(r.g,375),p=r.i,f=0;f<p;++f)if(s=o[f],pr(t,s.kd()))return!0}}else for(u=0;u<e.d.length;++u)if(r=e.d[u],r){for(o=l(r.g,375),p=r.i,f=0;f<p;++f)if(s=o[f],be(t)===be(s.kd()))return!0}}return!1}function BSn(e,t){var r,o,s;return r=t.ni(e.a),r&&(s=In(Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),"affiliation")),s!=null)?(o=M8(s,Qa(35)),o==-1?KK(e,S3(e,mc(t.ok())),s):o==0?KK(e,null,(Yt(1,s.length+1),s.substr(1))):KK(e,(no(0,o,s.length),s.substr(0,o)),(Yt(o+1,s.length+1),s.substr(o+1)))):null}function F7(){F7=Y,See=new IS("NORTH",0,(Ue(),Vt),Vt),_ee=new IS("SOUTH",1,dn,dn),Eee=new IS("EAST",2,Zt,Zt),Nee=new IS("WEST",3,Wt,Wt),Aee=new IS("NORTH_WEST_CORNER",4,Wt,Vt),Tee=new IS("NORTH_EAST_CORNER",5,Vt,Zt),xee=new IS("SOUTH_WEST_CORNER",6,dn,Wt),kee=new IS("SOUTH_EAST_CORNER",7,Zt,dn)}function USn(e,t,r){var o,s,u,f;r.Tg("Orthogonally routing hierarchical port edges",1),e.a=0,o=M_n(t),Gkn(t,o),kkn(e,t,o),Gxn(t),s=l(j(t,(Be(),Zr)),103),u=t.b,Kvt((at(0,u.c.length),l(u.c[0],26)),s,t),Kvt(l(He(u,u.c.length-1),26),s,t),f=t.b,rvt((at(0,f.c.length),l(f.c[0],26))),rvt(l(He(f,f.c.length-1),26)),r.Ug()}function qme(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw K(new kf("Invalid hexadecimal"))}}function Hwt(e,t,r,o){var s,u,f,p,m,y;for(m=jY(e,r),y=jY(t,r),s=!1;m&&y&&(o||Fbn(m,y,r));)f=jY(m,r),p=jY(y,r),c6(t),c6(e),u=m.c,PJ(m,!1),PJ(y,!1),r?(E1(t,y.p,u),t.p=y.p,E1(e,m.p+1,u),e.p=m.p):(E1(e,m.p,u),e.p=m.p,E1(t,y.p+1,u),t.p=y.p),Ii(m,null),Ii(y,null),m=f,y=p,s=!0;return s}function zwt(e){switch(e.g){case 0:return new kWe;case 1:return new pWe;case 3:return new Met;case 4:return new cUe;case 5:return new fit;case 6:return new xWe;case 2:return new gWe;case 7:return new vWe;case 8:return new hWe;default:throw K(new jt("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function HSn(e,t,r,o){var s,u,f,p,m;for(s=!1,u=!1,p=new V(o.j);p.a<p.c.c.length;)f=l(q(p),12),be(j(f,(Ie(),mr)))===be(r)&&(f.g.c.length==0?f.e.c.length==0||(s=!0):u=!0);return m=0,s&&s^u?m=r.j==(Ue(),Vt)?-e.e[o.c.p][o.p]:t-e.e[o.c.p][o.p]:u&&s^u?m=e.e[o.c.p][o.p]+1:s&&u&&(m=r.j==(Ue(),Vt)?0:t/2),m}function fJ(e,t,r,o,s,u,f,p){var m,y,v;for(m=0,t!=null&&(m^=cg(t.toLowerCase())),r!=null&&(m^=cg(r)),o!=null&&(m^=cg(o)),f!=null&&(m^=cg(f)),p!=null&&(m^=cg(p)),y=0,v=u.length;y<v;y++)m^=cg(u[y]);e?m|=256:m&=-257,s?m|=16:m&=-17,this.f=m,this.i=t==null?null:(Mt(t),t),this.a=r,this.d=o,this.j=u,this.g=f,this.e=p}function Vme(e,t,r){var o,s;switch(s=null,t.g){case 1:s=(bu(),$2e);break;case 2:s=(bu(),U2e)}switch(o=null,r.g){case 1:o=(bu(),B2e);break;case 2:o=(bu(),F2e);break;case 3:o=(bu(),H2e);break;case 4:o=(bu(),z2e)}return s&&o?TS(e.j,new QWe(new Ds(Z(X(m3n,1),Rt,181,0,[l(xn(s),181),l(xn(o),181)])))):(St(),St(),No)}function zSn(e){var t,r,o;switch(t=l(j(e,(Be(),tx)),8),Ae(e,tx,new Le(t.b,t.a)),l(j(e,Wf),259).g){case 1:Ae(e,Wf,(mh(),eU));break;case 2:Ae(e,Wf,(mh(),ZB));break;case 3:Ae(e,Wf,(mh(),ML));break;case 4:Ae(e,Wf,(mh(),PL))}(e.q?e.q:(St(),St(),kh))._b(Xy)&&(r=l(j(e,Xy),8),o=r.a,r.a=r.b,r.b=o)}function Gwt(e,t,r,o,s,u){if(this.b=r,this.d=s,e>=t.length)throw K(new Na("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new PO(o),mK(this.e,this.c,(Ue(),Wt)),this.i=new PO(o),mK(this.i,this.c,Zt),this.f=new Pot(this.c),this.a=!u&&s.i&&!s.s&&this.c[0].k==(Ht(),mi),this.a&&ayn(this,e,t.length)}function qwt(e,t){var r,o,s,u,f,p;u=!e.B.Gc((Bu(),JL)),f=e.B.Gc(Tre),e.a=new Agt(f,u,e.c),e.n&&ghe(e.a.n,e.n),iq(e.g,(Sd(),ja),e.a),t||(o=new cC(1,u,e.c),o.n.a=e.k,NS(e.p,(Ue(),Vt),o),s=new cC(1,u,e.c),s.n.d=e.k,NS(e.p,dn,s),p=new cC(0,u,e.c),p.n.c=e.k,NS(e.p,Wt,p),r=new cC(0,u,e.c),r.n.b=e.k,NS(e.p,Zt,r))}function GSn(e){var t,r,o;switch(t=l(j(e.d,(Be(),_p)),225),t.g){case 2:r=MNn(e);break;case 3:r=(o=new Pe,ei(lr(Ia(gs(gs(new yt(null,new vt(e.d.b,16)),new wBe),new yBe),new vBe),new rBe),new VYe(o)),o);break;default:throw K(new Xo("Compaction not supported for "+t+" edges."))}rkn(e,r),co(new Yh(e.g),new HYe(e))}function qSn(e,t){var r,o,s,u,f,p,m;if(t.Tg("Process directions",1),r=l(j(e,(Ps(),aw)),87),r!=(vi(),ff))for(s=An(e.b,0);s.b!=s.d.c;){switch(o=l(Sn(s),41),p=l(j(o,(xr(),xL)),15).a,m=l(j(o,NL),15).a,r.g){case 4:m*=-1;break;case 1:u=p,p=m,m=u;break;case 2:f=p,p=-m,m=f}Ae(o,xL,Re(p)),Ae(o,NL,Re(m))}t.Ug()}function VSn(e){var t,r,o,s,u,f,p,m;for(m=new elt,p=new V(e.a);p.a<p.c.c.length;)if(f=l(q(p),9),f.k!=(Ht(),mi)){for(Xvn(m,f,new to),u=new Ft(Gt(Rr(f).a.Jc(),new D));an(u);)if(s=l(Qt(u),17),!(s.c.i.k==mi||s.d.i.k==mi))for(o=An(s.a,0);o.b!=o.d.c;)r=l(Sn(o),8),t=r,pC(m,new GA(t.a,t.b))}return m}function hJ(){hJ=Y,hxe=new cr($Z),fxe=(WN(),DL),dxe=new ht(HZ,fxe),lxe=(A6(),XB),jOt=new ht(Ive,lxe),cxe=(K6(),jne),POt=new ht(Rve,cxe),DOt=new ht(BZ,null),uxe=(r6(),YB),MOt=new ht(UZ,uxe),axe=(W9(),Lne),COt=new ht(Ove,axe),IOt=new ht(Dve,(Lt(),!1)),ROt=new ht(Lve,Re(64)),OOt=new ht(Mve,!0),LOt=Pne}function Vwt(e,t){var r,o,s,u,f,p,m,y,v,T;for(e.p=1,s=e.c,T=new uh,v=k0(e,(Lo(),Fa)).Jc();v.Ob();)for(y=l(v.Pb(),12),o=new V(y.g);o.a<o.c.c.length;)r=l(q(o),17),m=r.d.i,e!=m&&(u=m.c,u.p<=s.p&&(f=s.p+1,f==t.b.c.length?(p=new ra(t),p.p=f,je(t.b,p),Ii(m,p)):(p=l(He(t.b,f),26),Ii(m,p)),T.a.yc(m,T)));return T}function Wwt(e){switch(e.g){case 0:return new Lfe;case 1:return new TWe;case 2:return new yWe;case 3:return new wWe;case 4:return new Ptt;case 5:return new Ftt;case 6:return new jtt;case 7:return new EWe;case 8:return new SWe;default:throw K(new jt("No implementation is available for the cycle breaker "+(e.f!=null?e.f:""+e.g)))}}function WSn(e,t){var r,o;if(r=l(j(e,(xr(),Yte)),16),!r||r.gc()<1)return null;if(r.gc()==1)return l(r.Xb(0),41);switch(o=null,t.g){case 2:o=l(Ju(kS(r.Mc(),new wHe)),41);break;case 1:o=l(Ju(Yw(r.Mc(),new pHe)),41);break;case 4:o=l(Ju(kS(r.Mc(),new gHe)),41);break;case 3:o=l(Ju(Yw(r.Mc(),new bHe)),41)}return o}function Kwt(e){var t,r,o,s,u,f;if(e.a==null)if(e.a=me(uu,Ad,30,e.c.b.c.length,16,1),e.a[0]=!1,gr(e.c,(Be(),kte)))for(o=l(j(e.c,kte),16),r=o.Jc();r.Ob();)t=l(r.Pb(),15).a,t>0&&t<e.a.length&&(e.a[t]=!1);else for(f=new V(e.c.b),f.a<f.c.c.length&&q(f),s=1;f.a<f.c.c.length;)u=l(q(f),26),e.a[s++]=CEn(u)}function yh(){yh=Y,i4=new cr("additionalHeight"),lx=new cr("drawingHeight"),jT=new cr("drawingWidth"),zB=new cr("minHeight"),o4=new cr("minWidth"),GB=new cr("rows"),rv=new cr("targetWidth"),_ne=new Pr("minRowIncrease",0),qRt=new Pr("maxRowIncrease",0),Ane=new Pr("minRowDecrease",0),GRt=new Pr("maxRowDecrease",0)}function Ywt(e,t){var r,o,s,u;switch(s=e.b,t){case 1:{e.b|=1,e.b|=4,e.b|=8;break}case 2:{e.b|=2,e.b|=4,e.b|=8;break}case 4:{e.b|=1,e.b|=2,e.b|=4,e.b|=8;break}case 3:{e.b|=16,e.b|=8;break}case 0:{e.b|=32,e.b|=16,e.b|=8,e.b|=1,e.b|=2,e.b|=4;break}}if(e.b!=s&&e.c)for(o=new en(e.c);o.e!=o.i.gc();)u=l(rn(o),474),r=Mu(u),Ey(r,t)}function Jwt(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L;for(s=!1,f=t,p=0,m=f.length;p<m;++p)u=f[p],Ke((Lt(),!!u.e))&&!l(He(e.b,u.e.p),221).s&&(s=s|(y=u.e,v=l(He(e.b,y.p),221),T=v.e,N=wQe(r,T.length),I=T[N][0],I.k==(Ht(),mi)?T[N]=A2n(u,T[N],r?(Ue(),Wt):(Ue(),Zt)):v.c.kg(T,r),L=rD(e,v,r,o),Fme(v.e,v.o,r),L));return s}function Xwt(e,t){var r,o,s,u,f;for(u=(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i,s=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));s.e!=s.i.gc();)o=l(rn(s),19),be(ye(o,(_n(),h2)))!==be((fp(),v4))&&(f=l(ye(t,cv),144),r=l(ye(o,cv),144),(f==r||f&&epe(f,r))&&(!o.a&&(o.a=new xe(En,o,10,11)),o.a).i!=0&&(u+=Xwt(e,o)));return u}function KSn(e){var t,r,o,s,u;for(u=new Ra(e.a.c.length),s=new V(e.a);s.a<s.c.c.length;){switch(o=l(q(s),9),r=l(j(o,(Be(),Ns)),166),t=null,r.g){case 1:case 2:t=(Gb(),JE);break;case 3:case 4:t=(Gb(),Yk)}t?(Ae(o,(Ie(),tB),(Gb(),JE)),t==Yk?M7(o,r,(Lo(),Cu)):t==JE&&M7(o,r,(Lo(),Fa))):Ot(u.c,o)}return u}function YSn(e){var t,r,o,s,u,f,p;for(o=0,p=0,f=new V(e.d);f.a<f.c.c.length;)u=l(q(f),108),s=l(Au(lr(new yt(null,new vt(u.j,16)),new Eue),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),r=null,o<=p?(r=(Ue(),Vt),o+=s.gc()):p<o&&(r=(Ue(),dn),p+=s.gc()),t=r,ei(Ia(s.Mc(),new FBe),new YYe(t))}function JSn(e,t){var r;return r=new X2,t&&qs(r,l(Ut(e.a,QL),105)),se(t,278)&&qs(r,l(Ut(e.a,eM),105)),se(t,363)?(qs(r,l(Ut(e.a,Is),105)),r):(se(t,83)&&qs(r,l(Ut(e.a,pn),105)),se(t,209)?(qs(r,l(Ut(e.a,En),105)),r):se(t,196)?(qs(r,l(Ut(e.a,zu),105)),r):(se(t,273)&&qs(r,l(Ut(e.a,Cr),105)),r))}function XSn(e){var t,r,o,s,u,f,p,m;for(e.b=new Gmt(new Ds((Ue(),Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt]))),new Ds((S0(),Z(X(vee,1),Ce,369,0,[Z0,P1,X0])))),f=Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt]),p=0,m=f.length;p<m;++p)for(u=f[p],r=Z(X(vee,1),Ce,369,0,[Z0,P1,X0]),o=0,s=r.length;o<s;++o)t=r[o],r0n(e.b,u,t,new Pe)}function Zwt(e,t){var r,o,s,u,f,p,m,y,v,T;if(f=l(l(wr(e.r,t),24),85),p=e.u.Gc((ku(),K1)),r=e.u.Gc(A4),o=e.u.Gc(T4),y=e.u.Gc(VT),T=e.B.Gc((Bu(),fU)),v=!r&&!o&&(y||f.gc()==2),Y2n(e,t),s=null,m=null,p){for(u=f.Jc(),s=l(u.Pb(),116),m=s;u.Ob();)m=l(u.Pb(),116);s.d.b=0,m.d.c=0,v&&!s.a&&(s.d.c=0)}T&&(ewn(f),p&&(s.d.b=0,m.d.c=0))}function Qwt(e,t){var r,o,s,u,f,p,m,y,v,T;if(f=l(l(wr(e.r,t),24),85),p=e.u.Gc((ku(),K1)),r=e.u.Gc(A4),o=e.u.Gc(T4),m=e.u.Gc(VT),T=e.B.Gc((Bu(),fU)),y=!r&&!o&&(m||f.gc()==2),hAn(e,t),v=null,s=null,p){for(u=f.Jc(),v=l(u.Pb(),116),s=v;u.Ob();)s=l(u.Pb(),116);v.d.d=0,s.d.a=0,y&&!v.a&&(v.d.a=0)}T&&(twn(f),p&&(v.d.d=0,s.d.a=0))}function eyt(e,t,r){var o,s,u,f,p,m,y,v;if(s=t.k,t.p>=0)return!1;if(t.p=r.b,je(r.e,t),s==(Ht(),gi)||s==Aa){for(f=new V(t.j);f.a<f.c.c.length;)for(u=l(q(f),12),v=(o=new V(new Q2(u).a.g),new cce(o));Ss(v.a);)if(y=l(q(v.a),17).d,p=y.i,m=p.k,t.c!=p.c&&(m==gi||m==Aa)&&eyt(e,p,r))return!0}return!0}function $7(e){var t;return e.Db&64?lme(e):(t=new ml(lme(e)),t.a+=" (changeable: ",Xp(t,(e.Bb&Tl)!=0),t.a+=", volatile: ",Xp(t,(e.Bb&mp)!=0),t.a+=", transient: ",Xp(t,(e.Bb&Iy)!=0),t.a+=", defaultValueLiteral: ",zo(t,e.j),t.a+=", unsettable: ",Xp(t,(e.Bb&yu)!=0),t.a+=", derived: ",Xp(t,(e.Bb&Ff)!=0),t.a+=")",t.a)}function ZSn(e,t){var r,o,s,u,f;return s=t.ni(e.a),s&&(o=(!s.b&&(s.b=new Xu((Tt(),Io),Hs,s)),s.b),r=In(Td(o,fo)),r!=null&&(u=r.lastIndexOf("#"),f=u==-1?Cde(e,t.hk(),r):u==0?a6(e,null,(Yt(1,r.length+1),r.substr(1))):a6(e,(no(0,u,r.length),r.substr(0,u)),(Yt(u+1,r.length+1),r.substr(u+1))),se(f,160)))?l(f,160):null}function QSn(e,t){var r,o,s,u,f;return o=t.ni(e.a),o&&(r=(!o.b&&(o.b=new Xu((Tt(),Io),Hs,o)),o.b),u=In(Td(r,yQ)),u!=null&&(s=u.lastIndexOf("#"),f=s==-1?Cde(e,t.hk(),u):s==0?a6(e,null,(Yt(1,u.length+1),u.substr(1))):a6(e,(no(0,s,u.length),u.substr(0,s)),(Yt(s+1,u.length+1),u.substr(s+1))),se(f,160)))?l(f,160):null}function eTn(e,t){var r,o,s,u,f,p,m,y,v,T,N;for(t.Tg("Restoring reversed edges",1),m=new V(e.b);m.a<m.c.c.length;)for(p=l(q(m),26),v=new V(p.a);v.a<v.c.c.length;)for(y=l(q(v),9),N=new V(y.j);N.a<N.c.c.length;)for(T=l(q(N),12),f=Of(T.g),o=f,s=0,u=o.length;s<u;++s)r=o[s],Ke(We(j(r,(Ie(),Tg))))&&bg(r,!1);t.Ug()}function tTn(e,t,r,o){var s,u,f,p,m;for(m=me(Ki,Me,109,(Ue(),Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt])).length,0,2),u=Z(X(Co,1),ea,64,0,[Cs,Vt,Zt,dn,Wt]),f=0,p=u.length;f<p;++f)s=u[f],m[s.g]=me(Ki,Wo,30,e.c[s.g],15,1);return nbt(m,e,Vt),nbt(m,e,dn),CY(m,e,Vt,t,r,o),CY(m,e,Zt,t,r,o),CY(m,e,dn,t,r,o),CY(m,e,Wt,t,r,o),m}function nTn(e,t,r){if(ba(e.a,t)){if(bl(l(Ut(e.a,t),47),r))return 1}else Yn(e.a,t,new hi);if(ba(e.a,r)){if(bl(l(Ut(e.a,r),47),t))return-1}else Yn(e.a,r,new hi);if(ba(e.b,t)){if(bl(l(Ut(e.b,t),47),r))return-1}else Yn(e.b,t,new hi);if(ba(e.b,r)){if(bl(l(Ut(e.b,r),47),t))return 1}else Yn(e.b,r,new hi);return 0}function rTn(e){var t,r,o,s,u,f;e.q==(qi(),Oh)||e.q==fa||(s=e.f.n.d+Z8(l(Go(e.b,(Ue(),Vt)),129))+e.c,t=e.f.n.a+Z8(l(Go(e.b,dn),129))+e.c,o=l(Go(e.b,Zt),129),f=l(Go(e.b,Wt),129),u=b.Math.max(0,o.n.d-s),u=b.Math.max(u,f.n.d-s),r=b.Math.max(0,o.n.a-t),r=b.Math.max(r,f.n.a-t),o.n.d=u,f.n.d=u,o.n.a=r,f.n.a=r)}function Wme(e,t,r,o){var s,u,f,p,m,y;if(r==null){for(s=l(e.g,123),p=0;p<e.i;++p)if(f=s[p],f.Jk()==t)return Ao(e,f,o)}return u=(Oo(),l(t,69).vk()?l(r,76):gh(t,r)),Yu(e.e)?(y=!P6(e,t),o=La(e,u,o),m=t.Hk()?c1(e,3,t,null,r,tk(e,t,r,se(t,104)&&(l(t,20).Bb&xo)!=0),y):c1(e,1,t,t.gk(),r,-1,y),o?o.lj(m):o=m):o=La(e,u,o),o}function tyt(){this.b=new d1,this.d=new d1,this.e=new d1,this.c=new d1,this.a=new hn,this.f=new hn,cE($i,new Xze,new Zze),cE(Rxe,new cGe,new lGe),cE(P2e,new dGe,new fGe),cE(j2e,new hGe,new pGe),cE(bDt,new gGe,new bGe),cE(w3n,new Qze,new eGe),cE(E3n,new tGe,new nGe),cE(y3n,new rGe,new iGe),cE(v3n,new oGe,new sGe),cE(A3n,new aGe,new uGe)}function kC(e,t){var r,o,s,u,f;for(e=e==null?tu:(Mt(e),e),s=0;s<t.length;s++)t[s]=i2n(t[s]);for(r=new uS,f=0,o=0;o<t.length&&(u=e.indexOf("%s",f),u!=-1);)r.a+=""+yl(e==null?tu:(Mt(e),e),f,u),ga(r,t[o++]),f=u+2;if(Yut(r,e,f,e.length),o<t.length){for(r.a+=" [",ga(r,t[o++]);o<t.length;)r.a+=Ma,ga(r,t[o++]);r.a+="]"}return r.a}function Kme(e,t){var r,o,s,u,f,p,m;for(r=0,m=new V(t);m.a<m.c.c.length;){for(p=l(q(m),12),Pge(e.b,e.d[p.p]),f=0,s=new Vd(p.b);Ss(s.a)||Ss(s.b);)o=l(Ss(s.a)?q(s.a):q(s.b),17),Dst(o)?(u=Xce(e,p==o.c?o.d:o.c),u>e.d[p.p]&&(r+=Xhe(e.b,u),l1(e.a,Re(u)))):++f;for(r+=e.b.d*f;!BN(e.a);)Rpe(e.b,l(xS(e.a),15).a)}return r}function nyt(e){var t,r,o,s,u,f;return u=0,t=Sl(e),t.ik()&&(u|=4),e.Bb&yu&&(u|=2),se(e,104)?(r=l(e,20),s=Do(r),r.Bb&Ws&&(u|=32),s&&(ln(ty(s)),u|=8,f=s.t,(f>1||f==-1)&&(u|=16),s.Bb&Ws&&(u|=64)),r.Bb&xo&&(u|=mp),u|=Tl):se(t,462)?u|=512:(o=t.ik(),o&&o.i&1&&(u|=256)),e.Bb&512&&(u|=128),u}function iTn(e,t){var r;return e.f==jre?(r=d0(es((mu(),so),t)),e.e?r==4&&t!=(tT(),YT)&&t!=(tT(),KT)&&t!=(tT(),Fre)&&t!=(tT(),$re):r==2):e.d&&(e.d.Gc(t)||e.d.Gc(DS(es((mu(),so),t)))||e.d.Gc(IE((mu(),so),e.b,t)))?!0:e.f&&Ime((mu(),e.f),qO(es(so,t)))?(r=d0(es(so,t)),e.e?r==4:r==2):!1}function oTn(e,t){var r,o,s,u,f,p,m,y;for(u=new Pe,t.b.c.length=0,r=l(Au(Rhe(new yt(null,new vt(new Yh(e.a.b),1))),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),s=r.Jc();s.Ob();)if(o=l(s.Pb(),15),f=Ghe(e.a,o),f.b!=0)for(p=new ra(t),Ot(u.c,p),p.p=o.a,y=An(f,0);y.b!=y.d.c;)m=l(Sn(y),9),Ii(m,p);li(t.b,u)}function pJ(e){var t,r,o,s,u,f,p;for(p=new hn,o=new V(e.a.b);o.a<o.c.c.length;)t=l(q(o),60),Yn(p,t,new Pe);for(s=new V(e.a.b);s.a<s.c.c.length;)for(t=l(q(s),60),t.i=Oi,f=t.c.Jc();f.Ob();)u=l(f.Pb(),60),l(Es(Zo(p.f,u)),16).Ec(t);for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),t.c.$b(),t.c=l(Es(Zo(p.f,t)),16);Twt(e)}function gJ(e){var t,r,o,s,u,f,p;for(p=new hn,o=new V(e.a.b);o.a<o.c.c.length;)t=l(q(o),84),Yn(p,t,new Pe);for(s=new V(e.a.b);s.a<s.c.c.length;)for(t=l(q(s),84),t.o=Oi,f=t.f.Jc();f.Ob();)u=l(f.Pb(),84),l(Es(Zo(p.f,u)),16).Ec(t);for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.f.$b(),t.f=l(Es(Zo(p.f,t)),16);fwt(e)}function sTn(e,t){var r,o,s,u,f,p,m,y,v,T,N;for(m=ji(t.a),s=ue(ce(j(m,(Be(),$1))))*2,v=ue(ce(j(m,ev))),y=b.Math.max(s,v),u=me(Ki,Wo,30,t.f-t.c+1,15,1),o=-y,r=0,p=t.b.Jc();p.Ob();)f=l(p.Pb(),9),o+=e.a[f.c.p]+y,u[r++]=o;for(o+=e.a[t.a.c.p]+y,u[r++]=o,N=new V(t.e);N.a<N.c.c.length;)T=l(q(N),9),o+=e.a[T.c.p]+y,u[r++]=o;return u}function aTn(e,t,r,o){var s,u,f,p,m,y,v,T,N;for(N=new Zp(new gJe(e)),p=Z(X(Nh,1),yg,9,0,[t,r]),m=0,y=p.length;m<y;++m)for(f=p[m],T=nC(f,o).Jc();T.Ob();)for(v=l(T.Pb(),12),u=new Vd(v.b);Ss(u.a)||Ss(u.b);)s=l(Ss(u.a)?q(u.a):q(u.b),17),lo(s)||(N.a.yc(v,(Lt(),D1))==null,Dst(s)&&zO(N,v==s.c?s.d:s.c));return xn(N),new Tu(N)}function uTn(e,t,r,o){var s,u,f,p,m,y,v,T;return f=l(ye(r,(_n(),HT)),8),m=f.a,v=f.b+e,s=b.Math.atan2(v,m),s<0&&(s+=im),s+=t,s>im&&(s-=im),p=l(ye(o,HT),8),y=p.a,T=p.b+e,u=b.Math.atan2(T,y),u<0&&(u+=im),u+=t,u>im&&(u-=im),Ud(),Yl(1e-10),b.Math.abs(s-u)<=1e-10||s==u||isNaN(s)&&isNaN(u)?0:s<u?-1:s>u?1:_b(isNaN(s),isNaN(u))}function Yme(e,t,r,o){var s,u,f;t&&(u=ue(ce(j(t,(xr(),xg))))+o,f=r+ue(ce(j(t,MB)))/2,Ae(t,xL,Re(On(Gs(b.Math.round(u))))),Ae(t,NL,Re(On(Gs(b.Math.round(f))))),t.d.b==0||Yme(e,l(D8((s=An(new Xh(t).a.d,0),new qv(s))),41),r+ue(ce(j(t,MB)))+e.b,o+ue(ce(j(t,cx)))),j(t,tne)!=null&&Yme(e,l(j(t,tne),41),r,o))}function cTn(e,t){var r,o,s,u;if(u=l(ye(e,(_n(),m2)),64).g-l(ye(t,m2),64).g,u!=0)return u;if(r=l(ye(e,gre),15),o=l(ye(t,gre),15),r&&o&&(s=r.a-o.a,s!=0))return s;switch(l(ye(e,m2),64).g){case 1:return yr(e.i,t.i);case 2:return yr(e.j,t.j);case 3:return yr(t.i,e.i);case 4:return yr(t.j,e.j);default:throw K(new Xo(Ewe))}}function Jme(e){var t,r,o;return e.Db&64?YY(e):(t=new fc(Qve),r=e.k,r?zn(zn((t.a+=' "',t),r),'"'):(!e.n&&(e.n=new xe(Is,e,1,7)),e.n.i>0&&(o=(!e.n&&(e.n=new xe(Is,e,1,7)),l(ie(e.n,0),158)).a,!o||zn(zn((t.a+=' "',t),o),'"'))),zn(Qm(zn(Qm(zn(Qm(zn(Qm((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function ryt(e){var t,r,o;return e.Db&64?YY(e):(t=new fc(eEe),r=e.k,r?zn(zn((t.a+=' "',t),r),'"'):(!e.n&&(e.n=new xe(Is,e,1,7)),e.n.i>0&&(o=(!e.n&&(e.n=new xe(Is,e,1,7)),l(ie(e.n,0),158)).a,!o||zn(zn((t.a+=' "',t),o),'"'))),zn(Qm(zn(Qm(zn(Qm(zn(Qm((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function lTn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;for(I=-1,L=0,v=t,T=0,N=v.length;T<N;++T){for(y=v[T],f=y,p=0,m=f.length;p<m;++p)for(u=f[p],r=new Ape(e,I==-1?t[0]:t[I],l(j(ji(u),(Be(),Ch)),270),J1t(u),Ke(We(j(ji(u),lte)))),o=0;o<u.j.c.length;o++)for(s=o+1;s<u.j.c.length;s++)tst(r,l(He(u.j,o),12),l(He(u.j,s),12))>0&&++L;++I}return L}function dTn(e,t){var r,o,s,u,f;for(t==(Q3(),Ute)&&mC(l(wr(e.a,(wy(),iL)),16)),s=l(wr(e.a,(wy(),iL)),16).Jc();s.Ob();)switch(o=l(s.Pb(),108),r=l(He(o.j,0),114).d.j,u=new Tu(o.j),_i(u,new NBe),t.g){case 2:HY(e,u,r,(S0(),P1),1);break;case 1:case 0:f=t2n(u),HY(e,new If(u,0,f),r,(S0(),P1),0),HY(e,new If(u,f,u.c.length),r,P1,1)}}function fTn(e){var t,r,o,s,u,f,p;for(s=l(j(e,(Ie(),ew)),9),o=e.j,r=(at(0,o.c.length),l(o.c[0],12)),f=new V(s.j);f.a<f.c.c.length;)if(u=l(q(f),12),be(u)===be(j(r,mr))){u.j==(Ue(),Vt)&&e.p>s.p?(Ni(u,dn),u.d&&(p=u.o.b,t=u.a.b,u.a.b=p-t)):u.j==dn&&s.p>e.p&&(Ni(u,Vt),u.d&&(p=u.o.b,t=u.a.b,u.a.b=-(p-t)));break}return s}function Xme(e,t){var r,o,s,u,f,p,m;if(t==null||t.length==0)return null;if(s=l(ma(e.a,t),144),!s){for(o=(p=new Jh(e.b).a.vc().Jc(),new Dw(p));o.a.Ob();)if(r=(u=l(o.a.Pb(),45),l(u.kd(),144)),f=r.c,m=t.length,mt(f.substr(f.length-m,m),t)&&(t.length==f.length||uo(f,f.length-t.length-1)==46)){if(s)return null;s=r}s&&Qo(e.a,t,s)}return s}function Q_(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(u=new Le(t,r),v=new V(e.a);v.a<v.c.c.length;)for(y=l(q(v),9),br(y.n,u),N=new V(y.j);N.a<N.c.c.length;)for(T=l(q(N),12),s=new V(T.g);s.a<s.c.c.length;)for(o=l(q(s),17),cy(o.a,u),f=l(j(o,(Be(),rs)),79),f&&cy(f,u),m=new V(o.b);m.a<m.c.c.length;)p=l(q(m),70),br(p.n,u)}function hTn(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(u=new Le(t,r),v=new V(e.a);v.a<v.c.c.length;)for(y=l(q(v),9),br(y.n,u),N=new V(y.j);N.a<N.c.c.length;)for(T=l(q(N),12),s=new V(T.g);s.a<s.c.c.length;)for(o=l(q(s),17),cy(o.a,u),f=l(j(o,(Be(),rs)),79),f&&cy(f,u),m=new V(o.b);m.a<m.c.c.length;)p=l(q(m),70),br(p.n,u)}function iyt(e){if((!e.b&&(e.b=new Et(pn,e,4,7)),e.b).i==0)throw K(new aS("Edges must have a source."));if((!e.c&&(e.c=new Et(pn,e,5,8)),e.c).i==0)throw K(new aS("Edges must have a target."));if(!e.b&&(e.b=new Et(pn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Et(pn,e,5,8)),e.c.i<=1)))throw K(new aS("Hyperedges are not supported."))}function pTn(e,t){var r,o;t.Tg("Partition preprocessing",1),o=l(Au(lr(new yt(null,new vt(e.a,16)),new o$e),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),r=l(Au(lr(gs(lr(new yt(null,new vt(e.a,16)),new s$e),new a$e),new xYe(o)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[nu]))),16),ei(r.Mc(),new u$e),t.Ug()}function oyt(e){var t,r,o;gr(e,(Be(),rw))&&(o=l(j(e,rw),24),!o.dc()&&(r=(t=l(md(Bo),10),new Hc(t,l(Gl(t,t.length),10),0)),o.Gc((Sy(),xc))?Jl(r,xc):Jl(r,cd),o.Gc(Cl)||Jl(r,Cl),o.Gc(ad)?Jl(r,ld):o.Gc(Np)?Jl(r,Rh):o.Gc(ud)&&Jl(r,Il),o.Gc(ld)?Jl(r,ad):o.Gc(Rh)?Jl(r,Np):o.Gc(Il)&&Jl(r,ud),Ae(e,rw,r)))}function syt(e,t){var r,o;for(this.b=new Pe,this.e=new Pe,this.a=e,this.d=t,J1n(this),r1n(this),this.b.dc()?this.c=e.c.p:this.c=l(this.b.Xb(0),9).c.p,this.e.c.length==0?this.f=e.c.p:this.f=l(He(this.e,this.e.c.length-1),9).c.p,o=l(j(e,(Ie(),CI)),16).Jc();o.Ob();)if(r=l(o.Pb(),70),gr(r,(Be(),lB))){this.d=l(j(r,lB),233);break}}function sc(e,t,r){var o,s,u,f,p,m,y,v;for(o=l(Ut(e.b,t),47),u=l(Ut(e.b,r),47),s=l(Ut(e.g,t),47),f=l(Ut(e.g,r),47),o.a.yc(r,o),f.a.yc(t,f),v=u.a.ec().Jc();v.Ob();)y=l(v.Pb(),9),o.a.yc(y,o),pi(l(Ut(e.g,y),47),t),bo(l(Ut(e.g,y),47),s);for(m=s.a.ec().Jc();m.Ob();)p=l(m.Pb(),9),f.a.yc(p,f),pi(l(Ut(e.b,p),47),r),bo(l(Ut(e.b,p),47),u)}function iD(e,t,r){var o,s,u,f,p,m,y,v;for(o=l(Ut(e.a,t),47),u=l(Ut(e.a,r),47),s=l(Ut(e.b,t),47),f=l(Ut(e.b,r),47),o.a.yc(r,o),f.a.yc(t,f),v=u.a.ec().Jc();v.Ob();)y=l(v.Pb(),9),o.a.yc(y,o),pi(l(Ut(e.b,y),47),t),bo(l(Ut(e.b,y),47),s);for(m=s.a.ec().Jc();m.Ob();)p=l(m.Pb(),9),f.a.yc(p,f),pi(l(Ut(e.a,p),47),r),bo(l(Ut(e.a,p),47),u)}function Pf(){Pf=Y;var e;for(c$=new op(1,1),HQ=new op(1,10),gI=new op(0,0),U_t=new op(-1,1),H_t=Z(X(zE,1),Me,92,0,[gI,c$,new op(1,2),new op(1,3),new op(1,4),new op(1,5),new op(1,6),new op(1,7),new op(1,8),new op(1,9),HQ]),l$=me(zE,Me,92,32,0,1),e=0;e<l$.length;e++)l$[e]=_8(fh(1,e),0)?v1(fh(1,e)):x3(v1(ag(fh(1,e))))}function ayt(e,t){var r,o,s,u,f,p,m,y,v;for(s=new Ft(Gt(gp(t).a.Jc(),new D));an(s);)o=l(Qt(s),74),v=Vo(l(ie((!o.c&&(o.c=new Et(pn,o,5,8)),o.c),0),83)),p=AC(o),m=t.i+t.g/2,y=t.j+t.f,u=v.i+v.g/2,f=v.j,v0(p,m),E0(p,y),w0(p,u),y0(p,f),r=ue(ce(ye(v,(wh(),uw)))),b.Math.abs(r-(f-ue(ce(ye(Br(v),(_n(),Od))))/2))>mg&&ZK(p,u,r),ayt(e,v)}function uyt(e,t,r,o,s,u,f){if(e.c=o.Jf().a,e.d=o.Jf().b,s&&(e.c+=s.Jf().a,e.d+=s.Jf().b),e.b=t.Kf().a,e.a=t.Kf().b,!s)r?e.c-=f+t.Kf().a:e.c+=o.Kf().a+f;else switch(s.$f().g){case 0:case 2:e.c+=s.Kf().a+f+u.a+f;break;case 4:e.c-=f+u.a+f+t.Kf().a;break;case 1:e.c+=s.Kf().a+f,e.d-=f+u.b+f+t.Kf().b;break;case 3:e.c+=s.Kf().a+f,e.d+=s.Kf().b+f+u.b+f}}function gTn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L;if(u=r,r<o)for(N=(I=new T6(e.p),L=new T6(e.p),bo(I.e,e.e),I.q=e.q,I.r=L,wP(I),bo(L.j,e.j),L.r=I,wP(L),new ko(I,L)),T=l(N.a,117),v=l(N.b,117),s=(at(u,t.c.length),l(t.c[u],341)),f=Lwt(e,T,v,s),y=r+1;y<=o;y++)p=(at(y,t.c.length),l(t.c[y],341)),m=Lwt(e,T,v,p),Y1n(p,m,s,f)&&(s=p,f=m,u=y);return u}function bTn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L;for(f=l(ie(t,0),19),ya(f,0),gu(f,0),N=new Pe,Ot(N.c,f),p=f,u=new kfe(e.a,f.g,f.f,(TC(),OL)),I=1;I<t.i;I++)L=l(ie(t,I),19),m=kJ(e,f2,L,p,u,N,r),y=kJ(e,FT,L,p,u,N,r),v=kJ(e,c4,L,p,u,N,r),T=kJ(e,u4,L,p,u,N,r),s=K_n(e,m,y,v,T,L,p,o),ya(L,s.d),gu(L,s.e),aZt(s,OL),u=s,p=L,Ot(N.c,L);return u}function mTn(e,t,r){var o,s,u,f,p,m,y,v,T,N;if(v=null,N=t,T=xft(e,bct(r),N),y_(T,ip(N,Gf)),f=b0(N,nEe),o=new Htt(e,T),Mmt(o.a,o.b,f),p=b0(N,aQ),s=new ztt(e,T),Pmt(s.a,s.b,p),(!T.b&&(T.b=new Et(pn,T,4,7)),T.b).i==0||(!T.c&&(T.c=new Et(pn,T,5,8)),T.c).i==0)throw u=ip(N,Gf),m=BTt+u,y=m+Mk,K(new _f(y));return y7(N,T),xNn(e,N,T),v=LK(e,N,T),v}function wTn(e,t){var r,o,s,u,f,p,m;for(s=me(Rn,Xn,30,e.e.a.c.length,15,1),f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),s[u.d]+=u.b.a.c.length;for(p=$O(t);p.b!=0;)for(u=l(p.b==0?null:(un(p.b!=0),Vc(p,p.a.a)),126),o=FS(new V(u.g.a));o.Ob();)r=l(o.Pb(),220),m=r.e,m.e=b.Math.max(m.e,u.e+r.a),--s[m.d],s[m.d]==0&&Wr(p,m,p.c.b,p.c)}function cyt(e){var t,r,o,s,u,f,p,m,y,v,T;for(r=Zi,s=sr,p=new V(e.e.a);p.a<p.c.c.length;)u=l(q(p),126),s=b.Math.min(s,u.e),r=b.Math.max(r,u.e);for(t=me(Rn,Xn,30,r-s+1,15,1),f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),u.e-=s,++t[u.e];if(o=0,e.k!=null)for(y=e.k,v=0,T=y.length;v<T&&(m=y[v],t[o++]+=m,t.length!=o);++v);return t}function yTn(e,t){var r,o,s,u,f,p;if(t.Tg("Edge routing",1),s=l(j(e,(Ps(),nne)),386),s==(X3(),Kte))bdn(e);else if(s==_L)for(l(Ju(dp(lr(new yt(null,new vt(e.b,16)),new lHe))),41),u=ue(ce(j(e,W_e))),f=ue(ce(j(e,H_e))),p=l(j(e,aw),87),CNn(e,p,u),a3n(e,p,u,f),c3n(e,p,u,f),o=An(e.a,0);o.b!=o.d.c;)r=l(Sn(o),65),r.a.b<2&&nme(r);t.Ug()}function lyt(e){switch(e.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return l($me(e),15).a==e.o;case 1:case 2:{if(e.o==-2)return!1;switch(e.p){case 0:case 1:case 2:case 6:case 5:case 7:return u3(e.k,e.f);case 3:case 4:return e.j==e.e;default:return e.n==null?e.g==null:pr(e.n,e.g)}}default:return!1}}function vTn(e){var t,r,o,s;for(s=e.b,t=!1,o=new V(e.i.d);o.a<o.c.c.length;)if(r=l(q(o),70),Ke(We(j(r,(Be(),i2))))){t=!0;break}fu(s,(Ue(),Vt))?fu(s,dn)?fu(s,Wt)?fu(s,Zt)||rg(e,t?Wt:Vt,t?(Xl(),Uy):(Xl(),qk),t?null:e.c):rg(e,t?Zt:Vt,t?(Xl(),Uy):(Xl(),Gk),t?null:e.a):rg(e,Vt,(Xl(),Uy),null):rg(e,dn,(Xl(),Uy),null)}function dyt(e,t,r){var o,s,u,f,p,m,y,v,T;for(u=new Ra(t.c.length),y=new V(t);y.a<y.c.c.length;)f=l(q(y),9),je(u,e.b[f.c.p][f.p]);for(okn(e,u,r),T=null;T=rxn(u);)$An(e,l(T.a,242),l(T.b,242),u);for(t.c.length=0,s=new V(u);s.a<s.c.c.length;)for(o=l(q(s),242),p=o.d,m=0,v=p.length;m<v;++m)f=p[m],Ot(t.c,f),e.a[f.c.p][f.p].a=Hd(o.g,o.d[0]).a}function ETn(e,t){var r,o,s;switch(t.Tg("Breaking Point Insertion",1),o=new bme(e),l(j(e,(Be(),_te)),351).g){case 2:s=new _ue;break;case 0:s=new Sue;break;default:s=new kue}if(r=s.mg(e,o),Ke(We(j(e,FAe)))&&(r=hkn(e,r)),!s.ng()&&gr(e,vB))switch(l(j(e,vB),352).g){case 2:r=Lmt(o,r);break;case 1:r=Ebt(o,r)}if(r.dc()){t.Ug();return}LNn(e,r),t.Ug()}function fyt(e){t0(e,new Xb(Zm(Ym(Xm(Jm(new wb,Rk),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new wGe))),Oe(e,Rk,$0,MNe),Oe(e,Rk,NF,ze(y4)),Oe(e,Rk,Vve,ze(RNe)),Oe(e,Rk,ME,ze(ONe)),Oe(e,Rk,gT,ze(LNe)),Oe(e,Rk,yk,ze(DNe))}function B7(e,t,r){var o,s,u,f,p;if(o=On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15))),p=On(mo(Sh,ph(On(mo(r==null?0:Ir(r),Th)),15))),u=V3(e,t,o),u&&p==u.f&&tp(r,u.i))return r;if(f=W3(e,r,p),f)throw K(new jt("value already present: "+r));return s=new EP(t,o,r,p),u?(xE(e,u),J6(e,s,u),u.e=null,u.c=null,u.i):(J6(e,s,null),rbt(e),null)}function STn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L;v=r.a.c,f=r.a.c+r.a.b,u=l(Ut(r.c,t),460),I=u.f,L=u.a,u.b?m=new Le(f,I):m=new Le(v,I),u.c?T=new Le(v,L):T=new Le(f,L),s=v,r.p||(s+=e.c),s+=r.F+r.v*e.b,y=new Le(s,I),N=new Le(s,L),q3(t.a,Z(X($i,1),Me,8,0,[m,y])),p=r.d.a.gc()>1,p&&(o=new Le(s,r.b),Gn(t.a,o)),q3(t.a,Z(X($i,1),Me,8,0,[N,T]))}function _1(){_1=Y,_B=new Fw(_d,0),vL=new Fw("NIKOLOV",1),EL=new Fw("NIKOLOV_PIXEL",2),XAe=new Fw("NIKOLOV_IMPROVED",3),ZAe=new Fw("NIKOLOV_IMPROVED_PIXEL",4),JAe=new Fw("DUMMYNODE_PERCENTAGE",5),QAe=new Fw("NODECOUNT_PERCENTAGE",6),kB=new Fw("NO_BOUNDARY",7),sx=new Fw("MODEL_ORDER_LEFT_TO_RIGHT",8),qI=new Fw("MODEL_ORDER_RIGHT_TO_LEFT",9)}function bJ(e,t){var r,o,s,u,f,p,m,y,v,T,N,I;return v=null,N=vme(e,t),o=null,p=l(ye(t,(_n(),C6t)),301),p?o=p:o=(z3(),WL),I=o,I==(z3(),WL)&&(s=null,y=l(Ut(e.r,N),301),y?s=y:s=Sre,I=s),Yn(e.r,t,I),u=null,m=l(ye(t,N6t),280),m?u=m:u=(R_(),UL),T=u,T==(R_(),UL)&&(f=null,r=l(Ut(e.b,N),280),r?f=r:f=sU,T=f),v=l(Yn(e.b,t,T),280),v}function TTn(e){var t,r,o,s,u;for(o=e.length,t=new UN,u=0;u<o;)if(r=uo(e,u++),!(r==9||r==10||r==12||r==13||r==32)){if(r==35){for(;u<o&&(r=uo(e,u++),!(r==13||r==10)););continue}r==92&&u<o?(s=(Yt(u,e.length),e.charCodeAt(u)))==35||s==9||s==10||s==12||s==13||s==32?(r_(t,s&Ei),++u):(t.a+="\\",r_(t,s&Ei),++u):r_(t,r&Ei)}return t.a}function Zme(){Zme=Y,vRt=new ht(ave,(Lt(),!1)),ARt=new ht(uve,Re(0)),_Rt=new ht(cve,0),kRt=new ht(LF,!1),oke=(C6(),$B),SRt=new ht(DZ,oke),Re(0),ERt=new ht(LZ,Re(1)),ake=(Nj(),wne),IRt=new ht(lve,ake),uke=(tj(),hne),RRt=new ht(dve,uke),ske=(c7(),mne),TRt=new ht(fve,ske),CRt=new ht(MZ,0),xRt=new ht(PZ,!1),NRt=new ht(hve,!1)}function ATn(e,t){var r,o,s;for(o=new V(t);o.a<o.c.c.length;)if(r=l(q(o),19),wt(e.a,r,r),wt(e.b,r,r),s=Ty(r),s.c.length!=0)for(e.d&&e.d.Fg(s),wt(e.a,r,(at(0,s.c.length),l(s.c[0],19))),wt(e.b,r,l(He(s,s.c.length-1),19));IK(s).c.length!=0;)s=IK(s),e.d&&e.d.Fg(s),wt(e.a,r,(at(0,s.c.length),l(s.c[0],19))),wt(e.b,r,l(He(s,s.c.length-1),19))}function mJ(e,t,r){var o,s,u,f,p,m;if(t)if(r<=-1){if(o=Nt(t.Ah(),-1-r),se(o,104))return l(o,20);for(f=l(t.Jh(o),164),p=0,m=f.gc();p<m;++p)if(be(f.Sl(p))===be(e)&&(s=f.Rl(p),se(s,104)&&(u=l(s,20),u.Bb&Ws)))return u;throw K(new Xo("The containment feature could not be located"))}else return Do(l(Nt(e.Ah(),r),20));else return null}function _Tn(e){var t,r,o,s,u,f,p,m,y,v;for(r=0,p=new V(e.d);p.a<p.c.c.length;)f=l(q(p),108),f.i&&(f.i.c=r++);for(t=Kw(uu,[Me,Ad],[172,30],16,[r,r],2),v=e.d,s=0;s<v.c.length;s++)if(m=(at(s,v.c.length),l(v.c[s],108)),m.i)for(u=s+1;u<v.c.length;u++)y=(at(u,v.c.length),l(v.c[u],108)),y.i&&(o=cwn(m,y),t[m.i.c][y.i.c]=o,t[y.i.c][m.i.c]=o);return t}function xC(){xC=Y,Wte=new n0("ROOT_PROC",0),S_e=new n0("FAN_PROC",1),k_e=new n0("LEVEL_PROC",2),x_e=new n0("NEIGHBORS_PROC",3),__e=new n0("LEVEL_HEIGHT",4),E_e=new n0("DIRECTION_PROC",5),N_e=new n0("NODE_POSITION_PROC",6),y_e=new n0("COMPACTION_PROC",7),A_e=new n0("LEVEL_COORDS",8),T_e=new n0("GRAPH_BOUNDS_PROC",9),v_e=new n0("DETREEIFYING_PROC",10)}function Qme(e,t){var r,o,s,u,f,p,m,y,v,T;for(T=us(t),y=null,s=!1,p=0,v=oa(T.a).i;p<v;++p)f=l(cD(T,p,(u=l(ie(oa(T.a),p),88),m=u.c,se(m,89)?l(m,29):(Tt(),Ml))),29),r=Qme(e,f),r.dc()||(y?(s||(s=!0,y=new sP(y)),y.Fc(r)):y=r);return o=Wyn(e,t),o.dc()?y||(St(),St(),No):y?(s||(y=new sP(y)),y.Fc(o),y):o}function wJ(e,t){var r,o,s,u,f,p,m,y,v,T;for(T=us(t),y=null,o=!1,p=0,v=oa(T.a).i;p<v;++p)u=l(cD(T,p,(s=l(ie(oa(T.a),p),88),m=s.c,se(m,89)?l(m,29):(Tt(),Ml))),29),r=wJ(e,u),r.dc()||(y?(o||(o=!0,y=new sP(y)),y.Fc(r)):y=r);return f=yvn(e,t),f.dc()?y||(St(),St(),No):y?(o||(y=new sP(y)),y.Fc(f),y):f}function kTn(e,t){var r,o,s,u,f;for(e.c==null||e.c.length<t.c.length?e.c=me(uu,Ad,30,t.c.length,16,1):$N(e.c),e.a=new Pe,o=0,f=new V(t);f.a<f.c.c.length;)s=l(q(f),9),s.p=o++;for(r=new Sr,u=new V(t);u.a<u.c.c.length;)s=l(q(u),9),e.c[s.p]||($mt(e,s),r.b==0||(un(r.b!=0),l(r.a.a.c,16)).gc()<e.a.c.length?Zv(r,e.a):vo(r,e.a),e.a=new Pe);return r}function xTn(e,t,r,o){var s,u,f;j(o.d.i,(Ie(),Nr))==null?Yn(t,Re(sr-(t.f.c+t.i.c)),new Ww(new Ds(Z(X(Hk,1),Sk,17,0,[o])))):(f=0,u=o.d.i,r?(s=l(j(e.c,F1),15).a,f=s*l(j(u,(Be(),qy)),15).a+l(j(u,Nr),15).a):f=l(j(o.d.i,Nr),15).a,ba(t,Re(f))?pi(l(Ut(t,Re(f)),47),o):Yn(t,Re(f),new Ww(new Ds(Z(X(Hk,1),Sk,17,0,[o])))))}function oD(e,t,r){var o,s,u,f,p,m;if(se(t,76))return Ao(e,t,r);for(p=null,u=null,o=l(e.g,123),f=0;f<e.i;++f)if(s=o[f],pr(t,s.kd())&&(u=s.Jk(),se(u,104)&&l(u,20).Bb&Ws)){p=s;break}return p&&(Yu(e.e)&&(m=u.Hk()?c1(e,4,u,t,null,tk(e,u,t,se(u,104)&&(l(u,20).Bb&xo)!=0),!0):c1(e,u.rk()?2:1,u,t,u.gk(),-1,!0),r?r.lj(m):r=m),r=oD(e,p,r)),r}function NTn(e,t,r){var o,s,u,f;if(f=za(e.e.Ah(),t),o=l(e.g,123),Oo(),l(t,69).vk()){for(u=0;u<e.i;++u)if(s=o[u],f.$l(s.Jk())&&pr(s,r))return Ay(e,u),!0}else if(r!=null){for(u=0;u<e.i;++u)if(s=o[u],f.$l(s.Jk())&&pr(r,s.kd()))return Ay(e,u),!0}else for(u=0;u<e.i;++u)if(s=o[u],f.$l(s.Jk())&&s.kd()==null)return Ay(e,u),!0;return!1}function hyt(e,t,r,o){var s,u,f,p,m,y,v,T,N,I;for(f=zw(t.c,r,o),T=new V(t.a);T.a<T.c.c.length;){for(v=l(q(T),9),br(v.n,f),I=new V(v.j);I.a<I.c.c.length;)for(N=l(q(I),12),u=new V(N.g);u.a<u.c.c.length;)for(s=l(q(u),17),cy(s.a,f),p=l(j(s,(Be(),rs)),79),p&&cy(p,f),y=new V(s.b);y.a<y.c.c.length;)m=l(q(y),70),br(m.n,f);je(e.a,v),v.a=e}}function CTn(e,t){var r,o,s,u,f;if(t.Tg("Node and Port Label Placement and Node Sizing",1),Pnt((qN(),new dW(e,!0,!0,new MFe))),l(j(e,(Ie(),_a)),24).Gc((Mo(),rl)))for(u=l(j(e,(Be(),Jy)),24),s=u.Gc((ku(),VL)),f=Ke(We(j(e,NAe))),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),26),ei(lr(new yt(null,new vt(r.a,16)),new PFe),new Wit(u,s,f));t.Ug()}function pyt(e){t0(e,new Xb(Zm(Ym(Xm(Jm(new wb,xk),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new Dze))),Oe(e,xk,$Z,ze(mxe)),Oe(e,xk,$0,bxe),Oe(e,xk,F0,8),Oe(e,xk,HZ,ze($Ot)),Oe(e,xk,Lve,ze(pxe)),Oe(e,xk,Mve,ze(gxe)),Oe(e,xk,$D,(Lt(),!1))}function ITn(e,t){var r,o,s,u,f,p,m;if(r=t.ni(e.a),r&&(m=In(Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),SEe)),m!=null)){for(o=new Pe,u=ky(m,"\\w"),f=0,p=u.length;f<p;++f)s=u[f],mt(s,"##other")?je(o,"!##"+S3(e,mc(t.ok()))):mt(s,"##local")?o.c.push(null):mt(s,VD)?je(o,S3(e,mc(t.ok()))):Ot(o.c,s);return o}return St(),St(),No}function NE(e,t,r,o){this.e=e,this.k=l(j(e,(Ie(),t2)),317),this.g=me(Nh,yg,9,t,0,1),this.b=me(fi,Me,347,t,7,1),this.a=me(Nh,yg,9,t,0,1),this.d=me(fi,Me,347,t,7,1),this.j=me(Nh,yg,9,t,0,1),this.i=me(fi,Me,347,t,7,1),this.p=me(fi,Me,347,t,7,1),this.n=me(Yr,Me,476,t,8,1),dO(this.n,(Lt(),!1)),this.f=me(Yr,Me,476,t,8,1),dO(this.f,!0),this.o=r,this.c=o}function sD(e){var t,r,o,s,u,f,p,m;if(e.d)throw K(new Xo((ep(lee),_X+lee.k+kX)));for(e.c==(vi(),hf)&&RE(e,is),r=new V(e.a.a);r.a<r.c.c.length;)t=l(q(r),197),t.e=0;for(f=new V(e.a.b);f.a<f.c.c.length;)for(u=l(q(f),84),u.o=Oi,s=u.f.Jc();s.Ob();)o=l(s.Pb(),84),++o.d.e;for(Oxn(e),m=new V(e.a.b);m.a<m.c.c.length;)p=l(q(m),84),p.k=!0;return e}function RTn(e,t){var r,o,s,u,f,p,m,y;for(p=new wmt(e),r=new Sr,Wr(r,t,r.c.b,r.c);r.b!=0;){for(o=l(r.b==0?null:(un(r.b!=0),Vc(r,r.a.a)),114),o.d.p=1,f=new V(o.e);f.a<f.c.c.length;)s=l(q(f),342),Cbt(p,s),y=s.d,y.d.p==0&&Wr(r,y,r.c.b,r.c);for(u=new V(o.b);u.a<u.c.c.length;)s=l(q(u),342),Cbt(p,s),m=s.c,m.d.p==0&&Wr(r,m,r.c.b,r.c)}return p}function e0e(e,t){var r,o,s,u,f,p,m;if(!e.e[t.p]){for(e.e[t.p]=!0,e.a[t.p]=!0,u=new hn,r=be(j(e.c,(Be(),LT)))===be((g1(),zy)),co(Rr(t),new Hit(e,u,r)),f=new yde(new Yh(u)),s=f.a.ec().Jc();s.Ob();)o=l(s.Pb(),15).a,p=l(l(Ut(u,Re(o)),47).a.ec().Jc().Pb(),17),!lo(p)&&(m=p.d.i,e.a[m.p]?li(e.b,l(Ut(u,Re(o)),18)):e0e(e,m));e.a[t.p]=!1}}function gyt(e){var t,r,o,s,u;if(o=ue(ce(ye(e,(_n(),D6t)))),o!=1)for(r0(e,o*e.g,o*e.f),r=_en(eon((!e.c&&(e.c=new xe(zu,e,9,9)),e.c),new kGe)),u=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.n&&(e.n=new xe(Is,e,1,7)),e.n),(!e.c&&(e.c=new xe(zu,e,9,9)),e.c),r])));an(u);)s=l(Qt(u),278),s.ph(o*s.mh(),o*s.nh()),s.oh(o*s.lh(),o*s.kh()),t=l(s.mf(uNe),8),t&&(t.a*=o,t.b*=o)}function t0e(e,t,r){var o,s,u,f,p;if(f=(Oo(),l(t,69).vk()),bp(e.e,t)){if(t.Qi()&&H7(e,t,r,se(t,104)&&(l(t,20).Bb&xo)!=0))return!1}else for(p=za(e.e.Ah(),t),o=l(e.g,123),u=0;u<e.i;++u)if(s=o[u],p.$l(s.Jk()))return(f?pr(s,r):r==null?s.kd()==null:pr(r,s.kd()))?!1:(l(EE(e,u,f?l(r,76):gh(t,r)),76),!0);return Tn(e,f?l(r,76):gh(t,r))}function OTn(e,t,r,o,s){var u,f,p,m,y,v,T,N;for(f=new V(e.b);f.a<f.c.c.length;)for(u=l(q(f),26),N=XO(u.a),y=N,v=0,T=y.length;v<T;++v)switch(m=y[v],l(j(m,(Be(),Ns)),166).g){case 1:Q2n(m),Ii(m,t),p1t(m,!0,o);break;case 3:j2n(m),Ii(m,r),p1t(m,!1,s)}for(p=new Ji(e.b,0);p.b<p.d.gc();)(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26)).a.c.length==0&&Lu(p)}function DTn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G;for(I=t.length,m=I,Yt(0,t.length),t.charCodeAt(0)==45?(T=-1,N=1,--I):(T=1,N=0),u=(xJ(),G_t)[10],s=I/u|0,G=I%u,G!=0&&++s,p=me(Rn,Xn,30,s,15,1),r=z_t[8],f=0,L=N+(G==0?u:G),U=N;U<m;U=L,L=U+u)o=Ec((no(U,L,t.length),t.substr(U,L-U)),Zi,sr),y=(Z_(),P1e(p,p,f,r)),y+=Vgn(p,f,o),p[f++]=y;v=f,e.e=T,e.d=v,e.a=p,M3(e)}function LTn(e){var t,r,o,s,u,f,p,m,y,v,T,N;for(p=e.i,s=Ke(We(j(p,(Be(),Wy)))),v=0,o=0,y=new V(e.g);y.a<y.c.c.length;)m=l(q(y),17),f=lo(m),u=f&&s&&Ke(We(j(m,pm))),N=m.d.i,f&&u?++o:f&&!u?++v:ji(N).e==p?++o:++v;for(r=new V(e.e);r.a<r.c.c.length;)t=l(q(r),17),f=lo(t),u=f&&s&&Ke(We(j(t,pm))),T=t.c.i,f&&u?++v:f&&!u?++o:ji(T).e==p?++v:++o;return v-o}function byt(e,t){var r,o,s,u,f,p;if(!t.dc())if(l(t.Xb(0),295).d==(ZS(),Hy))Emn(e,t);else for(o=t.Jc();o.Ob();){switch(r=l(o.Pb(),295),r.d.g){case 5:W_(e,r,Ngn(e,r));break;case 0:W_(e,r,(f=r.f-r.c+1,p=(f-1)/2|0,r.c+p));break;case 4:W_(e,r,Udn(e,r));break;case 2:vgt(r),W_(e,r,(u=gbe(r),u?r.c:r.f));break;case 1:vgt(r),W_(e,r,(s=gbe(r),s?r.f:r.c))}fwn(r.a)}}function n0e(e,t,r,o){var s,u,f;return f=new get(t,r),e.a?o?(s=l(wl(l(Ut(e.b,t),263)),263),++s.a,f.d=o.d,f.e=o.e,f.b=o,f.c=o,o.e?o.e.c=f:s.b=f,o.d?o.d.b=f:e.a=f,o.d=f,o.e=f):(l(wl(e.e),501).b=f,f.d=e.e,e.e=f,s=l(Ut(e.b,t),263),s?(++s.a,u=s.c,u.c=f,f.e=u,s.c=f):(Yn(e.b,t,s=new yhe(f)),++e.c)):(e.a=e.e=f,Yn(e.b,t,new yhe(f)),++e.c),++e.d,f}function yJ(e,t){var r,o,s,u,f;if(t.Tg("Network simplex",1),e.e.a.c.length<1){t.Ug();return}for(u=new V(e.e.a);u.a<u.c.c.length;)s=l(q(u),126),s.e=0;for(f=e.e.a.c.length>=40,f&&SAn(e),P_n(e),tSn(e),r=egt(e),o=0;r&&o<e.f;)$Tn(e,r,iEn(e,r)),r=egt(e),++o;f&&D0n(e),e.a?gEn(e,cyt(e)):cyt(e),e.b=null,e.d=null,e.p=null,e.c=null,e.g=null,e.i=null,e.n=null,e.o=null,t.Ug()}function MTn(e,t){var r,o,s,u,f,p,m;if(!t.e){for(t.e=!0,o=t.d.a.ec().Jc();o.Ob();){if(r=l(o.Pb(),17),t.o&&t.d.a.gc()<=1){f=t.a.c,p=t.a.c+t.a.b,m=new Le(f+(p-f)/2,t.b),Gn(l(t.d.a.ec().Jc().Pb(),17).a,m);continue}if(s=l(Ut(t.c,r),460),s.b||s.c){STn(e,r,t);continue}u=e.d==(I_(),WI)&&(s.d||s.e)&&Nvn(e,t)&&t.d.a.gc()<=1,u?mxn(r,t):DSn(e,r,t)}t.k&&co(t.d,new dFe)}}function r0e(e,t,r,o,s,u){var f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(N=u,p=(o+s)/2+N,G=r*b.Math.cos(p),J=r*b.Math.sin(p),ne=G-t.g/2,oe=J-t.f/2,ya(t,ne),gu(t,oe),T=e.a.Dg(t),U=2*b.Math.acos(r/r+e.c),U<s-o?(I=U/T,f=(o+s-U)/2):(I=(s-o)/T,f=o),L=Ty(t),e.e&&(e.e.Eg(e.d),e.e.Fg(L)),y=new V(L);y.a<y.c.c.length;)m=l(q(y),19),v=e.a.Dg(m),r0e(e,m,r+e.c,f,f+I*v,u),f+=I*v}function PTn(e,t,r){var o;switch(o=r.q.getMonth(),t){case 5:zn(e,Z(X(Ye,1),Me,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[o]);break;case 4:zn(e,Z(X(Ye,1),Me,2,6,[ZJ,QJ,eX,tX,uT,nX,rX,iX,oX,sX,aX,uX])[o]);break;case 3:zn(e,Z(X(Ye,1),Me,2,6,["Jan","Feb","Mar","Apr",uT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[o]);break;default:bh(e,o+1,t)}}function jTn(e,t,r,o){var s,u,f,p,m,y,v,T,N;for(m=new Le(r,o),Ri(m,l(j(t,(h1(),yI)),8)),N=new V(t.e);N.a<N.c.c.length;)T=l(q(N),156),br(T.d,m),je(e.e,T);for(p=new V(t.c);p.a<p.c.c.length;){for(f=l(q(p),292),u=new V(f.a);u.a<u.c.c.length;)s=l(q(u),254),br(s.d,m);je(e.c,f)}for(v=new V(t.d);v.a<v.c.c.length;)y=l(q(v),448),br(y.d,m),je(e.d,y)}function i0e(e,t){var r,o,s,u,f,p,m,y;for(m=new V(t.j);m.a<m.c.c.length;)for(p=l(q(m),12),s=new Vd(p.b);Ss(s.a)||Ss(s.b);)o=l(Ss(s.a)?q(s.a):q(s.b),17),r=o.c==p?o.d:o.c,u=r.i,t!=u&&(y=l(j(o,(Be(),rx)),15).a,y<0&&(y=0),f=u.p,e.c[f]==0&&(o.d==r?(e.a[f]-=y+1,e.a[f]<=0&&e.d[f]>0&&Gn(e.g,u)):(e.d[f]-=y+1,e.d[f]<=0&&e.a[f]>0&&Gn(e.f,u))))}function myt(e,t,r,o){var s,u,f,p,m,y,v;for(m=new Le(r,o),Ri(m,l(j(t,(xr(),ux)),8)),v=An(t.b,0);v.b!=v.d.c;)y=l(Sn(v),41),br(y.e,m),Gn(e.b,y);for(p=l(Au(Nhe(new yt(null,new vt(t.a,16))),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16).Jc();p.Ob();){for(f=l(p.Pb(),65),u=An(f.a,0);u.b!=u.d.c;)s=l(Sn(u),8),s.a+=m.a,s.b+=m.b;Gn(e.a,f)}}function o0e(e,t){var r,o,s,u;if(0<(se(e,18)?l(e,18).gc():yd(e.Jc()))){if(s=t,1<s){for(--s,u=new uHe,o=e.Jc();o.Ob();)r=l(o.Pb(),41),u=Wc(Z(X(nl,1),Rt,22,0,[u,new Xh(r)]));return o0e(u,s)}if(s<0){for(u=new cHe,o=e.Jc();o.Ob();)r=l(o.Pb(),41),u=Wc(Z(X(nl,1),Rt,22,0,[u,new Xh(r)]));if(0<(se(u,18)?l(u,18).gc():yd(u.Jc())))return o0e(u,s)}}return l(D8(e.Jc()),41)}function FTn(e,t,r){var o,s,u,f;for(r.Tg("Processor order nodes",2),e.b=ue(ce(j(t,(Ps(),rne)))),e.a=l(j(t,aw),87),e.a==(vi(),hf)&&(e.a=ff,Ae(t,aw,e.a)),s=new Sr,f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),Ke(We(j(u,(xr(),z1))))&&Wr(s,u,s.c.b,s.c);o=(un(s.b!=0),l(s.a.a.c,41)),pvt(e,o),r.eh(1),Yme(e,o,0-ue(ce(j(o,(xr(),MB))))/2,0),r.eh(1),r.Ug()}function Bu(){Bu=Y,Sx=new Xv("DEFAULT_MINIMUM_SIZE",0),XL=new Xv("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),cU=new Xv("COMPUTE_PADDING",2),k4=new Xv("OUTSIDE_NODE_LABELS_OVERHANG",3),lU=new Xv("PORTS_OVERHANG",4),fU=new Xv("UNIFORM_PORT_SPACING",5),dU=new Xv("SPACE_EFFICIENT_PORT_LABELS",6),Tre=new Xv("FORCE_TABULAR_NODE_LABELS",7),JL=new Xv("ASYMMETRICAL",8)}function vJ(e,t){var r,o,s,u,f,p,m,y;if(t){if(r=(u=t.Ah(),u?mc(u).ti().pi(u):null),r){for(Kb(e,t,r),s=t.Ah(),m=0,y=(s.i==null&&jf(s),s.i).length;m<y;++m)p=(o=(s.i==null&&jf(s),s.i),m>=0&&m<o.length?o[m]:null),p.pk()&&!p.qk()&&(se(p,336)?ebn(e,l(p,38),t,r):(f=l(p,20),f.Bb&Ws&&l0n(e,f,t,r)));t.Sh()&&l(r,52).bi(l(t,52).Yh())}return r}else return null}function $Tn(e,t,r){var o,s,u;if(!t.f)throw K(new jt("Given leave edge is no tree edge."));if(r.f)throw K(new jt("Given enter edge is a tree edge already."));for(t.f=!1,sde(e.p,t),r.f=!0,pi(e.p,r),o=r.e.e-r.d.e-r.a,tJ(e,r.e,t)||(o=-o),u=new V(e.e.a);u.a<u.c.c.length;)s=l(q(u),126),tJ(e,s,t)||(s.e+=o);e.j=1,$N(e.c),tme(e,l(q(new V(e.e.a)),126)),kvt(e)}function wyt(e,t){var r,o,s,u,f,p;if(p=l(j(t,(Be(),Zr)),103),p==(qi(),Oh)||p==fa)for(s=new Le(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,f=new V(e.a);f.a<f.c.c.length;)u=l(q(f),9),u.k==(Ht(),mi)&&(r=l(j(u,(Ie(),Us)),64),!(r!=(Ue(),Zt)&&r!=Wt)&&(o=ue(ce(j(u,tw))),p==Oh&&(o*=s),u.n.b=o-l(j(u,ow),8).b,Oj(u,!1,!0)))}function yyt(e,t,r,o,s){r&&(!o||(e.c-e.b&e.a.length-1)>1)&&t==1&&l(e.a[e.b],9).k==(Ht(),ta)?oT(l(e.a[e.b],9),(vc(),Ih)):o&&(!r||(e.c-e.b&e.a.length-1)>1)&&t==1&&l(e.a[e.c-1&e.a.length-1],9).k==(Ht(),ta)?oT(l(e.a[e.c-1&e.a.length-1],9),(vc(),q1)):(e.c-e.b&e.a.length-1)==2?(oT(l(J3(e),9),(vc(),Ih)),oT(l(J3(e),9),q1)):wEn(e,s),Yhe(e)}function BTn(e){var t,r,o,s,u,f,p,m;for(m=new hn,t=new KG,f=e.Jc();f.Ob();)s=l(f.Pb(),9),p=i0(uO(new Eb,s),t),eu(m.f,s,p);for(u=e.Jc();u.Ob();)for(s=l(u.Pb(),9),o=new Ft(Gt(Rr(s).a.Jc(),new D));an(o);)r=l(Qt(o),17),!lo(r)&&Ql($l(Ul(Bl(Hl(new gl,b.Math.max(1,l(j(r,(Be(),IAe)),15).a)),1),l(Ut(m,r.c.i),126)),l(Ut(m,r.d.i),126)));return t}function vyt(e,t,r,o){var s,u,f,p,m,y,v,T,N,I;if(lfn(e,t,r),u=t[r],I=o?(Ue(),Wt):(Ue(),Zt),vtn(t.length,r,o)){for(s=t[o?r-1:r+1],hpe(e,s,o?(Lo(),Fa):(Lo(),Cu)),m=u,v=0,N=m.length;v<N;++v)f=m[v],B1e(e,f,I);for(hpe(e,u,o?(Lo(),Cu):(Lo(),Fa)),p=s,y=0,T=p.length;y<T;++y)f=p[y],f.e||B1e(e,f,L6(I))}else for(p=u,y=0,T=p.length;y<T;++y)f=p[y],B1e(e,f,I);return!1}function UTn(e,t,r,o,s){var u,f,p,m,y,v,T;for(St(),_i(e,new TGe),p=new Ji(e,0),T=new Pe,u=0;p.b<p.d.gc();)f=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),168)),T.c.length!=0&&hu(f)*Qu(f)>u*2?(v=new dj(T),y=hu(f)/Qu(f),m=BJ(v,t,new rS,r,o,s,y),br(wd(v.e),m),T.c.length=0,u=0,Ot(T.c,v),Ot(T.c,f),u=hu(v)*Qu(v)+hu(f)*Qu(f)):(Ot(T.c,f),u+=hu(f)*Qu(f));return T}function HTn(e,t){var r,o,s,u,f,p,m;for(t.Tg("Port order processing",1),m=l(j(e,(Be(),CAe)),426),o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)s=l(q(u),9),f=l(j(s,Zr),103),p=s.j,f==(qi(),Tm)||f==Oh||f==fa?(St(),_i(p,_Se)):f!=pf&&f!=W1&&(St(),_i(p,tNt),fbn(p),m==(h6(),$te)&&_i(p,eNt)),s.i=!0,Zbe(s);t.Ug()}function zTn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L;if(Yu(e.e)){if(t!=r&&(s=l(e.g,123),I=s[r],f=I.Jk(),bp(e.e,f))){for(L=za(e.e.Ah(),f),m=-1,p=-1,o=0,y=0,T=t>r?t:r;y<=T;++y)y==r?p=o++:(u=s[y],v=L.$l(u.Jk()),y==t&&(m=y==T&&!v?o-1:o),v&&++o);return N=l(oC(e,t,r),76),p!=m&&DA(e,new o6(e.e,7,f,Re(p),I.kd(),m)),N}}else return l(rJ(e,t,r),76);return l(oC(e,t,r),76)}function s0e(e,t){var r,o,s,u,f,p,m,y,v,T;for(T=0,u=new iE,l1(u,t);u.b!=u.c;)for(m=l(xS(u),221),y=0,v=l(j(t.j,(Be(),Ch)),270),l(j(t.j,MI),330),f=ue(ce(j(t.j,pL))),p=ue(ce(j(t.j,ute))),v!=(pp(),B1)&&(y+=f*_En(t.j,m.e,v),y+=p*lTn(t.j,m.e)),T+=j1t(m.d,m.e)+y,s=new V(m.b);s.a<s.c.c.length;)o=l(q(s),37),r=l(He(e.b,o.p),221),r.s||(T+=A7(e,r));return T}function Eyt(){Eyt=Y,v4t=Fn(new ui,(Vi(),da),(Xi(),lSe)),m_e=Fn(new ui,la,_$),S4t=Ca(Fn(new ui,la,D$),$o,O$),y4t=Ca(Fn(Fn(new ui,la,oSe),da,sSe),$o,aSe),T4t=Mf(Mf(YN(Ca(Fn(new ui,id,j$),$o,P$),da),M$),F$),E4t=Ca(new ui,$o,dSe),m4t=Ca(Fn(Fn(Fn(new ui,xh,x$),da,C$),da,zk),$o,N$),w4t=Ca(Fn(Fn(new ui,da,zk),da,A$),$o,T$)}function GTn(e,t,r,o,s,u){var f,p,m,y,v,T,N;for(y=Qht(t)-Qht(e),f=Xbt(t,y),m=Ua(0,0,0);y>=0&&(p=Xbn(e,f),!(p&&(y<22?m.l|=1<<y:y<44?m.m|=1<<y-22:m.h|=1<<y-44,e.l==0&&e.m==0&&e.h==0)));)v=f.m,T=f.h,N=f.l,f.h=T>>>1,f.m=v>>>1|(T&1)<<21,f.l=N>>>1|(v&1)<<21,--y;return r&&DK(m),u&&(o?(O1=k_(e),s&&(O1=Oht(O1,(b_(),FEe)))):O1=Ua(e.l,e.m,e.h)),m}function qTn(e,t){var r,o,s,u,f,p,m,y,v,T;for(y=e.e[t.c.p][t.p]+1,m=t.c.a.c.length+1,p=new V(e.a);p.a<p.c.c.length;){for(f=l(q(p),12),T=0,u=0,s=hh(Wc(Z(X(nl,1),Rt,22,0,[new OA(f),new Q2(f)])));an(s);)o=l(Qt(s),12),o.i.c==t.c&&(T+=htn(e,o.i)+1,++u);r=T/u,v=f.j,v==(Ue(),Zt)?r<y?e.f[f.p]=e.c-r:e.f[f.p]=e.b+(m-r):v==Wt&&(r<y?e.f[f.p]=e.b+r:e.f[f.p]=e.c-(m-r))}}function Ec(e,t,r){var o,s,u,f,p;if(e==null)throw K(new kf(tu));for(u=e.length,f=u>0&&(Yt(0,e.length),e.charCodeAt(0)==45||(Yt(0,e.length),e.charCodeAt(0)==43))?1:0,o=f;o<u;o++)if(jgt((Yt(o,e.length),e.charCodeAt(o)))==-1)throw K(new kf(j0+e+'"'));if(p=parseInt(e,10),s=p<t,isNaN(p))throw K(new kf(j0+e+'"'));if(s||p>r)throw K(new kf(j0+e+'"'));return p}function VTn(e){var t,r,o,s,u,f,p;for(f=new Sr,u=new V(e.a);u.a<u.c.c.length;)s=l(q(u),117),FG(s,s.f.c.length),v9(s,s.k.c.length),s.i==0&&(s.o=0,Wr(f,s,f.c.b,f.c));for(;f.b!=0;)for(s=l(f.b==0?null:(un(f.b!=0),Vc(f,f.a.a)),117),o=s.o+1,r=new V(s.f);r.a<r.c.c.length;)t=l(q(r),135),p=t.a,Vue(p,b.Math.max(p.o,o)),v9(p,p.i-1),p.i==0&&Wr(f,p,f.c.b,f.c)}function WTn(e){var t,r,o,s,u,f,p,m;for(f=new V(e);f.a<f.c.c.length;){for(u=l(q(f),74),o=Vo(l(ie((!u.b&&(u.b=new Et(pn,u,4,7)),u.b),0),83)),p=o.i,m=o.j,s=l(ie((!u.a&&(u.a=new xe(jr,u,6,6)),u.a),0),171),kO(s,s.j+p,s.k+m),_O(s,s.b+p,s.c+m),r=new en((!s.a&&(s.a=new yi(Ic,s,5)),s.a));r.e!=r.i.gc();)t=l(rn(r),373),sV(t,t.a+p,t.b+m);uge(l(ye(u,(_n(),p2)),79),p,m)}}function ek(e){var t;switch(e){case 100:return OE(fI,!0);case 68:return OE(fI,!1);case 119:return OE(TQ,!0);case 87:return OE(TQ,!1);case 115:return OE(AQ,!0);case 83:return OE(AQ,!1);case 99:return OE(_Q,!0);case 67:return OE(_Q,!1);case 105:return OE(kQ,!0);case 73:return OE(kQ,!1);default:throw K(new vs((t=e,p_t+t.toString(16))))}}function KTn(e){var t,r,o,s,u;switch(s=l(He(e.a,0),9),t=new Xd(e),je(e.a,t),t.o.a=b.Math.max(1,s.o.a),t.o.b=b.Math.max(1,s.o.b),t.n.a=s.n.a,t.n.b=s.n.b,l(j(s,(Ie(),Us)),64).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}return o=new aa,Ts(o,t),r=new h0,u=l(He(s.j,0),12),go(r,u),Yi(r,o),br(wd(o.n),u.n),br(wd(o.a),u.a),t}function Zc(e,t,r,o){var s,u,f,p,m,y,v,T,N,I;for(s=t,p=r,o<0&&(s=r,p=t),u=l(Ut(e.a,s),47),m=l(Ut(e.a,p),47),f=l(Ut(e.e,s),47),y=l(Ut(e.e,p),47),u.a.yc(p,u),y.a.yc(s,y),I=m.a.ec().Jc();I.Ob();)N=l(I.Pb(),12),u.a.yc(N,u),pi(l(Ut(e.e,N),47),s),bo(l(Ut(e.e,N),47),f);for(T=f.a.ec().Jc();T.Ob();)v=l(T.Pb(),12),y.a.yc(v,y),pi(l(Ut(e.a,v),47),p),bo(l(Ut(e.a,v),47),m)}function YTn(e,t,r){var o,s,u,f,p;for(u=0,s=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));s.e!=s.i.gc();)o=l(rn(s),19),f="",(!o.n&&(o.n=new xe(Is,o,1,7)),o.n).i==0||(f=l(ie((!o.n&&(o.n=new xe(Is,o,1,7)),o.n),0),158).a),p=new MK(u++,t,f),qs(p,o),Ae(p,(xr(),t4),o),p.e.b=o.j+o.f/2,p.f.a=b.Math.max(o.g,1),p.e.a=o.i+o.g/2,p.f.b=b.Math.max(o.f,1),Gn(t.b,p),eu(r.f,o,p)}function a0e(e,t,r){var o,s,u,f;if(t[0]>=e.length)return r.o=0,!0;switch(uo(e,t[0])){case 43:s=1;break;case 45:s=-1;break;default:return r.o=0,!0}if(++t[0],u=t[0],f=_7(e,t),f==0&&t[0]==u)return!1;if(t[0]<e.length&&uo(e,t[0])==58){if(o=f*60,++t[0],u=t[0],f=_7(e,t),f==0&&t[0]==u)return!1;o+=f}else o=f,o<24&&t[0]-u<=2?o*=60:o=o%100+(o/100|0)*60;return o*=s,r.o=-o,!0}function JTn(e){var t,r,o,s,u,f,p,m,y;for(f=new Pe,o=new Ft(Gt(Rr(e.b).a.Jc(),new D));an(o);)r=l(Qt(o),17),lo(r)&&je(f,new dlt(r,Xlt(e,r.c),Xlt(e,r.d)));for(y=(u=new Jh(e.e).a.vc().Jc(),new Dw(u));y.a.Ob();)p=(t=l(y.a.Pb(),45),l(t.kd(),114)),p.d.p=0;for(m=(s=new Jh(e.e).a.vc().Jc(),new Dw(s));m.a.Ob();)p=(t=l(m.a.Pb(),45),l(t.kd(),114)),p.d.p==0&&je(e.d,RTn(e,p))}function XTn(e,t){var r,o,s,u,f,p,m,y,v;for(f=new V(t.b);f.a<f.c.c.length;)for(u=l(q(f),26),y=new V(u.a);y.a<y.c.c.length;){for(m=l(q(y),9),v=new Pe,p=0,o=new Ft(Gt(si(m).a.Jc(),new D));an(o);)r=l(Qt(o),17),!(lo(r)||!lo(r)&&r.c.i.c==r.d.i.c)&&(s=l(j(r,(Be(),PT)),15).a,s>p&&(p=s,v.c.length=0),s==p&&je(v,new ko(r.c.i,r)));St(),_i(v,e.c),kb(e.b,m.p,v)}}function ZTn(e,t){var r,o,s,u,f,p,m,y,v;for(f=new V(t.b);f.a<f.c.c.length;)for(u=l(q(f),26),y=new V(u.a);y.a<y.c.c.length;){for(m=l(q(y),9),v=new Pe,p=0,o=new Ft(Gt(Rr(m).a.Jc(),new D));an(o);)r=l(Qt(o),17),!(lo(r)||!lo(r)&&r.c.i.c==r.d.i.c)&&(s=l(j(r,(Be(),PT)),15).a,s>p&&(p=s,v.c.length=0),s==p&&je(v,new ko(r.d.i,r)));St(),_i(v,e.c),kb(e.f,m.p,v)}}function QTn(e){var t,r,o,s,u,f,p;for(u=Gd(e),s=new en((!e.e&&(e.e=new Et(Cr,e,7,4)),e.e));s.e!=s.i.gc();)if(o=l(rn(s),74),p=Vo(l(ie((!o.c&&(o.c=new Et(pn,o,5,8)),o.c),0),83)),!ay(p,u))return!0;for(r=new en((!e.d&&(e.d=new Et(Cr,e,8,5)),e.d));r.e!=r.i.gc();)if(t=l(rn(r),74),f=Vo(l(ie((!t.b&&(t.b=new Et(pn,t,4,7)),t.b),0),83)),!ay(f,u))return!0;return!1}function eAn(e){var t,r,o,s,u;o=l(j(e,(Ie(),mr)),19),u=l(ye(o,(Be(),gm)),185).Gc((oc(),Am)),e.e||(s=l(j(e,_a),24),t=new Le(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),s.Gc((Mo(),rl))?(Vn(o,Zr,(qi(),fa)),L0(o,t.a,t.b,!1,!0)):Ke(We(ye(o,vte)))||L0(o,t.a,t.b,!0,!0)),u?Vn(o,gm,ct(Am)):Vn(o,gm,(r=l(md(_4),10),new Hc(r,l(Gl(r,r.length),10),0)))}function tAn(e,t){var r,o,s,u,f,p,m,y;if(y=We(j(t,(Ps(),iRt))),y==null||(Mt(y),y)){for(xvn(e,t),s=new Pe,m=An(t.b,0);m.b!=m.d.c;)f=l(Sn(m),41),r=Gbe(e,f,null),r&&(qs(r,t),Ot(s.c,r));if(e.a=null,e.b=null,s.c.length>1)for(o=new V(s);o.a<o.c.c.length;)for(r=l(q(o),121),u=0,p=An(r.b,0);p.b!=p.d.c;)f=l(Sn(p),41),f.g=u++;return s}return Wl(Z(X(j3n,1),C2t,121,0,[t]))}function nAn(e,t){var r,o,s,u,f,p;for(s=new V(t.a);s.a<s.c.c.length;)o=l(q(s),9),u=j(o,(Ie(),mr)),se(u,12)&&(f=l(u,12),p=Uyt(t,o,f.o.a,f.o.b),f.n.a=p.a,f.n.b=p.b,Ni(f,l(j(o,Us),64)));r=new Le(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),l(j(t,(Ie(),_a)),24).Gc((Mo(),rl))?(Ae(e,(Be(),Zr),(qi(),fa)),l(j(ji(e),_a),24).Ec(Zk),Rvt(e,r,!1)):Rvt(e,r,!0)}function rAn(e){var t,r,o,s,u,f,p,m;for(m=new Du,t=An(e,0),p=null,r=l(Sn(t),8),s=l(Sn(t),8);t.b!=t.d.c;)p=r,r=s,s=l(Sn(t),8),u=dft(Ri(new Le(p.a,p.b),r)),f=dft(Ri(new Le(s.a,s.b),r)),o=10,o=b.Math.min(o,b.Math.abs(u.a+u.b)/2),o=b.Math.min(o,b.Math.abs(f.a+f.b)/2),u.a=HO(u.a)*o,u.b=HO(u.b)*o,f.a=HO(f.a)*o,f.b=HO(f.b)*o,Gn(m,br(u,r)),Gn(m,br(f,r));return m}function iAn(e,t,r){var o,s,u,f,p,m;if(r.Tg("Minimize Crossings "+e.a,1),o=t.b.c.length==0||!$A(lr(new yt(null,new vt(t.b,16)),new IA(new dUe))).zd((Tb(),ET)),m=t.b.c.length==1&&l(He(t.b,0),26).a.c.length==1,u=be(j(t,(Be(),Vy)))===be((fp(),Cg)),o||m&&!u){r.Ug();return}s=K2n(e,t),f=(p=l(sa(s,0),221),p.c.ig()?p.c.cg()?new lJe(e):new dJe(e):new cJe(e)),spn(s,f),Ppn(e),r.Ug()}function Sc(e,t,r,o){var s,u,f,p,m;return f=e.Mh(),m=e.Gh(),s=null,m?t&&!(mJ(e,t,r).Bb&xo)?(o=Ao(m.Cl(),e,o),e.ai(null),s=t.Nh()):m=null:(f&&(m=f.Nh()),t&&(s=t.Nh())),m!=s&&m&&m.Gl(e),p=e.Ch(),e.yh(t,r),m!=s&&s&&s.Fl(e),e.sh()&&e.th()&&(f&&p>=0&&p!=r&&(u=new Pi(e,1,p,f,null),o?o.lj(u):o=u),r>=0&&(u=new Pi(e,1,r,p==r?f:null,t),o?o.lj(u):o=u)),o}function Syt(e){var t,r,o;if(e.b==null){if(o=new Jp,e.i!=null&&(zo(o,e.i),o.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(Zsn(e.i)||(o.a+="//"),zo(o,e.a)),e.d!=null&&(o.a+="/",zo(o,e.d)),e.f&16&&(o.a+="/"),t=0,r=e.j.length;t<r;t++)t!=0&&(o.a+="/"),zo(o,e.j[t]);e.g!=null&&(o.a+="?",zo(o,e.g))}else zo(o,e.a);e.e!=null&&(o.a+="#",zo(o,e.e)),e.b=o.a}return e.b}function oAn(e,t,r,o,s){var u,f,p,m;u=new Xd(e),Kh(u,(Ht(),Aa)),Ae(u,(Be(),Zr),(qi(),fa)),Ae(u,(Ie(),mr),t.c.i),f=new aa,Ae(f,mr,t.c),Ni(f,s),Ts(f,u),Ae(t.c,Nu,u),p=new Xd(e),Kh(p,Aa),Ae(p,Zr,fa),Ae(p,mr,t.d.i),m=new aa,Ae(m,mr,t.d),Ni(m,s),Ts(m,p),Ae(t.d,Nu,p),go(t,f),Yi(t,m),ny(0,r.c.length),ZN(r.c,0,u),Ot(o.c,p),Ae(u,eB,Re(1)),Ae(p,eB,Re(1))}function sAn(e,t,r,o){var s,u,f,p,m;if(m=On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15))),s=On(mo(Sh,ph(On(mo(r==null?0:Ir(r),Th)),15))),p=W3(e,t,m),f=V3(e,r,s),p&&s==p.a&&tp(r,p.g))return r;if(f)throw K(new jt("key already present: "+r));return p&&xE(e,p),f&&xE(e,f),u=new EP(r,s,t,m),J6(e,u,f),f&&(f.e=null,f.c=null),p&&(p.e=null,p.c=null),rbt(e),p?p.g:null}function Tyt(e,t,r){var o,s,u,f,p;for(u=0;u<t;u++){for(o=0,p=u+1;p<t;p++)o=To(To(mo(Gi(e[u],Po),Gi(e[p],Po)),Gi(r[u+p],Po)),Gi(On(o),Po)),r[u+p]=On(o),o=Cb(o,32);r[u+t]=On(o)}for(qfn(r,r,t<<1),o=0,s=0,f=0;s<t;++s,f++)o=To(To(mo(Gi(e[s],Po),Gi(e[s],Po)),Gi(r[f],Po)),Gi(On(o),Po)),r[f]=On(o),o=Cb(o,32),++f,o=To(o,Gi(r[f],Po)),r[f]=On(o),o=Cb(o,32);return r}function Ayt(e,t,r){var o,s,u,f,p,m,y,v;if(!ry(t)){for(m=ue(ce(gy(r.c,(Be(),UI)))),y=l(gy(r.c,yL),125),!y&&(y=new MN),o=r.a,s=null,p=t.Jc();p.Ob();)f=l(p.Pb(),12),v=0,s?(v=m,v+=s.o.b):v=y.d,u=i0(uO(new Eb,f),e.f),Yn(e.k,f,u),Ql($l(Ul(Bl(Hl(new gl,0),po(b.Math.ceil(v))),o),u)),s=f,o=u;Ql($l(Ul(Bl(Hl(new gl,0),po(b.Math.ceil(y.a+s.o.b))),o),r.d))}}function aAn(e,t,r,o,s,u,f,p){var m,y,v,T,N,I;return I=!1,N=u-r.s,v=r.t-t.f+(y=OC(r,N,!1),y.a),o.g+p>N?!1:(T=(m=OC(o,N,!1),m.a),v+p+T<=t.b&&(s6(r,u-r.s),r.c=!0,s6(o,u-r.s),$6(o,r.s,r.t+r.d+p),o.k=!0,lge(r.q,o),I=!0,s&&(mj(t,o),o.j=t,e.c.length>f&&(z6((at(f,e.c.length),l(e.c[f],189)),o),(at(f,e.c.length),l(e.c[f],189)).a.c.length==0&&og(e,f)))),I)}function uAn(e,t){var r,o,s,u,f,p;if(t.Tg("Partition midprocessing",1),s=new g0,ei(lr(new yt(null,new vt(e.a,16)),new n$e),new kYe(s)),s.d!=0){for(p=l(Au(Rhe((u=s.i,new yt(null,(u||(s.i=new sE(s,s.c))).Lc()))),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),o=p.Jc(),r=l(o.Pb(),15);o.Ob();)f=l(o.Pb(),15),e2n(l(wr(s,r),24),l(wr(s,f),24)),r=f;t.Ug()}}function NC(e,t){var r,o,s,u,f;if(e.Ab){if(e.Ab){if(f=e.Ab.i,f>0){if(s=l(e.Ab.g,2012),t==null){for(u=0;u<f;++u)if(r=s[u],r.d==null)return r}else for(u=0;u<f;++u)if(r=s[u],mt(t,r.d))return r}}else if(t==null){for(o=new en(e.Ab);o.e!=o.i.gc();)if(r=l(rn(o),594),r.d==null)return r}else for(o=new en(e.Ab);o.e!=o.i.gc();)if(r=l(rn(o),594),mt(t,r.d))return r}return null}function _yt(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;I=eln(e,wge(t),s),tge(I,ip(s,Gf)),w=null,L=s,U=j3(L,$Tt),G=new cXe(I),Ybt(G.a,U),J=j3(L,"endPoint"),ne=new hXe(I),Kbt(ne.a,J),oe=b0(L,BF),le=new bXe(I),ybt(le.a,oe),T=ip(s,iEe),u=new Gtt(e,I),mit(u.a,u.b,T),N=ip(s,rEe),f=new qtt(e,I),wit(f.a,f.b,N),y=b0(s,sEe),p=new Jtt(r,I),z1t(p.b,p.a,y),v=b0(s,oEe),m=new Xtt(o,I),G1t(m.b,m.a,v)}function kyt(e,t,r){var o,s,u,f,p,m,y,v;if(t.p==0){for(t.p=1,f=r,f||(s=new Pe,u=(o=l(md(Co),10),new Hc(o,l(Gl(o,o.length),10),0)),f=new ko(s,u)),l(f.a,16).Ec(t),t.k==(Ht(),mi)&&l(f.b,24).Ec(l(j(t,(Ie(),Us)),64)),m=new V(t.j);m.a<m.c.c.length;)for(p=l(q(m),12),v=hh(Wc(Z(X(nl,1),Rt,22,0,[new OA(p),new Q2(p)])));an(v);)y=l(Qt(v),12),kyt(e,y.i,f);return f}return null}function u0e(e,t,r){var o,s,u,f,p;switch(p=null,t.g){case 1:for(s=new V(e.j);s.a<s.c.c.length;)if(o=l(q(s),12),Ke(We(j(o,(Ie(),Qee)))))return o;p=new aa,Ae(p,(Ie(),Qee),(Lt(),!0));break;case 2:for(f=new V(e.j);f.a<f.c.c.length;)if(u=l(q(f),12),Ke(We(j(u,(Ie(),tte)))))return u;p=new aa,Ae(p,(Ie(),tte),(Lt(),!0))}return p&&(Ts(p,e),Ni(p,r),sbn(p.n,e.o,r)),p}function xyt(e,t){var r,o,s,u,f,p;for(p=-1,f=new Sr,o=new Vd(e.b);Ss(o.a)||Ss(o.b);){for(r=l(Ss(o.a)?q(o.a):q(o.b),17),p=b.Math.max(p,ue(ce(j(r,(Be(),Ag))))),r.c==e?ei(lr(new yt(null,new vt(r.b,16)),new Z7e),new gYe(f)):ei(lr(new yt(null,new vt(r.b,16)),new Q7e),new bYe(f)),u=An(f,0);u.b!=u.d.c;)s=l(Sn(u),70),gr(s,(Ie(),NT))||Ae(s,NT,r);li(t,f),ec(f)}return p}function D0(e,t,r,o,s){var u,f,p,m,y;p=s?o.b:o.a,!bl(e.a,o)&&(y=p>r.s&&p<r.c,m=!1,r.e.b!=0&&r.j.b!=0&&(m=m|(b.Math.abs(p-ue(ce(KA(r.e))))<Uf&&b.Math.abs(p-ue(ce(KA(r.j))))<Uf),m=m|(b.Math.abs(p-ue(ce(zl(r.e))))<Uf&&b.Math.abs(p-ue(ce(zl(r.j))))<Uf)),(y||m)&&(f=l(j(t,(Be(),rs)),79),f||(f=new Du,Ae(t,rs,f)),u=new Eo(o),Wr(f,u,f.c.b,f.c),pi(e.a,u)))}function cAn(e,t,r){var o,s,u,f,p,m,y,v,T;for(r.Tg("Processor set coordinates",1),e.a=t.b.b==0?1:t.b.b,y=null,o=An(t.b,0);!y&&o.b!=o.d.c;)T=l(Sn(o),41),Ke(We(j(T,(xr(),z1))))&&(y=T,m=T.e,m.a=l(j(T,xL),15).a,m.b=l(j(T,NL),15).a);p=CK(y),v=1;do p=xwn((s=p,r.dh(v),s)),v=p.b/e.a|0;while(p.b!=0);for(f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),Ri(u.e,new Le(u.f.a/2,u.f.b/2));r.Ug()}function lAn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(r=!1,v=ue(ce(j(t,(Be(),wm)))),L=mg*v,s=new V(t.b);s.a<s.c.c.length;)for(o=l(q(s),26),y=new V(o.a),u=l(q(y),9),T=zfe(e.a[u.p]);y.a<y.c.c.length;)p=l(q(y),9),N=zfe(e.a[p.p]),T!=N&&(I=rE(e.b,u,p),f=u.n.b+u.o.b+u.d.a+T.a+I,m=p.n.b-p.d.d+N.a,f>m+L&&(U=T.g+N.g,N.a=(N.g*N.a+T.g*T.a)/U,N.g=U,T.f=N,r=!0)),u=p,T=N;return r}function dAn(e,t,r){var o,s,u,f,p,m,y,v;for(r.Tg(_St,1),Zs(e.b),Zs(e.a),p=null,u=An(t.b,0);!p&&u.b!=u.d.c;)y=l(Sn(u),41),Ke(We(j(y,(xr(),z1))))&&(p=y);for(m=new Sr,Wr(m,p,m.c.b,m.c),sEt(e,m),v=An(t.b,0);v.b!=v.d.c;)y=l(Sn(v),41),f=In(j(y,(xr(),e4))),s=ma(e.b,f)!=null?l(ma(e.b,f),15).a:0,Ae(y,Xte,Re(s)),o=1+(ma(e.a,f)!=null?l(ma(e.a,f),15).a:0),Ae(y,O_e,Re(o));r.Ug()}function Nyt(e){t0(e,new Xb(Zm(Ym(Xm(Jm(new wb,q0),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new mGe))),Oe(e,q0,$0,jxe),Oe(e,q0,F0,15),Oe(e,q0,xD,Re(0)),Oe(e,q0,Gve,ze(Lxe)),Oe(e,q0,ME,ze(b6t)),Oe(e,q0,pT,ze(m6t)),Oe(e,q0,bk,QSt),Oe(e,q0,mk,ze(Mxe)),Oe(e,q0,gT,ze(Pxe)),Oe(e,q0,qve,ze(ire)),Oe(e,q0,xF,ze(g6t))}function Cyt(e,t){var r,o,s,u,f,p,m,y,v;if(s=e.i,f=s.o.a,u=s.o.b,f<=0&&u<=0)return Ue(),Cs;switch(y=e.n.a,v=e.n.b,p=e.o.a,r=e.o.b,t.g){case 2:case 1:if(y<0)return Ue(),Wt;if(y+p>f)return Ue(),Zt;break;case 4:case 3:if(v<0)return Ue(),Vt;if(v+r>u)return Ue(),dn}return m=(y+p/2)/f,o=(v+r/2)/u,m+o<=1&&m-o<=0?(Ue(),Wt):m+o>=1&&m-o>=0?(Ue(),Zt):o<.5?(Ue(),Vt):(Ue(),dn)}function Iyt(e,t,r,o,s,u,f){var p,m,y,v,T,N;for(N=new bS,y=t.Jc();y.Ob();)for(p=l(y.Pb(),845),T=new V(p.Pf());T.a<T.c.c.length;)v=l(q(T),190),be(v.mf((_n(),ure)))===be((Kd(),yx))&&(uyt(N,v,!1,o,s,u,f),bC(e,N));for(m=r.Jc();m.Ob();)for(p=l(m.Pb(),845),T=new V(p.Pf());T.a<T.c.c.length;)v=l(q(T),190),be(v.mf((_n(),ure)))===be((Kd(),dv))&&(uyt(N,v,!0,o,s,u,f),bC(e,N))}function fAn(e,t,r){var o,s,u,f,p,m,y;for(f=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));f.e!=f.i.gc();)for(u=l(rn(f),19),s=new Ft(Gt(gp(u).a.Jc(),new D));an(s);)o=l(Qt(s),74),!EC(o)&&!EC(o)&&!I0(o)&&(m=l(Es(Zo(r.f,u)),41),y=l(Ut(r,Vo(l(ie((!o.c&&(o.c=new Et(pn,o,5,8)),o.c),0),83))),41),m&&y&&(p=new mhe(m,y),Ae(p,(xr(),t4),o),qs(p,o),Gn(m.d,p),Gn(y.b,p),Gn(t.a,p)))}function hAn(e,t){var r,o,s,u,f,p,m,y;for(m=l(l(wr(e.r,t),24),85).Jc();m.Ob();)p=l(m.Pb(),116),s=p.c?lot(p.c):0,s>0?p.a?(y=p.b.Kf().b,s>y&&(e.v||p.c.d.c.length==1?(f=(s-y)/2,p.d.d=f,p.d.a=f):(r=l(He(p.c.d,0),190).Kf().b,o=(r-y)/2,p.d.d=b.Math.max(0,o),p.d.a=s-o-y))):p.d.a=e.t+s:A3(e.u)&&(u=kbe(p.b),u.d<0&&(p.d.d=-u.d),u.d+u.a>p.b.Kf().b&&(p.d.a=u.d+u.a-p.b.Kf().b))}function ed(){ed=Y,ST=new Mi((_n(),BL),Re(1)),w$=new Mi(Od,80),axt=new Mi(hNe,5),Xkt=new Mi(px,gk),oxt=new Mi(mre,Re(1)),sxt=new Mi(wre,(Lt(),!0)),v2e=new Ab(50),rxt=new Mi(df,v2e),m2e=b4,E2e=gx,Zkt=new Mi(tU,!1),y2e=m4,txt=av,nxt=G1,ext=Sm,Qkt=g2,ixt=uv,w2e=(Pbe(),Gkt),ree=Kkt,m$=zkt,nee=qkt,S2e=Wkt,lxt=mx,dxt=iU,cxt=lv,uxt=bx,T2e=(GS(),hv),new Mi(GT,T2e)}function pAn(e,t){var r;switch(p6(e)){case 6:return zi(t);case 7:return Bw(t);case 8:return $w(t);case 3:return Array.isArray(t)&&(r=p6(t),!(r>=14&&r<=16));case 11:return t!=null&&typeof t===qJ;case 12:return t!=null&&(typeof t===fD||typeof t==qJ);case 0:return mY(t,e.__elementTypeId$);case 2:return XV(t)&&t.Rm!==ge;case 1:return XV(t)&&t.Rm!==ge||mY(t,e.__elementTypeId$);default:return!0}}function gAn(e){var t,r,o,s;o=e.o,Gw(),e.A.dc()||pr(e.A,f2e)?s=o.a:(e.D?s=b.Math.max(o.a,yC(e.f)):s=yC(e.f),e.A.Gc((oc(),KL))&&!e.B.Gc((Bu(),k4))&&(s=b.Math.max(s,yC(l(Go(e.p,(Ue(),Vt)),256))),s=b.Math.max(s,yC(l(Go(e.p,dn),256)))),t=yht(e),t&&(s=b.Math.max(s,t.a))),Ke(We(e.e.Rf().mf((_n(),av))))?o.a=b.Math.max(o.a,s):o.a=s,r=e.f.i,r.c=0,r.b=s,TJ(e.f)}function Ryt(e,t){var r,o,s,u;return o=b.Math.min(b.Math.abs(e.c-(t.c+t.b)),b.Math.abs(e.c+e.b-t.c)),u=b.Math.min(b.Math.abs(e.d-(t.d+t.a)),b.Math.abs(e.d+e.a-t.d)),r=b.Math.abs(e.c+e.b/2-(t.c+t.b/2)),r>e.b/2+t.b/2||(s=b.Math.abs(e.d+e.a/2-(t.d+t.a/2)),s>e.a/2+t.a/2)?1:r==0&&s==0?0:r==0?u/s+1:s==0?o/r+1:b.Math.min(o/r,u/s)+1}function bAn(e,t){var r,o,s,u,f,p,m;for(u=0,p=0,m=0,s=new V(e.f.e);s.a<s.c.c.length;)o=l(q(s),156),t!=o&&(f=e.i[t.a][o.a],u+=f,r=f1(t.d,o.d),r>0&&e.d!=(U3(),see)&&(p+=f*(o.d.a+e.a[t.a][o.a]*(t.d.a-o.d.a)/r)),r>0&&e.d!=(U3(),iee)&&(m+=f*(o.d.b+e.a[t.a][o.a]*(t.d.b-o.d.b)/r)));switch(e.d.g){case 1:return new Le(p/u,t.d.b);case 2:return new Le(t.d.a,m/u);default:return new Le(p/u,m/u)}}function Oyt(e){var t,r,o,s,u,f;for(r=(!e.a&&(e.a=new yi(Ic,e,5)),e.a).i+2,f=new Ra(r),je(f,new Le(e.j,e.k)),ei(new yt(null,(!e.a&&(e.a=new yi(Ic,e,5)),new vt(e.a,16))),new oXe(f)),je(f,new Le(e.b,e.c)),t=1;t<f.c.length-1;)o=(at(t-1,f.c.length),l(f.c[t-1],8)),s=(at(t,f.c.length),l(f.c[t],8)),u=(at(t+1,f.c.length),l(f.c[t+1],8)),o.a==s.a&&s.a==u.a||o.b==s.b&&s.b==u.b?og(f,t):++t;return f}function Dyt(e,t){x_();var r,o,s,u,f;if(f=l(j(e.i,(Be(),Zr)),103),u=e.j.g-t.j.g,u!=0||!(f==(qi(),Tm)||f==Oh||f==fa))return 0;if(f==(qi(),Tm)&&(r=l(j(e,_g),15),o=l(j(t,_g),15),r&&o&&(s=r.a-o.a,s!=0)))return s;switch(e.j.g){case 1:return yr(e.n.a,t.n.a);case 2:return yr(e.n.b,t.n.b);case 3:return yr(t.n.a,e.n.a);case 4:return yr(t.n.b,e.n.b);default:throw K(new Xo(Ewe))}}function Lyt(e,t){var r,o,s,u,f,p,m;for(r=Trt(Iet(Net(Cet(new Sce,t),new NP(t.e)),iNt),e.a),t.j.c.length==0||rdt(l(He(t.j,0),60).a,r),m=new VG,Yn(e.e,r,m),f=new hi,p=new hi,u=new V(t.k);u.a<u.c.c.length;)s=l(q(u),17),pi(f,s.c),pi(p,s.d);o=f.a.gc()-p.a.gc(),o<0?(N6(m,!0,(vi(),is)),N6(m,!1,cs)):o>0&&(N6(m,!1,(vi(),is)),N6(m,!0,cs)),Oa(t.g,new ott(e,r)),Yn(e.g,t,r)}function c0e(){c0e=Y,eOt=new ht(bve,(Lt(),!1)),Re(-1),WRt=new ht(mve,Re(-1)),Re(-1),KRt=new ht(wve,Re(-1)),YRt=new ht(yve,!1),JRt=new ht(vve,!1),Ike=(VP(),Ine),iOt=new ht(Eve,Ike),oOt=new ht(Sve,-1),Cke=(qj(),kne),rOt=new ht(Tve,Cke),nOt=new ht(Ave,!0),xke=(nj(),Rne),QRt=new ht(_ve,xke),ZRt=new ht(kve,!1),Re(1),XRt=new ht(xve,Re(1)),Nke=($j(),One),tOt=new ht(Nve,Nke)}function Myt(){Myt=Y;var e;for(VEe=Z(X(Rn,1),Xn,30,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),BQ=me(Rn,Xn,30,37,15,1),F_t=Z(X(Rn,1),Xn,30,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),WEe=me(hw,t2t,30,37,14,1),e=2;e<=36;e++)BQ[e]=po(b.Math.pow(e,VEe[e])),WEe[e]=q6(bD,BQ[e])}function mAn(e){var t;if((!e.a&&(e.a=new xe(jr,e,6,6)),e.a).i!=1)throw K(new jt(TTt+(!e.a&&(e.a=new xe(jr,e,6,6)),e.a).i));return t=new Du,NK(l(ie((!e.b&&(e.b=new Et(pn,e,4,7)),e.b),0),83))&&bo(t,AEt(e,NK(l(ie((!e.b&&(e.b=new Et(pn,e,4,7)),e.b),0),83)),!1)),NK(l(ie((!e.c&&(e.c=new Et(pn,e,5,8)),e.c),0),83))&&bo(t,AEt(e,NK(l(ie((!e.c&&(e.c=new Et(pn,e,5,8)),e.c),0),83)),!0)),t}function Pyt(e,t){var r,o,s,u,f;for(t.d?s=e.a.c==(Cf(),sw)?si(t.b):Rr(t.b):s=e.a.c==(Cf(),kg)?si(t.b):Rr(t.b),u=!1,o=new Ft(Gt(s.a.Jc(),new D));an(o);)if(r=l(Qt(o),17),f=Ke(e.a.f[e.a.g[t.b.p].p]),!(!f&&!lo(r)&&r.c.i.c==r.d.i.c)&&!(Ke(e.a.n[e.a.g[t.b.p].p])||Ke(e.a.n[e.a.g[t.b.p].p]))&&(u=!0,bl(e.b,e.a.g[Dbn(r,t.b).p])))return t.c=!0,t.a=r,t;return t.c=u,t.a=null,t}function l0e(e,t,r){var o,s,u,f,p,m,y;if(o=r.gc(),o==0)return!1;if(e.Nj())if(m=e.Oj(),b1e(e,t,r),f=o==1?e.Gj(3,null,r.Jc().Pb(),t,m):e.Gj(5,null,r,t,m),e.Kj()){for(p=o<100?null:new Qg(o),u=t+o,s=t;s<u;++s)y=e.vj(s),p=e.Lj(y,p),p=p;p?(p.lj(f),p.mj()):e.Hj(f)}else e.Hj(f);else if(b1e(e,t,r),e.Kj()){for(p=o<100?null:new Qg(o),u=t+o,s=t;s<u;++s)p=e.Lj(e.vj(s),p);p&&p.mj()}return!0}function jyt(e,t,r){var o,s,u,f,p;return e.Nj()?(s=null,u=e.Oj(),o=e.Gj(1,p=(f=e.Bj(t,e.Xi(t,r)),f),r,t,u),e.Kj()&&!(e.Wi()&&p?pr(p,r):be(p)===be(r))&&(p&&(s=e.Mj(p,s)),s=e.Lj(r,s)),s?(s.lj(o),s.mj()):e.Hj(o),p):(p=(f=e.Bj(t,e.Xi(t,r)),f),e.Kj()&&!(e.Wi()&&p?pr(p,r):be(p)===be(r))&&(s=null,p&&(s=e.Mj(p,null)),s=e.Lj(r,s),s&&s.mj()),p)}function d0e(e,t){var r,o,s,u,f,p,m,y,v;if(e.e=t,e.f=l(j(t,(h1(),y$)),237),iwn(t),e.d=b.Math.max(t.e.c.length*16+t.c.c.length,256),!Ke(We(j(t,(ed(),m2e)))))for(v=e.e.e.c.length,m=new V(t.e);m.a<m.c.c.length;)p=l(q(m),156),y=p.d,y.a=qV(e.f)*v,y.b=qV(e.f)*v;for(r=t.b,u=new V(t.c);u.a<u.c.c.length;)if(s=l(q(u),292),o=l(j(s,S2e),15).a,o>0){for(f=0;f<o;f++)je(r,new mst(s));c0t(s)}}function wAn(e,t){var r,o,s,u,f,p,m,y,v,T;for(t.Tg("Hypernodes processing",1),s=new V(e.b);s.a<s.c.c.length;)for(o=l(q(s),26),p=new V(o.a);p.a<p.c.c.length;)if(f=l(q(p),9),Ke(We(j(f,(Be(),fB))))&&f.j.c.length<=2){for(T=0,v=0,r=0,u=0,y=new V(f.j);y.a<y.c.c.length;)switch(m=l(q(y),12),m.j.g){case 1:++T;break;case 2:++v;break;case 3:++r;break;case 4:++u}T==0&&r==0&&NNn(e,f,u<=v)}t.Ug()}function Fyt(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L;if(N=new Zw(e.Yg()),Kl(t,or,N),r&&!e.Wg().a.dc())for(v=new yb,Kl(t,"logs",v),p=0,L=new Gv(e.Wg().b.Jc());L.b.Ob();)I=In(L.b.Pb()),T=new Zw(I),sy(v,p),MW(v,p,T),++p;if(o&&(y=new y9(e.Vg()),Kl(t,"executionTime",y)),!e.Xg().a.dc())for(f=new yb,Kl(t,sQ,f),p=0,u=new Gv(e.Xg().b.Jc());u.b.Ob();)s=l(u.b.Pb(),861),m=new oS,sy(f,p),MW(f,p,m),Fyt(s,m,r,o),++p}function f0e(){f0e=Y,yq(),RLt=new QVe,Z(X(WT,2),Me,377,0,[Z(X(WT,1),i$,596,0,[new iO(i_t)])]),Z(X(WT,2),Me,377,0,[Z(X(WT,1),i$,596,0,[new iO(kEe)])]),Z(X(WT,2),Me,377,0,[Z(X(WT,1),i$,596,0,[new iO(o_t)]),Z(X(WT,1),i$,596,0,[new iO(kEe)])]),new o1("-1"),Z(X(WT,2),Me,377,0,[Z(X(WT,1),i$,596,0,[new iO("\\c+")])]),new o1("0"),new o1("0"),new o1("1"),new o1("0"),new o1(d_t)}function yAn(e,t,r){var o,s,u,f,p,m,y,v,T;for(r.Tg("Hyperedge merging",1),Wvn(e,t),m=new Ji(t.b,0);m.b<m.d.gc();)if(p=(un(m.b<m.d.gc()),l(m.d.Xb(m.c=m.b++),26)),v=p.a,v.c.length!=0)for(o=null,s=null,u=null,f=null,y=0;y<v.c.length;y++)o=(at(y,v.c.length),l(v.c[y],9)),s=o.k,s==(Ht(),gi)&&f==gi&&(T=m_n(o,u),T.a&&(ySn(o,u,T.b,T.c),at(y,v.c.length),Zce(v.c,y,1),--y,o=u,s=f)),u=o,f=s;r.Ug()}function vAn(e,t,r,o,s){var u,f,p,m,y,v,T;for(f=new V(t);f.a<f.c.c.length;){if(u=l(q(f),17),m=u.c,r.a._b(m))y=(p0(),H1);else if(o.a._b(m))y=(p0(),u2);else throw K(new jt("Source port must be in one of the port sets."));if(v=u.d,r.a._b(v))T=(p0(),H1);else if(o.a._b(v))T=(p0(),u2);else throw K(new jt("Target port must be in one of the port sets."));p=new Amt(u,y,T),Yn(e.b,u,p),Ot(s.c,p)}}function U7(e){var t,r;return e.c&&e.c.Sh()&&(r=l(e.c,52),e.c=l(w1(e,r),146),e.c!=r&&(e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,2,r,e.c)),se(e.Cb,408)?e.Db>>16==-15&&e.Cb.Vh()&&QW(new XW(e.Cb,9,13,r,e.c,pg(ju(l(e.Cb,62)),e))):se(e.Cb,89)&&e.Db>>16==-23&&e.Cb.Vh()&&(t=e.c,se(t,89)||(t=(Tt(),Ml)),se(r,89)||(r=(Tt(),Ml)),QW(new XW(e.Cb,9,10,r,t,pg(oa(l(e.Cb,29)),e)))))),e.c}function $yt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L;if(t==r)return!0;if(t=pme(e,t),r=pme(e,r),o=AY(t),o){if(v=AY(r),v!=o)return v?(m=o.kk(),L=v.kk(),m==L&&m!=null):!1;if(f=(!t.d&&(t.d=new yi(Uo,t,1)),t.d),u=f.i,N=(!r.d&&(r.d=new yi(Uo,r,1)),r.d),u==N.i){for(y=0;y<u;++y)if(s=l(ie(f,y),88),T=l(ie(N,y),88),!$yt(e,s,T))return!1}return!0}else return p=t.e,I=r.e,p==I}function Byt(e,t,r,o){var s,u,f,p,m,y,v,T;if(bp(e.e,t)){for(T=za(e.e.Ah(),t),u=l(e.g,123),v=null,m=-1,p=-1,s=0,y=0;y<e.i;++y)f=u[y],T.$l(f.Jk())&&(s==r&&(m=y),s==o&&(p=y,v=f.kd()),++s);if(m==-1)throw K(new Na(cQ+r+sm+s));if(p==-1)throw K(new Na(lQ+o+sm+s));return oC(e,m,p),Yu(e.e)&&DA(e,c1(e,7,t,Re(o),v,r,!0)),v}else throw K(new jt("The feature must be many-valued to support move"))}function Uyt(e,t,r,o){var s,u,f,p,m;switch(m=new Eo(t.n),m.a+=t.o.a/2,m.b+=t.o.b/2,p=ue(ce(j(t,(Be(),Yy)))),u=e.f,f=e.d,s=e.c,l(j(t,(Ie(),Us)),64).g){case 1:m.a+=f.b+s.a-r/2,m.b=-o-p,t.n.b=-(f.d+p+s.b);break;case 2:m.a=u.a+f.b+f.c+p,m.b+=f.d+s.b-o/2,t.n.a=u.a+f.c+p-s.a;break;case 3:m.a+=f.b+s.a-r/2,m.b=u.b+f.d+f.a+p,t.n.b=u.b+f.a+p-s.b;break;case 4:m.a=-r-p,m.b+=f.d+s.b-o/2,t.n.a=-(f.b+p+s.a)}return m}function EAn(e,t,r){var o,s;o=t.c.i,s=r.d.i,o.k==(Ht(),gi)?(Ae(e,(Ie(),Cd),l(j(o,Cd),12)),Ae(e,Nl,l(j(o,Nl),12)),Ae(e,Gy,We(j(o,Gy)))):o.k==ta?(Ae(e,(Ie(),Cd),l(j(o,Cd),12)),Ae(e,Nl,l(j(o,Nl),12)),Ae(e,Gy,(Lt(),!0))):s.k==ta?(Ae(e,(Ie(),Cd),l(j(s,Cd),12)),Ae(e,Nl,l(j(s,Nl),12)),Ae(e,Gy,(Lt(),!0))):(Ae(e,(Ie(),Cd),t.c),Ae(e,Nl,r.d))}function SAn(e){var t,r,o,s,u,f,p;for(e.o=new iE,o=new Sr,f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),wE(u).c.length==1&&Wr(o,u,o.c.b,o.c);for(;o.b!=0;)u=l(o.b==0?null:(un(o.b!=0),Vc(o,o.a.a)),126),wE(u).c.length!=0&&(t=l(He(wE(u),0),220),r=u.g.a.c.length>0,p=Gj(t,u),bde(r?p.b:p.g,t),wE(p).c.length==1&&Wr(o,p,o.c.b,o.c),s=new ko(u,t),l1(e.o,s),Xa(e.e.a,u))}function Hyt(e,t){var r,o,s,u,f,p,m;return o=b.Math.abs(pP(e.b).a-pP(t.b).a),p=b.Math.abs(pP(e.b).b-pP(t.b).b),s=0,m=0,r=1,f=1,o>e.b.b/2+t.b.b/2&&(s=b.Math.min(b.Math.abs(e.b.c-(t.b.c+t.b.b)),b.Math.abs(e.b.c+e.b.b-t.b.c)),r=1-s/o),p>e.b.a/2+t.b.a/2&&(m=b.Math.min(b.Math.abs(e.b.d-(t.b.d+t.b.a)),b.Math.abs(e.b.d+e.b.a-t.b.d)),f=1-m/p),u=b.Math.min(r,f),(1-u)*b.Math.sqrt(o*o+p*p)}function TAn(e){var t,r,o,s;for($J(e,e.e,e.f,(p0(),H1),!0,e.c,e.i),$J(e,e.e,e.f,H1,!1,e.c,e.i),$J(e,e.e,e.f,u2,!0,e.c,e.i),$J(e,e.e,e.f,u2,!1,e.c,e.i),vAn(e,e.c,e.e,e.f,e.i),o=new Ji(e.i,0);o.b<o.d.gc();)for(t=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),134)),s=new Ji(e.i,o.b);s.b<s.d.gc();)r=(un(s.b<s.d.gc()),l(s.d.Xb(s.c=s.b++),134)),pkn(t,r);FNn(e.i,l(j(e.d,(Ie(),RT)),237)),txn(e.i)}function EJ(e,t){var r,o;if(t!=null){if(o=C0(e),o)if(o.i&1){if(o==uu)return $w(t);if(o==Rn)return se(t,15);if(o==vv)return se(t,165);if(o==Eu)return se(t,224);if(o==al)return se(t,183);if(o==Ki)return Bw(t);if(o==S2)return se(t,193);if(o==hw)return se(t,192)}else return Z9(),r=l(Ut(wU,o),58),!r||r.dk(t);else if(se(t,57))return e.bl(l(t,57))}return!1}function h0e(){h0e=Y;var e,t,r,o,s,u,f,p,m;for(mf=me(Eu,BE,30,255,15,1),Mg=me(al,$f,30,64,15,1),t=0;t<255;t++)mf[t]=-1;for(r=90;r>=65;r--)mf[r]=r-65<<24>>24;for(o=122;o>=97;o--)mf[o]=o-97+26<<24>>24;for(s=57;s>=48;s--)mf[s]=s-48+52<<24>>24;for(mf[43]=62,mf[47]=63,u=0;u<=25;u++)Mg[u]=65+u&Ei;for(f=26,m=0;f<=51;++f,m++)Mg[f]=97+m&Ei;for(e=52,p=0;e<=61;++e,p++)Mg[e]=48+p&Ei;Mg[62]=43,Mg[63]=47}function zyt(e,t){var r,o,s,u,f,p;return s=sge(e),p=sge(t),s==p?e.e==t.e&&e.a<54&&t.a<54?e.f<t.f?-1:e.f>t.f?1:0:(o=e.e-t.e,r=(e.d>0?e.d:b.Math.floor((e.a-1)*n2t)+1)-(t.d>0?t.d:b.Math.floor((t.a-1)*n2t)+1),r>o+1?s:r<o-1?-s:(u=(!e.c&&(e.c=JO(Gs(e.f))),e.c),f=(!t.c&&(t.c=JO(Gs(t.f))),t.c),o<0?u=dE(u,nvt(-o)):o>0&&(f=dE(f,nvt(o))),Pgt(u,f))):s<p?-1:1}function Gyt(e){var t,r,o,s,u,f;return o=new qpe,qs(o,e),be(j(o,(Be(),kc)))===be((vi(),hf))&&Ae(o,kc,Hj(o)),j(o,(JP(),d4))==null&&(f=l(Ubt(e),176),Ae(o,d4,x8(f.mf(d4)))),Ae(o,(Ie(),mr),e),Ae(o,_a,(t=l(md(qee),10),new Hc(t,l(Gl(t,t.length),10),0))),s=kxn((Br(e)&&(t1(),new Kp(Br(e))),t1(),new F8(Br(e)?new Kp(Br(e)):null,e)),cs),u=l(j(o,AAe),100),r=o.d,zat(r,u),zat(r,s),o}function AAn(e,t,r){var o,s,u,f,p,m,y,v;for(r.Tg(O2t,1),e.qf(t),u=0;e.sf(u)&&!r.Zg();){for(e.rf(),v=hh(Wc(Z(X(nl,1),Rt,22,0,[t.e,t.d,t.b])));an(v);)for(m=l(Qt(v),314),p=hh(Wc(Z(X(nl,1),Rt,22,0,[t.e,t.d,t.b])));an(p);)f=l(Qt(p),314),f!=m&&(s=e.pf(f,m),s&&br(m.c,s));for(y=hh(Wc(Z(X(nl,1),Rt,22,0,[t.e,t.d,t.b])));an(y);)m=l(Qt(y),314),o=m.c,smt(o,-e.d,-e.d,e.d,e.d),br(m.d,o),o.a=0,o.b=0;++u}r.Ug()}function _An(e,t){var r,o,s,u,f,p,m,y,v,T,N,I;if(e.dc())return new to;for(y=0,T=0,s=e.Jc();s.Ob();)o=l(s.Pb(),37),u=o.f,y=b.Math.max(y,u.a),T+=u.a*u.b;for(y=b.Math.max(y,b.Math.sqrt(T)*ue(ce(j(l(e.Jc().Pb(),37),(Be(),oB))))),N=0,I=0,m=0,r=t,p=e.Jc();p.Ob();)f=l(p.Pb(),37),v=f.f,N+v.a>y&&(N=0,I+=m+t,m=0),Q_(f,N,I),r=b.Math.max(r,N+v.a),m=b.Math.max(m,v.b),N+=v.a+t;return new Le(r+t,I+m+t)}function p0e(e,t){var r,o,s,u,f,p,m;if(!Gd(e))throw K(new Xo(STt));if(o=Gd(e),u=o.g,s=o.f,u<=0&&s<=0)return Ue(),Cs;switch(p=e.i,m=e.j,t.g){case 2:case 1:if(p<0)return Ue(),Wt;if(p+e.g>u)return Ue(),Zt;break;case 4:case 3:if(m<0)return Ue(),Vt;if(m+e.f>s)return Ue(),dn}return f=(p+e.g/2)/u,r=(m+e.f/2)/s,f+r<=1&&f-r<=0?(Ue(),Wt):f+r>=1&&f-r>=0?(Ue(),Zt):r<.5?(Ue(),Vt):(Ue(),dn)}function kAn(e,t,r,o,s){var u,f;if(u=To(Gi(t[0],Po),Gi(o[0],Po)),e[0]=On(u),u=a0(u,32),r>=s){for(f=1;f<s;f++)u=To(u,To(Gi(t[f],Po),Gi(o[f],Po))),e[f]=On(u),u=a0(u,32);for(;f<r;f++)u=To(u,Gi(t[f],Po)),e[f]=On(u),u=a0(u,32)}else{for(f=1;f<r;f++)u=To(u,To(Gi(t[f],Po),Gi(o[f],Po))),e[f]=On(u),u=a0(u,32);for(;f<s;f++)u=To(u,Gi(o[f],Po)),e[f]=On(u),u=a0(u,32)}va(u,0)!=0&&(e[f]=On(u))}function xAn(e,t){var r,o,s,u,f,p,m,y,v;for(t.Tg("Layer constraint edge reversal",1),f=new V(e.b);f.a<f.c.c.length;){for(u=l(q(f),26),v=-1,r=new Pe,y=XO(u.a),s=0;s<y.length;s++)o=l(j(y[s],(Ie(),dm)),316),v==-1?o!=(up(),ZE)&&(v=s):o==(up(),ZE)&&(Ii(y[s],null),E1(y[s],v++,u)),o==(up(),_T)&&Ot(r.c,y[s]);for(m=new V(r);m.a<m.c.c.length;)p=l(q(m),9),Ii(p,null),Ii(p,u)}t.Ug()}function _y(e){fr();var t,r,o,s,u,f;if(e.e!=4&&e.e!=5)throw K(new jt("Token#complementRanges(): must be RANGE: "+e.e));for(u=e,kE(u),DC(u),o=u.b.length+2,u.b[0]==0&&(o-=2),r=u.b[u.b.length-1],r==jk&&(o-=2),s=new bc(4),s.b=me(Rn,Xn,30,o,15,1),f=0,u.b[0]>0&&(s.b[f++]=0,s.b[f++]=u.b[0]-1),t=1;t<u.b.length-2;t+=2)s.b[f++]=u.b[t]+1,s.b[f++]=u.b[t+1]-1;return r!=jk&&(s.b[f++]=r+1,s.b[f]=jk),s.a=!0,s}function NAn(e,t){var r,o,s,u,f,p,m,y,v;for(t.Tg("Hierarchical port dummy size processing",1),m=new Pe,v=new Pe,o=ue(ce(j(e,(Be(),Zy)))),r=o*2,u=new V(e.b);u.a<u.c.c.length;){for(s=l(q(u),26),m.c.length=0,v.c.length=0,p=new V(s.a);p.a<p.c.c.length;)f=l(q(p),9),f.k==(Ht(),mi)&&(y=l(j(f,(Ie(),Us)),64),y==(Ue(),Vt)?Ot(m.c,f):y==dn&&Ot(v.c,f));p0t(m,!0,r),p0t(v,!1,r)}t.Ug()}function qyt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I;if(e.c.length==1)return 0;for(N=ue(ce(t.a)),I=ue(ce(t.b)),v=0,m=new V(e);m.a<m.c.c.length;)p=l(q(m),19),v+=p.g;for(r=(v-N+I)/2,u=0;r<u&&0<e.c.length;)u+=(at(0,e.c.length),l(e.c[0],19)).lh();for(o=u-r,T=r-(u-(at(0,e.c.length),l(e.c[0],19)).lh()),o>T?y=0:y=-1,t.a=N+o,f=0,s=y+1;s<e.c.length;s++)f+=(at(s,e.c.length),l(e.c[s],19)).lh();return t.b=I+f,y}function SJ(e,t,r){var o,s,u,f,p,m,y,v;if(o=r.gc(),o==0)return!1;if(e.Nj())if(y=e.Oj(),GY(e,t,r),f=o==1?e.Gj(3,null,r.Jc().Pb(),t,y):e.Gj(5,null,r,t,y),e.Kj()){for(p=o<100?null:new Qg(o),u=t+o,s=t;s<u;++s)v=e.g[s],p=e.Lj(v,p),p=e.Sj(v,p);p?(p.lj(f),p.mj()):e.Hj(f)}else e.Hj(f);else if(GY(e,t,r),e.Kj()){for(p=o<100?null:new Qg(o),u=t+o,s=t;s<u;++s)m=e.g[s],p=e.Lj(m,p);p&&p.mj()}return!0}function g0e(e,t,r,o){var s,u,f,p,m;for(f=new V(e.k);f.a<f.c.c.length;)s=l(q(f),135),(!o||s.c==(vd(),U1))&&(m=s.b,m.g<0&&s.d>0&&(FG(m,m.d-s.d),s.c==(vd(),U1)&&QXt(m,m.a-s.d),m.d<=0&&m.i>0&&Wr(t,m,t.c.b,t.c)));for(u=new V(e.f);u.a<u.c.c.length;)s=l(q(u),135),(!o||s.c==(vd(),U1))&&(p=s.a,p.g<0&&s.d>0&&(v9(p,p.i-s.d),s.c==(vd(),U1)&&eZt(p,p.b-s.d),p.i<=0&&p.d>0&&Wr(r,p,r.c.b,r.c)))}function CAn(e,t,r,o,s){var u,f,p,m,y,v,T,N,I;for(St(),_i(e,new EGe),f=$O(e),I=new Pe,N=new Pe,p=null,m=0;f.b!=0;)u=l(f.b==0?null:(un(f.b!=0),Vc(f,f.a.a)),168),!p||hu(p)*Qu(p)/2<hu(u)*Qu(u)?(p=u,Ot(I.c,u)):(m+=hu(u)*Qu(u),Ot(N.c,u),N.c.length>1&&(m>hu(p)*Qu(p)/2||f.b==0)&&(T=new dj(N),v=hu(p)/Qu(p),y=BJ(T,t,new rS,r,o,s,v),br(wd(T.e),y),p=T,Ot(I.c,T),m=0,N.c.length=0));return li(I,N),I}function ua(e,t,r,o,s){Qp();var u,f,p,m,y,v,T;if(Wfe(e,"src"),Wfe(r,"dest"),T=nc(e),m=nc(r),bfe((T.i&4)!=0,"srcType is not an array"),bfe((m.i&4)!=0,"destType is not an array"),v=T.c,f=m.c,bfe(v.i&1?v==f:(f.i&1)==0,"Array types don't match"),Xhn(e,t,r,o,s),!(v.i&1)&&T!=m)if(y=BS(e),u=BS(r),be(e)===be(r)&&t<o)for(t+=s,p=o+s;p-- >o;)ii(u,p,y[--t]);else for(p=o+s;o<p;)ii(u,o++,y[t++]);else ume(e,t,r,o,s,!0)}function Vyt(e,t){var r,o,s,u,f,p,m,y,v;switch(t.Tg("Box layout",2),s=tO(ce(ye(e,(S7(),y6t)))),u=l(ye(e,w6t),100),r=Ke(We(ye(e,Lxe))),o=Ke(We(ye(e,Mxe))),l(ye(e,ire),327).g){case 0:f=(v=new Tu((!e.a&&(e.a=new xe(En,e,10,11)),e.a)),St(),_i(v,new nXe(o)),v),p=Vbe(e),m=ce(ye(e,Dxe)),(m==null||(Mt(m),m<=0))&&(m=1.3),y=ENn(f,s,u,p.a,p.b,r,(Mt(m),m)),L0(e,y.a,y.b,!1,!0);break;default:skn(e,s,u,r)}t.Ug()}function IAn(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L;for(N=y0n(e,r),m=0;m<t;m++){for(qw(s,r),I=new Pe,L=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),415)),v=N+m;v<e.b;v++)p=L,L=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),415)),je(I,new wwt(p,L,r));for(T=N+m;T<e.b;T++)un(o.b>0),o.a.Xb(o.c=--o.b),T>N+m&&Lu(o);for(f=new V(I);f.a<f.c.c.length;)u=l(q(f),415),qw(o,u);if(m<t-1)for(y=N+m;y<e.b;y++)un(o.b>0),o.a.Xb(o.c=--o.b)}}function RAn(){fr();var e,t,r,o,s,u;if(Ure)return Ure;for(e=new bc(4),xy(e,k1(xQ,!0)),PC(e,k1("M",!0)),PC(e,k1("C",!0)),u=new bc(4),o=0;o<11;o++)Ea(u,o,o);return t=new bc(4),xy(t,k1("M",!0)),Ea(t,4448,4607),Ea(t,65438,65439),s=new h3(2),Zb(s,e),Zb(s,j4),r=new h3(2),r.Hm(uP(u,k1("L",!0))),r.Hm(t),r=new iy(3,r),r=new Yfe(s,r),Ure=r,Ure}function ky(e,t){var r,o,s,u,f,p,m,y;for(r=new RegExp(t,"g"),m=me(Ye,Me,2,0,6,1),o=0,y=e,u=null;;)if(p=r.exec(y),p==null||y==""){m[o]=y;break}else f=p.index,m[o]=(no(0,f,y.length),y.substr(0,f)),y=yl(y,f+p[0].length,y.length),r.lastIndex=0,u==y&&(m[o]=(no(0,1,y.length),y.substr(0,1)),y=(Yt(1,y.length+1),y.substr(1))),u=y,++o;if(e.length>0){for(s=m.length;s>0&&m[s-1]=="";)--s;s<m.length&&(m.length=s)}return m}function Ps(){Ps=Y,q_e=new Ab(20),G_e=new Mi((_n(),df),q_e),rne=new Mi(Od,20),W_e=new Mi(pNe,3),Y4t=new Mi(px,gk),PB=new Mi(BL,Re(1)),iRt=new Mi(wre,(Lt(),!0)),B_e=FL,U_e=(vi(),hf),aw=new Mi(Em,U_e),J4t=b4,X4t=lre,Q4t=Sm,eRt=av,tRt=b2,nRt=G1,Z4t=g2,z_e=m4,rRt=uv,Y_e=(hme(),K4t),V_e=V4t,aRt=mx,uRt=iU,sRt=lv,oRt=bx,K_e=(GS(),hv),new Mi(GT,K_e),c2=q4t,nne=G4t,Yf=W4t,$_e=H4t,H_e=z4t}function OAn(e){var t,r,o,s,u,f,p,m,y,v,T,N;if(p=Br(e),T=L0t(e),t=l(ye(e,(_n(),z6t)),15).a,p){for(v=Zi,o=new en((!p.a&&(p.a=new xe(En,p,10,11)),p.a));o.e!=o.i.gc();)r=l(rn(o),19),m=L0t(r),m>v&&(v=m);for(y=b.Math.pow(4,t),v>y&&(y=v),N=(b.Math.log(y)-b.Math.log(1))/t,u=b.Math.exp(N),s=u,f=0;f<t;f++){if(T<s)return b.Math.pow(2,f);s*=u}return b.Math.pow(2,t-1)}else return 1}function DAn(e){var t,r,o,s,u,f,p,m,y,v,T;for(T=new UUe,T.d=0,f=new V(e.b);f.a<f.c.c.length;)u=l(q(f),26),T.d+=u.a.c.length;for(o=0,s=0,T.a=me(Rn,Xn,30,e.b.c.length,15,1),y=0,v=0,T.e=me(Rn,Xn,30,T.d,15,1),r=new V(e.b);r.a<r.c.c.length;)for(t=l(q(r),26),t.p=o++,T.a[t.p]=s++,v=0,m=new V(t.a);m.a<m.c.c.length;)p=l(q(m),9),p.p=y++,T.e[p.p]=v++;return T.c=new CJe(T),T.b=ch(T.d),XTn(T,e),T.f=ch(T.d),ZTn(T,e),T}function LAn(e){var t,r;if(t=In(ye(e,(_n(),UT))),!vht(t,e)&&!Gc(e,cv)&&((!e.a&&(e.a=new xe(En,e,10,11)),e.a).i!=0||Ke(We(ye(e,$L)))))if(t==null||vy(t).length==0){if(!vht($t,e))throw r=zn(zn(new fc("Unable to load default layout algorithm "),$t)," for unconfigured node "),Y7(e,r),K(new Af(r.a))}else throw r=zn(zn(new fc("Layout algorithm '"),t),"' not found for "),Y7(e,r),K(new Af(r.a))}function TJ(e){var t,r,o,s,u,f,p,m,y,v,T,N,I;if(r=e.i,t=e.n,e.b==0)for(I=r.c+t.b,N=r.b-t.b-t.c,f=e.a,m=0,v=f.length;m<v;++m)s=f[m],lP(s,I,N);else o=v1t(e,!1),lP(e.a[0],r.c+t.b,o[0]),lP(e.a[2],r.c+r.b-t.c-o[2],o[2]),T=r.b-t.b-t.c,o[0]>0&&(T-=o[0]+e.c,o[0]+=e.c),o[2]>0&&(T-=o[2]+e.c),o[1]=b.Math.max(o[1],T),lP(e.a[1],r.c+t.b+o[0]-(o[1]-T)/2,o[1]);for(u=e.a,p=0,y=u.length;p<y;++p)s=u[p],se(s,338)&&l(s,338).hf()}function MAn(e){var t,r,o,s,u,f,p,m,y,v;for(v=me(Rn,Xn,30,e.b.c.length+1,15,1),y=new hi,o=0,u=new V(e.b);u.a<u.c.c.length;){for(s=l(q(u),26),v[o++]=y.a.gc(),m=new V(s.a);m.a<m.c.c.length;)for(f=l(q(m),9),r=new Ft(Gt(Rr(f).a.Jc(),new D));an(r);)t=l(Qt(r),17),y.a.yc(t,y);for(p=new V(s.a);p.a<p.c.c.length;)for(f=l(q(p),9),r=new Ft(Gt(si(f).a.Jc(),new D));an(r);)t=l(Qt(r),17),y.a.Ac(t)!=null}return v}function Wyt(e,t){var r,o,s,u;for(u=l(He(e.n,e.n.c.length-1),211).d,e.p=b.Math.min(e.p,t.g),e.r=b.Math.max(e.r,u),e.g=b.Math.max(e.g,t.g+(e.b.c.length==1?0:e.i)),e.o=b.Math.min(e.o,t.f),e.e+=t.f+(e.b.c.length==1?0:e.i),e.f=b.Math.max(e.f,t.f),s=e.n.c.length>0?(e.n.c.length-1)*e.i:0,o=new V(e.n);o.a<o.c.c.length;)r=l(q(o),211),s+=r.a;e.d=s,e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),G1e(e.j)}function Kyt(e,t){var r,o,s,u,f,p,m,y,v,T;if(v=We(j(t,(ed(),sxt))),v==null||(Mt(v),v)){for(T=me(uu,Ad,30,t.e.c.length,16,1),f=Tvn(t),s=new Sr,y=new V(t.e);y.a<y.c.c.length;)p=l(q(y),156),r=_me(e,p,null,null,T,f),r&&(qs(r,t),Wr(s,r,s.c.b,s.c));if(s.b>1)for(o=An(s,0);o.b!=o.d.c;)for(r=l(Sn(o),238),u=0,m=new V(r.e);m.a<m.c.c.length;)p=l(q(m),156),p.a=u++;return s}return Wl(Z(X(I3n,1),C2t,238,0,[t]))}function jf(e){var t,r,o,s,u,f,p;if(!e.g){if(p=new IG,t=R4,f=t.a.yc(e,t),f==null){for(o=new en(us(e));o.e!=o.i.gc();)r=l(rn(o),29),ti(p,jf(r));t.a.Ac(e)!=null,t.a.gc()==0}for(s=p.i,u=(!e.s&&(e.s=new xe(au,e,21,17)),new en(e.s));u.e!=u.i.gc();++s)uZt(l(rn(u),454),s);ti(p,(!e.s&&(e.s=new xe(au,e,21,17)),e.s)),fy(p),e.g=new Yht(e,p),e.i=l(p.g,258),e.i==null&&(e.i=Lre),e.p=null,Mu(e).b&=-5}return e.g}function PAn(e,t){var r,o,s,u,f,p,m,y,v;if(r=t.ni(e.a),r&&(m=In(Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),"memberTypes")),m!=null)){for(y=new Pe,u=ky(m,"\\w"),f=0,p=u.length;f<p;++f)s=u[f],o=s.lastIndexOf("#"),v=o==-1?Cde(e,t.hk(),s):o==0?a6(e,null,(Yt(1,s.length+1),s.substr(1))):a6(e,(no(0,o,s.length),s.substr(0,o)),(Yt(o+1,s.length+1),s.substr(o+1))),se(v,160)&&je(y,l(v,160));return y}return St(),St(),No}function AJ(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L;if(o=e.i,r=e.n,e.b==0)t=y1t(e,!1),dP(e.a[0],o.d+r.d,t[0]),dP(e.a[2],o.d+o.a-r.a-t[2],t[2]),N=o.a-r.d-r.a,T=N,t[0]>0&&(t[0]+=e.c,T-=t[0]),t[2]>0&&(T-=t[2]+e.c),t[1]=b.Math.max(t[1],T),dP(e.a[1],o.d+r.d+t[0]-(t[1]-T)/2,t[1]);else for(L=o.d+r.d,I=o.a-r.d-r.a,f=e.a,m=0,v=f.length;m<v;++m)s=f[m],dP(s,L,I);for(u=e.a,p=0,y=u.length;p<y;++p)s=u[p],se(s,338)&&l(s,338).jf()}function jAn(e,t,r,o,s){var u,f,p;if(r.f>=t.o&&r.f<=t.f||t.a*.5<=r.f&&t.a*1.5>=r.f){if(f=l(He(t.n,t.n.c.length-1),211),f.e+f.d+r.g+s<=o&&(u=l(He(t.n,t.n.c.length-1),211),u.f-e.f+r.f<=e.b||e.a.c.length==1))return a1e(t,r),!0;if(t.s+r.g<=o&&t.t+t.d+r.f+s<=e.f+e.b)return je(t.b,r),p=l(He(t.n,t.n.c.length-1),211),je(t.n,new DP(t.s,p.f+p.a+t.i,t.i)),U1e(l(He(t.n,t.n.c.length-1),211),r),Wyt(t,r),!0}return!1}function H7(e,t,r,o){var s,u,f,p,m;if(m=za(e.e.Ah(),t),s=l(e.g,123),Oo(),l(t,69).vk()){for(f=0;f<e.i;++f)if(u=s[f],m.$l(u.Jk())&&pr(u,r))return!0}else if(r!=null){for(p=0;p<e.i;++p)if(u=s[p],m.$l(u.Jk())&&pr(r,u.kd()))return!0;if(o){for(f=0;f<e.i;++f)if(u=s[f],m.$l(u.Jk())&&be(r)===be(yV(e,l(u.kd(),57))))return!0}}else for(f=0;f<e.i;++f)if(u=s[f],m.$l(u.Jk())&&u.kd()==null)return!1;return!1}function FAn(e,t){var r,o,s,u,f,p;if(r=t.ni(e.a),r&&(p=In(Td((!r.b&&(r.b=new Xu((Tt(),Io),Hs,r)),r.b),UF)),p!=null))switch(s=M8(p,Qa(35)),o=t.ok(),s==-1?(f=S3(e,mc(o)),u=p):s==0?(f=null,u=(Yt(1,p.length+1),p.substr(1))):(f=(no(0,s,p.length),p.substr(0,s)),u=(Yt(s+1,p.length+1),p.substr(s+1))),d0(es(e,t))){case 2:case 3:return Vhn(e,o,f,u);case 0:case 4:case 5:case 6:return Whn(e,o,f,u)}return null}function Yyt(e,t,r,o){var s,u,f,p;for(p=r,f=new V(t.a);f.a<f.c.c.length;){if(u=l(q(f),227),s=l(u.b,68),_0(e.b.c,s.b.c+s.b.b)<=0&&_0(s.b.c,e.b.c+e.b.b)<=0&&_0(e.b.d,s.b.d+s.b.a)<=0&&_0(s.b.d,e.b.d+e.b.a)<=0){if(_0(s.b.c,e.b.c+e.b.b)==0&&o.a<0||_0(s.b.c+s.b.b,e.b.c)==0&&o.a>0||_0(s.b.d,e.b.d+e.b.a)==0&&o.b<0||_0(s.b.d+s.b.a,e.b.d)==0&&o.b>0){p=0;break}}else p=b.Math.min(p,Dmt(e,s,o));p=b.Math.min(p,Yyt(e,u,p,o))}return p}function b0e(e,t){var r,o,s,u,f,p,m;if(e.b<2)throw K(new jt("The vector chain must contain at least a source and a target point."));for(s=(un(e.b!=0),l(e.a.a.c,8)),kO(t,s.a,s.b),m=new vS((!t.a&&(t.a=new yi(Ic,t,5)),t.a)),f=An(e,1);f.a<e.b-1;)p=l(Sn(f),8),m.e!=m.i.gc()?r=l(rn(m),373):(r=(e1(),o=new p9,o),xgt(m,r)),sV(r,p.a,p.b);for(;m.e!=m.i.gc();)rn(m),gC(m);u=(un(e.b!=0),l(e.c.b.c,8)),_O(t,u.a,u.b)}function Jyt(e,t,r,o){var s,u,f,p,m,y;if(y=za(e.e.Ah(),t),f=l(e.g,123),bp(e.e,t)){if(t.Qi()&&(u=tk(e,t,o,se(t,104)&&(l(t,20).Bb&xo)!=0),u>=0&&u!=r))throw K(new jt(HD));for(s=0,m=0;m<e.i;++m)if(p=f[m],y.$l(p.Jk())){if(s==r)return l(EE(e,m,(Oo(),l(t,69).vk()?l(o,76):gh(t,o))),76);++s}throw K(new Na(iI+r+sm+s))}else{for(m=0;m<e.i;++m)if(p=f[m],y.$l(p.Jk()))return Oo(),l(t,69).vk()?p:p.kd();return null}}function Xyt(e,t){var r,o,s,u,f,p,m,y,v;for(r=0,s=new V((at(0,e.c.length),l(e.c[0],108)).g.b.j);s.a<s.c.c.length;)o=l(q(s),12),o.p=r++;for(t==(Ue(),Vt)?_i(e,new UBe):_i(e,new HBe),p=0,v=e.c.length-1;p<v;)f=(at(p,e.c.length),l(e.c[p],108)),y=(at(v,e.c.length),l(e.c[v],108)),u=t==Vt?f.c:f.a,m=t==Vt?y.a:y.c,rg(f,t,(Xl(),qk),u),rg(y,t,Gk,m),++p,--v;p==v&&rg((at(p,e.c.length),l(e.c[p],108)),t,(Xl(),Uy),null)}function $An(e,t,r,o){var s,u,f,p,m,y;for(f=new Cvt(e,t,r),m=new Ji(o,0),s=!1;m.b<m.d.gc();)p=(un(m.b<m.d.gc()),l(m.d.Xb(m.c=m.b++),242)),p==t||p==r?Lu(m):!s&&ue(Hd(p.g,p.d[0]).a)>ue(Hd(f.g,f.d[0]).a)?(un(m.b>0),m.a.Xb(m.c=--m.b),qw(m,f),s=!0):p.e&&p.e.gc()>0&&(u=(!p.e&&(p.e=new Pe),p.e).Kc(t),y=(!p.e&&(p.e=new Pe),p.e).Kc(r),(u||y)&&((!p.e&&(p.e=new Pe),p.e).Ec(f),++f.c));s||Ot(o.c,f)}function BAn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;return T=e.a.i+e.a.g/2,N=e.a.i+e.a.g/2,L=t.i+t.g/2,G=t.j+t.f/2,p=new Le(L,G),y=l(ye(t,(_n(),HT)),8),y.a=y.a+T,y.b=y.b+N,u=(p.b-y.b)/(p.a-y.a),o=p.b-u*p.a,U=r.i+r.g/2,J=r.j+r.f/2,m=new Le(U,J),v=l(ye(r,HT),8),v.a=v.a+T,v.b=v.b+N,f=(m.b-v.b)/(m.a-v.a),s=m.b-f*m.a,I=(o-s)/(f-u),y.a<I&&p.a<I||I<y.a&&I<p.a?!1:!(v.a<I&&m.a<I||I<v.a&&I<m.a)}function UAn(e,t,r){var o,s,u,f;for(r.Tg(wSt,1),e.a=t,e.c=new Pe,u=b.Math.max(t.a.c.length,l(j(t,(Ie(),F1)),15).a);f=new Klt(e.c,e.d,e.b),lEn(f,t),cmn(f,t),e.d.b!=0;){for(e.rg(u,u*l(j(t,lL),15).a),s=new V(e.c);s.a<s.c.c.length;)o=l(q(s),17),bg(o,!1),Ae(o.c.i,(Be(),FI),Re(l(j(o.c.i,FI),15).a+1)),Ae(t,xT,(Lt(),!0));ec(e.d),Zs(e.b),e.c.c.length=0}r.Ug(),r.ah("Execution Time: "+r.Vg())}function Zyt(e,t,r,o){var s,u,f,p,m,y;if(!ry(t)){if(y=r.dh((se(t,18)?l(t,18).gc():yd(t.Jc()))/e.a|0),y.Tg(kSt,1),m=new xHe,p=0,o==(vi(),is)||o==cs)for(f=t.Jc();f.Ob();)s=l(f.Pb(),41),m=Wc(Z(X(nl,1),Rt,22,0,[m,new Xh(s)])),p<s.f.a&&(p=s.f.a);else for(f=t.Jc();f.Ob();)s=l(f.Pb(),41),m=Wc(Z(X(nl,1),Rt,22,0,[m,new Xh(s)])),p<s.f.b&&(p=s.f.b);for(u=t.Jc();u.Ob();)s=l(u.Pb(),41),Ae(s,(xr(),MB),p);y.Ug(),Zyt(e,m,r,o)}}function m0e(e,t,r){var o,s,u,f,p,m,y,v;this.a=e,this.b=t,this.c=r,this.e=Wl(Z(X(x3n,1),Rt,180,0,[new dS(e,t),new dS(t,r),new dS(r,e)])),this.f=Wl(Z(X($i,1),Me,8,0,[e,t,r])),this.d=(o=Ri(So(this.b),this.a),s=Ri(So(this.c),this.a),u=Ri(So(this.c),this.b),f=o.a*(this.a.a+this.b.a)+o.b*(this.a.b+this.b.b),p=s.a*(this.a.a+this.c.a)+s.b*(this.a.b+this.c.b),m=2*(o.a*u.b-o.b*u.a),y=(s.b*f-o.b*p)/m,v=(o.a*p-s.a*f)/m,new Le(y,v))}function bg(e,t){var r,o,s,u,f,p;for(u=e.c,f=e.d,go(e,null),Yi(e,null),t&&Ke(We(j(f,(Ie(),Qee))))?go(e,u0e(f.i,(Lo(),Fa),(Ue(),Zt))):go(e,f),t&&Ke(We(j(u,(Ie(),tte))))?Yi(e,u0e(u.i,(Lo(),Cu),(Ue(),Wt))):Yi(e,u),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),70),s=l(j(r,(Be(),Kf)),281),s==(Kd(),yx)?Ae(r,Kf,dv):s==dv&&Ae(r,Kf,yx);p=Ke(We(j(e,(Ie(),Tg)))),Ae(e,Tg,(Lt(),!p)),e.a=Rge(e.a)}function HAn(e,t){var r,o,s,u,f;return r=B_(l(j(t,(Ps(),aw)),87)),e.b.b==0?null:(f=l(Au(Ia(new yt(null,new vt(e.b,16)),new fHe),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),u=l(Au(lr(new yt(null,new vt(t.b,16)),new RJe(f)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[nu]))),16),s=ce(Ju(Yw(Ia(u.Mc(),new OJe(r)),(f0(),f0(),zQ)))),o=l(Ju(dp(lr(u.Mc(),new ytt(r,s)))),41),o)}function zAn(e,t){var r,o,s,u,f,p;if(St(),_i(t,new dce(!1)),r=new Pe,o=new Pe,e.a)Qkn(t,r,o);else{for(je(r,l(He(t,t.c.length-1),19)),f=0,p=0,u=1;u<t.c.length;u++)f<=p?(je(r,l(He(t,t.c.length-1-u),19)),f+=l(He(t,t.c.length-1-u),19).lh()):(je(o,l(He(t,t.c.length-1-u),19)),p+=l(He(t,t.c.length-1-u),19).lh());mC(r)}for(_i(o,new dce(!0)),li(r,o),s=0;s<t.c.length;s++)tc(t,s,(at(s,r.c.length),l(r.c[s],19)))}function GAn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G;r=i0(new Eb,e.f),y=e.i[t.c.i.p],I=e.i[t.d.i.p],m=t.c,N=t.d,p=m.a.b,T=N.a.b,y.b||(p+=m.n.b),I.b||(T+=N.n.b),v=po(b.Math.max(0,p-T)),f=po(b.Math.max(0,T-p)),L=(U=b.Math.max(1,l(j(t,(Be(),PT)),15).a),G=Vhe(t.c.i.k,t.d.i.k),U*G),s=Ql($l(Ul(Bl(Hl(new gl,L),f),r),l(Ut(e.k,t.c),126))),u=Ql($l(Ul(Bl(Hl(new gl,L),v),r),l(Ut(e.k,t.d),126))),o=new ftt(s,u),e.c[t.p]=o}function qAn(e,t){var r,o,s,u,f,p,m,y,v,T;for(r=new Zu(e.c,-100,new Zu(0,e.a,e.b)),o=new Zu(t.c,-100,new Zu(0,t.a,t.b)),f=r.c-o.c,m=r,y=o,v=m.c,T=y.c;m&&y.b;)y.b.a>m.a?(s=y.b.c,u=y.b.a-y.a,p=v-T-(m.a-y.a)*s/u,f=b.Math.max(f,p),m=m.b,m&&(v+=m.c)):(y=y.b,T+=y.c);for(m=r,y=o,v=m.c,T=y.c;y&&m.b;)m.b.a>y.a?(s=m.b.c,u=m.b.a-m.a,p=v-T+(y.a-m.a)*s/u,f=b.Math.max(f,p),y=y.b,y&&(T+=y.c)):(m=m.b,v+=m.c);return f}function VAn(e,t,r){var o,s,u,f,p,m;for(o=0,u=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));u.e!=u.i.gc();)s=l(rn(u),19),f="",(!s.n&&(s.n=new xe(Is,s,1,7)),s.n).i==0||(f=l(ie((!s.n&&(s.n=new xe(Is,s,1,7)),s.n),0),158).a),p=new znt(f),qs(p,s),Ae(p,(h1(),TT),s),p.a=o++,p.d.a=s.i+s.g/2,p.d.b=s.j+s.f/2,p.e.a=b.Math.max(s.g,1),p.e.b=b.Math.max(s.f,1),je(t.e,p),eu(r.f,s,p),m=l(ye(s,(ed(),E2e)),103),m==(qi(),W1)&&(m=pf)}function Qyt(e){var t,r,o;if(tE(l(j(e,(Be(),Zr)),103)))for(r=new V(e.j);r.a<r.c.c.length;)t=l(q(r),12),t.j==(Ue(),Cs)&&(o=l(j(t,(Ie(),Nu)),9),o?Ni(t,l(j(o,Us),64)):t.e.c.length-t.g.c.length<0?Ni(t,Zt):Ni(t,Wt));else{for(r=new V(e.j);r.a<r.c.c.length;)t=l(q(r),12),o=l(j(t,(Ie(),Nu)),9),o?Ni(t,l(j(o,Us),64)):t.e.c.length-t.g.c.length<0?Ni(t,(Ue(),Zt)):Ni(t,(Ue(),Wt));Ae(e,Zr,(qi(),Ex))}}function WAn(e,t){var r,o,s,u,f,p,m;t.Tg("Layer constraint postprocessing",1),m=e.b,m.c.length!=0&&(o=(at(0,m.c.length),l(m.c[0],26)),f=l(He(m,m.c.length-1),26),r=new ra(e),u=new ra(e),OTn(e,o,f,r,u),r.a.c.length==0||(ny(0,m.c.length),ZN(m.c,0,r)),u.a.c.length==0||Ot(m.c,u)),gr(e,(Ie(),Zee))&&(s=new ra(e),p=new ra(e),SSn(e,s,p),s.a.c.length==0||(ny(0,m.c.length),ZN(m.c,0,s)),p.a.c.length==0||Ot(m.c,p)),t.Ug()}function aD(e){var t,r,o;switch(e){case 91:case 93:case 45:case 94:case 44:case 92:o="\\"+String.fromCharCode(e&Ei);break;case 12:o="\\f";break;case 10:o="\\n";break;case 13:o="\\r";break;case 9:o="\\t";break;case 27:o="\\e";break;default:e<32?(r=(t=e>>>0,"0"+t.toString(16)),o="\\x"+yl(r,r.length-2,r.length)):e>=xo?(r=(t=e>>>0,"0"+t.toString(16)),o="\\v"+yl(r,r.length-6,r.length)):o=""+String.fromCharCode(e&Ei)}return o}function evt(e,t){var r,o,s,u,f,p,m,y,v;for(u=new V(e.b);u.a<u.c.c.length;)for(s=l(q(u),26),p=new V(s.a);p.a<p.c.c.length;)for(f=l(q(p),9),f.k==(Ht(),ta)&&(m=(y=l(Qt(new Ft(Gt(si(f).a.Jc(),new D))),17),v=l(Qt(new Ft(Gt(Rr(f).a.Jc(),new D))),17),!Ke(We(j(y,(Ie(),Tg))))||!Ke(We(j(v,Tg)))?t:Hht(t)),oT(f,m)),o=new Ft(Gt(Rr(f).a.Jc(),new D));an(o);)r=l(Qt(o),17),m=Ke(We(j(r,(Ie(),Tg))))?Hht(t):t,Pht(r,m)}function w0e(e){var t,r,o,s,u,f;for(this.e=new Pe,this.a=new Pe,r=e.b-1;r<3;r++)VA(e,0,l(sa(e,0),8));if(e.b<4)throw K(new jt("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,yEn(this,e.b+this.b-1),f=new Pe,u=new V(this.e),t=0;t<this.b-1;t++)je(f,ce(q(u)));for(s=An(e,0);s.b!=s.d.c;)o=l(Sn(s),8),je(f,ce(q(u))),je(this.a,new Dat(o,f)),at(0,f.c.length),f.c.splice(0,1)}function tvt(e,t,r){var o,s,u,f;return e.Nj()?(s=null,u=e.Oj(),o=e.Gj(1,f=iK(e,t,r),r,t,u),e.Kj()&&!(e.Wi()&&f!=null?pr(f,r):be(f)===be(r))?(f!=null&&(s=e.Mj(f,s)),s=e.Lj(r,s),e.Rj()&&(s=e.Uj(f,r,s)),s?(s.lj(o),s.mj()):e.Hj(o)):(e.Rj()&&(s=e.Uj(f,r,s)),s?(s.lj(o),s.mj()):e.Hj(o)),f):(f=iK(e,t,r),e.Kj()&&!(e.Wi()&&f!=null?pr(f,r):be(f)===be(r))&&(s=null,f!=null&&(s=e.Mj(f,null)),s=e.Lj(r,s),s&&s.mj()),f)}function KAn(e,t){var r,o,s,u,f;if(t.Tg("Path-Like Graph Wrapping",1),e.b.c.length==0){t.Ug();return}if(s=new bme(e),f=(s.i==null&&(s.i=age(s,new Tue)),ue(s.i)*s.f),r=f/(s.i==null&&(s.i=age(s,new Tue)),ue(s.i)),s.b>r){t.Ug();return}switch(l(j(e,(Be(),_te)),351).g){case 2:u=new _ue;break;case 0:u=new Sue;break;default:u=new kue}if(o=u.mg(e,s),!u.ng())switch(l(j(e,vB),352).g){case 2:o=Lmt(s,o);break;case 1:o=Ebt(s,o)}z_n(e,s,o),t.Ug()}function CC(e,t){var r,o,s,u,f,p,m,y;t%=24,e.q.getHours()!=t&&(o=new b.Date(e.q.getTime()),o.setDate(o.getDate()+1),p=e.q.getTimezoneOffset()-o.getTimezoneOffset(),p>0&&(m=p/60|0,y=p%60,s=e.q.getDate(),r=e.q.getHours(),r+m>=24&&++s,u=new b.Date(e.q.getFullYear(),e.q.getMonth(),s,t+m,e.q.getMinutes()+y,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(u.getTime()))),f=e.q.getTime(),e.q.setTime(f+36e5),e.q.getHours()!=t&&e.q.setTime(f)}function YAn(e,t){var r,o,s,u;if(Eun(e.d,e.e),e.c.a.$b(),ue(ce(j(t.j,(Be(),pL))))!=0||ue(ce(j(t.j,pL)))!=0)for(r=jE,be(j(t.j,Ch))!==be((pp(),B1))&&Ae(t.j,(Ie(),j1),(Lt(),!0)),u=l(j(t.j,HI),15).a,s=0;s<u&&(o=u_n(e,t),!(o<r&&(r=o,Qft(e),r==0)));s++);else for(r=sr,be(j(t.j,Ch))!==be((pp(),B1))&&Ae(t.j,(Ie(),j1),(Lt(),!0)),u=l(j(t.j,HI),15).a,s=0;s<u&&(o=svt(e,t),!(o<r&&(r=o,Qft(e),r==0)));s++);}function JAn(e,t){var r,o,s,u,f,p,m,y;for(f=new Pe,p=0,r=0,m=0;p<t.c.length-1&&r<e.gc();){for(o=l(e.Xb(r),15).a+m;(at(p+1,t.c.length),l(t.c[p+1],15)).a<o;)++p;for(y=0,u=o-(at(p,t.c.length),l(t.c[p],15)).a,s=(at(p+1,t.c.length),l(t.c[p+1],15)).a-o,u>s&&++y,je(f,(at(p+y,t.c.length),l(t.c[p+y],15))),m+=(at(p+y,t.c.length),l(t.c[p+y],15)).a-o,++r;r<e.gc()&&l(e.Xb(r),15).a+m<=(at(p+y,t.c.length),l(t.c[p+y],15)).a;)++r;p+=1+y}return f}function XAn(e,t){var r,o,s,u,f;for(f=new Ft(Gt(si(t).a.Jc(),new D));an(f);)if(u=l(Qt(f),17),e.f.b==0?(s=u.c.i.k==(Ht(),Xr)&&!!u.c.i.c&&u.c.i.c.p==e.c,an(new Ft(Gt(si(u.c.i).a.Jc(),new D)))?(r=l(Qt(new Ft(Gt(si(u.c.i).a.Jc(),new D))),17).c.i.c,o=u.c.i.k==ta&&!!r&&r.p==e.c):o=!1):(s=u.c.i.k==(Ht(),Xr)&&u.c.i.p==e.c,o=u.c.i.k==ta&&l(Qt(new Ft(Gt(si(u.c.i).a.Jc(),new D))),17).c.i.p==e.c),s||o)return!0;return!1}function ZAn(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(N=new Pe,J=GP(o),G=t*e.a,T=0,L=0,u=new hi,f=new hi,p=new Pe,ne=0,oe=0,I=0,U=0,y=0,v=0;J.a.gc()!=0;)m=ogn(J,s,f),m&&(J.a.Ac(m)!=null,Ot(p.c,m),u.a.yc(m,u),L=e.f[m.p],ne+=e.e[m.p]-L*e.b,T=e.c[m.p],oe+=T*e.b,v+=L*e.b,U+=e.e[m.p]),(!m||J.a.gc()==0||ne>=G&&e.e[m.p]>L*e.b||oe>=r*G)&&(Ot(N.c,p),p=new Pe,bo(f,u),u.a.$b(),y-=v,I=b.Math.max(I,y*e.b+U),y+=oe,ne=oe,oe=0,v=0,U=0);return new ko(I,N)}function _J(e){var t,r,o,s,u,f,p;if(!e.d){if(p=new WGe,t=R4,u=t.a.yc(e,t),u==null){for(o=new en(us(e));o.e!=o.i.gc();)r=l(rn(o),29),ti(p,_J(r));t.a.Ac(e)!=null,t.a.gc()==0}for(f=p.i,s=(!e.q&&(e.q=new xe(Dl,e,11,10)),new en(e.q));s.e!=s.i.gc();++f)l(rn(s),408);ti(p,(!e.q&&(e.q=new xe(Dl,e,11,10)),e.q)),fy(p),e.d=new Qv((l(ie(Ne((a1(),Bt).o),9),20),p.i),p.g),e.e=l(p.g,685),e.e==null&&(e.e=ZDt),Mu(e).b&=-17}return e.d}function tk(e,t,r,o){var s,u,f,p,m,y;if(y=za(e.e.Ah(),t),m=0,s=l(e.g,123),Oo(),l(t,69).vk()){for(f=0;f<e.i;++f)if(u=s[f],y.$l(u.Jk())){if(pr(u,r))return m;++m}}else if(r!=null){for(p=0;p<e.i;++p)if(u=s[p],y.$l(u.Jk())){if(pr(r,u.kd()))return m;++m}if(o){for(m=0,f=0;f<e.i;++f)if(u=s[f],y.$l(u.Jk())){if(be(r)===be(yV(e,l(u.kd(),57))))return m;++m}}}else for(f=0;f<e.i;++f)if(u=s[f],y.$l(u.Jk())){if(u.kd()==null)return m;++m}return-1}function QAn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U;if(r.Uh(t)&&(v=(I=t,I?l(o,52).di(I):null),v))if(U=r.Kh(t,e.a),L=t.t,L>1||L==-1)if(T=l(U,72),N=l(v,72),T.dc())N.$b();else for(f=!!Do(t),u=0,p=e.a?T.Jc():T.Gi();p.Ob();)y=l(p.Pb(),57),s=l(Wd(e,y),57),s?(f?(m=N.bd(s),m==-1?N.Ei(u,s):u!=m&&N.Si(u,s)):N.Ei(u,s),++u):e.b&&!f&&(N.Ei(u,y),++u);else U==null?v.Wb(null):(s=Wd(e,U),s==null?e.b&&!Do(t)&&v.Wb(U):v.Wb(s))}function e_n(e,t){var r,o,s,u,f,p,m,y;for(r=new vFe,s=new Ft(Gt(si(t).a.Jc(),new D));an(s);)if(o=l(Qt(s),17),!lo(o)&&(p=o.c.i,Sbe(p,S$))){if(y=Gme(e,p,S$,E$),y==-1)continue;r.b=b.Math.max(r.b,y),!r.a&&(r.a=new Pe),je(r.a,p)}for(f=new Ft(Gt(Rr(t).a.Jc(),new D));an(f);)if(u=l(Qt(f),17),!lo(u)&&(m=u.d.i,Sbe(m,E$))){if(y=Gme(e,m,E$,S$),y==-1)continue;r.d=b.Math.max(r.d,y),!r.c&&(r.c=new Pe),je(r.c,m)}return r}function t_n(e,t,r,o){var s,u,f,p,m,y,v;if(r.d.i!=t.i){for(s=new Xd(e),Kh(s,(Ht(),gi)),Ae(s,(Ie(),mr),r),Ae(s,(Be(),Zr),(qi(),fa)),Ot(o.c,s),f=new aa,Ts(f,s),Ni(f,(Ue(),Wt)),p=new aa,Ts(p,s),Ni(p,Zt),v=r.d,Yi(r,f),u=new h0,qs(u,r),Ae(u,rs,null),go(u,p),Yi(u,v),y=new Ji(r.b,0);y.b<y.d.gc();)m=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),70)),be(j(m,Kf))===be((Kd(),dv))&&(Ae(m,NT,r),Lu(y),je(u.b,m));x0t(s,f,p)}}function n_n(e,t,r,o){var s,u,f,p,m,y,v;if(r.c.i!=t.i)for(s=new Xd(e),Kh(s,(Ht(),gi)),Ae(s,(Ie(),mr),r),Ae(s,(Be(),Zr),(qi(),fa)),Ot(o.c,s),f=new aa,Ts(f,s),Ni(f,(Ue(),Wt)),p=new aa,Ts(p,s),Ni(p,Zt),Yi(r,f),u=new h0,qs(u,r),Ae(u,rs,null),go(u,p),Yi(u,t),x0t(s,f,p),y=new Ji(r.b,0);y.b<y.d.gc();)m=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),70)),v=l(j(m,Kf),281),v==(Kd(),dv)&&(gr(m,NT)||Ae(m,NT,r),Lu(y),je(u.b,m))}function nvt(e){Z_();var t,r,o,s;if(t=po(e),e<bI.length)return bI[t];if(e<=50)return Z6((Pf(),HQ),t);if(e<=wg)return MS(Z6(vT[1],t),t);if(e>1e6)throw K(new M9("power of ten too big"));if(e<=sr)return MS(Z6(vT[1],t),t);for(o=Z6(vT[1],sr),s=o,r=Gs(e-sr),t=po(e%sr);va(r,sr)>0;)s=dE(s,o),r=El(r,sr);for(s=dE(s,Z6(vT[1],t)),s=MS(s,sr),r=Gs(e-sr);va(r,sr)>0;)s=MS(s,sr),r=El(r,sr);return s=MS(s,t),s}function rvt(e){var t,r,o,s,u,f,p,m,y,v;for(m=new V(e.a);m.a<m.c.c.length;)if(p=l(q(m),9),p.k==(Ht(),mi)&&(s=l(j(p,(Ie(),Us)),64),s==(Ue(),Zt)||s==Wt))for(o=new Ft(Gt(Df(p).a.Jc(),new D));an(o);)r=l(Qt(o),17),t=r.a,t.b!=0&&(y=r.c,y.i==p&&(u=(un(t.b!=0),l(t.a.a.c,8)),u.b=_s(Z(X($i,1),Me,8,0,[y.i.n,y.n,y.a])).b),v=r.d,v.i==p&&(f=(un(t.b!=0),l(t.c.b.c,8)),f.b=_s(Z(X($i,1),Me,8,0,[v.i.n,v.n,v.a])).b))}function IC(e,t,r,o){var s,u,f;if(this.j=new Pe,this.k=new Pe,this.b=new Pe,this.c=new Pe,this.e=new bS,this.i=new Du,this.f=new VG,this.d=new Pe,this.g=new Pe,je(this.b,e),je(this.b,t),this.e.c=b.Math.min(e.a,t.a),this.e.d=b.Math.min(e.b,t.b),this.e.b=b.Math.abs(e.a-t.a),this.e.a=b.Math.abs(e.b-t.b),s=l(j(o,(Be(),rs)),79),s)for(f=An(s,0);f.b!=f.d.c;)u=l(Sn(f),8),Mpe(u.a,e.a)&&Gn(this.i,u);r&&je(this.j,r),je(this.k,o)}function r_n(e,t,r,o){var s,u,f,p,m,y,v;for(p=-1,v=new V(e);v.a<v.c.c.length;)y=l(q(v),117),y.g=p--,s=On(FP(SP(lr(new yt(null,new vt(y.f,16)),new qUe),new VUe)).d),u=On(FP(SP(lr(new yt(null,new vt(y.k,16)),new WUe),new KUe)).d),f=s,m=u,o||(f=On(FP(SP(new yt(null,new vt(y.f,16)),new YUe)).d),m=On(FP(SP(new yt(null,new vt(y.k,16)),new zUe)).d)),y.d=f,y.a=s,y.i=m,y.b=u,m==0?Wr(r,y,r.c.b,r.c):f==0&&Wr(t,y,t.c.b,t.c)}function oT(e,t){var r,o,s,u,f,p;if(e.k==(Ht(),ta)&&(r=e.k==ta&&!$A(lr(l(j(e,(Ie(),CI)),16).Mc(),new IA(new u9))).zd((Tb(),ET))?(vc(),zL):t,Ae(e,(Ie(),IT),r),r!=(vc(),q1)))for(o=l(j(e,mr),17),p=ue(ce(j(o,(Be(),Ag)))),f=0,r==Ih?f=e.o.b-b.Math.ceil(p/2):r==zL&&(f=b.Math.ceil(e.o.b-ue(ce(j(ji(e),o2)))-p)/2,e.o.b-=ue(ce(j(ji(e),o2))),e.o.b-=p),u=new V(e.j);u.a<u.c.c.length;)s=l(q(u),12),s.n.b=f}function ivt(e,t,r){var o,s,u,f,p,m,y,v,T;for(s=!0,f=new V(e.b);f.a<f.c.c.length;){for(u=l(q(f),26),y=Oi,v=null,m=new V(u.a);m.a<m.c.c.length;)if(p=l(q(m),9),T=ue(t.p[p.p])+ue(t.d[p.p])-p.d.d,o=ue(t.p[p.p])+ue(t.d[p.p])+p.o.b+p.d.a,T>y&&o>y)v=p,y=ue(t.p[p.p])+ue(t.d[p.p])+p.o.b+p.d.a;else{s=!1,r.$g()&&r.ah("bk node placement breaks on "+p+" which should have been after "+v);break}if(!s)break}return r.$g()&&r.ah(t+" is feasible: "+s),s}function ovt(e,t){var r,o;o=l(ye(t,(_n(),xp)),125),r=new Zu(0,t.j+t.f+o.a+e.b/2,new Zu(t.g/2,t.j+t.f+o.a+e.b/2,null)),Vn(t,(wh(),vm),new Zu(-o.b-e.b/2+t.g/2,t.j-o.d-e.b/2,new Zu(-t.g/2,t.j-o.d,r))),r=new Zu(0,t.j+t.f+o.a,new Zu(-t.g/2,t.j+t.f+o.a+e.b/2,null)),Vn(t,iv,new Zu(t.g/2+o.c+e.b/2,t.j-o.d,new Zu(t.g/2,t.j-o.d-e.b/2,r))),Vn(t,fx,t.i-o.b),Vn(t,dx,t.i+o.c+t.g),Vn(t,zOt,t.j-o.d),Vn(t,zne,t.j+o.a+t.f),Vn(t,Jf,l(ye(t,vm),107).b.b.a)}function y0e(e,t,r,o){var s,u,f,p,m,y,v,T,N;if(u=new Xd(e),Kh(u,(Ht(),Aa)),Ae(u,(Be(),Zr),(qi(),fa)),s=0,t){for(f=new aa,Ae(f,(Ie(),mr),t),Ae(u,mr,t.i),Ni(f,(Ue(),Wt)),Ts(f,u),N=Of(t.e),y=N,v=0,T=y.length;v<T;++v)m=y[v],Yi(m,f);Ae(t,Nu,u),++s}if(r){for(p=new aa,Ae(u,(Ie(),mr),r.i),Ae(p,mr,r),Ni(p,(Ue(),Zt)),Ts(p,u),N=Of(r.g),y=N,v=0,T=y.length;v<T;++v)m=y[v],go(m,p);Ae(r,Nu,u),++s}return Ae(u,(Ie(),eB),Re(s)),Ot(o.c,u),u}function i_n(e){var t,r,o,s,u,f,p,m,y,v,T,N,I;for(r=(y=new Jh(e.c.b).a.vc().Jc(),new Dw(y));r.a.Ob();)t=(p=l(r.a.Pb(),45),l(p.kd(),144)),s=t.a,s==null&&(s=""),o=gnn(e.c,s),!o&&s.length==0&&(o=$pn(e)),o&&!py(o.c,t,!1)&&Gn(o.c,t);for(f=An(e.a,0);f.b!=f.d.c;)u=l(Sn(f),478),v=UW(e.c,u.a),I=UW(e.c,u.b),v&&I&&Gn(v.c,new ko(I,u.c));for(ec(e.a),N=An(e.b,0);N.b!=N.d.c;)T=l(Sn(N),478),t=pnn(e.c,T.a),m=UW(e.c,T.b),t&&m&&ZQt(t,m,T.c);ec(e.b)}function o_n(e,t,r){var o,s,u,f,p,m,y,v,T;for(f=new ibt,y=Z(X(Rn,1),Xn,30,15,[0]),s=-1,u=0,o=0,m=0;m<e.b.c.length;++m)if(v=l(He(e.b,m),439),v.b>0){if(s<0&&v.a&&(s=m,u=y[0],o=0),s>=0){if(p=v.b,m==s&&(p-=o++,p==0))return 0;if(!cEt(t,y,v,p,f)){m=s-1,y[0]=u;continue}}else if(s=-1,!cEt(t,y,v,0,f))return 0}else{if(s=-1,uo(v.c,0)==32){if(T=y[0],Rdt(t,y),y[0]>T)continue}else if(_an(t,v.c,y[0])){y[0]+=v.c.length;continue}return 0}return Yxn(f,r)?y[0]:0}function s_n(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(v=new hP(new rYe(r)),p=me(uu,Ad,30,e.f.e.c.length,16,1),Vfe(p,p.length),r[t.a]=0,y=new V(e.f.e);y.a<y.c.c.length;)m=l(q(y),156),m.a!=t.a&&(r[m.a]=sr),AS(q_(v,m),dk);for(;v.b.c.length!=0;)for(T=l(aK(v),156),p[T.a]=!0,u=grt(new gq(e.b,T),0);u.c;)s=l(Ope(u),292),N=Obn(s,T),!p[N.a]&&(gr(s,(H6(),v$))?f=ue(ce(j(s,v$))):f=e.c,o=r[T.a]+f,o<r[N.a]&&(r[N.a]=o,Kft(v,N),AS(q_(v,N),dk)))}function v0e(e){var t,r,o,s,u,f,p,m;r=Ke(We(j(e,(ed(),Zkt)))),u=e.a.c.d,p=e.a.d.d,r?(f=Qh(Ri(new Le(p.a,p.b),u),.5),m=Qh(So(e.e),.5),t=Ri(br(new Le(u.a,u.b),f),m),_de(e.d,t)):(s=ue(ce(j(e.a,axt))),o=e.d,u.a>=p.a?u.b>=p.b?(o.a=p.a+(u.a-p.a)/2+s,o.b=p.b+(u.b-p.b)/2-s-e.e.b):(o.a=p.a+(u.a-p.a)/2+s,o.b=u.b+(p.b-u.b)/2+s):u.b>=p.b?(o.a=u.a+(p.a-u.a)/2+s,o.b=p.b+(u.b-p.b)/2+s):(o.a=u.a+(p.a-u.a)/2+s,o.b=u.b+(p.b-u.b)/2-s-e.e.b))}function RC(e){var t,r,o,s,u,f,p,m;if(!e.f){if(m=new Oue,p=new Oue,t=R4,f=t.a.yc(e,t),f==null){for(u=new en(us(e));u.e!=u.i.gc();)s=l(rn(u),29),ti(m,RC(s));t.a.Ac(e)!=null,t.a.gc()==0}for(o=(!e.s&&(e.s=new xe(au,e,21,17)),new en(e.s));o.e!=o.i.gc();)r=l(rn(o),182),se(r,104)&&Tn(p,l(r,20));fy(p),e.r=new oot(e,(l(ie(Ne((a1(),Bt).o),6),20),p.i),p.g),ti(m,e.r),fy(m),e.f=new Qv((l(ie(Ne(Bt.o),5),20),m.i),m.g),Mu(e).b&=-3}return e.f}function z7(){z7=Y,s3e=Z(X(al,1),$f,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),NDt=new RegExp(`[
|
||
\r\f]+`);try{N4=Z(X(V3n,1),Rt,2093,0,[new ZR((Xle(),Yj("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",MO((O9(),O9(),hI))))),new ZR(Yj("yyyy-MM-dd'T'HH:mm:ss'.'SSS",MO(hI))),new ZR(Yj("yyyy-MM-dd'T'HH:mm:ss",MO(hI))),new ZR(Yj("yyyy-MM-dd'T'HH:mm",MO(hI))),new ZR(Yj("yyyy-MM-dd",MO(hI)))])}catch(e){if(e=ci(e),!se(e,81))throw K(e)}}function a_n(e){var t,r,o,s,u,f,p;for(r=null,p=null,o=l(j(e.b,(Be(),pte)),349),o==(Q3(),SL)&&(r=new Pe,p=new Pe),f=new V(e.d);f.a<f.c.c.length;)if(u=l(q(f),108),s=u.i,!!s)switch(u.e.g){case 0:t=l(F3(new lS(u.b)),64),o==SL&&t==(Ue(),Vt)?Ot(r.c,u):o==SL&&t==(Ue(),dn)?Ot(p.c,u):Dvn(u,t);break;case 1:r2n(u);break;case 2:case 3:vTn(u);break;case 4:hyn(u)}r&&(r.c.length==0||Xyt(r,(Ue(),Vt)),p.c.length==0||Xyt(p,(Ue(),dn)))}function u_n(e,t){var r,o,s,u;if(s=$u(e.d,1)!=0,o=s0e(e,t),o==0&&Ke(We(j(t.j,(Ie(),j1)))))return 0;!Ke(We(j(t.j,(Ie(),j1))))&&!Ke(We(j(t.j,e2)))||be(j(t.j,(Be(),Ch)))===be((pp(),B1))?t.c.kg(t.e,s):s=Ke(We(j(t.j,j1))),rD(e,t,s,!0),Ke(We(j(t.j,e2)))&&Ae(t.j,e2,(Lt(),!1)),Ke(We(j(t.j,j1)))&&(Ae(t.j,j1,(Lt(),!1)),Ae(t.j,e2,!0)),r=s0e(e,t);do{if(oge(e),r==0)return 0;s=!s,u=r,rD(e,t,s,!1),r=s0e(e,t)}while(u>r);return u}function svt(e,t){var r,o,s,u;if(s=$u(e.d,1)!=0,o=A7(e,t),o==0&&Ke(We(j(t.j,(Ie(),j1)))))return 0;!Ke(We(j(t.j,(Ie(),j1))))&&!Ke(We(j(t.j,e2)))||be(j(t.j,(Be(),Ch)))===be((pp(),B1))?t.c.kg(t.e,s):s=Ke(We(j(t.j,j1))),rD(e,t,s,!0),Ke(We(j(t.j,e2)))&&Ae(t.j,e2,(Lt(),!1)),Ke(We(j(t.j,j1)))&&(Ae(t.j,j1,(Lt(),!1)),Ae(t.j,e2,!0)),r=A7(e,t);do{if(oge(e),r==0)return 0;s=!s,u=r,rD(e,t,s,!1),r=A7(e,t)}while(u>r);return u}function c_n(e,t,r){var o,s,u,f,p;if(o=l(j(e,(Be(),dte)),24),r.a>t.a&&(o.Gc((Jb(),f4))?e.c.a+=(r.a-t.a)/2:o.Gc(h4)&&(e.c.a+=r.a-t.a)),r.b>t.b&&(o.Gc((Jb(),g4))?e.c.b+=(r.b-t.b)/2:o.Gc(p4)&&(e.c.b+=r.b-t.b)),l(j(e,(Ie(),_a)),24).Gc((Mo(),rl))&&(r.a>t.a||r.b>t.b))for(p=new V(e.a);p.a<p.c.c.length;)f=l(q(p),9),f.k==(Ht(),mi)&&(s=l(j(f,Us),64),s==(Ue(),Zt)?f.n.a+=r.a-t.a:s==dn&&(f.n.b+=r.b-t.b));u=e.d,e.f.a=r.a-u.b-u.c,e.f.b=r.b-u.d-u.a}function l_n(e,t,r){var o,s,u,f,p;if(o=l(j(e,(Be(),dte)),24),r.a>t.a&&(o.Gc((Jb(),f4))?e.c.a+=(r.a-t.a)/2:o.Gc(h4)&&(e.c.a+=r.a-t.a)),r.b>t.b&&(o.Gc((Jb(),g4))?e.c.b+=(r.b-t.b)/2:o.Gc(p4)&&(e.c.b+=r.b-t.b)),l(j(e,(Ie(),_a)),24).Gc((Mo(),rl))&&(r.a>t.a||r.b>t.b))for(f=new V(e.a);f.a<f.c.c.length;)u=l(q(f),9),u.k==(Ht(),mi)&&(s=l(j(u,Us),64),s==(Ue(),Zt)?u.n.a+=r.a-t.a:s==dn&&(u.n.b+=r.b-t.b));p=e.d,e.f.a=r.a-p.b-p.c,e.f.b=r.b-p.d-p.a}function d_n(e){var t,r,o,s,u,f,p,m,y,v,T,N;for(t=f0t(e),v=(p=new Yh(t).a.vc().Jc(),new E9(p));v.a.Ob();){for(y=(s=l(v.a.Pb(),45),l(s.jd(),9)),T=0,N=0,T=y.d.d,N=y.o.b+y.d.a,e.d[y.p]=0,r=y;(u=e.a[r.p])!=y;)o=g1n(r,u),m=0,e.c==(Cf(),kg)?m=o.d.n.b+o.d.a.b-o.c.n.b-o.c.a.b:m=o.c.n.b+o.c.a.b-o.d.n.b-o.d.a.b,f=ue(e.d[r.p])+m,e.d[u.p]=f,T=b.Math.max(T,u.d.d-f),N=b.Math.max(N,f+u.o.b+u.d.a),r=u;r=y;do e.d[r.p]=ue(e.d[r.p])+T,r=e.a[r.p];while(r!=y);e.b[y.p]=T+N}}function E0e(e,t,r,o){var s,u,f,p,m,y,v,T,N;return m=Ri(new Le(r.a,r.b),e),y=m.a*t.b-m.b*t.a,v=t.a*o.b-t.b*o.a,T=(m.a*o.b-m.b*o.a)/v,N=y/v,v==0?y==0?(s=br(new Le(r.a,r.b),Qh(new Le(o.a,o.b),.5)),u=f1(e,s),f=f1(br(new Le(e.a,e.b),t),s),p=b.Math.sqrt(o.a*o.a+o.b*o.b)*.5,u<f&&u<=p?new Le(e.a,e.b):f<=p?br(new Le(e.a,e.b),t):null):null:T>=0&&T<=1&&N>=0&&N<=1?br(new Le(e.a,e.b),Qh(new Le(t.a,t.b),T)):null}function OC(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(u=0,f=e.t,s=0,o=0,m=0,N=0,T=0,r&&(e.n.c.length=0,je(e.n,new DP(e.s,e.t,e.i))),p=0,v=new V(e.b);v.a<v.c.c.length;)y=l(q(v),19),u+y.g+(p>0?e.i:0)>t&&m>0&&(u=0,f+=m+e.i,s=b.Math.max(s,N),o+=m+e.i,m=0,N=0,r&&(++T,je(e.n,new DP(e.s,f,e.i))),p=0),N+=y.g+(p>0?e.i:0),m=b.Math.max(m,y.f),r&&U1e(l(He(e.n,T),211),y),u+=y.g+(p>0?e.i:0),++p;return s=b.Math.max(s,N),o+=m,r&&(e.r=s,e.d=o,G1e(e.j)),new ql(e.s,e.t,s,o)}function G7(e){var t,r,o;return r=be(ye(e,(Be(),MT)))===be((Q6(),Pee))||be(ye(e,MT))===be(Ree)||be(ye(e,MT))===be(Oee)||be(ye(e,MT))===be(Lee)||be(ye(e,MT))===be(jee)||be(ye(e,MT))===be(sL),o=be(ye(e,hB))===be((tD(),xte))||be(ye(e,hB))===be(Cte)||be(ye(e,bL))===be((_1(),sx))||be(ye(e,bL))===be((_1(),qI)),t=be(ye(e,Ch))!==be((pp(),B1))||Ke(We(ye(e,ex)))||be(ye(e,LI))!==be((WS(),vI))||ue(ce(ye(e,pL)))!=0||ue(ce(ye(e,ute)))!=0,r||o||t}function CE(e){var t,r,o,s,u,f,p,m;if(!e.a){if(e.o=null,m=new UXe(e),t=new VGe,r=R4,p=r.a.yc(e,r),p==null){for(f=new en(us(e));f.e!=f.i.gc();)u=l(rn(f),29),ti(m,CE(u));r.a.Ac(e)!=null,r.a.gc()==0}for(s=(!e.s&&(e.s=new xe(au,e,21,17)),new en(e.s));s.e!=s.i.gc();)o=l(rn(s),182),se(o,336)&&Tn(t,l(o,38));fy(t),e.k=new iot(e,(l(ie(Ne((a1(),Bt).o),7),20),t.i),t.g),ti(m,e.k),fy(m),e.a=new Qv((l(ie(Ne(Bt.o),4),20),m.i),m.g),Mu(e).b&=-2}return e.a}function f_n(e){var t,r,o,s,u,f,p,m,y,v,T,N;if(p=e.d,T=l(j(e,(Ie(),DT)),16),t=l(j(e,kT),16),!(!T&&!t)){if(u=ue(ce(gy(e,(Be(),Ete)))),f=ue(ce(gy(e,RAe))),N=0,T){for(y=0,s=T.Jc();s.Ob();)o=l(s.Pb(),9),y=b.Math.max(y,o.o.b),N+=o.o.a;N+=u*(T.gc()-1),p.d+=y+f}if(r=0,t){for(y=0,s=t.Jc();s.Ob();)o=l(s.Pb(),9),y=b.Math.max(y,o.o.b),r+=o.o.a;r+=u*(t.gc()-1),p.a+=y+f}m=b.Math.max(N,r),m>e.o.a&&(v=(m-e.o.a)/2,p.b=b.Math.max(p.b,v),p.c=b.Math.max(p.c,v))}}function S0e(e,t,r,o){var s,u,f,p,m,y,v;if(v=za(e.e.Ah(),t),s=0,u=l(e.g,123),m=null,Oo(),l(t,69).vk()){for(p=0;p<e.i;++p)if(f=u[p],v.$l(f.Jk())){if(pr(f,r)){m=f;break}++s}}else if(r!=null){for(p=0;p<e.i;++p)if(f=u[p],v.$l(f.Jk())){if(pr(r,f.kd())){m=f;break}++s}}else for(p=0;p<e.i;++p)if(f=u[p],v.$l(f.Jk())){if(f.kd()==null){m=f;break}++s}return m&&(Yu(e.e)&&(y=t.Hk()?new FW(e.e,4,t,r,null,s,!0):c1(e,t.rk()?2:1,t,r,t.gk(),-1,!0),o?o.lj(y):o=y),o=oD(e,m,o)),o}function kJ(e,t,r,o,s,u,f){var p,m,y,v,T,N,I,L,U;switch(L=0,U=0,m=s.c,p=s.b,v=r.f,I=r.g,t.g){case 0:L=o.i+o.g+f,e.c?U=z0n(L,u,o,f):U=o.j,N=b.Math.max(m,L+I),y=b.Math.max(p,U+v);break;case 1:U=o.j+o.f+f,e.c?L=H0n(U,u,o,f):L=o.i,N=b.Math.max(m,L+I),y=b.Math.max(p,U+v);break;case 2:L=m+f,U=0,N=m+f+I,y=b.Math.max(p,v);break;case 3:L=0,U=p+f,N=b.Math.max(m,I),y=p+f+v;break;default:throw K(new jt("IllegalPlacementOption."))}return T=new x1e(e.a,N,y,t,L,U),T}function h_n(e){var t,r,o,s,u,f,p,m;for(u=new Aut,Den(u,(zS(),s6t)),o=(s=wK(e,me(Ye,Me,2,0,6,1)),new RN(new Ds(new bq(e,s).b)));o.b<o.d.gc();)r=(un(o.b<o.d.gc()),In(o.d.Xb(o.c=o.b++))),f=C0e(J1,r),f&&(t=rp(e,r),t.re()?p=t.re().a:t.oe()?p=""+t.oe().a:t.pe()?p=""+t.pe().a:p=t.Ib(),m=x0e(f,p),m!=null&&((fu(f.j,(Jd(),ri))||fu(f.j,xt))&&x6(uK(u,En),f,m),fu(f.j,Rd)&&x6(uK(u,Cr),f,m),fu(f.j,Ng)&&x6(uK(u,zu),f,m),fu(f.j,kp)&&x6(uK(u,Is),f,m)));return u}function uD(e,t,r){var o,s,u,f,p,m,y,v;if(s=l(e.g,123),bp(e.e,t))return Oo(),l(t,69).vk()?new eP(t,e):new AO(t,e);for(y=za(e.e.Ah(),t),o=0,p=0;p<e.i;++p){if(u=s[p],f=u.Jk(),y.$l(f)){if(Oo(),l(t,69).vk())return u;if(f==(tT(),YT)||f==KT){for(m=new fc(bs(u.kd()));++p<e.i;)u=s[p],f=u.Jk(),(f==YT||f==KT)&&zn(m,bs(u.kd()));return Zde(l(t.Fk(),160),m.a)}else return v=u.kd(),v!=null&&r&&se(t,104)&&l(t,20).Bb&xo&&(v=vC(e,t,p,o,v)),v}++o}return t.gk()}function p_n(e){var t,r,o,s,u,f,p,m;for(s=new V(e.b);s.a<s.c.c.length;)for(o=l(q(s),26),f=new V(Mb(o.a));f.a<f.c.c.length;)if(u=l(q(f),9),Kdt(u)&&(r=l(j(u,(Ie(),Q0)),318),!r.g&&r.d))for(t=r,m=r.d;m;)Hwt(m.i,m.k,!1,!0),c6(t.a),c6(m.i),c6(m.k),c6(m.b),Yi(m.c,t.c.d),Yi(t.c,null),Ii(t.a,null),Ii(m.i,null),Ii(m.k,null),Ii(m.b,null),p=new Whe(t.i,m.a,t.e,m.j,m.f),p.k=t.k,p.n=t.n,p.b=t.b,p.c=m.c,p.g=t.g,p.d=m.d,Ae(t.i,Q0,p),Ae(m.a,Q0,p),m=m.d,t=p}function q7(e,t,r,o){var s,u,f,p,m,y;if(m=za(e.e.Ah(),t),u=l(e.g,123),bp(e.e,t)){for(s=0,p=0;p<e.i;++p)if(f=u[p],m.$l(f.Jk())){if(s==r)return Oo(),l(t,69).vk()?f:(y=f.kd(),y!=null&&o&&se(t,104)&&l(t,20).Bb&xo&&(y=vC(e,t,p,s,y)),y);++s}throw K(new Na(iI+r+sm+s))}else{for(s=0,p=0;p<e.i;++p){if(f=u[p],m.$l(f.Jk()))return Oo(),l(t,69).vk()?f:(y=f.kd(),y!=null&&o&&se(t,104)&&l(t,20).Bb&xo&&(y=vC(e,t,p,s,y)),y);++s}return t.gk()}}function xJ(){xJ=Y,z_t=Z(X(Rn,1),Xn,30,15,[Zi,1162261467,jC,1220703125,362797056,1977326743,jC,387420489,tF,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,jC,1291467969,1544804416,1838265625,60466176]),G_t=Z(X(Rn,1),Xn,30,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function NJ(e,t){var r,o,s,u,f,p,m,y,v,T;if(f=e.e,m=t.e,m==0)return e;if(f==0)return t.e==0?t:new Ib(-t.e,t.d,t.a);if(u=e.d,p=t.d,u+p==2)return r=Gi(e.a[0],Po),o=Gi(t.a[0],Po),f<0&&(r=ag(r)),m<0&&(o=ag(o)),Pf(),_8(El(r,o),0)?v1(El(r,o)):x3(v1(ag(El(r,o))));if(s=u!=p?u>p?1:-1:Mge(e.a,t.a,u),s==-1)T=-m,v=f==m?qW(t.a,p,e.a,u):WW(t.a,p,e.a,u);else if(T=f,f==m){if(s==0)return Pf(),gI;v=qW(e.a,u,t.a,p)}else v=WW(e.a,u,t.a,p);return y=new Ib(T,v.length,v),M3(y),y}function g_n(e,t){var r,o,s,u;if(u=Gyt(t),!t.c&&(t.c=new xe(zu,t,9,9)),ei(new yt(null,(!t.c&&(t.c=new xe(zu,t,9,9)),new vt(t.c,16))),new aYe(u)),s=l(j(u,(Ie(),_a)),24),fxn(t,s),s.Gc((Mo(),rl)))for(o=new en((!t.c&&(t.c=new xe(zu,t,9,9)),t.c));o.e!=o.i.gc();)r=l(rn(o),127),jxn(e,t,u,r);return l(ye(t,(Be(),gm)),185).gc()!=0&&Iwt(t,u),Ke(We(j(u,kAe)))&&s.Ec(Z$),gr(u,mL)&&eQe(new l1e(ue(ce(j(u,mL)))),u),be(ye(t,Vy))===be((fp(),Cg))?o3n(e,t,u):zxn(e,t,u),u}function Sa(e,t){var r,o,s,u,f,p,m;if(e==null)return null;if(u=e.length,u==0)return"";for(m=me(al,$f,30,u,15,1),no(0,u,e.length),no(0,u,m.length),gst(e,0,u,m,0),r=null,p=t,s=0,f=0;s<u;s++)o=m[s],PEt(),o<=32&&te[o]&2?p?(!r&&(r=new ml(e)),Btn(r,s-f++)):(p=t,o!=32&&(!r&&(r=new ml(e)),_K(r,s-f,s-f+1," "))):p=!1;return p?r?(u=r.a.length,u>0?yl(r.a,0,u-1):""):(no(0,u-1,e.length),e.substr(0,u-1)):r?r.a:e}function b_n(e,t,r){var o,s,u;if(gr(t,(Be(),Ns))&&(be(j(t,Ns))===be((rc(),Ap))||be(j(t,Ns))===be(hm))||gr(r,Ns)&&(be(j(r,Ns))===be((rc(),Ap))||be(j(r,Ns))===be(hm)))return 0;if(o=ji(t),s=nTn(e,t,r),s!=0)return s;if(gr(t,(Ie(),Nr))&&gr(r,Nr)){if(u=na(O0(t,r,o,l(j(o,F1),15).a),O0(r,t,o,l(j(o,F1),15).a)),be(j(o,MI))===be((g1(),uL))&&be(j(t,PI))!==be(j(r,PI))&&(u=0),u<0)return iD(e,t,r),u;if(u>0)return iD(e,r,t),u}return kvn(e,t,r)}function avt(e,t){var r,o,s,u,f,p,m,y,v,T,N;for(o=new Ft(Gt(gp(t).a.Jc(),new D));an(o);)r=l(Qt(o),74),se(ie((!r.b&&(r.b=new Et(pn,r,4,7)),r.b),0),196)||(m=Vo(l(ie((!r.c&&(r.c=new Et(pn,r,5,8)),r.c),0),83)),EC(r)||(f=t.i+t.g/2,p=t.j+t.f/2,v=m.i+m.g/2,T=m.j+m.f/2,N=new to,N.a=v-f,N.b=T-p,u=new Le(N.a,N.b),z_(u,t.g,t.f),N.a-=u.a,N.b-=u.b,f=v-N.a,p=T-N.b,y=new Le(N.a,N.b),z_(y,m.g,m.f),N.a-=y.a,N.b-=y.b,v=f+N.a,T=p+N.b,s=AC(r),v0(s,f),E0(s,p),w0(s,v),y0(s,T),avt(e,m)))}function xy(e,t){var r,o,s,u,f;if(f=l(t,140),kE(e),kE(f),f.b!=null){if(e.c=!0,e.b==null){e.b=me(Rn,Xn,30,f.b.length,15,1),ua(f.b,0,e.b,0,f.b.length);return}for(u=me(Rn,Xn,30,e.b.length+f.b.length,15,1),r=0,o=0,s=0;r<e.b.length||o<f.b.length;)r>=e.b.length?(u[s++]=f.b[o++],u[s++]=f.b[o++]):o>=f.b.length?(u[s++]=e.b[r++],u[s++]=e.b[r++]):f.b[o]<e.b[r]||f.b[o]===e.b[r]&&f.b[o+1]<e.b[r+1]?(u[s++]=f.b[o++],u[s++]=f.b[o++]):(u[s++]=e.b[r++],u[s++]=e.b[r++]);e.b=u}}function m_n(e,t){var r,o,s,u,f,p,m,y,v,T;return r=Ke(We(j(e,(Ie(),Gy)))),p=Ke(We(j(t,Gy))),o=l(j(e,Cd),12),m=l(j(t,Cd),12),s=l(j(e,Nl),12),y=l(j(t,Nl),12),v=!!o&&o==m,T=!!s&&s==y,!r&&!p?new cfe(l(q(new V(e.j)),12).p==l(q(new V(t.j)),12).p,v,T):(u=(!Ke(We(j(e,Gy)))||Ke(We(j(e,fL))))&&(!Ke(We(j(t,Gy)))||Ke(We(j(t,fL)))),f=(!Ke(We(j(e,Gy)))||!Ke(We(j(e,fL))))&&(!Ke(We(j(t,Gy)))||!Ke(We(j(t,fL)))),new cfe(v&&u||T&&f,v,T))}function uvt(e){var t,r,o,s,u,f,p,m;for(o=0,r=0,m=new Sr,t=0,p=new V(e.n);p.a<p.c.c.length;)f=l(q(p),211),f.c.c.length==0?Wr(m,f,m.c.b,m.c):(o=b.Math.max(o,f.d),r+=f.a+(t>0?e.i:0)),++t;for(n1e(e.n,m),e.d=r,e.r=o,e.g=0,e.f=0,e.e=0,e.o=Kr,e.p=Kr,u=new V(e.b);u.a<u.c.c.length;)s=l(q(u),19),e.p=b.Math.min(e.p,s.g),e.g=b.Math.max(e.g,s.g),e.f=b.Math.max(e.f,s.f),e.o=b.Math.min(e.o,s.f),e.e+=s.f+e.i;e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),G1e(e.j)}function cvt(e){var t,r,o,s;return e.Db&64?QK(e):(t=new fc(Xve),o=e.k,o?zn(zn((t.a+=' "',t),o),'"'):(!e.n&&(e.n=new xe(Is,e,1,7)),e.n.i>0&&(s=(!e.n&&(e.n=new xe(Is,e,1,7)),l(ie(e.n,0),158)).a,!s||zn(zn((t.a+=' "',t),s),'"'))),r=(!e.b&&(e.b=new Et(pn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Et(pn,e,5,8)),e.c.i<=1))),r?t.a+=" [":t.a+=" ",zn(t,fde(new lq,new en(e.b))),r&&(t.a+="]"),t.a+=DX,r&&(t.a+="["),zn(t,fde(new lq,new en(e.c))),r&&(t.a+="]"),t.a)}function w_n(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;for(Ee=e.c,we=t.c,r=As(Ee.a,e,0),o=As(we.a,t,0),oe=l(k0(e,(Lo(),Cu)).Jc().Pb(),12),dt=l(k0(e,Fa).Jc().Pb(),12),le=l(k0(t,Cu).Jc().Pb(),12),Ct=l(k0(t,Fa).Jc().Pb(),12),J=Of(oe.e),Ge=Of(dt.g),ne=Of(le.e),lt=Of(Ct.g),E1(e,o,we),f=ne,v=0,L=f.length;v<L;++v)s=f[v],Yi(s,oe);for(p=lt,T=0,U=p.length;T<U;++T)s=p[T],go(s,dt);for(E1(t,r,Ee),m=J,N=0,G=m.length;N<G;++N)s=m[N],Yi(s,le);for(u=Ge,y=0,I=u.length;y<I;++y)s=u[y],go(s,Ct)}function y_n(e){var t,r,o,s,u,f,p;for(f=l(ye(e,(aE(),l2)),19),o=new en((!f.e&&(f.e=new Et(Cr,f,7,4)),f.e));o.e!=o.i.gc();)r=l(rn(o),74),p=new Le(l(ie((!r.a&&(r.a=new xe(jr,r,6,6)),r.a),0),171).j,l(ie((!r.a&&(r.a=new xe(jr,r,6,6)),r.a),0),171).k),u=new Le(l(ie((!r.a&&(r.a=new xe(jr,r,6,6)),r.a),0),171).b,l(ie((!r.a&&(r.a=new xe(jr,r,6,6)),r.a),0),171).c),s=new Le(u.a-p.a,u.b-p.b),t=b.Math.atan2(s.b,s.a),l(ie((!r.c&&(r.c=new Et(pn,r,5,8)),r.c),0),83).of((T1(),bne),t)}function v_n(e,t){var r,o,s,u,f,p,m,y,v;for(t.Tg("Interactive Node Reorderer",1),v=(!e.a&&(e.a=new xe(En,e,10,11)),e.a),p=new Pe,s=new en(v);s.e!=s.i.gc();)r=l(rn(s),19),Gc(r,(ef(),IL))&&Ot(p.c,r);for(u=new V(p);u.a<u.c.c.length;)r=l(q(u),19),sj(v,r);for(St(),_i(p,new wze),f=new V(p);f.a<f.c.c.length;)r=l(q(f),19),y=l(ye(r,(ef(),IL)),15).a,y=b.Math.min(y,v.i),iC(v,y,r);for(m=0,o=new en(v);o.e!=o.i.gc();)r=l(rn(o),19),Vn(r,(ef(),Rke),Re(m)),++m;t.Ug()}function E_n(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(p=me(Rn,Xn,30,t.b.c.length,15,1),y=me(hee,Ce,252,t.b.c.length,0,1),m=me(Nh,yg,9,t.b.c.length,0,1),T=e.a,N=0,I=T.length;N<I;++N){for(v=T[N],U=0,f=new V(v.e);f.a<f.c.c.length;)s=l(q(f),9),o=Wle(s.c),++p[o],L=ue(ce(j(t,(Be(),od)))),p[o]>0&&m[o]&&(L=rE(e.b,m[o],s)),U=b.Math.max(U,s.c.c.b+L);for(u=new V(v.e);u.a<u.c.c.length;)s=l(q(u),9),s.n.b=U+s.d.d,r=s.c,r.c.b=U+s.d.d+s.o.b+s.d.a,y[As(r.b.b,r,0)]=s.k,m[As(r.b.b,r,0)]=s}}function T0e(e,t,r){var o,s,u,f,p,m,y,v;return b.Math.abs(t.s-t.c)<Uf||b.Math.abs(r.s-r.c)<Uf?0:(o=hwt(e,t.j,r.e),s=hwt(e,r.j,t.e),u=o==-1||s==-1,f=0,u?(o==-1&&(new Lb((vd(),U1),r,t,1),++f),s==-1&&(new Lb((vd(),U1),t,r,1),++f)):(p=yE(t.j,r.s,r.c),p+=yE(r.e,t.s,t.c),m=yE(r.j,t.s,t.c),m+=yE(t.e,r.s,r.c),y=o+16*p,v=s+16*m,y<v?new Lb((vd(),nv),t,r,v-y):y>v?new Lb((vd(),nv),r,t,y-v):y>0&&v>0&&(new Lb((vd(),nv),t,r,0),new Lb(nv,r,t,0))),f)}function S_n(e,t,r){var o,s,u;for(e.a=new Pe,u=An(t.b,0);u.b!=u.d.c;){for(s=l(Sn(u),41);l(j(s,(Ps(),Yf)),15).a>e.a.c.length-1;)je(e.a,new ko(jE,Kye));o=l(j(s,Yf),15).a,r==(vi(),is)||r==cs?(s.e.a<ue(ce(l(He(e.a,o),49).a))&&BG(l(He(e.a,o),49),s.e.a),s.e.a+s.f.a>ue(ce(l(He(e.a,o),49).b))&&$G(l(He(e.a,o),49),s.e.a+s.f.a)):(s.e.b<ue(ce(l(He(e.a,o),49).a))&&BG(l(He(e.a,o),49),s.e.b),s.e.b+s.f.b>ue(ce(l(He(e.a,o),49).b))&&$G(l(He(e.a,o),49),s.e.b+s.f.b))}}function lvt(e,t,r,o){var s,u,f,p,m,y,v;if(u=Hj(o),p=Ke(We(j(o,(Be(),vAe)))),(p||Ke(We(j(e,fB))))&&!tE(l(j(e,Zr),103)))s=qS(u),m=u0e(e,r,r==(Lo(),Fa)?s:L6(s));else switch(m=new aa,Ts(m,e),t?(v=m.n,v.a=t.a-e.n.a,v.b=t.b-e.n.b,smt(v,0,0,e.o.a,e.o.b),Ni(m,Cyt(m,u))):(s=qS(u),Ni(m,r==(Lo(),Fa)?s:L6(s))),f=l(j(o,(Ie(),_a)),24),y=m.j,u.g){case 2:case 1:(y==(Ue(),Vt)||y==dn)&&f.Ec((Mo(),XE));break;case 4:case 3:(y==(Ue(),Zt)||y==Wt)&&f.Ec((Mo(),XE))}return m}function dvt(e,t){var r,o,s,u,f,p;for(f=new ly(new Ow(e.f.b).a);f.b;){if(u=gE(f),s=l(u.jd(),598),t==1){if(s.yf()!=(vi(),il)&&s.yf()!=ff)continue}else if(s.yf()!=(vi(),is)&&s.yf()!=cs)continue;switch(o=l(l(u.kd(),49).b,84),p=l(l(u.kd(),49).a,197),r=p.c,s.yf().g){case 2:o.g.c=e.e.a,o.g.b=b.Math.max(1,o.g.b+r);break;case 1:o.g.c=o.g.c+r,o.g.b=b.Math.max(1,o.g.b-r);break;case 4:o.g.d=e.e.b,o.g.a=b.Math.max(1,o.g.a+r);break;case 3:o.g.d=o.g.d+r,o.g.a=b.Math.max(1,o.g.a-r)}}}function T_n(e,t){var r,o,s,u,f,p,m,y,v,T;for(t.Tg("Simple node placement",1),T=l(j(e,(Ie(),t2)),317),p=0,u=new V(e.b);u.a<u.c.c.length;){for(o=l(q(u),26),f=o.c,f.b=0,r=null,y=new V(o.a);y.a<y.c.c.length;)m=l(q(y),9),r&&(f.b+=T1e(m,r,T.c)),f.b+=m.d.d+m.o.b+m.d.a,r=m;p=b.Math.max(p,f.b)}for(s=new V(e.b);s.a<s.c.c.length;)for(o=l(q(s),26),f=o.c,v=(p-f.b)/2,r=null,y=new V(o.a);y.a<y.c.c.length;)m=l(q(y),9),r&&(v+=T1e(m,r,T.c)),v+=m.d.d,m.n.b=v,v+=m.o.b+m.d.a,r=m;t.Ug()}function fvt(e){t0(e,new Xb(Zm(Ym(Xm(Jm(new wb,H0),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new Oze))),Oe(e,H0,$Z,ze(JB)),Oe(e,H0,Ive,ze(Une)),Oe(e,H0,Rve,ze(Bne)),Oe(e,H0,BZ,ze(sxe)),Oe(e,H0,UZ,ze($ne)),Oe(e,H0,$0,oxe),Oe(e,H0,F0,8),Oe(e,H0,HZ,ze(NOt)),Oe(e,H0,Ove,ze(rxe)),Oe(e,H0,Dve,ze(ixe)),Oe(e,H0,$D,(Lt(),!1))}function A_n(e,t){var r,o,s,u;for(cfn(t.b.j),ei(Ia(new yt(null,new vt(t.d,16)),new VBe),new WBe),u=new V(t.d);u.a<u.c.c.length;){switch(s=l(q(u),108),s.e.g){case 0:r=l(He(s.j,0),114).d.j,que(s,l(Ju(kS(l(wr(s.k,r),16).Mc(),WE)),114)),Gue(s,l(Ju(Yw(l(wr(s.k,r),16).Mc(),WE)),114));break;case 1:o=W1e(s),que(s,l(Ju(kS(l(wr(s.k,o[0]),16).Mc(),WE)),114)),Gue(s,l(Ju(Yw(l(wr(s.k,o[1]),16).Mc(),WE)),114));break;case 2:Eyn(e,s);break;case 3:N2n(s);break;case 4:D2n(e,s)}ufn(s)}e.a=null}function CJ(e,t,r){var o,s,u,f,p,m,y,v;return o=e.a.o==(zd(),uf)?Kr:Oi,p=Pyt(e,new vtt(t,r)),!p.a&&p.c?(Gn(e.d,p),o):p.a?(s=p.a.c,m=p.a.d,r?(y=e.a.c==(Cf(),sw)?m:s,u=e.a.c==sw?s:m,f=e.a.g[u.i.p],v=ue(e.a.p[f.p])+ue(e.a.d[u.i.p])+u.n.b+u.a.b-ue(e.a.d[y.i.p])-y.n.b-y.a.b):(y=e.a.c==(Cf(),kg)?m:s,u=e.a.c==kg?s:m,v=ue(e.a.p[e.a.g[u.i.p].p])+ue(e.a.d[u.i.p])+u.n.b+u.a.b-ue(e.a.d[y.i.p])-y.n.b-y.a.b),e.a.n[e.a.g[s.i.p].p]=(Lt(),!0),e.a.n[e.a.g[m.i.p].p]=!0,v):o}function __n(e,t,r,o){var s,u,f,p,m,y,v,T;if(o.gc()==0)return!1;if(m=(Oo(),l(t,69).vk()),f=m?o:new m0(o.gc()),bp(e.e,t)){if(t.Qi())for(v=o.Jc();v.Ob();)y=v.Pb(),H7(e,t,y,se(t,104)&&(l(t,20).Bb&xo)!=0)||(u=gh(t,y),f.Ec(u));else if(!m)for(v=o.Jc();v.Ob();)y=v.Pb(),u=gh(t,y),f.Ec(u)}else{for(T=za(e.e.Ah(),t),s=l(e.g,123),p=0;p<e.i;++p)if(u=s[p],T.$l(u.Jk()))throw K(new jt(WD));if(o.gc()>1)throw K(new jt(WD));m||(u=gh(t,o.Jc().Pb()),f.Ec(u))}return Ege(e,Ube(e,t,r),f)}function V7(e,t,r){var o,s,u,f,p,m,y,v;if(bp(e.e,t))m=(Oo(),l(t,69).vk()?new eP(t,e):new AO(t,e)),k7(m.c,m.b),p3(m,l(r,18));else{for(v=za(e.e.Ah(),t),o=l(e.g,123),f=0;f<e.i;++f)if(s=o[f],u=s.Jk(),v.$l(u)){if(u==(tT(),YT)||u==KT){for(y=F1e(e,t,r),p=f,y?Ay(e,f):++f;f<e.i;)s=o[f],u=s.Jk(),u==YT||u==KT?Ay(e,f):++f;y||l(EE(e,p,gh(t,r)),76)}else F1e(e,t,r)?Ay(e,f):l(EE(e,f,(Oo(),l(t,69).vk()?l(r,76):gh(t,r))),76);return}F1e(e,t,r)||Tn(e,(Oo(),l(t,69).vk()?l(r,76):gh(t,r)))}}function hvt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(T=0;T<t.length;T++){for(p=e.Jc();p.Ob();)u=l(p.Pb(),223),u.fg(T,t);for(N=0;N<t[T].length;N++){for(m=e.Jc();m.Ob();)u=l(m.Pb(),223),u.gg(T,N,t);for(U=t[T][N].j,I=0;I<U.c.length;I++){for(y=e.Jc();y.Ob();)u=l(y.Pb(),223),u.hg(T,N,I,t);for(L=(at(I,U.c.length),l(U.c[I],12)),r=0,s=new Vd(L.b);Ss(s.a)||Ss(s.b);)for(o=l(Ss(s.a)?q(s.a):q(s.b),17),v=e.Jc();v.Ob();)u=l(v.Pb(),223),u.eg(T,N,I,r++,o,t)}}}for(f=e.Jc();f.Ob();)u=l(f.Pb(),223),u.dg()}function k_n(e,t,r){var o,s,u,f,p,m,y,v,T,N,I;for(r.Tg(mSt,1),T=t.a,v=T.c.length,e.c=new Pe,e.d=me(uu,Ad,30,v,16,1),e.a=me(uu,Ad,30,v,16,1),e.b=new Pe,f=0,y=new V(T);y.a<y.c.c.length;)m=l(q(y),9),m.p=f,ry(si(m))&&je(e.c,m),++f;for(I=new V(e.c);I.a<I.c.c.length;)N=l(q(I),9),qbe(e,N);for(u=0;u<v;u++)e.d[u]||(p=(at(u,T.c.length),l(T.c[u],9)),qbe(e,p));for(s=new V(e.b);s.a<s.c.c.length;)o=l(q(s),17),bg(o,!0),Ae(t,(Ie(),xT),(Lt(),!0));e.c=null,e.d=null,e.a=null,e.b=null,r.Ug()}function x_n(e,t,r){var o,s,u,f,p,m,y,v,T,N,I;for(r.Tg(mSt,1),e.c=t,T=t.a,v=T.c.length,e.d=new Pe,e.e=me(uu,Ad,30,v,16,1),e.a=me(uu,Ad,30,v,16,1),e.b=new Pe,f=0,y=new V(T);y.a<y.c.c.length;)m=l(q(y),9),m.p=f,ry(si(m))&&je(e.d,m),++f;for(I=new V(e.d);I.a<I.c.c.length;)N=l(q(I),9),e0e(e,N);for(u=0;u<v;u++)e.e[u]||(p=(at(u,T.c.length),l(T.c[u],9)),e0e(e,p));for(s=new V(e.b);s.a<s.c.c.length;)o=l(q(s),17),bg(o,!0),Ae(t,(Ie(),xT),(Lt(),!0));e.d=null,e.e=null,e.a=null,e.b=null,r.Ug()}function N_n(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;if(L=l(Ut(e.d,t),150),!L)throw K(new _f("Edge did not exist in input."));return bJ(e,t),T=$_(L),f=oO((!t.a&&(t.a=new xe(jr,t,6,6)),t.a)),m=!f,m&&(U=new yb,o=new iat(e,T,U,t),ven((!t.a&&(t.a=new xe(jr,t,6,6)),t.a),o),Kl(L,uQ,null),Kl(L,uQ,U)),u=Gc(t,(_n(),p2)),u&&(N=l(ye(t,p2),79),p=!N||Ost(N),y=!p,y&&(I=new yb,s=new Git(e,t,I),co(N,s),Kl(L,"junctionPoints",I))),r=Lde(e,l(Ut(e.e,t),19)),v=r==(R_(),sU),v&&QA(L,"container",ey(t).k),null}function C_n(e,t){var r,o,s,u,f,p,m;for(e.b=ue(ce(j(t,(Be(),Zy)))),e.c=ue(ce(j(t,$1))),e.d=l(j(t,gte),350),e.a=l(j(t,aB),285),wbn(t),p=l(Au(lr(lr(gs(gs(new yt(null,new vt(t.b,16)),new aFe),new uFe),new cFe),new lFe),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),s=p.Jc();s.Ob();)r=l(s.Pb(),17),f=l(j(r,(Ie(),fm)),16),f.Ic(new mYe(e)),Ae(r,fm,null);for(o=p.Jc();o.Ob();)r=l(o.Pb(),17),m=l(j(r,(Ie(),pTe)),17),u=l(j(r,n2),16),VNn(e,u,m),Ae(r,n2,null)}function IJ(e,t){var r,o,s,u,f,p,m;if(e.a){if(p=e.a.ve(),m=null,p!=null?t.a+=""+p:(f=e.a.kk(),f!=null&&(u=xf(f,Qa(91)),u!=-1?(m=(Yt(u,f.length+1),f.substr(u)),t.a+=""+yl(f==null?tu:(Mt(f),f),0,u)):t.a+=""+f)),e.d&&e.d.i!=0){for(s=!0,t.a+="<",o=new en(e.d);o.e!=o.i.gc();)r=l(rn(o),88),s?s=!1:t.a+=Ma,IJ(r,t);t.a+=">"}m!=null&&(t.a+=""+m)}else e.e?(p=e.e.zb,p!=null&&(t.a+=""+p)):(t.a+="?",e.b?(t.a+=" super ",IJ(e.b,t)):e.f&&(t.a+=" extends ",IJ(e.f,t)))}function I_n(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function R_n(e){var t,r,o,s;if(o=zJ((!e.c&&(e.c=JO(Gs(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return o;if(t=sge(e)<0?1:0,r=e.e,s=(o.length+1+b.Math.abs(po(e.e)),new uS),t==1&&(s.a+="-"),e.e>0)if(r-=o.length-t,r>=0){for(s.a+="0.";r>lm.length;r-=lm.length)Cot(s,lm);ait(s,lm,po(r)),zn(s,(Yt(t,o.length+1),o.substr(t)))}else r=t-r,zn(s,yl(o,t,po(r))),s.a+=".",zn(s,nhe(o,po(r)));else{for(zn(s,(Yt(t,o.length+1),o.substr(t)));r<-lm.length;r+=lm.length)Cot(s,lm);ait(s,lm,po(-r))}return s.a}function RJ(e){var t,r,o,s,u,f,p,m,y;return!(e.k!=(Ht(),Xr)||e.j.c.length<=1||(u=l(j(e,(Be(),Zr)),103),u==(qi(),fa))||(s=(my(),(e.q?e.q:(St(),St(),kh))._b(iw)?o=l(j(e,iw),205):o=l(j(ji(e),BI),205),o),s==AB)||!(s==a2||s==s2)&&(f=ue(ce(gy(e,UI))),t=l(j(e,yL),125),!t&&(t=new zde(f,f,f,f)),y=ks(e,(Ue(),Wt)),m=t.d+t.a+(y.gc()-1)*f,m>e.o.b||(r=ks(e,Zt),p=t.d+t.a+(r.gc()-1)*f,p>e.o.b)))}function O_n(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G;t.Tg("Orthogonal edge routing",1),y=ue(ce(j(e,(Be(),ev)))),r=ue(ce(j(e,Zy))),o=ue(ce(j(e,$1))),N=new nW(0,r),G=0,f=new Ji(e.b,0),p=null,v=null,m=null,T=null;do v=f.b<f.d.gc()?(un(f.b<f.d.gc()),l(f.d.Xb(f.c=f.b++),26)):null,T=v?v.a:null,p&&(_0e(p,G),G+=p.c.a),U=p?G+o:G,L=I0e(N,e,m,T,U),s=!p||k8(m,(P7(),AL)),u=!v||k8(T,(P7(),AL)),L>0?(I=(L-1)*r,p&&(I+=o),v&&(I+=o),I<y&&!s&&!u&&(I=y),G+=I):!s&&!u&&(G+=y),p=v,m=T;while(v);e.f.a=G,t.Ug()}function W7(e,t){var r,o,s,u,f,p,m,y,v,T;if(v=null,e.d&&(v=l(ma(e.d,t),146)),!v){if(u=e.a.si(),T=u.i,!e.d||GN(e.d)!=T){for(m=new hn,e.d&&K3(m,e.d),y=m.f.c+m.i.c,p=y;p<T;++p)o=l(ie(u,p),146),s=dg(e.e,o).ve(),r=l(s==null?eu(m.f,null,o):A0(m.i,s,o),146),r&&r!=o&&(s==null?eu(m.f,null,r):A0(m.i,s,r));if(m.f.c+m.i.c!=T)for(f=0;f<y;++f)o=l(ie(u,f),146),s=dg(e.e,o).ve(),r=l(s==null?eu(m.f,null,o):A0(m.i,s,o),146),r&&r!=o&&(s==null?eu(m.f,null,r):A0(m.i,s,r));e.d=m}v=l(ma(e.d,t),146)}return v}function OJ(e,t,r,o,s,u,f){var p,m,y,v,T,N,I;return T=Ke(We(j(t,(Be(),EAe)))),N=null,u==(Lo(),Cu)&&o.c.i==r?N=o.c:u==Fa&&o.d.i==r&&(N=o.d),y=f,!y||!T||N?(v=(Ue(),Cs),N?v=N.j:tE(l(j(r,Zr),103))&&(v=u==Cu?Wt:Zt),m=D_n(e,t,r,u,v,o),p=GW((ji(r),o)),u==Cu?(go(p,l(He(m.j,0),12)),Yi(p,s)):(go(p,s),Yi(p,l(He(m.j,0),12))),y=new ngt(o,p,m,l(j(m,(Ie(),mr)),12),u,!N)):(je(y.e,o),I=b.Math.max(ue(ce(j(y.d,Ag))),ue(ce(j(o,Ag)))),Ae(y.d,Ag,I)),wt(e.a,o,new V8(y.d,t,u)),y}function DJ(){DJ=Y;var e;b3e=new CZe,jDt=me(Ye,Me,2,0,6,1),MDt=Rf(HS(33,58),HS(1,26)),PDt=Rf(HS(97,122),HS(65,90)),d3e=HS(48,57),DDt=Rf(MDt,0),LDt=Rf(PDt,d3e),f3e=Rf(Rf(0,HS(1,6)),HS(33,38)),h3e=Rf(Rf(d3e,HS(65,70)),HS(97,102)),FDt=Rf(DDt,t7("-_.!~*'()")),$Dt=Rf(LDt,Kj("-_.!~*'()")),t7(TAt),Kj(TAt),Rf(FDt,t7(";:@&=+$,")),Rf($Dt,Kj(";:@&=+$,")),p3e=t7(":/?#"),g3e=Kj(":/?#"),C4=t7("/?#"),I4=Kj("/?#"),e=new hi,e.a.yc("jar",e),e.a.yc("zip",e),e.a.yc("archive",e),yU=(St(),new MA(e))}function D_n(e,t,r,o,s,u){var f,p,m,y,v,T;return f=null,y=o==(Lo(),Cu)?u.c:u.d,m=Hj(t),y.i==r?(f=l(Ut(e.b,y),9),f||(f=lD(y,l(j(r,(Be(),Zr)),103),s,LTn(y),null,y.n,y.o,m,t),Ae(f,(Ie(),mr),y),Yn(e.b,y,f))):(f=lD((v=new X2,T=ue(ce(j(t,(Be(),od))))/2,x6(v,Yy,T),v),l(j(r,Zr),103),s,o==Cu?-1:1,null,new to,new Le(0,0),m,t),p=A0n(f,r,o),Ae(f,(Ie(),mr),p),Yn(e.b,p,f)),l(j(t,(Ie(),_a)),24).Ec((Mo(),rl)),tE(l(j(t,(Be(),Zr)),103))?Ae(t,Zr,(qi(),Ex)):Ae(t,Zr,(qi(),pf)),f}function nk(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;p=0,L=0,m=RP(e.g,e.g.length),u=e.e,f=e.j,o=e.b,s=e.c;do{for(I=0,v=new V(e.q);v.a<v.c.c.length;)y=l(q(v),9),N=Mvt(e,y),r=!0,(e.r==(_1(),vL)||e.r==EL)&&(r=Ke(We(N.b))),l(N.a,15).a<0&&r?(++I,m=RP(e.g,e.g.length),e.e=e.e+l(N.a,15).a,L+=u-e.e,u=e.e+l(N.a,15).a,f=e.j,o=Mb(e.b),s=Mb(e.c)):(e.g=RP(m,m.length),e.e=u,e.b=(xn(o),o?new Tu(o):ZA(new V(o))),e.c=(xn(s),s?new Tu(s):ZA(new V(s))),e.j=f);++p,T=I!=0&&Ke(We(t.Kb(new ko(Re(L),Re(p)))))}while(T)}function L_n(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt;return f=e.f,N=t.f,p=f==(TC(),FT)||f==u4,I=N==FT||N==u4,m=f==f2||f==c4,L=N==f2||N==c4,y=f==f2||f==FT,U=N==f2||N==FT,p&&I?e.f==u4?e:t:m&&L?e.f==c4?e:t:y&&U?(f==f2?(T=e,v=t):(T=t,v=e),u=(G=r.j+r.f,J=T.e+o.f,ne=b.Math.max(G,J),oe=ne-b.Math.min(r.j,T.e),le=T.d+o.g-r.i,le*oe),s=(Ee=r.i+r.g,we=v.d+o.g,Ge=b.Math.max(Ee,we),lt=Ge-b.Math.min(r.i,v.d),dt=v.e+o.f-r.j,lt*dt),u<=s?e.f==f2?e:t:e.f==FT?e:t):e}function pvt(e,t){var r,o,s,u,f,p,m,y,v,T;if(Ae(t,(xr(),cx),0),m=l(j(t,LB),41),t.d.b==0)m?(v=ue(ce(j(m,xg)))+e.b+s1e(e,m,t),Ae(t,xg,v)):Ae(t,xg,0);else{for(o=(u=An(new Xh(t).a.d,0),new qv(u));rO(o.a);)r=l(Sn(o.a),65).c,pvt(e,r);p=l(D8((f=An(new Xh(t).a.d,0),new qv(f))),41),T=l(Atn((s=An(new Xh(t).a.d,0),new qv(s))),41),y=(ue(ce(j(T,xg)))+ue(ce(j(p,xg))))/2,m?(v=ue(ce(j(m,xg)))+e.b+s1e(e,m,t),Ae(t,xg,v),Ae(t,cx,ue(ce(j(t,xg)))-y),Jkn(e,t)):Ae(t,xg,y)}}function M_n(e){var t,r,o,s,u,f,p,m,y,v,T,N,I;if(y=new Pe,!gr(e,(Ie(),Xee)))return y;for(o=l(j(e,Xee),16).Jc();o.Ob();)t=l(o.Pb(),9),nkn(t,e),Ot(y.c,t);for(u=new V(e.b);u.a<u.c.c.length;)for(s=l(q(u),26),p=new V(s.a);p.a<p.c.c.length;)f=l(q(p),9),f.k==(Ht(),mi)&&(m=l(j(f,nB),9),m&&(v=new aa,Ts(v,f),T=l(j(f,Us),64),Ni(v,T),N=l(He(m.j,0),12),I=new h0,go(I,v),Yi(I,N)));for(r=new V(y);r.a<r.c.c.length;)t=l(q(r),9),Ii(t,l(He(e.b,e.b.c.length-1),26));return y}function P_n(e){var t,r,o,s,u,f,p,m,y,v,T;for(v=e.e.a.c.length,f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),u.j=!1;for(e.i=me(Rn,Xn,30,v,15,1),e.g=me(Rn,Xn,30,v,15,1),e.n=new Pe,s=0,T=new Pe,m=new V(e.e.a);m.a<m.c.c.length;)p=l(q(m),126),p.d=s++,p.b.a.c.length==0&&je(e.n,p),li(T,p.g);for(t=0,o=new V(T);o.a<o.c.c.length;)r=l(q(o),220),r.c=t++,r.f=!1;y=T.c.length,e.b==null||e.b.length<y?(e.b=me(Ki,Wo,30,y,15,1),e.c=me(uu,Ad,30,y,16,1)):$N(e.c),e.d=T,e.p=new pV(dy(e.d.c.length)),e.j=1}function j_n(e,t){var r,o,s,u,f,p,m,y,v;if(!(t.e.c.length<=1)){for(e.f=t,e.d=l(j(e.f,(H6(),_2e)),385),e.g=l(j(e.f,C2e),15).a,e.e=ue(ce(j(e.f,k2e))),e.c=ue(ce(j(e.f,v$))),fst(e.b),s=new V(e.f.c);s.a<s.c.c.length;)o=l(q(s),292),n0e(e.b,o.c,o,null),n0e(e.b,o.d,o,null);for(p=e.f.e.c.length,e.a=Kw(Ki,[Me,Wo],[109,30],15,[p,p],2),y=new V(e.f.e);y.a<y.c.c.length;)m=l(q(y),156),s_n(e,m,e.a[m.a]);for(e.i=Kw(Ki,[Me,Wo],[109,30],15,[p,p],2),u=0;u<p;++u)for(f=0;f<p;++f)r=e.a[u][f],v=1/(r*r),e.i[u][f]=v}}function gvt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I;if(p=t._g(),p||t.Tg(O2t,1),r=l(j(e,(Ie(),nte)),16),f=1/r.gc(),t.$g())for(t.ah("ELK Layered uses the following "+r.gc()+" modules:"),I=0,N=r.Jc();N.Ob();)v=l(N.Pb(),43),o=(I<10?"0":"")+I++,t.ah(" Slot "+o+": "+Sb(nc(v)));for(T=r.Jc();T.Ob();){if(v=l(T.Pb(),43),t.Zg())return;v.If(e,t.dh(f))}for(u=new V(e.b);u.a<u.c.c.length;)s=l(q(u),26),li(e.a,s.a),s.a.c.length=0;for(y=new V(e.a);y.a<y.c.c.length;)m=l(q(y),9),Ii(m,null);e.b.c.length=0,p||t.Ug()}function F_n(e,t){var r,o,s,u,f,p,m,y,v;if(gr(e.d.i,(Be(),Ky)))return p=l(j(e.c.i,Ky),15),y=l(j(e.d.i,Ky),15),na(p.a,y.a)>0;for(p=l(j(e.c.i,Ky),15).a,u=l(Au(lr(t.Mc(),new NYe(p)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),f=new Sr,v=new hi,Gn(f,e.c.i),pi(v,e.c.i);f.b!=0;){if(r=l(f.b==0?null:(un(f.b!=0),Vc(f,f.a.a)),9),u.Gc(r))return!0;for(s=new Ft(Gt(Rr(r).a.Jc(),new D));an(s);)o=l(Qt(s),17),m=o.d.i,v.a._b(m)||(v.a.yc(m,v),Wr(f,m,f.c.b,f.c))}return!1}function bvt(e,t,r){var o,s,u,f,p,m,y,v,T;for(T=new Pe,v=new jhe(0,r),u=0,mj(v,new PK(0,0,v,r)),s=0,y=new en(e);y.e!=y.i.gc();)m=l(rn(y),19),o=l(He(v.a,v.a.c.length-1),175),p=s+m.g+(l(He(v.a,0),175).b.c.length==0?0:r),(p>t||Ke(We(ye(m,(ef(),RL)))))&&(s=0,u+=v.b+r,Ot(T.c,v),v=new jhe(u,r),o=new PK(0,v.f,v,r),mj(v,o),s=0),o.b.c.length==0||!Ke(We(ye(Br(m),(ef(),Nne))))&&(m.f>=o.o&&m.f<=o.f||o.a*.5<=m.f&&o.a*1.5>=m.f)?a1e(o,m):(f=new PK(o.s+o.r+r,v.f,v,r),mj(v,f),a1e(f,m)),s=m.i+m.g;return Ot(T.c,v),T}function DC(e){var t,r,o,s;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,s=0;s<e.b.length;){for(t!=s?(e.b[t]=e.b[s++],e.b[t+1]=e.b[s++]):s+=2,r=e.b[t+1];s<e.b.length&&!(r+1<e.b[s]);)if(r+1==e.b[s])e.b[t+1]=e.b[s+1],r=e.b[t+1],s+=2;else if(r>=e.b[s+1])s+=2;else if(r<e.b[s+1])e.b[t+1]=e.b[s+1],r=e.b[t+1],s+=2;else throw K(new vs("Token#compactRanges(): Internel Error: ["+e.b[t]+","+e.b[t+1]+"] ["+e.b[s]+","+e.b[s+1]+"]"));t+=2}t!=e.b.length&&(o=me(Rn,Xn,30,t,15,1),ua(e.b,0,o,0,t),e.b=o),e.a=!0}}function $_n(e,t){var r,o,s,u,f,p,m;for(f=_S(e.a).Jc();f.Ob();){if(u=l(f.Pb(),17),u.b.c.length>0)for(o=new Tu(l(wr(e.a,u),24)),St(),_i(o,new uce(t)),s=new Ji(u.b,0);s.b<s.d.gc();){switch(r=(un(s.b<s.d.gc()),l(s.d.Xb(s.c=s.b++),70)),p=-1,l(j(r,(Be(),Kf)),281).g){case 1:p=o.c.length-1;break;case 0:p=a0n(o);break;case 2:p=0}p!=-1&&(m=(at(p,o.c.length),l(o.c[p],253)),je(m.b.b,r),l(j(ji(m.b.c.i),(Ie(),_a)),24).Ec((Mo(),Xk)),l(j(ji(m.b.c.i),_a),24).Ec(Jk),Lu(s),Ae(r,dTe,u))}go(u,null),Yi(u,null)}}function B_n(e,t){var r,o,s,u,f,p,m,y,v,T,N;for(v=new Pe,N=new hi,f=t.b,s=0;s<f.c.length;s++){for(y=(at(s,f.c.length),l(f.c[s],26)).a,v.c.length=0,u=0;u<y.c.length;u++)p=e.a[s][u],p.p=u,p.k==(Ht(),Aa)&&Ot(v.c,p),tc(l(He(t.b,s),26).a,u,p),p.j.c.length=0,li(p.j,l(l(He(e.b,s),16).Xb(u),18)),SS(l(j(p,(Be(),Zr)),103))||Ae(p,Zr,(qi(),Tm));for(o=new V(v);o.a<o.c.c.length;)r=l(q(o),9),T=fTn(r),N.a.yc(T,N),N.a.yc(r,N)}for(m=N.a.ec().Jc();m.Ob();)p=l(m.Pb(),9),St(),_i(p.j,(x_(),_Se)),p.i=!0,Zbe(p)}function U_n(e,t){var r,o,s,u,f,p,m,y,v,T,N,I;if(t.Tg("Edge splitting",1),e.b.c.length<=2){t.Ug();return}for(u=new Ji(e.b,0),f=(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),26));u.b<u.d.gc();)for(s=f,f=(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),26)),m=new V(s.a);m.a<m.c.c.length;)for(p=l(q(m),9),v=new V(p.j);v.a<v.c.c.length;)for(y=l(q(v),12),o=new V(y.g);o.a<o.c.c.length;)r=l(q(o),17),N=r.d,T=N.i.c,T!=s&&T!=f&&cJ(r,(I=new Xd(e),Kh(I,(Ht(),gi)),Ae(I,(Ie(),mr),r),Ae(I,(Be(),Zr),(qi(),fa)),Ii(I,f),I));t.Ug()}function mvt(e){var t,r,o,s,u,f,p,m,y,v,T,N;for(t=Gd(e),u=Ke(We(ye(t,(Be(),Wy)))),v=0,s=0,y=new en((!e.e&&(e.e=new Et(Cr,e,7,4)),e.e));y.e!=y.i.gc();)m=l(rn(y),74),p=I0(m),f=p&&u&&Ke(We(ye(m,pm))),N=Vo(l(ie((!m.c&&(m.c=new Et(pn,m,5,8)),m.c),0),83)),p&&f?++s:p&&!f?++v:Br(N)==t||N==t?++s:++v;for(o=new en((!e.d&&(e.d=new Et(Cr,e,8,5)),e.d));o.e!=o.i.gc();)r=l(rn(o),74),p=I0(r),f=p&&u&&Ke(We(ye(r,pm))),T=Vo(l(ie((!r.b&&(r.b=new Et(pn,r,4,7)),r.b),0),83)),p&&f?++v:p&&!f?++s:Br(T)==t||T==t?++v:++s;return v-s}function wvt(e){var t,r,o,s,u;return e.g!=null?e.g:e.a<32?(e.g=sNn(Gs(e.f),po(e.e)),e.g):(s=zJ((!e.c&&(e.c=JO(Gs(e.f))),e.c),0),e.e==0?s:(t=(!e.c&&(e.c=JO(Gs(e.f))),e.c).e<0?2:1,r=s.length,o=-e.e+r-t,u=new Zg,u.a+=""+s,e.e>0&&o>=-6?o>=0?xO(u,r-po(e.e),"."):(_K(u,t-1,t-1,"0."),xO(u,t+1,Lf(lm,0,-po(o)-1))):(r-t>=1&&(xO(u,t,"."),++r),xO(u,r,"E"),o>0&&xO(u,++r,"+"),xO(u,++r,""+T3(Gs(o)))),e.g=u.a,e.g))}function H_n(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge;o=ue(ce(j(t,(Be(),TAe)))),Ee=l(j(t,HI),15).a,N=4,s=3,we=20/Ee,I=!1,m=0,f=sr;do{for(u=m!=1,T=m!=0,Ge=0,G=e.a,ne=0,le=G.length;ne<le;++ne)L=G[ne],L.f=null,Rxn(e,L,u,T,o),Ge+=b.Math.abs(L.a);do p=lAn(e,t);while(p);for(U=e.a,J=0,oe=U.length;J<oe;++J)if(L=U[J],r=zfe(L).a,r!=0)for(v=new V(L.e);v.a<v.c.c.length;)y=l(q(v),9),y.n.b+=r;m==0||m==1?(--N,N<=0&&(Ge<f||-N>Ee)?(m=2,f=sr):m==0?(m=1,f=Ge):(m=0,f=Ge)):(I=Ge>=f||f-Ge<we,f=Ge,I&&--s)}while(!(I&&s<=0))}function LJ(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L;for(L=new hn,u=e.a.ec().Jc();u.Ob();)o=l(u.Pb(),180),Yn(L,o,r.$e(o));for(f=(xn(e),e?new Tu(e):ZA(e.a.ec().Jc())),_i(f,new ZKe(L)),p=GP(f),m=new R8(t),I=new hn,eu(I.f,t,m);p.a.gc()!=0;){for(y=null,v=null,T=null,s=p.a.ec().Jc();s.Ob();)if(o=l(s.Pb(),180),ue(ce(Es(Zo(L.f,o))))<=Kr){if(ba(I,o.a)&&!ba(I,o.b)){v=o.b,T=o.a,y=o;break}if(ba(I,o.b)&&!ba(I,o.a)){v=o.a,T=o.b,y=o;break}}if(!y)break;N=new R8(v),je(l(Es(Zo(I.f,T)),227).a,N),eu(I.f,v,N),p.a.Ac(y)!=null}return m}function Zb(e,t){var r,o,s,u,f,p;if(t){if(!e.a&&(e.a=new I9),e.e==2){C9(e.a,t);return}if(t.e==1){for(s=0;s<t.Nm();s++)Zb(e,t.Jm(s));return}if(p=e.a.a.c.length,p==0){C9(e.a,t);return}if(f=l(l0(e.a,p-1),122),!((f.e==0||f.e==10)&&(t.e==0||t.e==10))){C9(e.a,t);return}u=t.e==0?2:t.Km().length,f.e==0?(r=new UN,o=f.Im(),o>=xo?zo(r,r1e(o)):r_(r,o&Ei),f=new SW(10,null,0),ssn(e.a,f,p-1)):(r=(f.Km().length+u,new UN),zo(r,f.Km())),t.e==0?(o=t.Im(),o>=xo?zo(r,r1e(o)):r_(r,o&Ei)):zo(r,t.Km()),l(f,521).b=r.a}}function z_n(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G;if(!r.dc()){for(p=0,N=0,o=r.Jc(),L=l(o.Pb(),15).a;p<t.f;){if(p==L&&(N=0,o.Ob()?L=l(o.Pb(),15).a:L=t.f+1),p!=N){for(G=l(He(e.b,p),26),I=l(He(e.b,N),26),U=Mb(G.a),T=new V(U);T.a<T.c.c.length;)if(v=l(q(T),9),E1(v,I.a.c.length,I),N==0)for(f=Mb(si(v)),u=new V(f);u.a<u.c.c.length;)s=l(q(u),17),bg(s,!0),Ae(e,(Ie(),xT),(Lt(),!0)),_vt(e,s,1)}++N,++p}for(m=new Ji(e.b,0);m.b<m.d.gc();)y=(un(m.b<m.d.gc()),l(m.d.Xb(m.c=m.b++),26)),y.a.c.length==0&&Lu(m)}}function G_n(e,t,r){var o,s,u;if(s=l(j(t,(Be(),aB)),285),s!=(V_(),_I)){switch(r.Tg("Horizontal Compaction",1),e.a=t,u=new Cdt,o=new e0t((u.d=t,u.c=l(j(u.d,_p),225),PSn(u),Kkn(u),GSn(u),u.a)),mQt(o,e.b),l(j(t,XTe),427).g){case 1:fQe(o,new Xft(e.a));break;default:fQe(o,(whe(),ukt))}switch(s.g){case 1:SC(o);break;case 2:SC(K7(o,(vi(),cs)));break;case 3:SC(dQe(K7(SC(o),(vi(),cs)),new nBe));break;case 4:SC(dQe(K7(SC(o),(vi(),cs)),new jYe(u)));break;case 5:SC(bQt(o,nNt))}K7(o,(vi(),is)),o.e=!0,Hxn(u),r.Ug()}}function q_n(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(f=t.b,v=f.o,m=f.d,o=ue(ce(n7(f,(Be(),od)))),s=ue(ce(n7(f,o2))),y=ue(ce(n7(f,Tte))),p=new JG,yfe(p,m.d,m.c,m.a,m.b),N=tTn(t,o,s,y),J=new V(t.d);J.a<J.c.c.length;){for(G=l(q(J),108),L=G.f.a.ec().Jc();L.Ob();)I=l(L.Pb(),342),u=I.a,T=K0n(I),r=(ne=new Du,emt(I,I.c,N,ne),aSn(I,T,N,ne),emt(I,I.d,N,ne),ne),r=e.lg(I,T,r),ec(u.a),bo(u.a,r),ei(new yt(null,new vt(r,16)),new ctt(v,p));U=G.i,U&&(hSn(G,U,N,s),oe=new Eo(U.g),R1e(v,p,oe),br(oe,U.j),R1e(v,p,oe))}yfe(m,p.d,p.c,p.a,p.b)}function V_n(e,t){X_();var r,o,s,u,f,p;return u=t.c-(e.c+e.b),s=e.c-(t.c+t.b),f=e.d-(t.d+t.a),r=t.d-(e.d+e.a),o=b.Math.max(s,u),p=b.Math.max(f,r),Ud(),Yl(zf),(b.Math.abs(o)<=zf||o==0||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:_b(isNaN(o),isNaN(0)))>=0^(Yl(zf),(b.Math.abs(p)<=zf||p==0||isNaN(p)&&isNaN(0)?0:p<0?-1:p>0?1:_b(isNaN(p),isNaN(0)))>=0)?b.Math.max(p,o):(Yl(zf),(b.Math.abs(o)<=zf||o==0||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:_b(isNaN(o),isNaN(0)))>0?b.Math.sqrt(p*p+o*o):-b.Math.sqrt(p*p+o*o))}function W_n(e){var t,r,o,s;s=e.o,Gw(),e.A.dc()||pr(e.A,f2e)?t=s.b:(e.D?t=b.Math.max(s.b,wC(e.f)):t=wC(e.f),e.A.Gc((oc(),KL))&&!e.B.Gc((Bu(),k4))&&(t=b.Math.max(t,wC(l(Go(e.p,(Ue(),Zt)),256))),t=b.Math.max(t,wC(l(Go(e.p,Wt),256)))),r=yht(e),r&&(t=b.Math.max(t,r.b)),e.A.Gc(YL)&&(e.q==(qi(),Oh)||e.q==fa)&&(t=b.Math.max(t,Z8(l(Go(e.b,(Ue(),Zt)),129))),t=b.Math.max(t,Z8(l(Go(e.b,Wt),129))))),Ke(We(e.e.Rf().mf((_n(),av))))?s.b=b.Math.max(s.b,t):s.b=t,o=e.f.i,o.d=0,o.a=t,AJ(e.f)}function K_n(e,t,r,o,s,u,f,p){var m,y,v,T;switch(m=Wl(Z(X(B3n,1),Rt,241,0,[t,r,o,s])),T=null,e.b.g){case 1:T=Wl(Z(X(Hke,1),Rt,527,0,[new kG,new AG,new _G]));break;case 0:T=Wl(Z(X(Hke,1),Rt,527,0,[new _G,new AG,new kG]));break;case 2:T=Wl(Z(X(Hke,1),Rt,527,0,[new AG,new kG,new _G]))}for(v=new V(T);v.a<v.c.c.length;)y=l(q(v),527),m.c.length>1&&(m=y.Gg(m,e.a,p));return m.c.length==1?l(He(m,m.c.length-1),241):m.c.length==2?L_n((at(0,m.c.length),l(m.c[0],241)),(at(1,m.c.length),l(m.c[1],241)),f,u):null}function Y_n(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L;s=new KR(e),u=new w0t,o=(e6(u.n),e6(u.p),Zs(u.c),e6(u.f),e6(u.o),Zs(u.q),Zs(u.d),Zs(u.g),Zs(u.k),Zs(u.e),Zs(u.i),Zs(u.j),Zs(u.r),Zs(u.b),N=Umt(u,s,null),z0t(u,s),N),t&&(m=new KR(t),f=h_n(m),Mbe(o,Z(X(Nxe,1),Rt,528,0,[f]))),T=!1,v=!1,r&&(m=new KR(r),zF in m.a&&(T=rp(m,zF).oe().a),KTt in m.a&&(v=rp(m,KTt).oe().a)),y=yQe(kft(new iS,T),v),Jwn(new Gze,o,y),zF in s.a&&Kl(s,zF,null),(T||v)&&(p=new oS,Fyt(y,p,T,v),Kl(s,zF,p)),I=new TXe(u),Jht(new iV(o),I),L=new AXe(u),Jht(new iV(o),L)}function J_n(e,t,r){var o,s,u,f,p,m,y;for(r.Tg("Find roots",1),e.a.c.length=0,s=An(t.b,0);s.b!=s.d.c;)o=l(Sn(s),41),o.b.b==0&&(Ae(o,(xr(),z1),(Lt(),!0)),je(e.a,o));switch(e.a.c.length){case 0:u=new MK(0,t,"DUMMY_ROOT"),Ae(u,(xr(),z1),(Lt(),!0)),Ae(u,Jte,!0),Gn(t.b,u);break;case 1:break;default:for(f=new MK(0,t,RF),m=new V(e.a);m.a<m.c.c.length;)p=l(q(m),41),y=new mhe(f,p),Ae(y,(xr(),Jte),(Lt(),!0)),Gn(f.a.a,y),Gn(f.d,y),Gn(p.b,y),Ae(p,z1,!1);Ae(f,(xr(),z1),(Lt(),!0)),Ae(f,Jte,!0),Gn(t.b,f)}r.Ug()}function yvt(e){var t,r,o,s,u,f;for(Oa(e.a,new J2),r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),227),o=Ri(So(l(e.b,68).c),l(t.b,68).c),Hkt?(f=l(e.b,68).b,u=l(t.b,68).b,b.Math.abs(o.a)>=b.Math.abs(o.b)?(o.b=0,u.d+u.a>f.d&&u.d<f.d+f.a&&Y8(o,b.Math.max(f.c-(u.c+u.b),u.c-(f.c+f.b)))):(o.a=0,u.c+u.b>f.c&&u.c<f.c+f.b&&Y8(o,b.Math.max(f.d-(u.d+u.a),u.d-(f.d+f.a))))):Y8(o,Hyt(l(e.b,68),l(t.b,68))),s=b.Math.sqrt(o.a*o.a+o.b*o.b),s=Tbt(mI,t,s,o),Y8(o,s),GV(l(t.b,68),o),Oa(t.a,new oce(o)),l(mI.b,68),bpe(mI,h2e,t)}function X_n(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L;for(e.f=new KG,y=0,s=0,f=new V(e.e.b);f.a<f.c.c.length;)for(u=l(q(f),26),m=new V(u.a);m.a<m.c.c.length;){for(p=l(q(m),9),p.p=y++,o=new Ft(Gt(Rr(p).a.Jc(),new D));an(o);)r=l(Qt(o),17),r.p=s++;for(t=RJ(p),N=new V(p.j);N.a<N.c.c.length;)T=l(q(N),12),t&&(L=T.a.b,L!=b.Math.floor(L)&&(v=L-jb(Gs(b.Math.round(L))),T.a.b-=v)),I=T.n.b+T.a.b,I!=b.Math.floor(I)&&(v=I-jb(Gs(b.Math.round(I))),T.n.b-=v)}e.g=y,e.b=s,e.i=me(P3n,Rt,410,y,0,1),e.c=me(M3n,Rt,651,s,0,1),e.d.a.$b()}function vn(e){var t,r,o,s,u,f,p,m,y;if(e.Nj())if(m=e.Oj(),e.i>0){if(t=new Ule(e.i,e.g),r=e.i,u=r<100?null:new Qg(r),e.Rj())for(o=0;o<e.i;++o)f=e.g[o],u=e.Tj(f,u);if(B3(e),s=r==1?e.Gj(4,ie(t,0),null,0,m):e.Gj(6,t,null,-1,m),e.Kj()){for(o=new yS(t);o.e!=o.i.gc();)u=e.Mj(bY(o),u);u?(u.lj(s),u.mj()):e.Hj(s)}else u?(u.lj(s),u.mj()):e.Hj(s)}else B3(e),e.Hj(e.Gj(6,(St(),No),null,-1,m));else if(e.Kj())if(e.i>0){for(p=e.g,y=e.i,B3(e),u=y<100?null:new Qg(y),o=0;o<y;++o)f=p[o],u=e.Mj(f,u);u&&u.mj()}else B3(e);else B3(e)}function A0e(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(xht(this),r==(p0(),H1)?pi(this.r,e):pi(this.w,e),v=Kr,y=Oi,f=t.a.ec().Jc();f.Ob();)s=l(f.Pb(),49),p=l(s.a,457),o=l(s.b,17),m=o.c,m==e&&(m=o.d),p==H1?pi(this.r,m):pi(this.w,m),N=(Ue(),ou).Gc(m.j)?ue(ce(j(m,(Ie(),Qk)))):_s(Z(X($i,1),Me,8,0,[m.i.n,m.n,m.a])).b,v=b.Math.min(v,N),y=b.Math.max(y,N);for(T=(Ue(),ou).Gc(e.j)?ue(ce(j(e,(Ie(),Qk)))):_s(Z(X($i,1),Me,8,0,[e.i.n,e.n,e.a])).b,Vbt(this,T,v,y),u=t.a.ec().Jc();u.Ob();)s=l(u.Pb(),49),umt(this,l(s.b,17));this.o=!1}function Z_n(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on;return r=e.l&8191,o=e.l>>13|(e.m&15)<<9,s=e.m>>4&8191,u=e.m>>17|(e.h&255)<<5,f=(e.h&1048320)>>8,p=t.l&8191,m=t.l>>13|(t.m&15)<<9,y=t.m>>4&8191,v=t.m>>17|(t.h&255)<<5,T=(t.h&1048320)>>8,lt=r*p,dt=o*p,Ct=s*p,Dt=u*p,on=f*p,m!=0&&(dt+=r*m,Ct+=o*m,Dt+=s*m,on+=u*m),y!=0&&(Ct+=r*y,Dt+=o*y,on+=s*y),v!=0&&(Dt+=r*v,on+=o*v),T!=0&&(on+=r*T),I=lt&Uu,L=(dt&511)<<13,N=I+L,G=lt>>22,J=dt>>9,ne=(Ct&262143)<<4,oe=(Dt&31)<<17,U=G+J+ne+oe,Ee=Ct>>18,we=Dt>>5,Ge=(on&4095)<<8,le=Ee+we+Ge,U+=N>>22,N&=Uu,le+=U>>22,U&=Uu,le&=yp,Ua(N,U,le)}function vvt(e){var t,r,o,s,u,f,p;if(p=l(He(e.j,0),12),p.g.c.length!=0&&p.e.c.length!=0)throw K(new Xo("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(p.g.c.length!=0){for(u=Kr,r=new V(p.g);r.a<r.c.c.length;)t=l(q(r),17),f=t.d.i,o=l(j(f,(Be(),gB)),125),u=b.Math.min(u,f.n.a-o.b);return new w9(xn(u))}if(p.e.c.length!=0){for(s=Oi,r=new V(p.e);r.a<r.c.c.length;)t=l(q(r),17),f=t.c.i,o=l(j(f,(Be(),gB)),125),s=b.Math.max(s,f.n.a+f.o.a+o.c);return new w9(xn(s))}return jN(),jN(),IQ}function Evt(e){t0(e,new Xb(fq(nO(Zm(Ym(Xm(Jm(new wb,z0),"ELK VertiFlex"),"Tree layout algorithm that allows defining set vertical positions for nodes rather than automatically placing nodes on levels according to their topology."),new Uze),nve),Ar((iT(),rM),Z(X(iM,1),Ce,235,0,[nM]))))),Oe(e,z0,F0,20),Oe(e,z0,$0,xxe),Oe(e,z0,mk,ze(YOt)),Oe(e,z0,uF,ze(XOt)),Oe(e,z0,ND,(Lt(),!1)),Oe(e,z0,wk,ze(kxe)),Oe(e,z0,TZ,ze(JOt)),Oe(e,z0,jve,ze(hx)),Oe(e,z0,Fve,ze(Yne)),Oe(e,z0,$ve,ze(_xe)),Oe(e,z0,Bve,ze(Kne))}function Q_n(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G;for(r.Tg("Interactive cycle breaking",1),T=new Pe,I=new V(t.a);I.a<I.c.c.length;)for(N=l(q(I),9),N.p=1,L=cbe(N).a,v=k0(N,(Lo(),Fa)).Jc();v.Ob();)for(y=l(v.Pb(),12),u=new V(y.g);u.a<u.c.c.length;)o=l(q(u),17),U=o.d.i,U!=N&&(G=cbe(U).a,G<L&&Ot(T.c,o));for(f=new V(T);f.a<f.c.c.length;)o=l(q(f),17),bg(o,!0);for(T.c.length=0,m=new V(t.a);m.a<m.c.c.length;)p=l(q(m),9),p.p>0&&hmt(e,p,T);for(s=new V(T);s.a<s.c.c.length;)o=l(q(s),17),bg(o,!0);T.c.length=0,r.Ug()}function Svt(e,t){var r,o,s,u,f,p,m;if(e.ml()){if(e.i>4)if(e.dk(t)){if(e.$k()){if(s=l(t,52),o=s.Bh(),m=o==e.e&&(e.kl()?s.vh(s.Ch(),e.gl())==e.hl():-1-s.Ch()==e.Jj()),e.ll()&&!m&&!o&&s.Gh()){for(u=0;u<e.i;++u)if(r=e.nl(l(e.g[u],57)),be(r)===be(t))return!0}return m}else if(e.kl()&&!e.jl()){if(f=l(t,57).Jh(Do(l(e.Jk(),20))),be(f)===be(e.e))return!0;if(f==null||!l(f,57).Sh())return!1}}else return!1;if(p=G_(e,t),e.ll()&&!p){for(u=0;u<e.i;++u)if(s=e.nl(l(e.g[u],57)),be(s)===be(t))return!0}return p}else return G_(e,t)}function ekn(e,t){var r,o,s,u,f,p,m,y,v;for(r=0,v=new Pe,p=new V(t);p.a<p.c.c.length;){switch(f=l(q(p),12),Pge(e.b,e.d[f.p]),v.c.length=0,f.i.k.g){case 0:o=l(j(f,(Ie(),Nu)),9),Oa(o.j,new mJe(v));break;case 1:Zen(dp(lr(new yt(null,new vt(f.i.j,16)),new wJe(f))),new yJe(v));break;case 3:s=l(j(f,(Ie(),mr)),12),je(v,new ko(s,Re(f.e.c.length+f.g.c.length)))}for(y=new V(v);y.a<y.c.c.length;)m=l(q(y),49),u=Xce(e,l(m.a,12)),u>e.d[f.p]&&(r+=Xhe(e.b,u)*l(m.b,15).a,l1(e.a,Re(u)));for(;!BN(e.a);)Rpe(e.b,l(xS(e.a),15).a)}return r}function tkn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G;for(t.Tg(wSt,1),I=new Pe,v=b.Math.max(e.a.c.length,l(j(e,(Ie(),F1)),15).a),r=v*l(j(e,lL),15).a,p=be(j(e,(Be(),LT)))===be((g1(),zy)),U=new V(e.a);U.a<U.c.c.length;)for(L=l(q(U),9),o=new WR,m=p?nT(o,L,r,v):QS(o,L,v),N=k0(L,(Lo(),Fa)).Jc();N.Ob();)for(T=l(N.Pb(),12),f=new V(T.g);f.a<f.c.c.length;)s=l(q(f),17),G=s.d.i,y=p?nT(o,G,r,v):QS(o,G,v),y<m&&Ot(I.c,s);for(u=new V(I);u.a<u.c.c.length;)s=l(q(u),17),bg(s,!0),Ae(e,xT,(Lt(),!0));I.c.length=0,t.Ug()}function nkn(e,t){var r,o,s,u,f,p,m,y,v,T;if(v=l(j(e,(Ie(),Us)),64),o=l(He(e.j,0),12),v==(Ue(),Vt)?Ni(o,dn):v==dn&&Ni(o,Vt),l(j(t,(Be(),gm)),185).Gc((oc(),Am))){if(m=ue(ce(j(e,ix))),y=ue(ce(j(e,ox))),f=ue(ce(j(e,Qy))),p=l(j(t,Jy),24),p.Gc((ku(),Cp)))for(r=y,T=e.o.a/2-o.n.a,u=new V(o.f);u.a<u.c.c.length;)s=l(q(u),70),s.n.b=r,s.n.a=T-s.o.a/2,r+=s.o.b+f;else if(p.Gc(K1))for(u=new V(o.f);u.a<u.c.c.length;)s=l(q(u),70),s.n.a=m+e.o.a-o.n.a;rcn(new S9((qN(),new dW(t,!1,!1,new a9))),new q8(null,e,!1))}}function rkn(e,t){var r,o,s,u,f,p,m,y,v;if(t.c.length!=0){for(St(),$V(t.c,t.c.length,null),s=new V(t),o=l(q(s),157);s.a<s.c.c.length;)r=l(q(s),157),Mpe(o.e.c,r.e.c)&&!(_1e(Zrt(o.e).b,r.e.d)||_1e(Zrt(r.e).b,o.e.d))?o=(li(o.k,r.k),li(o.b,r.b),li(o.c,r.c),bo(o.i,r.i),li(o.d,r.d),li(o.j,r.j),u=b.Math.min(o.e.c,r.e.c),f=b.Math.min(o.e.d,r.e.d),p=b.Math.max(o.e.c+o.e.b,r.e.c+r.e.b),m=p-u,y=b.Math.max(o.e.d+o.e.a,r.e.d+r.e.a),v=y-f,rot(o.e,u,f,m,v),ucn(o.f,r.f),!o.a&&(o.a=r.a),li(o.g,r.g),je(o.g,r),o):(Lyt(e,o),o=r);Lyt(e,o)}}function ikn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee;for(m=new Pe,u=new V(t.a);u.a<u.c.c.length;)for(s=l(q(u),9),p=new V(s.j);p.a<p.c.c.length;){for(f=l(q(p),12),v=null,oe=Of(f.g),le=0,Ee=oe.length;le<Ee;++le)ne=oe[le],S_(ne.d.i,r)||(J=OJ(e,t,r,ne,ne.c,(Lo(),Fa),v),J!=v&&Ot(m.c,J),J.c&&(v=J));for(y=null,L=Of(f.e),U=0,G=L.length;U<G;++U)I=L[U],S_(I.c.i,r)||(J=OJ(e,t,r,I,I.d,(Lo(),Cu),y),J!=y&&Ot(m.c,J),J.c&&(y=J))}for(N=new V(m);N.a<N.c.c.length;)T=l(q(N),447),As(t.a,T.a,0)!=-1||je(t.a,T.a),T.c&&Ot(o.c,T)}function okn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I;for(p=new V(t);p.a<p.c.c.length;)u=l(q(p),242),u.e=null,u.c=0;for(m=null,f=new V(t);f.a<f.c.c.length;)if(u=l(q(f),242),T=u.d[0],!(r&&T.k!=(Ht(),Xr))){for(I=l(j(T,(Ie(),CT)),16).Jc();I.Ob();)N=l(I.Pb(),9),(!r||N.k==(Ht(),Xr))&&((!u.e&&(u.e=new Pe),u.e).Ec(e.b[N.c.p][N.p]),++e.b[N.c.p][N.p].c);if(!r&&T.k==(Ht(),Xr)){if(m)for(v=l(wr(e.d,m),24).Jc();v.Ob();)for(y=l(v.Pb(),9),s=l(wr(e.d,T),24).Jc();s.Ob();)o=l(s.Pb(),9),fin(e.b[y.c.p][y.p]).Ec(e.b[o.c.p][o.p]),++e.b[o.c.p][o.p].c;m=T}}}function skn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G;for(T=new Eo(l(ye(e,(S7(),Pxe)),8)),T.a=b.Math.max(T.a-r.b-r.c,0),T.b=b.Math.max(T.b-r.d-r.a,0),s=ce(ye(e,Dxe)),(s==null||(Mt(s),s<=0))&&(s=1.3),p=new Pe,L=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));L.e!=L.i.gc();)I=l(rn(L),19),f=new jrt(I),Ot(p.c,f);switch(N=l(ye(e,ire),327),N.g){case 3:G=UTn(p,t,T.a,T.b,(y=o,Mt(s),y));break;case 1:G=CAn(p,t,T.a,T.b,(v=o,Mt(s),v));break;default:G=ukn(p,t,T.a,T.b,(m=o,Mt(s),m))}u=new dj(G),U=BJ(u,t,r,T.a,T.b,o,(Mt(s),s)),L0(e,U.a,U.b,!1,!0)}function akn(e,t,r,o){var s,u,f,p,m,y;if(p=e.j,p==(Ue(),Cs)&&t!=(qi(),pf)&&t!=(qi(),W1)&&(p=Cyt(e,r),Ni(e,p),!(e.q?e.q:(St(),St(),kh))._b((Be(),Yy))&&p!=Cs&&(e.n.a!=0||e.n.b!=0)&&Ae(e,Yy,mmn(e,p))),t==(qi(),Oh)){switch(y=0,p.g){case 1:case 3:u=e.i.o.a,u>0&&(y=e.n.a/u);break;case 2:case 4:s=e.i.o.b,s>0&&(y=e.n.b/s)}Ae(e,(Ie(),tw),y)}if(m=e.o,f=e.a,o)f.a=o.a,f.b=o.b,e.d=!0;else if(t!=pf&&t!=W1&&p!=Cs)switch(p.g){case 1:f.a=m.a/2;break;case 2:f.a=m.a,f.b=m.b/2;break;case 3:f.a=m.a/2,f.b=m.b;break;case 4:f.b=m.b/2}else f.a=m.a/2,f.b=m.b/2}function LC(e){var t,r,o,s,u,f,p,m,y,v;if(e.Nj())if(v=e.Cj(),m=e.Oj(),v>0)if(t=new cge(e.nj()),r=v,u=r<100?null:new Qg(r),OO(e,r,t.g),s=r==1?e.Gj(4,ie(t,0),null,0,m):e.Gj(6,t,null,-1,m),e.Kj()){for(o=new en(t);o.e!=o.i.gc();)u=e.Mj(rn(o),u);u?(u.lj(s),u.mj()):e.Hj(s)}else u?(u.lj(s),u.mj()):e.Hj(s);else OO(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(St(),No),null,-1,m));else if(e.Kj())if(v=e.Cj(),v>0){for(p=e.Dj(),y=v,OO(e,v,p),u=y<100?null:new Qg(y),o=0;o<y;++o)f=p[o],u=e.Mj(f,u);u&&u.mj()}else OO(e,e.Cj(),e.Dj());else OO(e,e.Cj(),e.Dj())}function ukn(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G;for(p=me(Ki,Wo,30,e.c.length,15,1),N=new hP(new SGe),K1e(N,e),y=0,U=new Pe;N.b.c.length!=0;)if(f=l(N.b.c.length==0?null:He(N.b,0),168),y>1&&hu(f)*Qu(f)/2>p[0]){for(u=0;u<U.c.length-1&&hu(f)*Qu(f)/2>p[u];)++u;L=new If(U,0,u+1),T=new dj(L),v=hu(f)/Qu(f),m=BJ(T,t,new rS,r,o,s,v),br(wd(T.e),m),AS(q_(N,T),dk),I=new If(U,u+1,U.c.length),K1e(N,I),U.c.length=0,y=0,Fot(p,p.length,0)}else G=N.b.c.length==0?null:He(N.b,0),G!=null&&bK(N,0),y>0&&(p[y]=p[y-1]),p[y]+=hu(f)*Qu(f),++y,Ot(U.c,f);return U}function ckn(e,t){var r,o,s,u;r=t.b,u=new Tu(r.j),s=0,o=r.j,o.c.length=0,u0(l(Hb(e.b,(Ue(),Vt),(S0(),Z0)),16),r),s=B6(u,s,new IBe,o),u0(l(Hb(e.b,Vt,P1),16),r),s=B6(u,s,new RBe,o),u0(l(Hb(e.b,Vt,X0),16),r),u0(l(Hb(e.b,Zt,Z0),16),r),u0(l(Hb(e.b,Zt,P1),16),r),s=B6(u,s,new OBe,o),u0(l(Hb(e.b,Zt,X0),16),r),u0(l(Hb(e.b,dn,Z0),16),r),s=B6(u,s,new DBe,o),u0(l(Hb(e.b,dn,P1),16),r),s=B6(u,s,new LBe,o),u0(l(Hb(e.b,dn,X0),16),r),u0(l(Hb(e.b,Wt,Z0),16),r),s=B6(u,s,new kBe,o),u0(l(Hb(e.b,Wt,P1),16),r),u0(l(Hb(e.b,Wt,X0),16),r)}function lkn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(t.Tg("Layer size calculation",1),v=Kr,y=Oi,s=!1,p=new V(e.b);p.a<p.c.c.length;)if(f=l(q(p),26),m=f.c,m.a=0,m.b=0,f.a.c.length!=0){for(s=!0,N=new V(f.a);N.a<N.c.c.length;)T=l(q(N),9),L=T.o,I=T.d,m.a=b.Math.max(m.a,L.a+I.b+I.c);o=l(He(f.a,0),9),U=o.n.b-o.d.d,o.k==(Ht(),mi)&&(U-=l(j(e,(Be(),yL)),125).d),u=l(He(f.a,f.a.c.length-1),9),r=u.n.b+u.o.b+u.d.a,u.k==mi&&(r+=l(j(e,(Be(),yL)),125).a),m.b=r-U,v=b.Math.min(v,U),y=b.Math.max(y,r)}s||(v=0,y=0),e.f.b=y-v,e.c.b-=v,t.Ug()}function Tvt(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(f=t.d,p=r.d;f.a-p.a==0&&f.b-p.b==0;)m=!1,se(t,254)&&se(r,254)&&!m?(y=l(t,254).a,v=Ri(new Eo(zpe(y)),Hpe(y)),o=2,s=new Le(v.a/b.Math.sqrt(v.a*v.a+v.b*v.b)*o,-v.b/b.Math.sqrt(v.a*v.a+v.b*v.b)*o),br(f,s),T=l(r,254).a,N=Ri(new Eo(zpe(T)),Hpe(T)),o=v==N?-2:2,u=new Le(N.a/b.Math.sqrt(N.a*N.a+N.b*N.b)*o,-(N.b/b.Math.sqrt(N.a*N.a+N.b*N.b))*o),br(f,u),m=!0):(f.a+=$u(e,26)*FC+$u(e,27)*$C-.5,f.b+=$u(e,26)*FC+$u(e,27)*$C-.5,p.a+=$u(e,26)*FC+$u(e,27)*$C-.5,p.b+=$u(e,26)*FC+$u(e,27)*$C-.5)}function dkn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G;for(y=Hwn(t),U=l(j(t,(Be(),jI)),302),co(y,new iYe(U)),G=l(j(t,gL),303),co(y,new oYe(G)),L=0,v=new Pe,u=new R3(y);u.a!=u.b;)s=l(Fj(u),37),Pvt(e.c,s),N=l(j(s,(Ie(),nte)),16),L+=N.gc(),o=N.Jc(),je(v,new ko(s,o));for(r.Tg("Recursive hierarchical layout",L),I=l(l(He(v,v.c.length-1),49).b,51);I.Ob();)for(m=new V(v);m.a<m.c.c.length;)for(p=l(q(m),49),N=l(p.b,51),f=l(p.a,37);N.Ob();)if(T=l(N.Pb(),43),se(T,456)){if(f.e)break;T.If(f,r.dh(1));break}else T.If(f,r.dh(1));r.Ug()}function _0e(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;for(u=0,f=0,y=new V(e.a);y.a<y.c.c.length;)p=l(q(y),9),u=b.Math.max(u,p.d.b),f=b.Math.max(f,p.d.c);for(m=new V(e.a);m.a<m.c.c.length;){switch(p=l(q(m),9),r=l(j(p,(Be(),Wf)),259),r.g){case 1:L=0;break;case 2:L=1;break;case 5:L=.5;break;default:for(o=0,T=0,I=new V(p.j);I.a<I.c.c.length;)N=l(q(I),12),N.e.c.length==0||++o,N.g.c.length==0||++T;o+T==0?L=.5:L=T/(o+T)}G=e.c,v=p.o.a,J=(G.a-v)*L,L>.5?J-=f*2*(L-.5):L<.5&&(J+=u*2*(.5-L)),s=p.d.b,J<s&&(J=s),U=p.d.c,J>G.a-U-v&&(J=G.a-U-v),p.n.a=t+J}}function fkn(e){var t,r,o,s,u;if(o=l(j(e,(Be(),Ns)),166),o==(rc(),Ap)){for(r=new Ft(Gt(si(e).a.Jc(),new D));an(r);)if(t=l(Qt(r),17),!olt(t))throw K(new Af(PX+U6(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(o==hm){for(u=new Ft(Gt(Rr(e).a.Jc(),new D));an(u);)if(s=l(Qt(u),17),!olt(s))throw K(new Af(PX+U6(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function MC(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;if(e.e&&e.c.c<e.f)throw K(new Xo("Expected "+e.f+" phases to be configured; only found "+e.c.c));for(v=l(md(e.g),10),I=ch(e.f),u=v,p=0,y=u.length;p<y;++p)o=u[p],T=l(l6(e,o.g),173),T?je(I,l(hgt(e,T),86)):I.c.push(null);for(L=new ui,ei(lr(Ia(lr(new yt(null,new vt(I,16)),new qze),new QJe(t)),new Vze),new eXe(L)),yc(L,e.a),r=new Pe,s=v,f=0,m=s.length;f<m;++f)o=s[f],li(r,Fht(e,wW(l(l6(L,o.g),22)))),N=l(He(I,o.g),86),N&&Ot(r.c,N);return li(r,Fht(e,wW(l(l6(L,v[v.length-1].g+1),22)))),r}function hkn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;for(N=new Pe,s=new Pe,U=null,p=t.Jc();p.Ob();)f=l(p.Pb(),15),u=new aJe(f.a),Ot(s.c,u),U&&(u.d=U,U.e=u),U=u;for(oe=MAn(e),v=0;v<s.c.length;++v){for(I=null,G=dpe((at(0,s.c.length),l(s.c[0],657))),r=null,o=Kr,T=1;T<e.b.c.length;++T)J=G?b.Math.abs(G.b-T):b.Math.abs(T-I.b)+1,L=I?b.Math.abs(T-I.b):J+1,L<J?(y=I,m=L):(y=G,m=J),ne=(le=ue(ce(j(e,(Be(),jAe)))),oe[T]+b.Math.pow(m,le)),ne<o&&(o=ne,r=y,r.c=T),G&&T==G.b&&(I=G,G=Zon(G));r&&(je(N,Re(r.c)),r.a=!0,tgn(r))}return St(),$V(N.c,N.c.length,null),N}function k0e(e,t,r){var o,s,u,f,p,m;if(t.l==0&&t.m==0&&t.h==0)throw K(new M9("divide by zero"));if(e.l==0&&e.m==0&&e.h==0)return r&&(O1=Ua(0,0,0)),Ua(0,0,0);if(t.h==yD&&t.m==0&&t.l==0)return Tgn(e,r);if(m=!1,t.h>>19&&(t=k_(t),m=!m),f=JEn(t),u=!1,s=!1,o=!1,e.h==yD&&e.m==0&&e.l==0)if(s=!0,u=!0,f==-1)e=Snt((b_(),jEe)),o=!0,m=!m;else return p=mme(e,f),m&&DK(p),r&&(O1=Ua(0,0,0)),p;else e.h>>19&&(u=!0,e=k_(e),o=!0,m=!m);return f!=-1?Jhn(e,f,m,u,r):nbe(e,t)<0?(r&&(u?O1=k_(e):O1=Ua(e.l,e.m,e.h)),Ua(0,0,0)):GTn(o?e:Ua(e.l,e.m,e.h),t,m,u,s,r)}function MJ(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;if(f=e.e,m=t.e,f==0)return t;if(m==0)return e;if(u=e.d,p=t.d,u+p==2)return r=Gi(e.a[0],Po),o=Gi(t.a[0],Po),f==m?(v=To(r,o),L=On(v),I=On(Cb(v,32)),I==0?new op(f,L):new Ib(f,2,Z(X(Rn,1),Xn,30,15,[L,I]))):(Pf(),_8(f<0?El(o,r):El(r,o),0)?v1(f<0?El(o,r):El(r,o)):x3(v1(ag(f<0?El(o,r):El(r,o)))));if(f==m)N=f,T=u>=p?WW(e.a,u,t.a,p):WW(t.a,p,e.a,u);else{if(s=u!=p?u>p?1:-1:Mge(e.a,t.a,u),s==0)return Pf(),gI;s==1?(N=f,T=qW(e.a,u,t.a,p)):(N=m,T=qW(t.a,p,e.a,u))}return y=new Ib(N,T.length,T),M3(y),y}function pkn(e,t){var r,o,s,u,f,p,m;if(!(e.g>t.f||t.g>e.f)){for(r=0,o=0,f=e.w.a.ec().Jc();f.Ob();)s=l(f.Pb(),12),GK(_s(Z(X($i,1),Me,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&++r;for(p=e.r.a.ec().Jc();p.Ob();)s=l(p.Pb(),12),GK(_s(Z(X($i,1),Me,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&--r;for(m=t.w.a.ec().Jc();m.Ob();)s=l(m.Pb(),12),GK(_s(Z(X($i,1),Me,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&++o;for(u=t.r.a.ec().Jc();u.Ob();)s=l(u.Pb(),12),GK(_s(Z(X($i,1),Me,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&--o;r<o?new YP(e,t,o-r):o<r?new YP(t,e,r-o):(new YP(t,e,0),new YP(e,t,0))}}function gkn(e){var t,r,o,s,u,f,p,m,y,v;for(t=new IG,r=new IG,y=mt(GD,(s=NC(e.b,$n),s?In(Td((!s.b&&(s.b=new Xu((Tt(),Io),Hs,s)),s.b),Al)):null)),m=0;m<e.i;++m)p=l(e.g[m],182),se(p,104)?(f=l(p,20),f.Bb&Ws?(!(f.Bb&Ff)||!y&&(u=NC(f,$n),(u?In(Td((!u.b&&(u.b=new Xu((Tt(),Io),Hs,u)),u.b),UF)):null)==null))&&Tn(t,f):(v=Do(f),v&&v.Bb&Ws||(!(f.Bb&Ff)||!y&&(o=NC(f,$n),(o?In(Td((!o.b&&(o.b=new Xu((Tt(),Io),Hs,o)),o.b),UF)):null)==null))&&Tn(r,f))):(Oo(),l(p,69).vk()&&(p.qk()||(Tn(t,p),Tn(r,p))));fy(t),fy(r),e.a=l(t.g,258),l(r.g,258)}function IE(e,t,r){var o,s,u,f,p,m,y,v,T;if(Ur(t,r)>=0)return r;switch(d0(es(e,r))){case 2:{if(mt("",dg(e,r.ok()).ve())){if(m=qO(es(e,r)),p=a_(es(e,r)),v=Tme(e,t,m,p),v)return v;for(s=Qme(e,t),f=0,T=s.gc();f<T;++f)if(v=l(s.Xb(f),182),Ime(QV(es(e,v)),m))return v}return null}case 4:{if(mt("",dg(e,r.ok()).ve())){for(o=r;o;o=ecn(es(e,o)))if(y=qO(es(e,o)),p=a_(es(e,o)),v=Ame(e,t,y,p),v)return v;if(m=qO(es(e,r)),mt(um,m))return sbe(e,t);for(u=wJ(e,t),f=0,T=u.gc();f<T;++f)if(v=l(u.Xb(f),182),Ime(QV(es(e,v)),m))return v}return null}default:return null}}function bkn(e,t,r){var o,s,u,f,p,m,y,v;if(r.gc()==0)return!1;if(p=(Oo(),l(t,69).vk()),u=p?r:new m0(r.gc()),bp(e.e,t)){if(t.Qi())for(y=r.Jc();y.Ob();)m=y.Pb(),H7(e,t,m,se(t,104)&&(l(t,20).Bb&xo)!=0)||(s=gh(t,m),u.Gc(s)||u.Ec(s));else if(!p)for(y=r.Jc();y.Ob();)m=y.Pb(),s=gh(t,m),u.Ec(s)}else{if(r.gc()>1)throw K(new jt(WD));for(v=za(e.e.Ah(),t),o=l(e.g,123),f=0;f<e.i;++f)if(s=o[f],v.$l(s.Jk())){if(r.Gc(p?s:s.kd()))return!1;for(y=r.Jc();y.Ob();)m=y.Pb(),l(EE(e,f,p?l(m,76):gh(t,m)),76);return!0}p||(s=gh(t,r.Jc().Pb()),u.Ec(s))}return ti(e,u)}function mkn(e,t){var r,o,s,u,f,p,m,y,v;for(v=new Sr,p=(y=new Jh(e.c).a.vc().Jc(),new Dw(y));p.a.Ob();)u=(s=l(p.a.Pb(),45),l(s.kd(),459)),u.b==0&&Wr(v,u,v.c.b,v.c);for(;v.b!=0;)for(u=l(v.b==0?null:(un(v.b!=0),Vc(v,v.a.a)),459),u.a==null&&(u.a=0),o=new V(u.d);o.a<o.c.c.length;)r=l(q(o),659),r.b.a==null?r.b.a=ue(u.a)+r.a:t.o==(zd(),ym)?r.b.a=b.Math.min(ue(r.b.a),ue(u.a)+r.a):r.b.a=b.Math.max(ue(r.b.a),ue(u.a)+r.a),--r.b.b,r.b.b==0&&Gn(v,r.b);for(f=(m=new Jh(e.c).a.vc().Jc(),new Dw(m));f.a.Ob();)u=(s=l(f.a.Pb(),45),l(s.kd(),459)),t.i[u.c.p]=u.a}function wkn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L;for(v=r+t.c.c.a,I=new V(t.j);I.a<I.c.c.length;){if(N=l(q(I),12),s=_s(Z(X($i,1),Me,8,0,[N.i.n,N.n,N.a])),t.k==(Ht(),Aa)&&(p=l(j(N,(Ie(),mr)),12),s.a=_s(Z(X($i,1),Me,8,0,[p.i.n,p.n,p.a])).a,t.n.a=s.a),f=new Le(0,s.b),N.j==(Ue(),Zt))f.a=v;else if(N.j==Wt)f.a=r;else continue;if(L=b.Math.abs(s.a-f.a),!(L<=o&&!Amn(t)))for(u=N.g.c.length+N.e.c.length>1,y=new Vd(N.b);Ss(y.a)||Ss(y.b);)m=l(Ss(y.a)?q(y.a):q(y.b),17),T=m.c==N?m.d:m.c,b.Math.abs(_s(Z(X($i,1),Me,8,0,[T.i.n,T.n,T.a])).b-f.b)>1&&Z2n(e,m,f,u,N)}}function ykn(e){var t,r,o,s,u,f;if(s=new Ji(e.e,0),o=new Ji(e.a,0),e.d)for(r=0;r<e.b;r++)un(s.b<s.d.gc()),s.d.Xb(s.c=s.b++);else for(r=0;r<e.b-1;r++)un(s.b<s.d.gc()),s.d.Xb(s.c=s.b++),Lu(s);for(t=ue((un(s.b<s.d.gc()),ce(s.d.Xb(s.c=s.b++))));e.f-t>NZ;){for(u=t,f=0;b.Math.abs(t-u)<NZ;)++f,t=ue((un(s.b<s.d.gc()),ce(s.d.Xb(s.c=s.b++)))),un(o.b<o.d.gc()),o.d.Xb(o.c=o.b++);f<e.b&&(un(s.b>0),s.a.Xb(s.c=--s.b),IAn(e,e.b-f,u,o,s),un(s.b<s.d.gc()),s.d.Xb(s.c=s.b++)),un(o.b>0),o.a.Xb(o.c=--o.b)}if(!e.d)for(r=0;r<e.b-1;r++)un(s.b<s.d.gc()),s.d.Xb(s.c=s.b++),Lu(s);e.d=!0,e.c=!0}function Er(){Er=Y,M3e=(Yce(),Ks).b,aLt=l(ie(Ne(Ks.b),0),38),_m=l(ie(Ne(Ks.b),1),38),sLt=l(ie(Ne(Ks.b),2),38),y2=Ks.bb,l(ie(Ne(Ks.bb),0),38),l(ie(Ne(Ks.bb),1),38),v2=Ks.fb,O4=l(ie(Ne(Ks.fb),0),38),l(ie(Ne(Ks.fb),1),38),l(ie(Ne(Ks.fb),2),20),fw=Ks.qb,yLt=l(ie(Ne(Ks.qb),0),38),l(ie(Ne(Ks.qb),1),20),l(ie(Ne(Ks.qb),2),20),dM=l(ie(Ne(Ks.qb),3),38),fM=l(ie(Ne(Ks.qb),4),38),L4=l(ie(Ne(Ks.qb),6),38),D4=l(ie(Ne(Ks.qb),5),20),uLt=Ks.j,cLt=Ks.k,lLt=Ks.q,dLt=Ks.w,fLt=Ks.B,hLt=Ks.A,pLt=Ks.C,gLt=Ks.D,bLt=Ks._,mLt=Ks.cb,wLt=Ks.hb}function vkn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I;e.c=0,e.b=0,o=2*t.c.a.c.length+1;e:for(T=r.Jc();T.Ob();){if(v=l(T.Pb(),12),p=v.j==(Ue(),Vt)||v.j==dn,I=0,p){if(N=l(j(v,(Ie(),Nu)),9),!N)continue;I+=HSn(e,o,v,N)}else{for(y=new V(v.g);y.a<y.c.c.length;)if(m=l(q(y),17),s=m.d,s.i.c==t.c){je(e.a,v);continue e}else I+=e.g[s.p];for(f=new V(v.e);f.a<f.c.c.length;)if(u=l(q(f),17),s=u.c,s.i.c==t.c){je(e.a,v);continue e}else I-=e.g[s.p]}v.e.c.length+v.g.c.length>0?(e.f[v.p]=I/(v.e.c.length+v.g.c.length),e.c=b.Math.min(e.c,e.f[v.p]),e.b=b.Math.max(e.b,e.f[v.p])):p&&(e.f[v.p]=I)}}function Ekn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function Skn(e,t,r){var o,s,u,f;for(r.Tg("Graph transformation ("+e.a+")",1),f=Mb(t.a),u=new V(t.b);u.a<u.c.c.length;)s=l(q(u),26),li(f,s.a);if(o=l(j(t,(Be(),rAe)),424),o==(g6(),V$))switch(l(j(t,kc),87).g){case 2:P3(t,f);break;case 3:uC(t,f);break;case 4:e.a==(v_(),nL)?(uC(t,f),LW(t,f)):(LW(t,f),uC(t,f))}else if(e.a==(v_(),nL))switch(l(j(t,kc),87).g){case 2:P3(t,f),LW(t,f);break;case 3:uC(t,f),P3(t,f);break;case 4:P3(t,f),uC(t,f)}else switch(l(j(t,kc),87).g){case 2:P3(t,f),LW(t,f);break;case 3:P3(t,f),uC(t,f);break;case 4:uC(t,f),P3(t,f)}r.Ug()}function Tkn(e){var t,r,o,s,u,f,p,m;for(u=new V(e.a.b);u.a<u.c.c.length;)s=l(q(u),84),s.b.c=s.g.c,s.b.d=s.g.d;for(m=new Le(Kr,Kr),t=new Le(Oi,Oi),o=new V(e.a.b);o.a<o.c.c.length;)r=l(q(o),84),m.a=b.Math.min(m.a,r.g.c),m.b=b.Math.min(m.b,r.g.d),t.a=b.Math.max(t.a,r.g.c+r.g.b),t.b=b.Math.max(t.b,r.g.d+r.g.a);for(p=yP(e.c).a.nc();p.Ob();)f=l(p.Pb(),49),r=l(f.b,84),m.a=b.Math.min(m.a,r.g.c),m.b=b.Math.min(m.b,r.g.d),t.a=b.Math.max(t.a,r.g.c+r.g.b),t.b=b.Math.max(t.b,r.g.d+r.g.a);e.d=B8(new Le(m.a,m.b)),e.e=Ri(new Le(t.a,t.b),m),e.a.a.c.length=0,e.a.b.c.length=0}function Avt(e,t,r){var o,s,u,f,p,m;for(Gc(t,(XS(),hx))?m=ue(ce(ye(t,hx))):m=r,s=m+t.f+b.Math.max(l(ye(t,(_n(),xp)),125).a,e.b),p=new en((!t.e&&(t.e=new Et(Cr,t,7,4)),t.e));p.e!=p.i.gc();)if(u=l(rn(p),74),o=l(ie((!u.c&&(u.c=new Et(pn,u,5,8)),u.c),0),19),Gc(o,hx)&&s>ue(ce(ye(o,hx)))+l(ye(o,xp),125).d)throw K(new Af("Invalid vertical constraints. Node "+o.k+" has a vertical constraint that is too low for its ancestors."));for(f=new en((!t.e&&(t.e=new Et(Cr,t,7,4)),t.e));f.e!=f.i.gc();)u=l(rn(f),74),o=l(ie((!u.c&&(u.c=new Et(pn,u,5,8)),u.c),0),19),Avt(e,o,s)}function Akn(e){H3();var t,r,o,s,u,f,p;for(p=new uZe,r=new V(e);r.a<r.c.c.length;)t=l(q(r),148),(!p.b||t.c>=p.b.c)&&(p.b=t),(!p.c||t.c<=p.c.c)&&(p.d=p.c,p.c=t),(!p.e||t.d>=p.e.d)&&(p.e=t),(!p.f||t.d<=p.f.d)&&(p.f=t);return o=new r7((__(),J0)),ZO(e,Mxt,new Ds(Z(X(eL,1),Rt,378,0,[o]))),f=new r7(Fy),ZO(e,Lxt,new Ds(Z(X(eL,1),Rt,378,0,[f]))),s=new r7(jy),ZO(e,Dxt,new Ds(Z(X(eL,1),Rt,378,0,[s]))),u=new r7(qE),ZO(e,Oxt,new Ds(Z(X(eL,1),Rt,378,0,[u]))),aJ(o.c,J0),aJ(s.c,jy),aJ(u.c,qE),aJ(f.c,Fy),p.a.c.length=0,li(p.a,o.c),li(p.a,ic(s.c)),li(p.a,u.c),li(p.a,ic(f.c)),p}function _kn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;for(t.Tg(HSt,1),I=ue(ce(ye(e,(yh(),rv)))),f=ue(ce(ye(e,(ef(),a4)))),p=l(ye(e,s4),100),ige((!e.a&&(e.a=new xe(En,e,10,11)),e.a)),v=bvt((!e.a&&(e.a=new xe(En,e,10,11)),e.a),I,f),!e.a&&(e.a=new xe(En,e,10,11)),y=new V(v);y.a<y.c.c.length;)for(m=l(q(y),189),s=new V(m.a);s.a<s.c.c.length;)o=l(q(s),175),N=new The(o.s,o.t,ue(ce(ye(e,a4)))),lge(N,o),je(m.d,N);T=Y1t(v,f),L=b.Math.max(T.a,ue(ce(ye(e,o4)))-(p.b+p.c)),u=b.Math.max(T.b,ue(ce(ye(e,zB)))-(p.d+p.a)),r=u-T.b,Vn(e,i4,r),Vn(e,jT,L),Vn(e,lx,u+r),Vn(e,GB,v),t.Ug()}function kkn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U;for(y=new uh,v=new uh,L=new uh,U=new uh,m=ue(ce(j(t,(Be(),wm)))),u=ue(ce(j(t,od))),p=new V(r);p.a<p.c.c.length;)if(f=l(q(p),9),T=l(j(f,(Ie(),Us)),64),T==(Ue(),Vt))for(v.a.yc(f,v),s=new Ft(Gt(si(f).a.Jc(),new D));an(s);)o=l(Qt(s),17),pi(y,o.c.i);else if(T==dn)for(U.a.yc(f,U),s=new Ft(Gt(si(f).a.Jc(),new D));an(s);)o=l(Qt(s),17),pi(L,o.c.i);y.a.gc()!=0&&(N=new nW(2,u),I=I0e(N,t,y,v,-m-t.c.b),I>0&&(e.a=m+(I-1)*u,t.c.b+=e.a,t.f.b+=e.a)),L.a.gc()!=0&&(N=new nW(1,u),I=I0e(N,t,L,U,t.f.b+m-t.c.b),I>0&&(t.f.b+=m+(I-1)*u))}function _vt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;for(v=ue(ce(j(e,(Be(),mm)))),o=ue(ce(j(e,DAe))),N=new xG,Ae(N,mm,v+o),y=t,J=y.d,U=y.c.i,ne=y.d.i,G=Wle(U.c),oe=Wle(ne.c),s=new Pe,T=G;T<=oe;T++)p=new Xd(e),Kh(p,(Ht(),gi)),Ae(p,(Ie(),mr),y),Ae(p,Zr,(qi(),fa)),Ae(p,yB,N),I=l(He(e.b,T),26),T==G?E1(p,I.a.c.length-r,I):Ii(p,I),le=ue(ce(j(y,Ag))),le<0&&(le=0,Ae(y,Ag,le)),p.o.b=le,L=b.Math.floor(le/2),f=new aa,Ni(f,(Ue(),Wt)),Ts(f,p),f.n.b=L,m=new aa,Ni(m,Zt),Ts(m,p),m.n.b=L,Yi(y,f),u=new h0,qs(u,y),Ae(u,rs,null),go(u,m),Yi(u,J),xmn(p,y,u),Ot(s.c,u),y=u;return s}function xkn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;if(U=t.b.c.length,!(U<3)){for(I=me(Rn,Xn,30,U,15,1),T=0,v=new V(t.b);v.a<v.c.c.length;)y=l(q(v),26),I[T++]=y.a.c.length;for(N=new Ji(t.b,2),o=1;o<U-1;o++)for(r=(un(N.b<N.d.gc()),l(N.d.Xb(N.c=N.b++),26)),L=new V(r.a),u=0,p=0,m=0;m<I[o+1];m++)if(oe=l(q(L),9),m==I[o+1]-1||$be(e,oe,o+1,o)){for(f=I[o]-1,$be(e,oe,o+1,o)&&(f=e.c.e[l(l(l(He(e.c.b,oe.p),16).Xb(0),49).a,9).p]);p<=m;){if(ne=l(He(r.a,p),9),!$be(e,ne,o+1,o))for(J=l(He(e.c.b,ne.p),16).Jc();J.Ob();)G=l(J.Pb(),49),s=e.c.e[l(G.a,9).p],(s<u||s>f)&&pi(e.b,l(G.b,17));++p}u=f}}}function PJ(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(m=l(gg(e,(Ue(),Wt)).Jc().Pb(),12).e,I=l(gg(e,Zt).Jc().Pb(),12).g,p=m.c.length,oe=qd(l(He(e.j,0),12));p-- >0;){for(U=(at(0,m.c.length),l(m.c[0],17)),s=(at(0,I.c.length),l(I.c[0],17)),ne=s.d.e,u=As(ne,s,0),_cn(U,s.d,u),go(s,null),Yi(s,null),L=U.a,t&&Gn(L,new Eo(oe)),o=An(s.a,0);o.b!=o.d.c;)r=l(Sn(o),8),Gn(L,new Eo(r));for(J=U.b,N=new V(s.b);N.a<N.c.c.length;)T=l(q(N),70),Ot(J.c,T);if(G=l(j(U,(Be(),rs)),79),f=l(j(s,rs),79),f)for(G||(G=new Du,Ae(U,rs,G)),v=An(f,0);v.b!=v.d.c;)y=l(Sn(v),8),Gn(G,new Eo(y))}}function Nkn(e,t){var r,o,s,u,f,p,m,y;for(t.Tg("Sort By Input Model "+j(e,(Be(),Ch)),1),u=0,s=new V(e.b);s.a<s.c.c.length;){for(o=l(q(s),26),o.p=u,y=u==0?0:u-1,m=l(He(e.b,y),26),r=new hge(e,m,l(j(e,Ch),270),l(j(e,cte),353),(l(j(e,MI),330),!0)),B0t(o.a,r),p=new V(o.a);p.a<p.c.c.length;)f=l(q(p),9),be(j(f,Zr))!==be((qi(),Tm))&&be(j(f,Zr))!==be(fa)&&(St(),_i(f.j,new sgt(e,m,l(j(e,Ch),270),J1t(f),Ke(We(j(e,lte))))),t.ah("Node "+f+" ports: "+f.j));r=new hge(e,m,l(j(e,Ch),270),l(j(e,cte),353),(l(j(e,MI),330),!1)),B0t(o.a,r),t.ah("Layer "+u+": "+o),++u}t.Ug()}function x0e(e,t){var r;if(t==null||mt(t,tu)||t.length==0&&e.k!=(A1(),$T))return null;switch(e.k.g){case 1:return Zj(t,Ck)?(Lt(),$k):Zj(t,WZ)?(Lt(),D1):null;case 2:try{return Re(Ec(t,Zi,sr))}catch(o){if(o=ci(o),se(o,133))return null;throw K(o)}case 4:try{return yy(t)}catch(o){if(o=ci(o),se(o,133))return null;throw K(o)}case 3:return t;case 5:return vpt(e),Jmt(e,t);case 6:return vpt(e),IEn(e,e.a,t);case 7:try{return r=Mvn(e),r.ag(t),r}catch(o){if(o=ci(o),se(o,33))return null;throw K(o)}default:throw K(new Xo("Invalid type set for this layout option."))}}function N0e(e){var t;switch(e.d){case 1:{if(e.Qj())return e.o!=-2;break}case 2:{if(e.Qj())return e.o==-2;break}case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(t=e.Pj(),e.p){case 0:return t!=null&&Ke(We(t))!=c3(e.k,0);case 1:return t!=null&&l(t,224).a!=On(e.k)<<24>>24;case 2:return t!=null&&l(t,183).a!=(On(e.k)&Ei);case 6:return t!=null&&c3(l(t,192).a,e.k);case 5:return t!=null&&l(t,15).a!=On(e.k);case 7:return t!=null&&l(t,193).a!=On(e.k)<<16>>16;case 3:return t!=null&&ue(ce(t))!=e.j;case 4:return t!=null&&l(t,165).a!=e.j;default:return t==null?e.n!=null:!pr(t,e.n)}}function cD(e,t,r){var o,s,u,f;return e.ml()&&e.ll()&&(f=YV(e,l(r,57)),be(f)!==be(r))?(e.vj(t),e.Bj(t,Zlt(e,t,f)),e.$k()&&(u=(s=l(r,52),e.kl()?e.il()?s.Qh(e.b,Do(l(Nt(Ja(e.b),e.Jj()),20)).n,l(Nt(Ja(e.b),e.Jj()).Fk(),29).ik(),null):s.Qh(e.b,Ur(s.Ah(),Do(l(Nt(Ja(e.b),e.Jj()),20))),null,null):s.Qh(e.b,-1-e.Jj(),null,null)),!l(f,52).Mh()&&(u=(o=l(f,52),e.kl()?e.il()?o.Oh(e.b,Do(l(Nt(Ja(e.b),e.Jj()),20)).n,l(Nt(Ja(e.b),e.Jj()).Fk(),29).ik(),u):o.Oh(e.b,Ur(o.Ah(),Do(l(Nt(Ja(e.b),e.Jj()),20))),null,u):o.Oh(e.b,-1-e.Jj(),null,u))),u&&u.mj()),Yu(e.b)&&e.Hj(e.Gj(9,r,f,t,!1)),f):r}function kvt(e){var t,r,o,s,u,f,p,m,y,v;for(o=new Pe,f=new V(e.e.a);f.a<f.c.c.length;){for(s=l(q(f),126),v=0,s.k.c.length=0,r=new V(wE(s));r.a<r.c.c.length;)t=l(q(r),220),t.f&&(je(s.k,t),++v);v==1&&Ot(o.c,s)}for(u=new V(o);u.a<u.c.c.length;)for(s=l(q(u),126);s.k.c.length==1;){for(y=l(q(new V(s.k)),220),e.b[y.c]=y.g,p=y.d,m=y.e,r=new V(wE(s));r.a<r.c.c.length;)t=l(q(r),220),pr(t,y)||(t.f?p==t.d||m==t.e?e.b[y.c]-=e.b[t.c]-t.g:e.b[y.c]+=e.b[t.c]-t.g:s==p?t.d==s?e.b[y.c]+=t.g:e.b[y.c]-=t.g:t.d==s?e.b[y.c]-=t.g:e.b[y.c]+=t.g);Xa(p.k,y),Xa(m.k,y),p==s?s=y.e:s=y.d}}function xvt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I;if(r=l(Go(e.b,t),129),m=l(l(wr(e.r,t),24),85),m.dc()){r.n.b=0,r.n.c=0;return}for(y=e.u.Gc((ku(),Cp)),f=0,p=m.Jc(),v=null,T=0,N=0;p.Ob();)o=l(p.Pb(),116),s=ue(ce(o.b.mf((U8(),g$)))),u=o.b.Kf().a,e.A.Gc((oc(),Am))&&Zwt(e,t),v?(I=N+v.d.c+e.w+o.d.b,f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(T-s)<=nf||T==s||isNaN(T)&&isNaN(s)?0:I/(s-T)))):e.C&&e.C.b>0&&(f=b.Math.max(f,sht(e.C.b+o.d.b,s))),v=o,T=s,N=u;e.C&&e.C.c>0&&(I=N+e.C.c,y&&(I+=v.d.c),f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(T-1)<=nf||T==1||isNaN(T)&&isNaN(1)?0:I/(1-T)))),r.n.b=0,r.a.a=f}function Nvt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I;if(r=l(Go(e.b,t),129),m=l(l(wr(e.r,t),24),85),m.dc()){r.n.d=0,r.n.a=0;return}for(y=e.u.Gc((ku(),Cp)),f=0,e.A.Gc((oc(),Am))&&Qwt(e,t),p=m.Jc(),v=null,N=0,T=0;p.Ob();)o=l(p.Pb(),116),u=ue(ce(o.b.mf((U8(),g$)))),s=o.b.Kf().b,v?(I=T+v.d.a+e.w+o.d.d,f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(N-u)<=nf||N==u||isNaN(N)&&isNaN(u)?0:I/(u-N)))):e.C&&e.C.d>0&&(f=b.Math.max(f,sht(e.C.d+o.d.d,u))),v=o,N=u,T=s;e.C&&e.C.a>0&&(I=T+e.C.a,y&&(I+=v.d.a),f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(N-1)<=nf||N==1||isNaN(N)&&isNaN(1)?0:I/(1-N)))),r.n.d=0,r.a.b=f}function Cvt(e,t,r){var o,s,u,f,p,m;for(this.g=e,p=t.d.length,m=r.d.length,this.d=me(Nh,yg,9,p+m,0,1),f=0;f<p;f++)this.d[f]=t.d[f];for(u=0;u<m;u++)this.d[p+u]=r.d[u];if(t.e){if(this.e=$O(t.e),this.e.Kc(r),r.e)for(s=r.e.Jc();s.Ob();)o=l(s.Pb(),242),o!=t&&(this.e.Gc(o)?--o.c:this.e.Ec(o))}else r.e&&(this.e=$O(r.e),this.e.Kc(t));this.f=t.f+r.f,this.a=t.a+r.a,this.a>0?lK(this,this.f/this.a):Hd(t.g,t.d[0]).a!=null&&Hd(r.g,r.d[0]).a!=null?lK(this,(ue(Hd(t.g,t.d[0]).a)+ue(Hd(r.g,r.d[0]).a))/2):Hd(t.g,t.d[0]).a!=null?lK(this,Hd(t.g,t.d[0]).a):Hd(r.g,r.d[0]).a!=null&&lK(this,Hd(r.g,r.d[0]).a)}function Ckn(e,t,r,o,s,u,f,p){var m,y,v,T,N,I,L,U,G,J;if(L=!1,y=Rme(r.q,t.f+t.b-r.q.f),I=o.f>t.b&&p,J=s-(r.q.e+y-f),T=(m=OC(o,J,!1),m.a),I&&T>o.f)return!1;if(I){for(N=0,G=new V(t.d);G.a<G.c.c.length;)U=l(q(G),320),N+=Rme(U,o.f)+f;J=s-N}return J<o.g||(v=u==e.c.length-1&&J>=(at(u,e.c.length),l(e.c[u],189)).e,!I&&T>t.b&&!v)?!1:((v||I||T<=t.b)&&(v&&T>t.b?(r.d=T,s6(r,rmt(r,T))):(gbt(r.q,y),r.c=!0),s6(o,s-(r.s+r.r)),$6(o,r.q.e+r.q.d,t.f),mj(t,o),e.c.length>u&&(z6((at(u,e.c.length),l(e.c[u],189)),o),(at(u,e.c.length),l(e.c[u],189)).a.c.length==0&&og(e,u)),L=!0),L)}function Ikn(e){var t,r,o;for(bE(J1,Z(X(GE,1),Rt,139,0,[new Lue])),r=new Bue(e),o=0;o<r.a.length;++o)t=sy(r,o).re().a,mt(t,"layered")?bE(J1,Z(X(GE,1),Rt,139,0,[new mWe])):mt(t,"force")?bE(J1,Z(X(GE,1),Rt,139,0,[new tWe])):mt(t,"stress")?bE(J1,Z(X(GE,1),Rt,139,0,[new iWe])):mt(t,"mrtree")?bE(J1,Z(X(GE,1),Rt,139,0,[new jWe])):mt(t,"radial")?bE(J1,Z(X(GE,1),Rt,139,0,[new OWe])):mt(t,"sporeOverlap")||mt(t,"sporeCompaction")?bE(J1,Z(X(GE,1),Rt,139,0,[new GWe])):mt(t,"rectpacking")?bE(J1,Z(X(GE,1),Rt,139,0,[new BWe])):mt(t,"vertiflex")&&bE(J1,Z(X(GE,1),Rt,139,0,[new VWe]))}function Rkn(e,t){var r,o,s,u,f,p,m,y,v,T;for(e.a=new Tst(qhn(w4)),o=new V(t.a);o.a<o.c.c.length;){for(r=l(q(o),847),p=new lY(Z(X(aee,1),Rt,84,0,[])),je(e.a.a,p),y=new V(r.d);y.a<y.c.c.length;)m=l(q(y),120),v=new vde(e,m),R0e(v,l(j(r.c,(Ie(),Tp)),24)),ba(e.g,r)||(Yn(e.g,r,new Le(m.c,m.d)),Yn(e.f,r,v)),je(e.a.b,v),DW(p,v);for(f=new V(r.b);f.a<f.c.c.length;)u=l(q(f),598),v=new vde(e,u.Bf()),Yn(e.b,u,new ko(p,v)),R0e(v,l(j(r.c,(Ie(),Tp)),24)),u.zf()&&(T=new O1e(e,u.zf(),1),R0e(T,l(j(r.c,Tp),24)),s=new lY(Z(X(aee,1),Rt,84,0,[])),DW(s,T),wt(e.c,u.yf(),new ko(p,T)))}return e.a}function Okn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I;for(r.Tg("Breadth-first cycle removal",1),e.c=t,T=t.a,e.a=new Sr,e.e=new hi,e.d=new hi,e.f=me(uu,Ad,30,T.c.length,16,1),e.b=new Pe,p=0,v=new V(T);v.a<v.c.c.length;)y=l(q(v),9),y.p=p,ry(si(y))&&pi(e.e,y),ry(Rr(y))&&pi(e.d,y),++p;for(I=e.e.a.ec().Jc();I.Ob();)N=l(I.Pb(),9),Gn(e.a,N),she(e);for(she(e),o=!0;o;){for(o=!1,f=0;f<T.c.length;f++)if(!e.f[f]){m=(at(f,T.c.length),l(T.c[f],9)),Gn(e.a,m),o=!0;break}she(e)}for(u=new V(e.b);u.a<u.c.c.length;)s=l(q(u),17),bg(s,!0),Ae(t,(Ie(),xT),(Lt(),!0));e.e=null,e.f=null,e.a=null,e.b=null,r.Ug()}function Dkn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G;if(f=r.Jk(),se(f,104)&&l(f,20).Bb&xo&&(N=l(r.kd(),52),U=w1(e.e,N),U!=N)){if(v=gh(f,U),g3(e,t,UY(e,t,v)),T=null,Yu(e.e)&&(o=IE((mu(),so),e.e.Ah(),f),o!=Nt(e.e.Ah(),e.c))){for(G=za(e.e.Ah(),f),p=0,u=l(e.g,123),m=0;m<t;++m)s=u[m],G.$l(s.Jk())&&++p;T=new FW(e.e,9,o,N,U,p,!1),T.lj(new ap(e.e,9,e.c,r,v,t,!1))}return L=l(f,20),I=Do(L),I?(T=N.Qh(e.e,Ur(N.Ah(),I),null,T),T=l(U,52).Oh(e.e,Ur(U.Ah(),I),null,T)):L.Bb&Ws&&(y=-1-Ur(e.e.Ah(),L),T=N.Qh(e.e,y,null,null),!l(U,52).Mh()&&(T=l(U,52).Oh(e.e,y,null,T))),T&&T.mj(),v}return r}function Ivt(e){var t;this.a=e,t=(Ht(),Z(X(hee,1),Ce,252,0,[Xr,gi,mi,Aa,ta,af,tL,EI])).length,this.b=Kw(nre,[Me,Gye],[597,149],0,[t,t],2),this.c=Kw(nre,[Me,Gye],[597,149],0,[t,t],2),vW(this,Xr,(Be(),wm),ev),Y3(this,Xr,gi,mm,$1),VO(this,Xr,Aa,mm),VO(this,Xr,mi,mm),Y3(this,Xr,ta,wm,ev),vW(this,gi,od,Zy),VO(this,gi,Aa,od),VO(this,gi,mi,od),Y3(this,gi,ta,mm,$1),Mnt(this,Aa,od),VO(this,Aa,mi,od),VO(this,Aa,ta,Ste),Mnt(this,mi,UI),Y3(this,mi,ta,ox,ix),vW(this,ta,od,od),vW(this,af,od,Zy),Y3(this,af,Xr,mm,$1),Y3(this,af,ta,mm,$1),Y3(this,af,gi,mm,$1)}function Lkn(e,t,r,o,s,u){var f;if(!(t==null||!nY(t,p3e,g3e)))throw K(new jt("invalid scheme: "+t));if(!e&&!(r!=null&&xf(r,Qa(35))==-1&&r.length>0&&(Yt(0,r.length),r.charCodeAt(0)!=47)))throw K(new jt("invalid opaquePart: "+r));if(e&&!(t!=null&&zN(yU,t.toLowerCase()))&&!(r==null||!nY(r,C4,I4)))throw K(new jt(AAt+r));if(e&&t!=null&&zN(yU,t.toLowerCase())&&!T0n(r))throw K(new jt(AAt+r));if(!Ign(o))throw K(new jt("invalid device: "+o));if(!_pn(s))throw f=s==null?"invalid segments: null":"invalid segment: "+wpn(s),K(new jt(f));if(!(u==null||xf(u,Qa(35))==-1))throw K(new jt("invalid query: "+u))}function Rvt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;if(N=new Eo(e.o),J=t.a/N.a,p=t.b/N.b,U=t.a-N.a,u=t.b-N.b,r)for(s=be(j(e,(Be(),Zr)))===be((qi(),fa)),L=new V(e.j);L.a<L.c.c.length;)switch(I=l(q(L),12),I.j.g){case 1:s||(I.n.a*=J);break;case 2:I.n.a+=U,s||(I.n.b*=p);break;case 3:s||(I.n.a*=J),I.n.b+=u;break;case 4:s||(I.n.b*=p)}for(y=new V(e.b);y.a<y.c.c.length;)m=l(q(y),70),v=m.n.a+m.o.a/2,T=m.n.b+m.o.b/2,G=v/N.a,f=T/N.b,G+f>=1&&(G-f>0&&T>=0?(m.n.a+=U,m.n.b+=u*f):G-f<0&&v>=0&&(m.n.a+=U*G,m.n.b+=u));e.o.a=t.a,e.o.b=t.b,Ae(e,(Be(),gm),(oc(),o=l(md(_4),10),new Hc(o,l(Gl(o,o.length),10),0)))}function Mkn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;if(r.Tg("Network simplex layering",1),e.b=t,J=l(j(t,(Be(),HI)),15).a*4,G=e.b.a,G.c.length<1){r.Ug();return}for(u=kTn(e,G),U=null,s=An(u,0);s.b!=s.d.c;){for(o=l(Sn(s),16),p=J*po(b.Math.sqrt(o.gc())),f=BTn(o),yJ(Hce(wQt(zce(CV(f),p),U),!0),r.dh(1)),N=e.b.b,L=new V(f.a);L.a<L.c.c.length;){for(I=l(q(L),126);N.c.length<=I.e;)kb(N,N.c.length,new ra(e.b));v=l(I.f,9),Ii(v,l(He(N,I.e),26))}if(u.b>1)for(U=me(Rn,Xn,30,e.b.b.c.length,15,1),T=0,y=new V(e.b.b);y.a<y.c.c.length;)m=l(q(y),26),U[T++]=m.a.c.length}G.c.length=0,e.a=null,e.b=null,e.c=null,r.Ug()}function Pkn(e,t){var r,o,s,u,f,p,m,y,v,T;for(v=new Pe,T=new iE,u=null,s=0,o=0;o<t.length;++o)switch(r=t[o],apn(u,r)&&(s=c1e(e,T,v,CB,s)),gr(r,(Ie(),ew))&&(u=l(j(r,ew),9)),r.k.g){case 0:for(m=Jle(TS(ks(r,(Ue(),Vt)),new xue));gK(m);)f=l(xpe(m),12),e.d[f.p]=s++,Ot(v.c,f);for(s=c1e(e,T,v,CB,s),y=Jle(TS(ks(r,dn),new xue));gK(y);)f=l(xpe(y),12),e.d[f.p]=s++,Ot(v.c,f);break;case 3:ks(r,b_e).dc()||(f=l(ks(r,b_e).Xb(0),12),e.d[f.p]=s++,Ot(v.c,f)),ks(r,CB).dc()||l1(T,r);break;case 1:for(p=ks(r,(Ue(),Wt)).Jc();p.Ob();)f=l(p.Pb(),12),e.d[f.p]=s++,Ot(v.c,f);ks(r,Zt).Ic(new gtt(T,r))}return c1e(e,T,v,CB,s),v}function C0e(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;if(t==null||t.length==0)return null;if(u=l(ma(e.f,t),21),!u){for(s=(I=new Jh(e.d).a.vc().Jc(),new Dw(I));s.a.Ob();)if(r=(f=l(s.a.Pb(),45),l(f.kd(),21)),p=r.f,L=t.length,mt(p.substr(p.length-L,L),t)&&(t.length==p.length||uo(p,p.length-t.length-1)==46)){if(u)return null;u=r}if(!u){for(o=(N=new Jh(e.d).a.vc().Jc(),new Dw(N));o.a.Ob();)if(r=(f=l(o.a.Pb(),45),l(f.kd(),21)),T=r.g,T!=null){for(m=T,y=0,v=m.length;y<v;++y)if(p=m[y],L=t.length,mt(p.substr(p.length-L,L),t)&&(t.length==p.length||uo(p,p.length-t.length-1)==46)){if(u)return null;u=r}}}u&&Qo(e.f,t,u)}return u}function jkn(e,t){var r,o,s,u,f;for(r=new uS,f=!1,u=0;u<t.length;u++){if(o=(Yt(u,t.length),t.charCodeAt(u)),o==32){for(e7(e,r,0),r.a+=" ",e7(e,r,0);u+1<t.length&&(Yt(u+1,t.length),t.charCodeAt(u+1)==32);)++u;continue}if(f){o==39?u+1<t.length&&(Yt(u+1,t.length),t.charCodeAt(u+1)==39)?(r.a+=String.fromCharCode(o),++u):f=!1:r.a+=String.fromCharCode(o);continue}if(xf("GyMLdkHmsSEcDahKzZv",Qa(o))>0){e7(e,r,0),r.a+=String.fromCharCode(o),s=l1n(t,u),e7(e,r,s),u+=s-1;continue}o==39?u+1<t.length&&(Yt(u+1,t.length),t.charCodeAt(u+1)==39)?(r.a+="'",++u):f=!0:r.a+=String.fromCharCode(o)}e7(e,r,0),G0n(e)}function Fkn(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(oe=not(e),m=new Pe,u=e.c.length,y=u-1,v=u+1;oe.a.gc()!=0;){for(;r.b!=0;)J=(un(r.b!=0),l(Vc(r,r.a.a),117)),oe.a.Ac(J)!=null,J.g=y--,g0e(J,t,r,o);for(;t.b!=0;)ne=(un(t.b!=0),l(Vc(t,t.a.a),117)),oe.a.Ac(ne)!=null,ne.g=v++,g0e(ne,t,r,o);for(p=Zi,U=oe.a.ec().Jc();U.Ob();){if(L=l(U.Pb(),117),!o&&L.b>0&&L.a<=0){m.c.length=0,Ot(m.c,L);break}I=L.i-L.d,I>=p&&(I>p&&(m.c.length=0,p=I),Ot(m.c,L))}m.c.length!=0&&(f=l(He(m,s7(s,m.c.length)),117),oe.a.Ac(f)!=null,f.g=v++,g0e(f,t,r,o),m.c.length=0)}for(G=e.c.length+1,N=new V(e);N.a<N.c.c.length;)T=l(q(N),117),T.g<u&&(T.g=T.g+G)}function $kn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;for(y=_Z,m=jE,J=new Pe,L=new V(t);L.a<L.c.c.length;){for(I=l(q(L),9),s=new Pe,p=new Ft(Gt(si(I).a.Jc(),new D));an(p);)u=l(Qt(p),17),G=u.d.i,U=u.c.i,G.c.p==r&&Ot(s.c,G),U.c.p==r&&Ot(s.c,U);for(f=new Ft(Gt(Rr(I).a.Jc(),new D));an(f);)u=l(Qt(f),17),G=u.d.i,U=u.c.i,G.c.p==r&&Ot(s.c,G),U.c.p==r&&Ot(s.c,U);s.c.length==0?Ot(J.c,I):(St(),_i(s,e.b),N=ue(ce(j(l(He(s,s.c.length/2|0),9),(Ie(),r2)))),Ae(I,r2,N),y=b.Math.min(y,N),m=b.Math.max(m,N))}for(o=(m+y)/2,T=new V(J);T.a<T.c.c.length;)v=l(q(T),9),Ae(v,(Ie(),r2),o)}function Bkn(e,t){var r,o,s,u,f,p,m,y,v,T,N;for(s=new V(e.a.b);s.a<s.c.c.length;)for(r=l(q(s),26),m=new V(r.a);m.a<m.c.c.length;)p=l(q(m),9),t.j[p.p]=p,t.i[p.p]=t.o==(zd(),uf)?Oi:Kr;for(Zs(e.c),f=e.a.b,t.c==(Cf(),kg)&&(f=ic(f)),mcn(e.e,t,e.b),dO(t.p,null),u=f.Jc();u.Ob();)for(r=l(u.Pb(),26),y=r.a,t.o==(zd(),uf)&&(y=ic(y)),N=y.Jc();N.Ob();)T=l(N.Pb(),9),t.g[T.p]==T&&mEt(e,T,t);for(mkn(e,t),o=f.Jc();o.Ob();)for(r=l(o.Pb(),26),N=new V(r.a);N.a<N.c.c.length;)T=l(q(N),9),t.p[T.p]=t.p[t.g[T.p].p],T==t.g[T.p]&&(v=ue(t.i[t.j[T.p].p]),(t.o==(zd(),uf)&&v>Oi||t.o==ym&&v<Kr)&&(t.p[T.p]=ue(t.p[T.p])+v));e.e.wg()}function Ukn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G;if(Ke(We(j(r,(Be(),Wy)))))for(p=new V(r.j);p.a<p.c.c.length;)for(f=l(q(p),12),N=Of(f.g),y=N,v=0,T=y.length;v<T;++v)m=y[v],u=m.d.i==r,s=u&&Ke(We(j(m,pm))),s&&(L=m.c,I=l(Ut(e.b,L),9),I||(I=lD(L,(qi(),pf),L.j,-1,null,null,L.o,l(j(t,kc),87),t),Ae(I,(Ie(),mr),L),Yn(e.b,L,I),je(t.a,I)),G=m.d,U=l(Ut(e.b,G),9),U||(U=lD(G,(qi(),pf),G.j,1,null,null,G.o,l(j(t,kc),87),t),Ae(U,(Ie(),mr),G),Yn(e.b,G,U),je(t.a,U)),o=GW(m),go(o,l(He(I.j,0),12)),Yi(o,l(He(U.j,0),12)),wt(e.a,m,new V8(o,t,(Lo(),Fa))),l(j(t,(Ie(),_a)),24).Ec((Mo(),rl)))}function Hkn(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G;for(u=new Pe,y=new V(o);y.a<y.c.c.length;)if(p=l(q(y),447),f=null,p.f==(Lo(),Fa))for(L=new V(p.e);L.a<L.c.c.length;)I=l(q(L),17),G=I.d.i,ji(G)==t?cft(e,t,p,I,p.b,I.d):!r||S_(G,r)?_wn(e,t,p,o,I):(N=OJ(e,t,r,I,p.b,Fa,f),N!=f&&Ot(u.c,N),N.c&&(f=N));else for(T=new V(p.e);T.a<T.c.c.length;)if(v=l(q(T),17),U=v.c.i,ji(U)==t)cft(e,t,p,v,v.c,p.b);else{if(!r||S_(U,r))continue;N=OJ(e,t,r,v,p.b,Cu,f),N!=f&&Ot(u.c,N),N.c&&(f=N)}for(m=new V(u);m.a<m.c.c.length;)p=l(q(m),447),As(t.a,p.a,0)!=-1||je(t.a,p.a),p.c&&Ot(s.c,p)}function zkn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;for(s=l(j(e,(xr(),t4)),19),y=sr,v=sr,p=Zi,m=Zi,oe=An(e.b,0);oe.b!=oe.d.c;)J=l(Sn(oe),41),I=J.e,L=J.f,y=b.Math.min(y,I.a-L.a/2),v=b.Math.min(v,I.b-L.b/2),p=b.Math.max(p,I.a+L.a/2),m=b.Math.max(m,I.b+L.b/2);for(N=l(ye(s,(Ps(),G_e)),100),ne=An(e.b,0);ne.b!=ne.d.c;)J=l(Sn(ne),41),T=j(J,t4),se(T,209)&&(u=l(T,19),Bc(u,J.e.a,J.e.b),eD(u,J));for(G=An(e.a,0);G.b!=G.d.c;)U=l(Sn(G),65),o=l(j(U,t4),74),o&&(t=U.a,r=AC(o),b0e(t,r));le=p-y+(N.b+N.c),f=m-v+(N.d+N.a),Ke(We(ye(s,(_n(),av))))||L0(s,le,f,!1,!1),Vn(s,sv,le-(N.b+N.c)),Vn(s,ov,f-(N.d+N.a))}function Ovt(e){var t,r,o,s,u,f,p;for(t=0,u=new V(e.b.a);u.a<u.c.c.length;)o=l(q(u),197),o.b=0,o.c=0;for(Qbt(e,0),rY(e,e.g),L7(e.c),jce(e.c),r=(vi(),is),sD(Uq(RE(sD(Uq(RE(sD(RE(e.c,r)),tgt(r)))),r))),RE(e.c,is),JK(e,e.g),jbt(e,0),dvt(e,0),$0t(e,1),Qbt(e,1),rY(e,e.d),L7(e.c),f=new V(e.b.a);f.a<f.c.c.length;)o=l(q(f),197),t+=b.Math.abs(o.c);for(p=new V(e.b.a);p.a<p.c.c.length;)o=l(q(p),197),o.b=0,o.c=0;for(r=il,sD(Uq(RE(sD(Uq(RE(sD(jce(RE(e.c,r))),tgt(r)))),r))),RE(e.c,is),JK(e,e.d),jbt(e,1),dvt(e,1),$0t(e,0),jce(e.c),s=new V(e.b.a);s.a<s.c.c.length;)o=l(q(s),197),t+=b.Math.abs(o.c);return t}function Gkn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(r=l(j(e,(Be(),Zr)),103),f=e.f,u=e.d,p=f.a+u.b+u.c,m=0-u.d-e.c.b,v=f.b+u.d+u.a-e.c.b,y=new Pe,T=new Pe,s=new V(t);s.a<s.c.c.length;){switch(o=l(q(s),9),r.g){case 1:case 2:case 3:C2n(o);break;case 4:N=l(j(o,ow),8),I=N?N.a:0,o.n.a=p*ue(ce(j(o,(Ie(),tw))))-I,Oj(o,!0,!1);break;case 5:L=l(j(o,ow),8),U=L?L.a:0,o.n.a=ue(ce(j(o,(Ie(),tw))))-U,Oj(o,!0,!1),f.a=b.Math.max(f.a,o.n.a+o.o.a/2)}switch(l(j(o,(Ie(),Us)),64).g){case 1:o.n.b=m,Ot(y.c,o);break;case 3:o.n.b=v,Ot(T.c,o)}}switch(r.g){case 1:case 2:Hpt(y,e),Hpt(T,e);break;case 3:zpt(y,e),zpt(T,e)}}function qkn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L;for(r.Tg("Label dummy switching",1),o=l(j(t,(Be(),lB)),233),thn(t),s=mEn(t,o),e.a=me(Ki,Wo,30,t.b.c.length,15,1),p=(ZS(),Z(X(Kk,1),Ce,233,0,[Wk,TI,Vk,Hy,YE,KE])),v=0,I=p.length;v<I;++v)if(u=p[v],(u==YE||u==KE||u==Hy)&&!l(fu(s.a,u)?s.b[u.g]:null,16).dc()){lhn(e,t);break}for(m=Z(X(Kk,1),Ce,233,0,[Wk,TI,Vk,Hy,YE,KE]),T=0,L=m.length;T<L;++T)u=m[T],u==YE||u==KE||u==Hy||byt(e,l(fu(s.a,u)?s.b[u.g]:null,16));for(f=Z(X(Kk,1),Ce,233,0,[Wk,TI,Vk,Hy,YE,KE]),y=0,N=f.length;y<N;++y)u=f[y],(u==YE||u==KE||u==Hy)&&byt(e,l(fu(s.a,u)?s.b[u.g]:null,16));e.a=null,r.Ug()}function Dvt(e,t){var r,o,s,u,f,p,m,y,v;if(y=t,!(y.b==null||e.b==null)){for(kE(e),DC(e),kE(y),DC(y),r=me(Rn,Xn,30,e.b.length+y.b.length,15,1),v=0,o=0,f=0;o<e.b.length&&f<y.b.length;)if(s=e.b[o],u=e.b[o+1],p=y.b[f],m=y.b[f+1],u<p)o+=2;else if(u>=p&&s<=m)p<=s&&u<=m?(r[v++]=s,r[v++]=u,o+=2):p<=s?(r[v++]=s,r[v++]=m,e.b[o]=m+1,f+=2):u<=m?(r[v++]=p,r[v++]=u,o+=2):(r[v++]=p,r[v++]=m,e.b[o]=m+1);else if(m<s)f+=2;else throw K(new vs("Token#intersectRanges(): Internal Error: ["+e.b[o]+","+e.b[o+1]+"] & ["+y.b[f]+","+y.b[f+1]+"]"));for(;o<e.b.length;)r[v++]=e.b[o++],r[v++]=e.b[o++];e.b=me(Rn,Xn,30,v,15,1),ua(r,0,e.b,0,v)}}function Vkn(e){var t,r,o,s,u,f,p;for(t=new Pe,e.g=new Pe,e.d=new Pe,f=new ly(new Ow(e.f.b).a);f.b;)u=gE(f),je(t,l(l(u.kd(),49).b,84)),Zh(l(u.jd(),598).yf())?je(e.d,l(u.kd(),49)):je(e.g,l(u.kd(),49));for(rY(e,e.d),rY(e,e.g),e.c=new Qmt(e.b),vQt(e.c,(ole(),xxt)),JK(e,e.d),JK(e,e.g),li(t,e.c.a.b),e.e=new Le(Kr,Kr),e.a=new Le(Oi,Oi),o=new V(t);o.a<o.c.c.length;)r=l(q(o),84),e.e.a=b.Math.min(e.e.a,r.g.c),e.e.b=b.Math.min(e.e.b,r.g.d),e.a.a=b.Math.max(e.a.a,r.g.c+r.g.b),e.a.b=b.Math.max(e.a.b,r.g.d+r.g.a);Gce(e.c,new n9),p=0;do s=Ovt(e),++p;while((p<2||s>mg)&&p<10);Gce(e.c,new r9),Ovt(e),csn(e.c),Tkn(e.f)}function Wkn(e,t){var r,o,s,u,f,p,m,y,v,T,N;switch(e.k.g){case 1:if(o=l(j(e,(Ie(),mr)),17),r=l(j(o,cTe),79),r?Ke(We(j(o,Tg)))&&(r=Rge(r)):r=new Du,y=l(j(e,Cd),12),y){if(v=_s(Z(X($i,1),Me,8,0,[y.i.n,y.n,y.a])),t<=v.a)return v.b;Wr(r,v,r.a,r.a.a)}if(T=l(j(e,Nl),12),T){if(N=_s(Z(X($i,1),Me,8,0,[T.i.n,T.n,T.a])),N.a<=t)return N.b;Wr(r,N,r.c.b,r.c)}if(r.b>=2){for(m=An(r,0),f=l(Sn(m),8),p=l(Sn(m),8);p.a<t&&m.b!=m.d.c;)f=p,p=l(Sn(m),8);return f.b+(t-f.a)/(p.a-f.a)*(p.b-f.b)}break;case 3:switch(u=l(j(l(He(e.j,0),12),(Ie(),mr)),12),s=u.i,u.j.g){case 1:return s.n.b;case 3:return s.n.b+s.o.b}}return cbe(e).b}function Kkn(e){var t,r,o,s,u,f,p,m,y,v,T;for(f=new V(e.d.b);f.a<f.c.c.length;)for(u=l(q(f),26),m=new V(u.a);m.a<m.c.c.length;){if(p=l(q(m),9),Ke(We(j(p,(Be(),DI))))&&!ry(Df(p))){o=l(San(Df(p)),17),v=o.c.i,v==p&&(v=o.d.i),T=new ko(v,Ri(So(p.n),v.n)),Yn(e.b,p,T);continue}s=new ql(p.n.a-p.d.b,p.n.b-p.d.d,p.o.a+p.d.b+p.d.c,p.o.b+p.d.d+p.d.a),t=Trt(Iet(Net(Cet(new Sce,p),s),rNt),e.a),Srt(WQt(Nft(new Ece,Z(X(h$,1),Rt,60,0,[t])),t),e.a),y=new VG,Yn(e.e,t,y),r=yd(new Ft(Gt(si(p).a.Jc(),new D)))-yd(new Ft(Gt(Rr(p).a.Jc(),new D))),r<0?N6(y,!0,(vi(),is)):r>0&&N6(y,!0,(vi(),cs)),p.k==(Ht(),mi)&&Mst(y),Yn(e.f,p,t)}}function Lvt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne;for(y=Kr,v=Kr,p=Oi,m=Oi,N=new V(t.i);N.a<N.c.c.length;)T=l(q(N),68),s=l(l(Ut(e.g,T.a),49).b,19),Bc(s,T.b.c,T.b.d),y=b.Math.min(y,s.i),v=b.Math.min(v,s.j),p=b.Math.max(p,s.i+s.g),m=b.Math.max(m,s.j+s.f);for(I=l(ye(e.c,(W6(),kOt)),100),L0(e.c,p-y+(I.b+I.c),m-v+(I.d+I.a),!0,!0),Cbe(e.c,-y+I.b,-v+I.d),o=new en(nat(e.c));o.e!=o.i.gc();)r=l(rn(o),74),f=AC(r),L=WY(r),G=Bbt(r),U=new Le(L.i+L.g/2,L.j+L.f/2),u=new Le(G.i+G.g/2,G.j+G.f/2),J=Ri(new Le(u.a,u.b),U),z_(J,L.g,L.f),br(U,J),ne=Ri(new Le(U.a,U.b),u),z_(ne,G.g,G.f),br(u,ne),kO(f,U.a,U.b),_O(f,u.a,u.b)}function Mvt(e,t){var r,o,s,u,f,p,m,y,v,T;for(m=!0,s=0,y=e.g[t.p],v=t.o.b+e.o,r=e.d[t.p][2],tc(e.b,y,Re(l(He(e.b,y),15).a-1+r)),tc(e.c,y,ue(ce(He(e.c,y)))-v+r*e.f),++y,y>=e.j?(++e.j,je(e.b,Re(1)),je(e.c,v)):(o=e.d[t.p][1],tc(e.b,y,Re(l(He(e.b,y),15).a+1-o)),tc(e.c,y,ue(ce(He(e.c,y)))+v-o*e.f)),(e.r==(_1(),vL)&&(l(He(e.b,y),15).a>e.k||l(He(e.b,y-1),15).a>e.k)||e.r==EL&&(ue(ce(He(e.c,y)))>e.n||ue(ce(He(e.c,y-1)))>e.n))&&(m=!1),f=new Ft(Gt(si(t).a.Jc(),new D));an(f);)u=l(Qt(f),17),p=u.c.i,e.g[p.p]==y&&(T=Mvt(e,p),s=s+l(T.a,15).a,m=m&&Ke(We(T.b)));return e.g[t.p]=y,s=s+e.d[t.p][0],new ko(Re(s),(Lt(),!!m))}function Ykn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;return N=e.c[t],I=e.c[r],L=l(j(N,(Ie(),CT)),16),!!L&&L.gc()!=0&&L.Gc(I)||(U=N.k!=(Ht(),gi)&&I.k!=gi,G=l(j(N,ew),9),J=l(j(I,ew),9),ne=G!=J,oe=!!G&&G!=N||!!J&&J!=I,le=kY(N,(Ue(),Vt)),Ee=kY(I,dn),oe=oe|(kY(N,dn)||kY(I,Vt)),we=oe&&ne||le||Ee,U&&we)||N.k==(Ht(),Aa)&&I.k==Xr||I.k==(Ht(),Aa)&&N.k==Xr?!1:(v=e.c[t],u=e.c[r],s=abt(e.e,v,u,(Ue(),Wt)),m=abt(e.i,v,u,Zt),v2n(e.f,v,u),y=wpt(e.b,v,u)+l(s.a,15).a+l(m.a,15).a+e.f.d,p=wpt(e.b,u,v)+l(s.b,15).a+l(m.b,15).a+e.f.b,e.a&&(T=l(j(v,mr),12),f=l(j(u,mr),12),o=q1t(e.g,T,f),y+=l(o.a,15).a,p+=l(o.b,15).a),y>p)}function Pvt(e,t){var r,o,s,u,f;r=ue(ce(j(t,(Be(),od)))),r<2&&Ae(t,od,2),o=l(j(t,kc),87),o==(vi(),hf)&&Ae(t,kc,Hj(t)),s=l(j(t,gIt),15),s.a==0?Ae(t,(Ie(),RT),new eY):Ae(t,(Ie(),RT),new qP(s.a)),u=We(j(t,$I)),u==null&&Ae(t,$I,(Lt(),be(j(t,_p))===be((hp(),vx)))),ei(new yt(null,new vt(t.a,16)),new sce(e)),ei(gs(new yt(null,new vt(t.b,16)),new t9),new ace(e)),f=new Ivt(t),Ae(t,(Ie(),t2),f),O3(e.a),pc(e.a,(Vi(),id),l(j(t,MT),173)),pc(e.a,xh,l(j(t,hB),173)),pc(e.a,la,l(j(t,jI),173)),pc(e.a,da,l(j(t,mB),173)),pc(e.a,$o,whn(l(j(t,_p),225))),Yle(e.a,qNn(t)),Ae(t,nte,MC(e.a,t))}function I0e(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J;for(T=new hn,f=new Pe,Tmt(e,r,e.d.zg(),f,T),Tmt(e,o,e.d.Ag(),f,T),e.b=.2*(U=I0t(gs(new yt(null,new vt(f,16)),new eHe)),G=I0t(gs(new yt(null,new vt(f,16)),new tHe)),b.Math.min(U,G)),u=0,p=0;p<f.c.length-1;p++)for(m=(at(p,f.c.length),l(f.c[p],117)),L=p+1;L<f.c.length;L++)u+=T0e(e,m,(at(L,f.c.length),l(f.c[L],117)));for(N=l(j(t,(Ie(),RT)),237),u>=2&&(J=Q0t(f,!0,N),!e.e&&(e.e=new IJe(e)),u1n(e.e,J,f,e.b)),kbt(f,N),nxn(f),I=-1,v=new V(f);v.a<v.c.c.length;)y=l(q(v),117),!(b.Math.abs(y.s-y.c)<Uf)&&(I=b.Math.max(I,y.o),e.d.xg(y,s,e.c));return e.d.a.a.$b(),I+1}function Jkn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;for(T=l(D8((f=An(new Xh(t).a.d,0),new qv(f))),41),L=T?l(j(T,(xr(),ene)),41):null,s=1;T&&L;){for(m=0,le=0,r=T,o=L,p=0;p<s;p++)r=VW(r),o=VW(o),le+=ue(ce(j(r,(xr(),cx)))),m+=ue(ce(j(o,cx)));if(oe=ue(ce(j(L,(xr(),xg)))),ne=ue(ce(j(T,xg))),N=s1e(e,T,L),I=oe+m+e.b+N-ne-le,0<I){for(y=t,v=0;y&&y!=o;)++v,y=l(j(y,LB),41);if(y)for(J=I/v,y=t;y!=o;)G=ue(ce(j(y,xg)))+I,Ae(y,xg,G),U=ue(ce(j(y,cx)))+I,Ae(y,cx,U),I-=J,y=l(j(y,LB),41);else return}++s,T.d.b==0?T=o0e(new Xh(t),s):T=l(D8((u=An(new Xh(T).a.d,0),new qv(u))),41),L=T?l(j(T,ene),41):null}}function Xkn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;for(t.Tg("Label dummy removal",1),o=ue(ce(j(e,(Be(),o2)))),s=ue(ce(j(e,Qy))),y=l(j(e,kc),87),m=new V(e.b);m.a<m.c.c.length;)for(p=l(q(m),26),T=new Ji(p.a,0);T.b<T.d.gc();)v=(un(T.b<T.d.gc()),l(T.d.Xb(T.c=T.b++),9)),v.k==(Ht(),ta)&&(N=l(j(v,(Ie(),mr)),17),L=ue(ce(j(N,Ag))),f=be(j(v,IT))===be((vc(),q1)),r=new Eo(v.n),f&&(r.b+=L+o),u=new Le(v.o.a,v.o.b+(v.k==ta&&!$A(lr(l(j(v,CI),16).Mc(),new IA(new u9))).zd((Tb(),ET))?0:-L-o)),I=l(j(v,CI),16),y==(vi(),il)||y==ff?eEn(I,r,s,u,f,y):Opn(I,r,s,u),li(N.b,I),PJ(v,be(j(e,_p))===be((hp(),HL))),Lu(T));t.Ug()}function Zkn(e){e.q||(e.q=!0,e.p=Ms(e,0),e.a=Ms(e,1),Lr(e.a,0),e.f=Ms(e,2),Lr(e.f,1),Jr(e.f,2),e.n=Ms(e,3),Jr(e.n,3),Jr(e.n,4),Jr(e.n,5),Jr(e.n,6),e.g=Ms(e,4),Lr(e.g,7),Jr(e.g,8),e.c=Ms(e,5),Lr(e.c,7),Lr(e.c,8),e.i=Ms(e,6),Lr(e.i,9),Lr(e.i,10),Lr(e.i,11),Lr(e.i,12),Jr(e.i,13),e.j=Ms(e,7),Lr(e.j,9),e.d=Ms(e,8),Lr(e.d,3),Lr(e.d,4),Lr(e.d,5),Lr(e.d,6),Jr(e.d,7),Jr(e.d,8),Jr(e.d,9),Jr(e.d,10),e.b=Ms(e,9),Jr(e.b,0),Jr(e.b,1),e.e=Ms(e,10),Jr(e.e,1),Jr(e.e,2),Jr(e.e,3),Jr(e.e,4),Lr(e.e,5),Lr(e.e,6),Lr(e.e,7),Lr(e.e,8),Lr(e.e,9),Lr(e.e,10),Jr(e.e,11),e.k=Ms(e,11),Jr(e.k,0),Jr(e.k,1),e.o=rr(e,12),e.s=rr(e,13))}function Qkn(e,t,r){var o,s,u,f,p,m,y,v;if(e.c.length!=0)for(e.c.length==1&&je(t,(at(0,e.c.length),l(e.c[0],19))),e.c.length==2&&(f=(at(0,e.c.length),l(e.c[0],19)),y=(at(1,e.c.length),l(e.c[1],19)),l(ye(f,(wh(),LL)),15).a>l(ye(y,LL),15).a?(Ot(t.c,y),Ot(r.c,f)):(Ot(t.c,f),Ot(r.c,y))),s=new Pe,v=new IGe,v.a=0,v.b=0,o=(at(0,e.c.length),l(e.c[0],19)),Ot(s.c,o),p=1;p<e.c.length;p++)m=(at(p,e.c.length),l(e.c[p],19)),yr(o.j,m.j)==0||(u=qyt(s,v),li(t,new If(s,0,u+1)),li(r,new If(s,u+1,s.c.length)),s=new Pe),Ot(s.c,m),o=m,p==e.c.length-1&&(u=qyt(s,v),li(t,new If(s,0,u+1)),li(r,new If(s,u+1,s.c.length)))}function R0e(e,t){t.dc()&&lh(e.j,!0,!0,!0,!0),pr(t,(Ue(),dd))&&lh(e.j,!0,!0,!0,!1),pr(t,ol)&&lh(e.j,!1,!0,!0,!0),pr(t,Nc)&&lh(e.j,!0,!0,!1,!0),pr(t,Rl)&&lh(e.j,!0,!1,!0,!0),pr(t,Iu)&&lh(e.j,!1,!0,!0,!1),pr(t,sl)&&lh(e.j,!1,!0,!1,!0),pr(t,Cc)&&lh(e.j,!0,!1,!1,!0),pr(t,fd)&&lh(e.j,!0,!1,!0,!1),pr(t,ou)&&lh(e.j,!0,!0,!0,!0),pr(t,Wa)&&lh(e.j,!0,!0,!0,!0),pr(t,ou)&&lh(e.j,!0,!0,!0,!0),pr(t,iu)&&lh(e.j,!0,!0,!0,!0),pr(t,su)&&lh(e.j,!0,!0,!0,!0),pr(t,Ru)&&lh(e.j,!0,!0,!0,!0),pr(t,ka)&&lh(e.j,!0,!0,!0,!0)}function jvt(e,t,r){var o,s,u,f,p,m,y,v,T;if(e.a!=t.hk())throw K(new jt(Ok+t.ve()+V0));if(o=dg((mu(),so),t).Hl(),o)return o.hk().ti().oi(o,r);if(f=dg(so,t).Jl(),f){if(r==null)return null;if(p=l(r,16),p.dc())return"";for(T=new Jp,u=p.Jc();u.Ob();)s=u.Pb(),zo(T,f.hk().ti().oi(f,s)),T.a+=" ";return rV(T,T.a.length-1)}if(v=dg(so,t).Kl(),!v.dc()){for(y=v.Jc();y.Ob();)if(m=l(y.Pb(),160),m.dk(r))try{if(T=m.hk().ti().oi(m,r),T!=null)return T}catch(N){if(N=ci(N),!se(N,102))throw K(N)}throw K(new jt("Invalid value: '"+r+"' for datatype :"+t.ve()))}return l(t,839).mk(),r==null?null:se(r,183)?""+l(r,183).a:nc(r)==u$?Wnt(N4[0],l(r,208)):bs(r)}function Fvt(e,t,r){var o,s,u,f;this.j=e,this.e=wbe(e),this.o=this.j.e,this.i=!!this.o,this.p=this.i?l(He(r,ji(this.o).p),221):null,s=l(j(e,(Ie(),_a)),24),this.g=s.Gc((Mo(),rl)),this.b=new Pe,this.d=new _gt(this.e),f=l(j(this.j,RT),237),this.q=fhn(t,f,this.e),this.k=new Vat(this),u=Wl(Z(X(oNt,1),Rt,223,0,[this,this.d,this.k,this.q])),t==(Vb(),TL)&&!Ke(We(j(e,(Be(),ex))))?(o=new Ebe(this.e),Ot(u.c,o),this.c=new Uhe(o,f,l(this.q,411))):t==TL&&Ke(We(j(e,(Be(),ex))))?(o=new Ebe(this.e),Ot(u.c,o),this.c=new Jft(o,f,l(this.q,411))):t==xB?this.c=new mat(f):this.c=new utt(t,this),je(u,this.c),hvt(u,this.e),this.s=_Nn(this.k)}function exn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;for(t.Tg("Interactive crossing minimization",1),f=0,u=new V(e.b);u.a<u.c.c.length;)o=l(q(u),26),o.p=f++;for(N=wbe(e),G=new Vce(N.length),hvt(new Ds(Z(X(oNt,1),Rt,223,0,[G])),N),U=0,f=0,s=new V(e.b);s.a<s.c.c.length;){for(o=l(q(s),26),r=0,T=0,v=new V(o.a);v.a<v.c.c.length;)for(m=l(q(v),9),m.n.a>0&&(r+=m.n.a+m.o.a/2,++T),L=new V(m.j);L.a<L.c.c.length;)I=l(q(L),12),I.p=U++;for(T>0&&(r/=T),J=me(Ki,Wo,30,o.a.c.length,15,1),p=0,y=new V(o.a);y.a<y.c.c.length;)m=l(q(y),9),m.p=p++,J[m.p]=Wkn(m,r),m.k==(Ht(),gi)&&Ae(m,(Ie(),lTe),J[m.p]);St(),_i(o.a,new uJe(J)),vyt(G,N,f,!0),++f}t.Ug()}function txn(e){var t,r,o,s,u,f,p,m,y,v;for(y=new Sr,p=new Sr,u=new V(e);u.a<u.c.c.length;)o=l(q(u),134),o.v=0,o.n=o.i.c.length,o.u=o.t.c.length,o.n==0&&Wr(y,o,y.c.b,y.c),o.u==0&&o.r.a.gc()==0&&Wr(p,o,p.c.b,p.c);for(f=-1;y.b!=0;)for(o=l(MY(y,0),134),r=new V(o.t);r.a<r.c.c.length;)t=l(q(r),275),v=t.b,v.v=b.Math.max(v.v,o.v+1),f=b.Math.max(f,v.v),--v.n,v.n==0&&Wr(y,v,y.c.b,y.c);if(f>-1){for(s=An(p,0);s.b!=s.d.c;)o=l(Sn(s),134),o.v=f;for(;p.b!=0;)for(o=l(MY(p,0),134),r=new V(o.i);r.a<r.c.c.length;)t=l(q(r),275),m=t.a,m.r.a.gc()==0&&(m.v=b.Math.min(m.v,o.v-1),--m.u,m.u==0&&Wr(p,m,p.c.b,p.c))}}function nxn(e){var t,r,o,s,u,f,p,m,y,v;for(y=new Pe,p=new Pe,f=new V(e);f.a<f.c.c.length;)s=l(q(f),117),FG(s,s.f.c.length),v9(s,s.k.c.length),s.d==0&&Ot(y.c,s),s.i==0&&s.e.b==0&&Ot(p.c,s);for(o=-1;y.c.length!=0;)for(s=l(og(y,0),117),r=new V(s.k);r.a<r.c.c.length;)t=l(q(r),135),v=t.b,Vue(v,b.Math.max(v.o,s.o+1)),o=b.Math.max(o,v.o),FG(v,v.d-1),v.d==0&&Ot(y.c,v);if(o>-1){for(u=new V(p);u.a<u.c.c.length;)s=l(q(u),117),s.o=o;for(;p.c.length!=0;)for(s=l(og(p,0),117),r=new V(s.f);r.a<r.c.c.length;)t=l(q(r),135),m=t.a,!(m.e.b>0)&&(Vue(m,b.Math.min(m.o,s.o-1)),v9(m,m.i-1),m.i==0&&Ot(p.c,m))}}function $vt(e,t,r,o,s){var u,f,p,m;return m=Kr,f=!1,p=E0e(e,Ri(new Le(t.a,t.b),e),br(new Le(r.a,r.b),s),Ri(new Le(o.a,o.b),r)),u=!!p&&!(b.Math.abs(p.a-e.a)<=G0&&b.Math.abs(p.b-e.b)<=G0||b.Math.abs(p.a-t.a)<=G0&&b.Math.abs(p.b-t.b)<=G0),p=E0e(e,Ri(new Le(t.a,t.b),e),r,s),p&&((b.Math.abs(p.a-e.a)<=G0&&b.Math.abs(p.b-e.b)<=G0)==(b.Math.abs(p.a-t.a)<=G0&&b.Math.abs(p.b-t.b)<=G0)||u?m=b.Math.min(m,C3(Ri(p,r))):f=!0),p=E0e(e,Ri(new Le(t.a,t.b),e),o,s),p&&(f||(b.Math.abs(p.a-e.a)<=G0&&b.Math.abs(p.b-e.b)<=G0)==(b.Math.abs(p.a-t.a)<=G0&&b.Math.abs(p.b-t.b)<=G0)||u)&&(m=b.Math.min(m,C3(Ri(p,o)))),m}function Bvt(e){t0(e,new Xb(nO(Zm(Ym(Xm(Jm(new wb,N1),P2t),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new e9),Ga))),Oe(e,N1,mk,ze(N2e)),Oe(e,N1,ND,(Lt(),!0)),Oe(e,N1,ME,ze(wxt)),Oe(e,N1,gT,ze(yxt)),Oe(e,N1,pT,ze(vxt)),Oe(e,N1,vk,ze(mxt)),Oe(e,N1,wk,ze(I2e)),Oe(e,N1,Ek,ze(Ext)),Oe(e,N1,bwe,ze(x2e)),Oe(e,N1,wwe,ze(_2e)),Oe(e,N1,ywe,ze(k2e)),Oe(e,N1,vwe,ze(C2e)),Oe(e,N1,mwe,ze(v$))}function rxn(e){var t,r,o,s,u,f,p,m;for(t=null,o=new V(e);o.a<o.c.c.length;)r=l(q(o),242),ue(Hd(r.g,r.d[0]).a),r.b=null,r.e&&r.e.gc()>0&&r.c==0&&(!t&&(t=new Pe),Ot(t.c,r));if(t)for(;t.c.length!=0;){if(r=l(og(t,0),242),r.b&&r.b.c.length>0){for(u=(!r.b&&(r.b=new Pe),new V(r.b));u.a<u.c.c.length;)if(s=l(q(u),242),tO(Hd(s.g,s.d[0]).a)==tO(Hd(r.g,r.d[0]).a)){if(As(e,s,0)>As(e,r,0))return new ko(s,r)}else if(ue(Hd(s.g,s.d[0]).a)>ue(Hd(r.g,r.d[0]).a))return new ko(s,r)}for(p=(!r.e&&(r.e=new Pe),r.e).Jc();p.Ob();)f=l(p.Pb(),242),m=(!f.b&&(f.b=new Pe),f.b),ny(0,m.c.length),ZN(m.c,0,r),f.c==m.c.length&&Ot(t.c,f)}return null}function PC(e,t){var r,o,s,u,f,p,m,y,v;if(t.e==5){Dvt(e,t);return}if(y=t,!(y.b==null||e.b==null)){for(kE(e),DC(e),kE(y),DC(y),r=me(Rn,Xn,30,e.b.length+y.b.length,15,1),v=0,o=0,f=0;o<e.b.length&&f<y.b.length;)if(s=e.b[o],u=e.b[o+1],p=y.b[f],m=y.b[f+1],u<p)r[v++]=e.b[o++],r[v++]=e.b[o++];else if(u>=p&&s<=m)p<=s&&u<=m?o+=2:p<=s?(e.b[o]=m+1,f+=2):u<=m?(r[v++]=s,r[v++]=p-1,o+=2):(r[v++]=s,r[v++]=p-1,e.b[o]=m+1,f+=2);else if(m<s)f+=2;else throw K(new vs("Token#subtractRanges(): Internal Error: ["+e.b[o]+","+e.b[o+1]+"] - ["+y.b[f]+","+y.b[f+1]+"]"));for(;o<e.b.length;)r[v++]=e.b[o++],r[v++]=e.b[o++];e.b=me(Rn,Xn,30,v,15,1),ua(r,0,e.b,0,v)}}function ixn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;for(o=new V(e.e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)if(s=l(q(u),9),I=e.i[s.p],y=I.a.e,m=I.d.e,s.n.b=y,J=m-y-s.o.b,t=RJ(s),N=(my(),(s.q?s.q:(St(),St(),kh))._b((Be(),iw))?T=l(j(s,iw),205):T=l(j(ji(s),BI),205),T),t&&(N==a2||N==s2)&&(s.o.b+=J),t&&(N==Ote||N==a2||N==s2)){for(U=new V(s.j);U.a<U.c.c.length;)L=l(q(U),12),(Ue(),Wa).Gc(L.j)&&(v=l(Ut(e.k,L),126),L.n.b=v.e-y);for(p=new V(s.b);p.a<p.c.c.length;)f=l(q(p),70),G=l(j(s,rw),24),G.Gc((Sy(),Il))?f.n.b+=J:G.Gc(Rh)&&(f.n.b+=J/2);(N==a2||N==s2)&&ks(s,(Ue(),dn)).Ic(new AJe(J))}}function oxn(e){var t,r,o,s,u,f,p;if(!e.A.dc()){if(e.A.Gc((oc(),YL))&&(l(Go(e.b,(Ue(),Vt)),129).k=!0,l(Go(e.b,dn),129).k=!0,t=e.q!=(qi(),Oh)&&e.q!=fa,zue(l(Go(e.b,Zt),129),t),zue(l(Go(e.b,Wt),129),t),zue(e.g,t),e.A.Gc(Am)&&(l(Go(e.b,Vt),129).j=!0,l(Go(e.b,dn),129).j=!0,l(Go(e.b,Zt),129).k=!0,l(Go(e.b,Wt),129).k=!0,e.g.k=!0)),e.A.Gc(KL))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,p=e.B.Gc((Bu(),k4)),s=hY(),u=0,f=s.length;u<f;++u)o=s[u],r=l(Go(e.i,o),319),r&&(k1e(o)?(r.j=!0,r.k=!0):(r.j=!p,r.k=!p));e.A.Gc(fv)&&e.B.Gc((Bu(),XL))&&(e.g.j=!0,e.g.j=!0,e.a.j||(e.a.j=!0,e.a.k=!0,e.a.e=!0))}}function sxn(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(y=new Pe,m=new V(t.a);m.a<m.c.c.length;)for(f=l(q(m),9),N=ks(f,(Ue(),Zt)).Jc();N.Ob();)for(T=l(N.Pb(),12),s=new V(T.g);s.a<s.c.c.length;)o=l(q(s),17),!(!lo(o)&&o.c.i.c==o.d.i.c||lo(o)||o.d.i.c!=r)&&Ot(y.c,o);for(p=ic(r.a).Jc();p.Ob();)for(f=l(p.Pb(),9),N=ks(f,(Ue(),Wt)).Jc();N.Ob();)for(T=l(N.Pb(),12),s=new V(T.e);s.a<s.c.c.length;)if(o=l(q(s),17),!(!lo(o)&&o.c.i.c==o.d.i.c||lo(o)||o.c.i.c!=t)&&y.c.length!=0){for(v=new Ji(y,y.c.length),u=(un(v.b>0),l(v.a.Xb(v.c=--v.b),17));u!=o&&v.b>0;)e.a[u.p]=!0,e.a[o.p]=!0,u=(un(v.b>0),l(v.a.Xb(v.c=--v.b),17));v.b>0&&Lu(v)}}function Uvt(e,t,r){var o,s,u,f,p,m,y,v,T,N;if(r)for(o=-1,v=new Ji(t,0);v.b<v.d.gc();){if(p=(un(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),9)),T=e.c[p.c.p][p.p].a,T==null){for(f=o+1,u=new Ji(t,v.b);u.b<u.d.gc();)if(N=ftn(e,(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),9))).a,N!=null){f=(Mt(N),N);break}T=(o+f)/2,e.c[p.c.p][p.p].a=T,e.c[p.c.p][p.p].d=(Mt(T),T),e.c[p.c.p][p.p].b=1}o=(Mt(T),T)}else{for(s=0,y=new V(t);y.a<y.c.c.length;)p=l(q(y),9),e.c[p.c.p][p.p].a!=null&&(s=b.Math.max(s,ue(e.c[p.c.p][p.p].a)));for(s+=2,m=new V(t);m.a<m.c.c.length;)p=l(q(m),9),e.c[p.c.p][p.p].a==null&&(T=$u(e.i,24)*TD*s-1,e.c[p.c.p][p.p].a=T,e.c[p.c.p][p.p].d=T,e.c[p.c.p][p.p].b=1)}}function axn(e){var t,r,o,s,u,f,p,m,y,v,T,N;for(s=new V(e.a.a.b);s.a<s.c.c.length;)for(o=l(q(s),60),m=o.c.Jc();m.Ob();)p=l(m.Pb(),60),o.a!=p.a&&(Zh(e.a.d)?T=e.a.g.df(o,p):T=e.a.g.ef(o,p),u=o.b.a+o.d.b+T-p.b.a,u=b.Math.ceil(u),u=b.Math.max(0,u),Npe(o,p)?(f=i0(new Eb,e.d),y=po(b.Math.ceil(p.b.a-o.b.a)),t=y-(p.b.a-o.b.a),v=LS(o).a,r=o,v||(v=LS(p).a,t=-t,r=p),v&&(r.b.a-=t,v.n.a-=t),Ql($l(Ul(Hl(Bl(new gl,b.Math.max(0,y)),1),f),e.c[o.a.d])),Ql($l(Ul(Hl(Bl(new gl,b.Math.max(0,-y)),1),f),e.c[p.a.d]))):(N=1,(se(o.g,157)&&se(p.g,9)||se(p.g,157)&&se(o.g,9))&&(N=2),Ql($l(Ul(Hl(Bl(new gl,po(u)),N),e.c[o.a.d]),e.c[p.a.d]))))}function Hvt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I;if(!e.b)return!1;for(f=null,N=null,m=new JW(null,null),s=1,m.a[1]=e.b,T=m;T.a[s];)y=s,p=N,N=T,T=T.a[s],o=e.a.Le(t,T.d),s=o<0?0:1,o==0&&(!r.c||ia(T.e,r.d))&&(f=T),!(T&&T.b)&&!Mw(T.a[s])&&(Mw(T.a[1-s])?N=N.a[y]=Sj(T,s):Mw(T.a[1-s])||(I=N.a[1-y],I&&(!Mw(I.a[1-y])&&!Mw(I.a[y])?(N.b=!1,I.b=!0,T.b=!0):(u=p.a[1]==N?1:0,Mw(I.a[y])?p.a[u]=Uut(N,y):Mw(I.a[1-y])&&(p.a[u]=Sj(N,y)),T.b=p.a[u].b=!0,p.a[u].a[0].b=!1,p.a[u].a[1].b=!1))));return f&&(r.b=!0,r.d=f.e,T!=f&&(v=new JW(T.d,T.e),hwn(e,m,f,v),N==f&&(N=v)),N.a[N.a[1]==T?1:0]=T.a[T.a[0]?0:1],--e.c),e.b=m.a[1],e.b&&(e.b.b=!1),r.b}function uxn(e,t,r){var o,s,u,f,p,m,y,v,T;for(!r&&(r=Fhn(t.q.getTimezoneOffset())),s=(t.q.getTimezoneOffset()-r.a)*6e4,p=new $de(To(Gs(t.q.getTime()),s)),m=p,p.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(s>0?s-=864e5:s+=864e5,m=new $de(To(Gs(t.q.getTime()),s))),v=new uS,y=e.a.length,u=0;u<y;)if(o=uo(e.a,u),o>=97&&o<=122||o>=65&&o<=90){for(f=u+1;f<y&&uo(e.a,f)==o;++f);s3n(v,o,f-u,p,m,r),u=f}else if(o==39){if(++u,u<y&&uo(e.a,u)==39){v.a+="'",++u;continue}for(T=!1;!T;){for(f=u;f<y&&uo(e.a,f)!=39;)++f;if(f>=y)throw K(new jt("Missing trailing '"));f+1<y&&uo(e.a,f+1)==39?++f:T=!0,zn(v,yl(e.a,u,f)),u=f+1}}else v.a+=String.fromCharCode(o),++u;return v.a}function cxn(){Qn(gv,new wqe),Qn(Kn,new Cqe),Qn(Ol,new Bqe),Qn(Ld,new Vqe),Qn(Dre,new Wqe),Qn(vU,new Kqe),Qn(Ip,new Yqe),Qn(x4,new Jqe),Qn(tM,new uqe),Qn(xre,new cqe),Qn(Y1,new lqe),Qn(Dl,new dqe),Qn(Dd,new fqe),Qn(cw,new hqe),Qn(bv,new pqe),Qn(au,new gqe),Qn(pv,new bqe),Qn(Hs,new mqe),Qn(Uo,new yqe),Qn(Ka,new vqe),Qn(Yr,new Eqe),Qn(X(Eu,1),new Sqe),Qn(yT,new Tqe),Qn(pI,new Aqe),Qn(u$,new _qe),Qn(V3e,new kqe),Qn(fi,new xqe),Qn(a3e,new Nqe),Qn(l3e,new Iqe),Qn(D3e,new Rqe),Qn(EU,new Oqe),Qn(Bk,new Dqe),Qn(Ti,new Lqe),Qn(REe,new Mqe),Qn(K0,new Pqe),Qn(OEe,new jqe),Qn(C3e,new Fqe),Qn(W3e,new $qe),Qn(Y0,new Uqe),Qn(Ye,new Hqe),Qn(c3e,new zqe),Qn(K3e,new Gqe)}function zvt(e,t){var r,o,s,u,f,p,m,y,v;if(e==null)return tu;if(m=t.a.yc(e,t),m!=null)return"[...]";for(r=new zb(Ma,"[","]"),s=e,u=0,f=s.length;u<f;++u)o=s[u],o!=null&&nc(o).i&4?Array.isArray(o)&&(v=p6(o),!(v>=14&&v<=16))?t.a._b(o)?(r.a?zn(r.a,r.b):r.a=new fc(r.d),d3(r.a,"[...]")):(p=BS(o),y=new Ww(t),sp(r,zvt(p,y))):se(o,172)?sp(r,qyn(l(o,172))):se(o,198)?sp(r,R0n(l(o,198))):se(o,203)?sp(r,Fwn(l(o,203))):se(o,2090)?sp(r,O0n(l(o,2090))):se(o,54)?sp(r,Gyn(l(o,54))):se(o,591)?sp(r,rvn(l(o,591))):se(o,838)?sp(r,zyn(l(o,838))):se(o,109)&&sp(r,Hyn(l(o,109))):sp(r,o==null?tu:bs(o));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function rk(e,t){var r,o,s,u;u=e.F,t==null?(e.F=null,C_(e,null)):(e.F=(Mt(t),t),o=xf(t,Qa(60)),o!=-1?(s=(no(0,o,t.length),t.substr(0,o)),xf(t,Qa(46))==-1&&!mt(s,sT)&&!mt(s,oI)&&!mt(s,VF)&&!mt(s,sI)&&!mt(s,aI)&&!mt(s,uI)&&!mt(s,cI)&&!mt(s,lI)&&(s=jAt),r=M8(t,Qa(62)),r!=-1&&(s+=""+(Yt(r+1,t.length+1),t.substr(r+1))),C_(e,s)):(s=t,xf(t,Qa(46))==-1&&(o=xf(t,Qa(91)),o!=-1&&(s=(no(0,o,t.length),t.substr(0,o))),!mt(s,sT)&&!mt(s,oI)&&!mt(s,VF)&&!mt(s,sI)&&!mt(s,aI)&&!mt(s,uI)&&!mt(s,cI)&&!mt(s,lI)?(s=jAt,o!=-1&&(s+=""+(Yt(o,t.length+1),t.substr(o)))):s=t),C_(e,s),s==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,5,u,t))}function lxn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;if(e.c=e.e,L=We(j(t,(Be(),bIt))),I=L==null||(Mt(L),L),u=l(j(t,(Ie(),_a)),24).Gc((Mo(),rl)),s=l(j(t,Zr),103),r=!(s==(qi(),Tm)||s==Oh||s==fa),I&&(r||!u)){for(T=new V(t.a);T.a<T.c.c.length;)y=l(q(T),9),y.p=0;for(N=new Pe,v=new V(t.a);v.a<v.c.c.length;)if(y=l(q(v),9),o=kyt(e,y,null),o){for(m=new qpe,qs(m,t),Ae(m,Tp,l(o.b,24)),ghe(m.d,t.d),Ae(m,tx,null),p=l(o.a,16).Jc();p.Ob();)f=l(p.Pb(),9),je(m.a,f),f.a=m;N.Ec(m)}u&&(be(j(t,LI))===be((WS(),dee))?e.c=e.b:be(j(t,LI))===be(fee)?e.c=e.d:e.c=e.a)}else N=new Ds(Z(X($xt,1),F2t,37,0,[t]));return be(j(t,LI))!==be((WS(),vI))&&(St(),N.gd(new cG)),N}function Gvt(e,t){var r,o,s,u,f,p,m,y,v,T;if(m=t.length-1,p=(Yt(m,t.length),t.charCodeAt(m)),p==93){if(f=xf(t,Qa(91)),f>=0)return s=Sgn(e,(no(1,f,t.length),t.substr(1,f-1))),v=(no(f+1,m,t.length),t.substr(f+1,m-(f+1))),PNn(e,v,s)}else{if(r=-1,HEe==null&&(HEe=new RegExp("\\d")),HEe.test(String.fromCharCode(p))&&(r=Qde(t,Qa(46),m-1),r>=0)){o=l(zW(e,fft(e,(no(1,r,t.length),t.substr(1,r-1))),!1),61),y=0;try{y=Ec((Yt(r+1,t.length+1),t.substr(r+1)),Zi,sr)}catch(N){throw N=ci(N),se(N,133)?(u=N,K(new rj(u))):K(N)}if(y<o.gc())return T=o.Xb(y),se(T,76)&&(T=l(T,76).kd()),l(T,57)}if(r<0)return l(zW(e,fft(e,(Yt(1,t.length+1),t.substr(1))),!1),57)}return null}function dxn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(t.Tg("Label dummy insertions",1),T=new Pe,f=ue(ce(j(e,(Be(),o2)))),y=ue(ce(j(e,Qy))),v=l(j(e,kc),87),I=new V(e.a);I.a<I.c.c.length;)for(N=l(q(I),9),u=new Ft(Gt(Rr(N).a.Jc(),new D));an(u);)if(s=l(Qt(u),17),s.c.i!=s.d.i&&dV(s.b,Kxt)){for(U=ifn(s),L=ch(s.b.c.length),r=jEn(e,s,U,L),Ot(T.c,r),o=r.o,p=new Ji(s.b,0);p.b<p.d.gc();)m=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),70)),be(j(m,Kf))===be((Kd(),wx))&&(v==(vi(),il)||v==ff?(o.a+=m.o.a+y,o.b=b.Math.max(o.b,m.o.b)):(o.a=b.Math.max(o.a,m.o.a),o.b+=m.o.b+y),Ot(L.c,m),Lu(p));v==(vi(),il)||v==ff?(o.a-=y,o.b+=f+U):o.b+=f-y+U}li(e.a,T),t.Ug()}function ik(e,t,r){var o,s,u,f,p,m,y;if(y=e.c,!t&&(t=y3e),e.c=t,e.Db&4&&!(e.Db&1)&&(m=new Pi(e,1,2,y,e.c),r?r.lj(m):r=m),y!=t){if(se(e.Cb,294))e.Db>>16==-10?r=l(e.Cb,294).Wk(t,r):e.Db>>16==-15&&(!t&&(t=(Tt(),bf)),!y&&(y=(Tt(),bf)),e.Cb.Vh()&&(m=new ap(e.Cb,1,13,y,t,pg(ju(l(e.Cb,62)),e),!1),r?r.lj(m):r=m));else if(se(e.Cb,89))e.Db>>16==-23&&(se(t,89)||(t=(Tt(),Ml)),se(y,89)||(y=(Tt(),Ml)),e.Cb.Vh()&&(m=new ap(e.Cb,1,10,y,t,pg(oa(l(e.Cb,29)),e),!1),r?r.lj(m):r=m));else if(se(e.Cb,449))for(p=l(e.Cb,842),f=(!p.b&&(p.b=new k9(new eq)),p.b),u=(o=new ly(new Ow(f.a).a),new x9(o));u.a.b;)s=l(gE(u.a).jd(),88),r=ik(s,I7(s,p),r)}return r}function fxn(e,t){var r,o,s,u,f,p,m,y,v,T,N;for(f=Ke(We(ye(e,(Be(),Wy)))),N=l(ye(e,Jy),24),m=!1,y=!1,T=new en((!e.c&&(e.c=new xe(zu,e,9,9)),e.c));T.e!=T.i.gc()&&(!m||!y);){for(u=l(rn(T),127),p=0,s=hh(Wc(Z(X(nl,1),Rt,22,0,[(!u.d&&(u.d=new Et(Cr,u,8,5)),u.d),(!u.e&&(u.e=new Et(Cr,u,7,4)),u.e)])));an(s)&&(o=l(Qt(s),74),v=f&&I0(o)&&Ke(We(ye(o,pm))),r=Svt((!o.b&&(o.b=new Et(pn,o,4,7)),o.b),u)?e==Br(Vo(l(ie((!o.c&&(o.c=new Et(pn,o,5,8)),o.c),0),83))):e==Br(Vo(l(ie((!o.b&&(o.b=new Et(pn,o,4,7)),o.b),0),83))),!((v||r)&&(++p,p>1))););(p>0||N.Gc((ku(),Cp))&&(!u.n&&(u.n=new xe(Is,u,1,7)),u.n).i>0)&&(m=!0),p>1&&(y=!0)}m&&t.Ec((Mo(),rl)),y&&t.Ec((Mo(),kI))}function qvt(e){var t,r,o,s,u,f,p,m,y,v,T,N;if(N=l(ye(e,(_n(),Sm)),24),N.dc())return null;if(p=0,f=0,N.Gc((oc(),YL))){for(v=l(ye(e,gx),103),o=2,r=2,s=2,u=2,t=Br(e)?l(ye(Br(e),Em),87):l(ye(e,Em),87),y=new en((!e.c&&(e.c=new xe(zu,e,9,9)),e.c));y.e!=y.i.gc();)if(m=l(rn(y),127),T=l(ye(m,m2),64),T==(Ue(),Cs)&&(T=p0e(m,t),Vn(m,m2,T)),v==(qi(),fa))switch(T.g){case 1:o=b.Math.max(o,m.i+m.g);break;case 2:r=b.Math.max(r,m.j+m.f);break;case 3:s=b.Math.max(s,m.i+m.g);break;case 4:u=b.Math.max(u,m.j+m.f)}else switch(T.g){case 1:o+=m.g+2;break;case 2:r+=m.f+2;break;case 3:s+=m.g+2;break;case 4:u+=m.f+2}p=b.Math.max(o,s),f=b.Math.max(r,u)}return L0(e,p,f,!0,!0)}function hxn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(s=null,o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),9),RJ(r)?u=(p=i0(uO(new Eb,r),e.f),m=i0(uO(new Eb,r),e.f),y=new phe(r,!0,p,m),v=r.o.b,T=(my(),(r.q?r.q:(St(),St(),kh))._b((Be(),iw))?N=l(j(r,iw),205):N=l(j(ji(r),BI),205),N),I=1e4,T==s2&&(I=1),L=Ql($l(Ul(Bl(Hl(new gl,I),po(b.Math.ceil(v))),p),m)),T==a2&&pi(e.d,L),Ayt(e,ic(ks(r,(Ue(),Wt))),y),Ayt(e,ks(r,Zt),y),y):u=(U=i0(uO(new Eb,r),e.f),ei(lr(new yt(null,new vt(r.j,16)),new EUe),new htt(e,U)),new phe(r,!1,U,U)),e.i[r.p]=u,s&&(f=s.c.d.a+rE(e.n,s.c,r)+r.d.d,s.b||(f+=s.c.o.b),Ql($l(Ul(Hl(Bl(new gl,po(b.Math.ceil(f))),0),s.d),u.a))),s=u}function jJ(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;for(ne=l(Au(cj(lr(new yt(null,new vt(t.d,16)),new JYe(r)),new XYe(r)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),T=sr,v=Zi,m=new V(t.b.j);m.a<m.c.c.length;)p=l(q(m),12),p.j==r&&(T=b.Math.min(T,p.p),v=b.Math.max(v,p.p));if(T==sr)for(f=0;f<ne.gc();f++)Epe(l(ne.Xb(f),108),r,f);else for(oe=me(Rn,Xn,30,s.length,15,1),Pon(oe,oe.length),J=ne.Jc();J.Ob();){for(G=l(J.Pb(),108),u=l(Ut(e.b,G),172),y=0,U=T;U<=v;U++)u[U]&&(y=b.Math.max(y,o[U]));if(G.i){for(I=G.i.c,le=new hi,N=0;N<s.length;N++)s[I][N]&&pi(le,Re(oe[N]));for(;bl(le,Re(y));)++y}for(Epe(G,r,y),L=T;L<=v;L++)u[L]&&(o[L]=y+1);G.i&&(oe[G.i.c]=y)}}function Vvt(e,t){var r,o,s,u,f,p,m,y;for(Ae(t,(Ie(),II),Re(e.b)),Ae(t,OT,Re(e.b)),++e.b,xnt(e.d,t),Ae(t,iB,(Lt(),!0)),o=new Ft(Gt(Df(t).a.Jc(),new D));an(o);)r=l(Qt(o),17),!(r.c.i!=t&&As(e.a,r,0)==-1)&&(r.c.i==t&&As(e.a,r,0)!=-1||(y=null,r.d.i==t?y=r.c.i:y=r.d.i,l(j(y,II),15).a==-1?(Vvt(e,y),Ae(t,OT,Re(b.Math.min(l(j(t,OT),15).a,l(j(y,OT),15).a)))):Ke(We(j(y,iB)))&&Ae(t,OT,Re(b.Math.min(l(j(t,OT),15).a,l(j(y,II),15).a)))));if(be(j(t,OT))===be(j(t,II))){m=new hi,u=null;do u=l(jge(e.d),9),Ae(u,iB,!1),m.a.yc(u,m);while(t!=u);if(m.a.gc()>1)for(s=e.e.b,Gn(e.e,m),p=m.a.ec().Jc();p.Ob();)f=l(p.Pb(),9),Yn(e.c,f,Re(s))}}function pxn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I;for(u=new r0t(t),T=FSn(e,t,u),I=b.Math.max(ue(ce(j(t,(Be(),Ag)))),1),v=new V(T.a);v.a<v.c.c.length;)y=l(q(v),49),m=Vgt(l(y.a,8),l(y.b,8),I),w=!0,w=w&s0(r,new Le(m.c,m.d)),w=w&s0(r,zw(new Le(m.c,m.d),m.b,0)),w=w&s0(r,zw(new Le(m.c,m.d),0,m.a)),w&s0(r,zw(new Le(m.c,m.d),m.b,m.a));switch(N=u.d,p=Vgt(l(T.b.a,8),l(T.b.b,8),I),N==(Ue(),Wt)||N==Zt?(o.c[N.g]=b.Math.min(o.c[N.g],p.d),o.b[N.g]=b.Math.max(o.b[N.g],p.d+p.a)):(o.c[N.g]=b.Math.min(o.c[N.g],p.c),o.b[N.g]=b.Math.max(o.b[N.g],p.c+p.b)),s=Oi,f=u.c.i.d,N.g){case 4:s=f.c;break;case 2:s=f.b;break;case 1:s=f.a;break;case 3:s=f.d}return o.a[N.g]=b.Math.max(o.a[N.g],s),u}function gxn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I;if(u=l(j(e,(Ie(),mr)),74),!!u){for(o=e.a,s=new Eo(r),br(s,Zmn(e)),S_(e.d.i,e.c.i)?(N=e.c,T=_s(Z(X($i,1),Me,8,0,[N.n,N.a])),Ri(T,r)):T=qd(e.c),Wr(o,T,o.a,o.a.a),I=qd(e.d),j(e,ite)!=null&&br(I,l(j(e,ite),8)),Wr(o,I,o.c.b,o.c),cy(o,s),f=AC(u),yj(f,l(ie((!u.b&&(u.b=new Et(pn,u,4,7)),u.b),0),83)),vj(f,l(ie((!u.c&&(u.c=new Et(pn,u,5,8)),u.c),0),83)),b0e(o,f),v=new V(e.b);v.a<v.c.c.length;)y=l(q(v),70),p=l(j(y,mr),158),Bb(p,y.o.a),$b(p,y.o.b),Bc(p,y.n.a+s.a,y.n.b+s.b),Vn(p,(US(),mee),We(j(y,mee)));m=l(j(e,(Be(),rs)),79),m?(cy(m,s),Vn(u,rs,m)):Vn(u,rs,null),t==(hp(),qT)?Vn(u,_p,qT):Vn(u,_p,null)}}function bxn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne;for(I=t.c.length,N=0,T=new V(e.b);T.a<T.c.c.length;)if(v=l(q(T),26),J=v.a,J.c.length!=0){for(G=new V(J),y=0,ne=null,s=l(q(G),9),u=null;s;){if(u=l(He(t,s.p),264),u.c>=0){for(m=null,p=new Ji(v.a,y+1);p.b<p.d.gc()&&(f=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),9)),m=l(He(t,f.p),264),!(m.d==u.d&&m.c<u.c));)m=null;m&&(ne&&(tc(o,s.p,Re(l(He(o,s.p),15).a-1)),l(He(r,ne.p),16).Kc(u)),u=P0n(u,s,I++),Ot(t.c,u),je(r,new Pe),ne?(l(He(r,ne.p),16).Ec(u),je(o,Re(1))):je(o,Re(0)))}L=null,G.a<G.c.c.length&&(L=l(q(G),9),U=l(He(t,L.p),264),l(He(r,s.p),16).Ec(U),tc(o,L.p,Re(l(He(o,L.p),15).a+1))),u.d=N,u.c=y++,ne=s,s=L}++N}}function mxn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;p=l(Ut(t.c,e),460),ne=t.a.c,m=t.a.c+t.a.b,dt=p.f,Ct=p.a,f=dt<Ct,U=new Le(ne,dt),oe=new Le(m,Ct),s=(ne+m)/2,G=new Le(s,dt),le=new Le(s,Ct),u=l2n(e,dt,Ct),we=qd(t.B),Ge=new Le(s,u),lt=qd(t.D),r=zhn(Z(X($i,1),Me,8,0,[we,Ge,lt])),I=!1,J=t.B.i,J&&J.c&&p.d&&(y=f&&J.p<J.c.a.c.length-1||!f&&J.p>0,y?y&&(N=J.p,f?++N:--N,T=l(He(J.c.a,N),9),o=qht(T),I=!(swt(o,we,r[0])||est(o,we,r[0]))):I=!0),L=!1,Ee=t.D.i,Ee&&Ee.c&&p.e&&(v=f&&Ee.p>0||!f&&Ee.p<Ee.c.a.c.length-1,v?(N=Ee.p,f?--N:++N,T=l(He(Ee.c.a,N),9),o=qht(T),L=!(swt(o,r[0],lt)||est(o,r[0],lt))):L=!0),I&&L&&Gn(e.a,Ge),I||q3(e.a,Z(X($i,1),Me,8,0,[U,G])),L||q3(e.a,Z(X($i,1),Me,8,0,[le,oe]))}function Wvt(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt;if(r.c.length!=0){for(L=new Pe,I=new V(r);I.a<I.c.c.length;)N=l(q(I),19),je(L,new Le(N.i,N.j));for(o.bh(t,"Before removing overlaps");Obe(e,r);)x7(e,r,!1);if(o.bh(t,"After removing overlaps"),p=0,m=0,s=null,r.c.length!=0&&(s=(at(0,r.c.length),l(r.c[0],19)),p=s.i-(at(0,L.c.length),l(L.c[0],8)).a,m=s.j-(at(0,L.c.length),l(L.c[0],8)).b),f=b.Math.sqrt(p*p+m*m),T=Ipn(r),u=1,T.a.gc()!=0){for(v=T.a.ec().Jc();v.Ob();)y=l(v.Pb(),19),U=e.f,G=U.i+U.g/2,J=U.j+U.f/2,ne=y.i+y.g/2,oe=y.j+y.f/2,le=ne-G,Ee=oe-J,we=b.Math.sqrt(le*le+Ee*Ee),Ge=le/we,lt=Ee/we,ya(y,y.i+Ge*f),gu(y,y.j+lt*f);o.bh(t,"Child movement "+u),++u}e.a&&e.a.Fg(new Tu(T)),Wvt(e,t,new Tu(T),o)}}function wxn(e,t){var r,o,s,u,f,p,m,y,v,T,N;if(!e.f[t.p]){for(e.f[t.p]=!0,m=new hn,s=be(j(e.c,(Be(),LT)))===be((g1(),zy)),o=new Ft(Gt(Rr(t).a.Jc(),new D));an(o);)r=l(Qt(o),17),gr(r.d.i,(Ie(),Nr))?(N=0,T=r.d.i,s?(p=l(j(e.c,F1),15).a,N=p*l(j(T,qy),15).a+l(j(T,Nr),15).a):N=l(j(r.d.i,Nr),15).a,ba(m,Re(N))?pi(l(Ut(m,Re(N)),47),r):Yn(m,Re(N),new Ww(new Ds(Z(X(Hk,1),Sk,17,0,[r]))))):Yn(m,Re(sr-(m.f.c+m.i.c)),new Ww(new Ds(Z(X(Hk,1),Sk,17,0,[r]))));for(y=new yde(new Yh(m)),f=y.a.ec().Jc();f.Ob();)u=l(f.Pb(),15).a,v=l(l(Ut(m,Re(u)),47).a.ec().Jc().Pb(),17),!lo(v)&&(T=v.d.i,e.f[T.p]&&!bl(e.e,t)&&!bl(e.d,T)?li(e.b,l(Ut(m,Re(u)),18)):Gn(e.a,T))}}function yxn(e){var t,r,o,s;if(r=e.D!=null?e.D:e.B,t=xf(r,Qa(91)),t!=-1){o=(no(0,t,r.length),r.substr(0,t)),s=new Jp;do s.a+="[";while((t=WA(r,91,++t))!=-1);mt(o,sT)?s.a+="Z":mt(o,oI)?s.a+="B":mt(o,VF)?s.a+="C":mt(o,sI)?s.a+="D":mt(o,aI)?s.a+="F":mt(o,uI)?s.a+="I":mt(o,cI)?s.a+="J":mt(o,lI)?s.a+="S":(s.a+="L",s.a+=""+o,s.a+=";");try{return null}catch(u){if(u=ci(u),!se(u,63))throw K(u)}}else if(xf(r,Qa(46))==-1){if(mt(r,sT))return uu;if(mt(r,oI))return Eu;if(mt(r,VF))return al;if(mt(r,sI))return Ki;if(mt(r,aI))return vv;if(mt(r,uI))return Rn;if(mt(r,cI))return hw;if(mt(r,lI))return S2}return null}function vxn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;for(T=new the(new ece(e));T.c!=T.d.a.d;)for(v=Idt(T),p=l(v.d,57),t=l(v.e,57),f=p.Ah(),U=0,le=(f.i==null&&jf(f),f.i).length;U<le;++U)if(y=(u=(f.i==null&&jf(f),f.i),U>=0&&U<u.length?u[U]:null),y.pk()&&!y.qk()){if(se(y,104))m=l(y,20),!(m.Bb&Ws)&&(we=Do(m),!(we&&we.Bb&Ws))&&QAn(e,m,p,t);else if(Oo(),l(y,69).vk()&&(r=(Ee=y,l(Ee?l(t,52).di(Ee):null,164)),r))for(I=l(p.Jh(y),164),o=r.gc(),G=0,L=I.gc();G<L;++G)if(N=I.Rl(G),se(N,104)){if(oe=I.Sl(G),s=Wd(e,oe),s==null&&oe!=null){if(ne=l(N,20),!e.b||ne.Bb&Ws||Do(ne))continue;s=oe}if(!r.Ml(N,s)){for(J=0;J<o;++J)if(r.Rl(J)==N&&be(r.Sl(J))===be(s)){r.Ri(r.gc()-1,J),--o;break}}}else r.Ml(I.Rl(G),I.Sl(G))}}function Exn(e,t,r){var o;if(r.Tg("StretchWidth layering",1),t.a.c.length==0){r.Ug();return}for(e.c=t,e.t=0,e.u=0,e.i=Kr,e.g=Oi,e.d=ue(ce(j(t,(Be(),od)))),W1n(e),Hvn(e),Uvn(e),Wmn(e),Zgn(e),e.i=b.Math.max(1,e.i),e.g=b.Math.max(1,e.g),e.d=e.d/e.i,e.f=e.g/e.i,e.s=lbn(e),o=new ra(e.c),je(e.c.b,o),e.r=Mb(e.p),e.n=RP(e.k,e.k.length);e.r.c.length!=0;)e.o=vpn(e),!e.o||Xht(e)&&e.b.a.gc()!=0?(E0n(e,o),o=new ra(e.c),je(e.c.b,o),bo(e.a,e.b),e.b.a.$b(),e.t=e.u,e.u=0):Xht(e)?(e.c.b.c.length=0,o=new ra(e.c),je(e.c.b,o),e.t=0,e.u=0,e.b.a.$b(),e.a.a.$b(),++e.f,e.r=Mb(e.p),e.n=RP(e.k,e.k.length)):(Ii(e.o,o),Xa(e.r,e.o),pi(e.b,e.o),e.t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p],e.u+=e.e[e.o.p]*e.d);t.a.c.length=0,mC(t.b),r.Ug()}function FJ(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;return m=e,v=Ri(new Le(t.a,t.b),e),y=r,T=Ri(new Le(o.a,o.b),r),N=m.a,G=m.b,L=y.a,ne=y.b,I=v.a,J=v.b,U=T.a,oe=T.b,s=U*J-I*oe,Ud(),Yl(zf),b.Math.abs(0-s)<=zf||s==0||isNaN(0)&&isNaN(s)?!1:(f=1/s*((N-L)*J-(G-ne)*I),p=1/s*-(-(N-L)*oe+(G-ne)*U),u=(Yl(zf),(b.Math.abs(0-f)<=zf||f==0||isNaN(0)&&isNaN(f)?0:0<f?-1:0>f?1:_b(isNaN(0),isNaN(f)))<0&&(Yl(zf),(b.Math.abs(f-1)<=zf||f==1||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:_b(isNaN(f),isNaN(1)))<0)&&(Yl(zf),(b.Math.abs(0-p)<=zf||p==0||isNaN(0)&&isNaN(p)?0:0<p?-1:0>p?1:_b(isNaN(0),isNaN(p)))<0)&&(Yl(zf),(b.Math.abs(p-1)<=zf||p==1||isNaN(p)&&isNaN(1)?0:p<1?-1:p>1?1:_b(isNaN(p),isNaN(1)))<0)),u)}function Sxn(e){var t,r,o,s,u,f,p,m,y,v,T;for(e.j=me(Rn,Xn,30,e.g,15,1),e.o=new Pe,ei(gs(new yt(null,new vt(e.e.b,16)),new CUe),new _Je(e)),e.a=me(uu,Ad,30,e.b,16,1),O6(new yt(null,new vt(e.e.b,16)),new xJe(e)),o=(T=new Pe,ei(lr(gs(new yt(null,new vt(e.e.b,16)),new RUe),new kJe(e)),new ptt(e,T)),T),m=new V(o);m.a<m.c.c.length;)if(p=l(q(m),504),!(p.c.length<=1)){if(p.c.length==2){avn(p),RJ((at(0,p.c.length),l(p.c[0],17)).d.i)||je(e.o,p);continue}if(!(C0n(p)||byn(p,new IUe)))for(y=new V(p),s=null;y.a<y.c.c.length;)t=l(q(y),17),r=e.c[t.p],!s||y.a>=y.c.c.length?v=Vhe((Ht(),Xr),gi):v=Vhe((Ht(),gi),gi),v*=2,u=r.a.g,r.a.g=b.Math.max(u,u+(v-u)),f=r.b.g,r.b.g=b.Math.max(f,f+(v-f)),s=t}}function K7(e,t){var r;if(e.e)throw K(new Xo((ep(JQ),_X+JQ.k+kX)));if(!len(e.a,t))throw K(new vs(p2t+t+g2t));if(t==e.d)return e;switch(r=e.d,e.d=t,r.g){case 0:switch(t.g){case 2:N0(e);break;case 1:m1(e),N0(e);break;case 4:TE(e),N0(e);break;case 3:TE(e),m1(e),N0(e)}break;case 2:switch(t.g){case 1:m1(e),pJ(e);break;case 4:TE(e),N0(e);break;case 3:TE(e),m1(e),N0(e)}break;case 1:switch(t.g){case 2:m1(e),pJ(e);break;case 4:m1(e),TE(e),N0(e);break;case 3:m1(e),TE(e),m1(e),N0(e)}break;case 4:switch(t.g){case 2:TE(e),N0(e);break;case 1:TE(e),m1(e),N0(e);break;case 3:m1(e),pJ(e)}break;case 3:switch(t.g){case 2:m1(e),TE(e),N0(e);break;case 1:m1(e),TE(e),m1(e),N0(e);break;case 4:m1(e),pJ(e)}}return e}function RE(e,t){var r;if(e.d)throw K(new Xo((ep(lee),_X+lee.k+kX)));if(!den(e.a,t))throw K(new vs(p2t+t+g2t));if(t==e.c)return e;switch(r=e.c,e.c=t,r.g){case 0:switch(t.g){case 2:qb(e);break;case 1:b1(e),qb(e);break;case 4:AE(e),qb(e);break;case 3:AE(e),b1(e),qb(e)}break;case 2:switch(t.g){case 1:b1(e),gJ(e);break;case 4:AE(e),qb(e);break;case 3:AE(e),b1(e),qb(e)}break;case 1:switch(t.g){case 2:b1(e),gJ(e);break;case 4:b1(e),AE(e),qb(e);break;case 3:b1(e),AE(e),b1(e),qb(e)}break;case 4:switch(t.g){case 2:AE(e),qb(e);break;case 1:AE(e),b1(e),qb(e);break;case 3:b1(e),gJ(e)}break;case 3:switch(t.g){case 2:b1(e),AE(e),qb(e);break;case 1:b1(e),AE(e),b1(e),qb(e);break;case 4:b1(e),gJ(e)}}return e}function Txn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(T=e.b,v=new Ji(T,0),qw(v,new ra(e)),ne=!1,f=1;v.b<v.d.gc();){for(y=(un(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),26)),U=(at(f,T.c.length),l(T.c[f],26)),G=Mb(y.a),J=G.c.length,L=new V(G);L.a<L.c.c.length;)N=l(q(L),9),Ii(N,U);if(ne){for(I=ic(G).Jc();I.Ob();)for(N=l(I.Pb(),9),u=new V(Mb(si(N)));u.a<u.c.c.length;)s=l(q(u),17),bg(s,!0),Ae(e,(Ie(),xT),(Lt(),!0)),o=_vt(e,s,J),r=l(j(N,Q0),318),oe=l(He(o,o.c.length-1),17),r.k=oe.c.i,r.n=oe,r.b=s.d.i,r.c=s;ne=!1}else G.c.length!=0&&(t=(at(0,G.c.length),l(G.c[0],9)),t.k==(Ht(),af)&&(ne=!0,f=-1));++f}for(p=new Ji(e.b,0);p.b<p.d.gc();)m=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26)),m.a.c.length==0&&Lu(p)}function Y7(e,t){var r,o,s,u,f,p,m,y;if(se(e.Bh(),176)?(Y7(l(e.Bh(),176),t),t.a+=" > "):t.a+="Root ",r=e.Ah().zb,mt(r.substr(0,3),"Elk")?zn(t,(Yt(3,r.length+1),r.substr(3))):t.a+=""+r,s=e.ih(),s){zn((t.a+=" ",t),s);return}if(se(e,363)&&(y=l(e,158).a,y)){zn((t.a+=" ",t),y);return}for(f=new en(e.jh());f.e!=f.i.gc();)if(u=l(rn(f),158),y=u.a,y){zn((t.a+=" ",t),y);return}if(se(e,273)&&(o=l(e,74),!o.b&&(o.b=new Et(pn,o,4,7)),o.b.i!=0&&(!o.c&&(o.c=new Et(pn,o,5,8)),o.c.i!=0))){for(t.a+=" (",p=new vS((!o.b&&(o.b=new Et(pn,o,4,7)),o.b));p.e!=p.i.gc();)p.e>0&&(t.a+=Ma),Y7(l(rn(p),176),t);for(t.a+=DX,m=new vS((!o.c&&(o.c=new Et(pn,o,5,8)),o.c));m.e!=m.i.gc();)m.e>0&&(t.a+=Ma),Y7(l(rn(m),176),t);t.a+=")"}}function Axn(e,t,r){var o,s,u,f,p,m,y,v;for(m=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));m.e!=m.i.gc();)for(p=l(rn(m),19),s=new Ft(Gt(gp(p).a.Jc(),new D));an(s);){if(o=l(Qt(s),74),!o.b&&(o.b=new Et(pn,o,4,7)),!(o.b.i<=1&&(!o.c&&(o.c=new Et(pn,o,5,8)),o.c.i<=1)))throw K(new aS("Graph must not contain hyperedges."));if(!EC(o)&&p!=Vo(l(ie((!o.c&&(o.c=new Et(pn,o,5,8)),o.c),0),83)))for(y=new lit,qs(y,o),Ae(y,(h1(),TT),o),WXt(y,l(Es(Zo(r.f,p)),156)),KXt(y,l(Ut(r,Vo(l(ie((!o.c&&(o.c=new Et(pn,o,5,8)),o.c),0),83))),156)),je(t.c,y),f=new en((!o.n&&(o.n=new xe(Is,o,1,7)),o.n));f.e!=f.i.gc();)u=l(rn(f),158),v=new Ect(y,u.a),qs(v,u),Ae(v,TT,u),v.e.a=b.Math.max(u.g,1),v.e.b=b.Math.max(u.f,1),v0e(v),je(t.d,v)}}function _xn(e,t,r){var o,s,u,f,p,m,y,v,T,N;switch(r.Tg("Node promotion heuristic",1),e.i=t,e.r=l(j(t,(Be(),bL)),246),e.r!=(_1(),sx)&&e.r!=qI?Xxn(e):vSn(e),v=l(j(e.i,wAe),15).a,u=new XFe,e.r.g){case 2:case 1:nk(e,u);break;case 3:for(e.r=kB,nk(e,u),m=0,p=new V(e.b);p.a<p.c.c.length;)f=l(q(p),15),m=b.Math.max(m,f.a);m>e.k&&(e.r=vL,nk(e,u));break;case 4:for(e.r=kB,nk(e,u),y=0,s=new V(e.c);s.a<s.c.c.length;)o=ce(q(s)),y=b.Math.max(y,(Mt(o),o));y>e.n&&(e.r=EL,nk(e,u));break;case 6:N=po(b.Math.ceil(e.g.length*v/100)),nk(e,new AYe(N));break;case 5:T=po(b.Math.ceil(e.e*v/100)),nk(e,new _Ye(T));break;case 8:NEt(e,!0);break;case 9:NEt(e,!1);break;default:nk(e,u)}e.r!=sx&&e.r!=qI?B2n(e,t):oTn(e,t),r.Ug()}function kxn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(T=new M0e(e),tun(T,!(t==(vi(),il)||t==ff)),v=T.a,N=new rS,s=(Sd(),Z(X(Py,1),Ce,240,0,[$s,ja,Bs])),f=0,m=s.length;f<m;++f)r=s[f],y=hV(v,$s,r),y&&(N.d=b.Math.max(N.d,y.ff()));for(o=Z(X(Py,1),Ce,240,0,[$s,ja,Bs]),u=0,p=o.length;u<p;++u)r=o[u],y=hV(v,Bs,r),y&&(N.a=b.Math.max(N.a,y.ff()));for(U=Z(X(Py,1),Ce,240,0,[$s,ja,Bs]),J=0,oe=U.length;J<oe;++J)I=U[J],y=hV(v,I,$s),y&&(N.b=b.Math.max(N.b,y.gf()));for(L=Z(X(Py,1),Ce,240,0,[$s,ja,Bs]),G=0,ne=L.length;G<ne;++G)I=L[G],y=hV(v,I,Bs),y&&(N.c=b.Math.max(N.c,y.gf()));return N.d>0&&(N.d+=v.n.d,N.d+=v.d),N.a>0&&(N.a+=v.n.a,N.a+=v.d),N.b>0&&(N.b+=v.n.b,N.b+=v.d),N.c>0&&(N.c+=v.n.c,N.c+=v.d),N}function Kvt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L;for(N=r.d,T=r.c,u=new Le(r.f.a+r.d.b+r.d.c,r.f.b+r.d.d+r.d.a),f=u.b,y=new V(e.a);y.a<y.c.c.length;)if(p=l(q(y),9),p.k==(Ht(),mi)){switch(o=l(j(p,(Ie(),Us)),64),s=l(j(p,aTe),8),v=p.n,o.g){case 2:v.a=r.f.a+N.c-T.a;break;case 4:v.a=-T.a-N.b}switch(L=0,o.g){case 2:case 4:t==(qi(),Oh)?(I=ue(ce(j(p,tw))),v.b=u.b*I-l(j(p,(Be(),ow)),8).b,L=v.b+s.b,Oj(p,!1,!0)):t==fa&&(v.b=ue(ce(j(p,tw)))-l(j(p,(Be(),ow)),8).b,L=v.b+s.b,Oj(p,!1,!0))}f=b.Math.max(f,L)}for(r.f.b+=f-u.b,m=new V(e.a);m.a<m.c.c.length;)if(p=l(q(m),9),p.k==(Ht(),mi))switch(o=l(j(p,(Ie(),Us)),64),v=p.n,o.g){case 1:v.b=-T.b-N.d;break;case 3:v.b=r.f.b+N.a-T.b}}function Yvt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U;if(y=qAn(l(ye(t,(wh(),iv)),107),l(ye(r,vm),107)),ya(r,t.i+y),ue(ce(ye(e,Jf)))<ue(ce(ye(r,Jf)))){for(N=l(ye(e,vm),107),v=N.c+e.i;N.b;)N=N.b,v+=N.c;for(u=new Zu(l(ye(r,vm),107).c,-100,l(ye(r,vm),107).b),U=u.c+r.i;u.b.a<=N.a;)u=u.b,U+=u.c;p=u.b.c,m=u.b.a-u.a,f=(N.a-u.a)*p/m,L=-v+U+f,I=new Zu(u.b.c-f,u.b.a,u.b.b),YR(N,new Zu(L,N.a,I)),Vn(e,Jf,ce(ye(r,Jf)))}if(ue(ce(ye(r,Jf)))<ue(ce(ye(t,Jf)))){for(T=l(ye(r,iv),107),U=T.c+r.i;T.b;)T=T.b,U+=T.c;for(s=new Zu(l(ye(t,iv),107).c,-100,l(ye(t,iv),107).b),o=s.c+t.i;s.b.a<=T.a;)s=s.b,o+=s.c;p=s.b.c,m=s.b.a-s.a,f=(T.a-s.a)*p/m,L=o-U+f,I=new Zu(s.b.c-f,s.b.a,s.b.b),YR(T,new Zu(L,T.a,I)),Vn(r,Jf,ce(ye(t,Jf)))}}function xxn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;if(v=l(l(wr(e.r,t),24),85),v.gc()<=2||t==(Ue(),Zt)||t==(Ue(),Wt)){gEt(e,t);return}for(U=e.u.Gc((ku(),VT)),r=t==(Ue(),Vt)?(T0(),ZD):(T0(),XD),J=t==Vt?(Za(),rd):(Za(),Nd),o=qce(ofe(r),e.s),G=t==Vt?Kr:Oi,y=v.Jc();y.Ob();)p=l(y.Pb(),116),!(!p.c||p.c.d.c.length<=0)&&(L=p.b.Kf(),I=p.e,T=p.c,N=T.i,N.b=(u=T.n,T.e.a+u.b+u.c),N.a=(f=T.n,T.e.b+f.d+f.a),U?(N.c=I.a-(s=T.n,T.e.a+s.b+s.c)-e.s,U=!1):N.c=I.a+L.a+e.s,WO(J,uwe),T.f=J,Ed(T,(_u(),nd)),je(o.d,new zV(N,e1e(o,N))),G=t==Vt?b.Math.min(G,I.b):b.Math.max(G,I.b+p.b.Kf().b));for(G+=t==Vt?-e.t:e.t,m1e((o.e=G,o)),m=v.Jc();m.Ob();)p=l(m.Pb(),116),!(!p.c||p.c.d.c.length<=0)&&(N=p.c.i,N.c-=p.e.a,N.d-=p.e.b)}function Jvt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(s=new Pe,U=new V(t.a);U.a<U.c.c.length;)if(L=l(q(U),9),I=L.e,I&&(o=Jvt(e,I,L),li(s,o),Ukn(e,I,L),l(j(I,(Ie(),_a)),24).Gc((Mo(),rl))))for(ne=l(j(L,(Be(),Zr)),103),N=l(j(L,Jy),185).Gc((ku(),Cp)),J=new V(L.j);J.a<J.c.c.length;)for(G=l(q(J),12),u=l(Ut(e.b,G),9),u||(u=lD(G,ne,G.j,-(G.e.c.length-G.g.c.length),null,new to,G.o,l(j(I,kc),87),I),Ae(u,mr,G),Yn(e.b,G,u),je(I.a,u)),f=l(He(u.j,0),12),v=new V(G.f);v.a<v.c.c.length;)y=l(q(v),70),p=new gQe,p.o.a=y.o.a,p.o.b=y.o.b,je(f.f,p),N||(oe=G.j,T=0,A3(l(j(L,Jy),24))&&(T=rme(y.n,y.o,G.o,0,oe)),ne==(qi(),pf)||(Ue(),Wa).Gc(oe)?p.o.a=T:p.o.b=T);return m=new Pe,Hkn(e,t,r,s,m),r&&ikn(e,t,r,m),m}function O0e(e,t,r){var o,s,u,f,p,m,y,v,T;if(!e.c[t.c.p][t.p].e){for(e.c[t.c.p][t.p].e=!0,e.c[t.c.p][t.p].b=0,e.c[t.c.p][t.p].d=0,e.c[t.c.p][t.p].a=null,v=new V(t.j);v.a<v.c.c.length;)for(y=l(q(v),12),T=r?new OA(y):new Q2(y),m=T.Jc();m.Ob();)p=l(m.Pb(),12),f=p.i,f.c==t.c?f!=t&&(O0e(e,f,r),e.c[t.c.p][t.p].b+=e.c[f.c.p][f.p].b,e.c[t.c.p][t.p].d+=e.c[f.c.p][f.p].d):(e.c[t.c.p][t.p].d+=e.g[p.p],++e.c[t.c.p][t.p].b);if(u=l(j(t,(Ie(),rTe)),16),u)for(s=u.Jc();s.Ob();)o=l(s.Pb(),9),t.c==o.c&&(O0e(e,o,r),e.c[t.c.p][t.p].b+=e.c[o.c.p][o.p].b,e.c[t.c.p][t.p].d+=e.c[o.c.p][o.p].d);e.c[t.c.p][t.p].b>0&&(e.c[t.c.p][t.p].d+=$u(e.i,24)*TD*.07000000029802322-.03500000014901161,e.c[t.c.p][t.p].a=e.c[t.c.p][t.p].d/e.c[t.c.p][t.p].b)}}function Nxn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G;for(L=new V(e);L.a<L.c.c.length;){for(I=l(q(L),9),tg(I.n),tg(I.o),fpe(I.f),oyt(I),zSn(I),G=new V(I.j);G.a<G.c.c.length;){for(U=l(q(G),12),tg(U.n),tg(U.a),tg(U.o),Ni(U,T1t(U.j)),u=l(j(U,(Be(),_g)),15),u&&Ae(U,_g,Re(-u.a)),s=new V(U.g);s.a<s.c.c.length;){for(o=l(q(s),17),r=An(o.a,0);r.b!=r.d.c;)t=l(Sn(r),8),tg(t);if(m=l(j(o,rs),79),m)for(p=An(m,0);p.b!=p.d.c;)f=l(Sn(p),8),tg(f);for(T=new V(o.b);T.a<T.c.c.length;)y=l(q(T),70),tg(y.n),tg(y.o)}for(N=new V(U.f);N.a<N.c.c.length;)y=l(q(N),70),tg(y.n),tg(y.o)}for(I.k==(Ht(),mi)&&(Ae(I,(Ie(),Us),T1t(l(j(I,Us),64))),X2n(I)),v=new V(I.b);v.a<v.c.c.length;)y=l(q(v),70),oyt(y),tg(y.o),tg(y.n)}}function Cxn(e){Gw();var t,r,o,s,u,f,p;for(o=e.f.n,f=Xfe(e.r).a.nc();f.Ob();){if(u=l(f.Pb(),116),s=0,u.b.nf((_n(),Hu))&&(s=ue(ce(u.b.mf(Hu))),s<0))switch(u.b.$f().g){case 1:o.d=b.Math.max(o.d,-s);break;case 3:o.a=b.Math.max(o.a,-s);break;case 2:o.c=b.Math.max(o.c,-s);break;case 4:o.b=b.Math.max(o.b,-s)}if(A3(e.u))switch(t=ehn(u.b,s),p=!l(e.e.mf(G1),185).Gc((Bu(),JL)),r=!1,u.b.$f().g){case 1:r=t>o.d,o.d=b.Math.max(o.d,t),p&&r&&(o.d=b.Math.max(o.d,o.a),o.a=o.d+s);break;case 3:r=t>o.a,o.a=b.Math.max(o.a,t),p&&r&&(o.a=b.Math.max(o.a,o.d),o.d=o.a+s);break;case 2:r=t>o.c,o.c=b.Math.max(o.c,t),p&&r&&(o.c=b.Math.max(o.b,o.c),o.b=o.c+s);break;case 4:r=t>o.b,o.b=b.Math.max(o.b,t),p&&r&&(o.b=b.Math.max(o.b,o.c),o.c=o.b+s)}}}function Xvt(e,t){var r,o,s,u,f,p,m,y,v;return y="",t.length==0?e.le(J0e,JJ,-1,-1):(v=vy(t),mt(v.substr(0,3),"at ")&&(v=(Yt(3,v.length+1),v.substr(3))),v=v.replace(/\[.*?\]/g,""),f=v.indexOf("("),f==-1?(f=v.indexOf("@"),f==-1?(y=v,v=""):(y=vy((Yt(f+1,v.length+1),v.substr(f+1))),v=vy((no(0,f,v.length),v.substr(0,f))))):(r=v.indexOf(")",f),y=(no(f+1,r,v.length),v.substr(f+1,r-(f+1))),v=vy((no(0,f,v.length),v.substr(0,f)))),f=xf(v,Qa(46)),f!=-1&&(v=(Yt(f+1,v.length+1),v.substr(f+1))),(v.length==0||mt(v,"Anonymous function"))&&(v=JJ),p=M8(y,Qa(58)),s=Qde(y,Qa(58),p-1),m=-1,o=-1,u=J0e,p!=-1&&s!=-1&&(u=(no(0,s,y.length),y.substr(0,s)),m=Irt((no(s+1,p,y.length),y.substr(s+1,p-(s+1)))),o=Irt((Yt(p+1,y.length+1),y.substr(p+1)))),e.le(u,v,m,o))}function Ixn(e){var t,r,o,s,u,f,p,m,y,v,T;for(y=new V(e);y.a<y.c.c.length;){switch(m=l(q(y),9),f=l(j(m,(Be(),Ns)),166),u=null,f.g){case 1:case 2:u=(Gb(),JE);break;case 3:case 4:u=(Gb(),Yk)}if(u)Ae(m,(Ie(),tB),(Gb(),JE)),u==Yk?M7(m,f,(Lo(),Cu)):u==JE&&M7(m,f,(Lo(),Fa));else if(tE(l(j(m,Zr),103))&&m.j.c.length!=0){for(t=!0,T=new V(m.j);T.a<T.c.c.length;){if(v=l(q(T),12),!(v.j==(Ue(),Zt)&&v.e.c.length-v.g.c.length>0||v.j==Wt&&v.e.c.length-v.g.c.length<0)){t=!1;break}for(s=new V(v.g);s.a<s.c.c.length;)if(r=l(q(s),17),p=l(j(r.d.i,Ns),166),p==(rc(),OI)||p==hm){t=!1;break}for(o=new V(v.e);o.a<o.c.c.length;)if(r=l(q(o),17),p=l(j(r.c.i,Ns),166),p==(rc(),RI)||p==Ap){t=!1;break}}t&&M7(m,f,(Lo(),VI))}}}function Rxn(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;for(we=0,I=0,T=new V(t.e);T.a<T.c.c.length;){for(v=l(q(T),9),N=0,p=0,m=r?l(j(v,IB),15).a:Zi,J=o?l(j(v,RB),15).a:Zi,y=b.Math.max(m,J),oe=new V(v.j);oe.a<oe.c.c.length;){if(ne=l(q(oe),12),le=v.n.b+ne.n.b+ne.a.b,o)for(f=new V(ne.g);f.a<f.c.c.length;)u=l(q(f),17),U=u.d,L=U.i,t!=e.a[L.p]&&(G=b.Math.max(l(j(L,IB),15).a,l(j(L,RB),15).a),Ee=l(j(u,(Be(),PT)),15).a,Ee>=y&&Ee>=G&&(N+=L.n.b+U.n.b+U.a.b-le,++p));if(r)for(f=new V(ne.e);f.a<f.c.c.length;)u=l(q(f),17),U=u.c,L=U.i,t!=e.a[L.p]&&(G=b.Math.max(l(j(L,IB),15).a,l(j(L,RB),15).a),Ee=l(j(u,(Be(),PT)),15).a,Ee>=y&&Ee>=G&&(N+=L.n.b+U.n.b+U.a.b-le,++p))}p>0&&(we+=N/p,++I)}I>0?(t.a=s*we/I,t.g=I):(t.a=0,t.g=0)}function D0e(e,t,r,o){var s,u,f,p,m;return p=new M0e(t),T2n(p,o),s=!0,e&&e.nf((_n(),Em))&&(u=l(e.mf((_n(),Em)),87),s=u==(vi(),hf)||u==is||u==cs),qwt(p,!1),Oa(p.e.Pf(),new ife(p,!1,s)),EW(p,p.f,(Sd(),$s),(Ue(),Vt)),EW(p,p.f,Bs,dn),EW(p,p.g,$s,Wt),EW(p,p.g,Bs,Zt),a1t(p,Vt),a1t(p,dn),Wst(p,Zt),Wst(p,Wt),Gw(),f=p.A.Gc((oc(),fv))&&p.B.Gc((Bu(),XL))?ygt(p):null,f&&EQt(p.a,f),Cxn(p),Ubn(p),Hbn(p),oxn(p),gAn(p),pmn(p),dY(p,Vt),dY(p,dn),rTn(p),W_n(p),r&&(xgn(p),gmn(p),dY(p,Zt),dY(p,Wt),m=p.B.Gc((Bu(),k4)),Imt(p,m,Vt),Imt(p,m,dn),Rmt(p,m,Zt),Rmt(p,m,Wt),ei(new yt(null,new vt(new Jh(p.i),0)),new zR),ei(lr(new yt(null,Xfe(p.r).a.oc()),new GR),new NN),x0n(p),p.e.Nf(p.o),ei(new yt(null,Xfe(p.r).a.oc()),new CN)),p.o}function Oxn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(y=Kr,o=new V(e.a.b);o.a<o.c.c.length;)t=l(q(o),84),y=b.Math.min(y,t.d.f.g.c+t.e.a);for(I=new Sr,f=new V(e.a.a);f.a<f.c.c.length;)u=l(q(f),197),u.i=y,u.e==0&&Wr(I,u,I.c.b,I.c);for(;I.b!=0;){for(u=l(I.b==0?null:(un(I.b!=0),Vc(I,I.a.a)),197),s=u.f.g.c,N=u.a.a.ec().Jc();N.Ob();)v=l(N.Pb(),84),U=u.i+v.e.a,v.d.g||v.g.c<U?v.o=U:v.o=v.g.c;for(s-=u.f.o,u.b+=s,e.c==(vi(),cs)||e.c==ff?u.c+=s:u.c-=s,T=u.a.a.ec().Jc();T.Ob();)for(v=l(T.Pb(),84),m=v.f.Jc();m.Ob();)p=l(m.Pb(),84),Zh(e.c)?L=e.f.wf(v,p):L=e.f.xf(v,p),p.d.i=b.Math.max(p.d.i,v.o+v.g.b+L-p.e.a),p.k||(p.d.i=b.Math.max(p.d.i,p.g.c-p.e.a)),--p.d.e,p.d.e==0&&Gn(I,p.d)}for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.g.c=t.o}function Zvt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;for(r.Tg(CSt,1),N=(xr(),Xte),e.a==(Z3(),jB)&&(N=O_e),v=0,St(),t.gd(new GG(N)),u=t.gc(),p=t.dd(t.gc()),y=!0;y&&p.Sb();)ne=l(p.Ub(),41),l(j(ne,N),15).a==0?--u:y=!1;if(we=t.hd(0,u),f=new kV(we),we=t.hd(u,t.gc()),m=new kV(we),f.b==0)for(U=An(m,0);U.b!=U.d.c;)L=l(Sn(U),41),Ae(L,n4,Re(v++));else for(T=f.b,Ee=An(f,0);Ee.b!=Ee.d.c;){for(le=l(Sn(Ee),41),Ae(le,n4,Re(v++)),o=CK(le),Zvt(e,o,r.dh(1/T|0)),Ub(o,che(new GG(n4))),I=new Sr,oe=An(o,0);oe.b!=oe.d.c;)for(ne=l(Sn(oe),41),J=An(le.d,0);J.b!=J.d.c;)G=l(Sn(J),65),G.c==ne&&Wr(I,G,I.c.b,I.c);for(ec(le.d),bo(le.d,I),p=An(m,m.b),s=le.d.b,y=!0;0<s&&y&&p.Sb();)ne=l(p.Ub(),41),l(j(ne,N),15).a==0?(Ae(ne,n4,Re(v++)),--s,p.Qb()):y=!1}r.Ug()}function Qvt(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(v=new Xd(r),qs(v,t),Ae(v,(Ie(),mr),t),v.o.a=t.g,v.o.b=t.f,v.n.a=t.i,v.n.b=t.j,je(r.a,v),Yn(e.a,t,v),((!t.a&&(t.a=new xe(En,t,10,11)),t.a).i!=0||Ke(We(ye(t,(Be(),Wy)))))&&Ae(v,iTe,(Lt(),!0)),y=l(j(r,_a),24),T=l(j(v,(Be(),Zr)),103),T==(qi(),W1)?Ae(v,Zr,pf):T!=pf&&y.Ec((Mo(),Zk)),N=0,o=l(j(r,kc),87),m=new en((!t.c&&(t.c=new xe(zu,t,9,9)),t.c));m.e!=m.i.gc();)p=l(rn(m),127),s=Br(t),G7(s)&&!Ke(We(ye(t,uB)))&&Vn(p,Nr,Re(N++)),Ke(We(ye(p,bm)))||Fxn(e,p,v,y,o,T);for(f=new en((!t.n&&(t.n=new xe(Is,t,1,7)),t.n));f.e!=f.i.gc();)u=l(rn(f),158),!Ke(We(ye(u,bm)))&&u.a&&je(v.b,qK(u));return Ke(We(j(v,DI)))&&y.Ec((Mo(),J$)),Ke(We(j(v,fB)))&&(y.Ec((Mo(),X$)),y.Ec(kI),Ae(v,Zr,pf)),v}function Dxn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(t.Tg("Inverted port preprocessing",1),v=e.b,y=new Ji(v,0),r=null,oe=new Pe;y.b<y.d.gc();){for(ne=r,r=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),26)),I=new V(oe);I.a<I.c.c.length;)T=l(q(I),9),Ii(T,ne);for(oe.c.length=0,L=new V(r.a);L.a<L.c.c.length;)if(T=l(q(L),9),T.k==(Ht(),Xr)&&tE(l(j(T,(Be(),Zr)),103))){for(J=Vme(T,(Lo(),Cu),(Ue(),Zt)).Jc();J.Ob();)for(U=l(J.Pb(),12),m=U.e,p=l(Yd(m,me(Hk,Sk,17,m.c.length,0,1)),324),s=p,u=0,f=s.length;u<f;++u)o=s[u],n_n(e,U,o,oe);for(G=Vme(T,Fa,Wt).Jc();G.Ob();)for(U=l(G.Pb(),12),m=U.g,p=l(Yd(m,me(Hk,Sk,17,m.c.length,0,1)),324),s=p,u=0,f=s.length;u<f;++u)o=s[u],t_n(e,U,o,oe)}}for(N=new V(oe);N.a<N.c.c.length;)T=l(q(N),9),Ii(T,r);t.Ug()}function Lxn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I;for(T=ue(ce(ye(e,(T1(),bne)))),Ke(We(ye(e,hke)))&&(v=l(ye(e,(aE(),l2)),19),u=l(ie(s_(l(ie((!v.e&&(v.e=new Et(Cr,v,7,4)),v.e),(!v.e&&(v.e=new Et(Cr,v,7,4)),v.e).i-1),74)),0),19),o=l(ie(s_(l(ie((!v.e&&(v.e=new Et(Cr,v,7,4)),v.e),0),74)),0),19),f=new Le(u.i+u.g/2,u.j+u.f/2),s=new Le(o.i+o.g/2,o.j+o.f/2),r=T,r<=0&&(r+=im),N=b.Math.acos((f.a*s.a+f.b*s.b)/(b.Math.sqrt(f.a*f.a+f.b*f.b)*b.Math.sqrt(s.a*s.a+s.b*s.b))),N<=0&&(N+=im),t=b.Math.atan2(f.b,f.a),t<=0&&(t+=im),T=Wye-(t-r+N/2)),m=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));m.e!=m.i.gc();)p=l(rn(m),19),y=new Le(p.i+p.g/2,p.j+p.f/2),I=y.a*b.Math.cos(T)-y.b*b.Math.sin(T),y.b=y.a*b.Math.sin(T)+y.b*b.Math.cos(T),y.a=I,Bc(p,y.a-p.g/2,y.b-p.f/2)}function Mxn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;if(U=e.n,G=e.o,N=e.d,T=ue(ce(gy(e,(Be(),Ete)))),t){for(v=T*(t.gc()-1),I=0,m=t.Jc();m.Ob();)f=l(m.Pb(),9),v+=f.o.a,I=b.Math.max(I,f.o.b);for(J=U.a-(v-G.a)/2,u=U.b-N.d+I,o=G.a/(t.gc()+1),s=o,p=t.Jc();p.Ob();)f=l(p.Pb(),9),f.n.a=J,f.n.b=u-f.o.b,J+=f.o.a+T,y=twt(f),y.n.a=f.o.a/2-y.a.a,y.n.b=f.o.b,L=l(j(f,(Ie(),Q$)),12),L.e.c.length+L.g.c.length==1&&(L.n.a=s-L.a.a,L.n.b=0,Ts(L,e)),s+=o}if(r){for(v=T*(r.gc()-1),I=0,m=r.Jc();m.Ob();)f=l(m.Pb(),9),v+=f.o.a,I=b.Math.max(I,f.o.b);for(J=U.a-(v-G.a)/2,u=U.b+G.b+N.a-I,o=G.a/(r.gc()+1),s=o,p=r.Jc();p.Ob();)f=l(p.Pb(),9),f.n.a=J,f.n.b=u,J+=f.o.a+T,y=twt(f),y.n.a=f.o.a/2-y.a.a,y.n.b=0,L=l(j(f,(Ie(),Q$)),12),L.e.c.length+L.g.c.length==1&&(L.n.a=s-L.a.a,L.n.b=G.b,Ts(L,e)),s+=o}}function $J(e,t,r,o,s,u,f){var p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(N=null,o==(p0(),H1)?N=t:o==u2&&(N=r),U=N.a.ec().Jc();U.Ob();){for(L=l(U.Pb(),12),G=_s(Z(X($i,1),Me,8,0,[L.i.n,L.n,L.a])).b,oe=new hi,p=new hi,y=new Vd(L.b);Ss(y.a)||Ss(y.b);)if(m=l(Ss(y.a)?q(y.a):q(y.b),17),Ke(We(j(m,(Ie(),Tg))))==s&&As(u,m,0)!=-1){if(m.d==L?J=m.c:J=m.d,ne=_s(Z(X($i,1),Me,8,0,[J.i.n,J.n,J.a])).b,b.Math.abs(ne-G)<.2)continue;ne<G?t.a._b(J)?pi(oe,new ko(H1,m)):pi(oe,new ko(u2,m)):t.a._b(J)?pi(p,new ko(H1,m)):pi(p,new ko(u2,m))}if(oe.a.gc()>1)for(I=new A0e(L,oe,o),co(oe,new mtt(e,I)),Ot(f.c,I),T=oe.a.ec().Jc();T.Ob();)v=l(T.Pb(),49),Xa(u,v.b);if(p.a.gc()>1)for(I=new A0e(L,p,o),co(p,new wtt(e,I)),Ot(f.c,I),T=p.a.ec().Jc();T.Ob();)v=l(T.Pb(),49),Xa(u,v.b)}}function Pxn(e,t){var r,o,s,u,f,p;if(l(j(t,(Ie(),_a)),24).Gc((Mo(),rl))){for(p=new V(t.a);p.a<p.c.c.length;)u=l(q(p),9),u.k==(Ht(),Xr)&&(s=l(j(u,(Be(),gB)),125),e.c=b.Math.min(e.c,u.n.a-s.b),e.a=b.Math.max(e.a,u.n.a+u.o.a+s.c),e.d=b.Math.min(e.d,u.n.b-s.d),e.b=b.Math.max(e.b,u.n.b+u.o.b+s.a));for(f=new V(t.a);f.a<f.c.c.length;)if(u=l(q(f),9),u.k!=(Ht(),Xr))switch(u.k.g){case 2:if(o=l(j(u,(Be(),Ns)),166),o==(rc(),Ap)){u.n.a=e.c-10,U1t(u,new RFe).Jb(new wYe(u));break}if(o==hm){u.n.a=e.a+10,U1t(u,new OFe).Jb(new yYe(u));break}if(r=l(j(u,dm),316),r==(up(),ZE)){vvt(u).Jb(new vYe(u)),u.n.b=e.d-10;break}if(r==_T){vvt(u).Jb(new EYe(u)),u.n.b=e.b+10;break}break;default:throw K(new jt("The node type "+u.k+" is not supported by the "+O3n))}}}function jxn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G;for(m=new Le(o.i+o.g/2,o.j+o.f/2),I=mvt(o),L=l(ye(t,(Be(),Zr)),103),G=l(ye(o,nx),64),ant(n1t(o),Yy)||(o.i==0&&o.j==0?U=0:U=awn(o,G),Vn(o,Yy,U)),y=new Le(t.g,t.f),s=lD(o,L,G,I,y,m,new Le(o.g,o.f),l(j(r,kc),87),r),Ae(s,(Ie(),mr),o),u=l(He(s.j,0),12),JXt(u,QTn(o)),Ae(s,Jy,(ku(),ct(K1))),T=l(ye(t,Jy),185).Gc(Cp),p=new en((!o.n&&(o.n=new xe(Is,o,1,7)),o.n));p.e!=p.i.gc();)if(f=l(rn(p),158),!Ke(We(ye(f,bm)))&&f.a&&(N=qK(f),je(u.f,N),!T))switch(v=0,A3(l(ye(t,Jy),24))&&(v=rme(new Le(f.i,f.j),new Le(f.g,f.f),new Le(o.g,o.f),0,G)),G.g){case 2:case 4:N.o.a=v;break;case 1:case 3:N.o.b=v}Ae(s,ix,ce(ye(Br(t),ix))),Ae(s,ox,ce(ye(Br(t),ox))),Ae(s,Qy,ce(ye(Br(t),Qy))),je(r.a,s),Yn(e.a,o,s)}function Fxn(e,t,r,o,s,u){var f,p,m,y,v,T;for(y=new aa,qs(y,t),Ni(y,l(ye(t,(Be(),nx)),64)),Ae(y,(Ie(),mr),t),Ts(y,r),T=y.o,T.a=t.g,T.b=t.f,v=y.n,v.a=t.i,v.b=t.j,Yn(e.a,t,y),f=fE(Ia(gs(new yt(null,(!t.e&&(t.e=new Et(Cr,t,7,4)),new vt(t.e,16))),new vG),new yG),new cYe(t)),f||(f=fE(Ia(gs(new yt(null,(!t.d&&(t.d=new Et(Cr,t,8,5)),new vt(t.d,16))),new EG),new c9),new lYe(t))),f||(f=fE(new yt(null,(!t.e&&(t.e=new Et(Cr,t,7,4)),new vt(t.e,16))),new VR)),Ae(y,dL,(Lt(),!!f)),akn(y,u,s,l(ye(t,ow),8)),m=new en((!t.n&&(t.n=new xe(Is,t,1,7)),t.n));m.e!=m.i.gc();)p=l(rn(m),158),!Ke(We(ye(p,bm)))&&p.a&&je(y.f,qK(p));switch(s.g){case 2:case 1:(y.j==(Ue(),Vt)||y.j==dn)&&o.Ec((Mo(),XE));break;case 4:case 3:(y.j==(Ue(),Zt)||y.j==Wt)&&o.Ec((Mo(),XE))}return y}function $xn(e,t,r,o,s,u){var f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn;Dt=Ut(e.g,s),Dt==null&&(Dt=new oS,L=l(Dt,150),oe=t+"_s",le=oe+u,I=new Zw(le),Kl(L,Gf,I)),Ct=l(Dt,150),CS(r,Ct),qn=new oS,Db(qn,"x",b7(e,o,s.j)),Db(qn,"y",m7(e,o,s.k)),Kl(Ct,$Tt,qn),lt=new oS,Db(lt,"x",b7(e,o,s.b)),Db(lt,"y",m7(e,o,s.c)),Kl(Ct,"endPoint",lt),N=oO((!s.a&&(s.a=new yi(Ic,s,5)),s.a)),U=!N,U&&(Ge=new yb,f=new zit(e,o,Ge),co((!s.a&&(s.a=new yi(Ic,s,5)),s.a),f),Kl(Ct,BF,Ge)),y=yY(s),Ee=!!y,Ee&&Nbe(e.a,Ct,iEe,QY(e,yY(s))),ne=vY(s),we=!!ne,we&&Nbe(e.a,Ct,rEe,QY(e,vY(s))),v=(!s.e&&(s.e=new Et(jr,s,10,9)),s.e).i==0,G=!v,G&&(dt=new yb,p=new Ktt(e,dt),co((!s.e&&(s.e=new Et(jr,s,10,9)),s.e),p),Kl(Ct,sEe,dt)),T=(!s.g&&(s.g=new Et(jr,s,9,10)),s.g).i==0,J=!T,J&&(on=new yb,m=new Ytt(e,on),co((!s.g&&(s.g=new Et(jr,s,9,10)),s.g),m),Kl(Ct,oEe,on))}function Bxn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;for(t.Tg("Comment pre-processing",1),r=0,m=new V(e.a);m.a<m.c.c.length;)if(p=l(q(m),9),Ke(We(j(p,(Be(),DI))))){for(++r,s=0,o=null,y=null,L=new V(p.j);L.a<L.c.c.length;)N=l(q(L),12),s+=N.e.c.length+N.g.c.length,N.e.c.length==1&&(o=l(He(N.e,0),17),y=o.c),N.g.c.length==1&&(o=l(He(N.g,0),17),y=o.d);if(s==1&&y.e.c.length+y.g.c.length==1&&!Ke(We(j(y.i,DI))))wNn(p,o,y,y.i),k3(m);else{for(J=new Pe,I=new V(p.j);I.a<I.c.c.length;){for(N=l(q(I),12),T=new V(N.g);T.a<T.c.c.length;)v=l(q(T),17),v.d.g.c.length==0||Ot(J.c,v);for(f=new V(N.e);f.a<f.c.c.length;)u=l(q(f),17),u.c.e.c.length==0||Ot(J.c,u)}for(G=new V(J);G.a<G.c.c.length;)U=l(q(G),17),bg(U,!0)}}t.$g()&&t.ah("Found "+r+" comment boxes"),t.Ug()}function Uxn(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;for(oe=0,L=0,I=0,N=1,ne=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));ne.e!=ne.i.gc();)G=l(rn(ne),19),N+=yd(new Ft(Gt(gp(G).a.Jc(),new D))),lt=G.g,L=b.Math.max(L,lt),T=G.f,I=b.Math.max(I,T),oe+=lt*T;for(U=(!e.a&&(e.a=new xe(En,e,10,11)),e.a).i,f=oe+2*o*o*N*U,u=b.Math.sqrt(f),m=b.Math.max(u*r,L),p=b.Math.max(u/r,I),J=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));J.e!=J.i.gc();)G=l(rn(J),19),dt=s.b+($u(t,26)*FC+$u(t,27)*$C)*(m-G.g),Ct=s.b+($u(t,26)*FC+$u(t,27)*$C)*(p-G.f),ya(G,dt),gu(G,Ct);for(Ge=m+(s.b+s.c),we=p+(s.d+s.a),Ee=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));Ee.e!=Ee.i.gc();)for(le=l(rn(Ee),19),v=new Ft(Gt(gp(le).a.Jc(),new D));an(v);)y=l(Qt(v),74),EC(y)||WNn(y,t,Ge,we);Ge+=s.b+s.c,we+=s.d+s.a,L0(e,Ge,we,!1,!0)}function Hxn(e){var t,r,o,s;for(ei(lr(new yt(null,new vt(e.a.b,16)),new sBe),new aBe),o0n(e),ei(lr(new yt(null,new vt(e.a.b,16)),new uBe),new cBe),e.c==(hp(),qT)&&(ei(lr(gs(new yt(null,new vt(new Yh(e.f),1)),new lBe),new dBe),new UYe(e)),ei(lr(Ia(gs(gs(new yt(null,new vt(e.d.b,16)),new fBe),new hBe),new pBe),new gBe),new zYe(e))),ei(lr(gs(new yt(null,new vt(new Yh(e.f),1)),new bBe),new mBe),new GYe(e)),s=new Le(Kr,Kr),t=new Le(Oi,Oi),o=new V(e.a.b);o.a<o.c.c.length;)r=l(q(o),60),s.a=b.Math.min(s.a,r.d.c),s.b=b.Math.min(s.b,r.d.d),t.a=b.Math.max(t.a,r.d.c+r.d.b),t.b=b.Math.max(t.b,r.d.d+r.d.a);br(wd(e.d.c),B8(new Le(s.a,s.b))),br(wd(e.d.f),Ri(new Le(t.a,t.b),s)),p2n(e,s,t),Zs(e.f),Zs(e.b),Zs(e.g),Zs(e.e),e.a.a.c.length=0,e.a.b.c.length=0,e.a=null,e.d=null}function L0e(e,t){fot();var r,o,s,u,f,p,m;if(this.a=new ide(this),this.b=e,this.c=t,this.f=QV(es((mu(),so),t)),this.f.dc())if((p=sbe(so,e))==t)for(this.e=!0,this.d=new Pe,this.f=new HGe,this.f.Ec(um),l(W7(d6(so,mc(e)),""),29)==e&&this.f.Ec(S3(so,mc(e))),s=wJ(so,e).Jc();s.Ob();)switch(o=l(s.Pb(),182),d0(es(so,o))){case 4:{this.d.Ec(o);break}case 5:{this.f.Fc(QV(es(so,o)));break}}else if(Oo(),l(t,69).vk())for(this.e=!0,this.f=null,this.d=new Pe,f=0,m=(e.i==null&&jf(e),e.i).length;f<m;++f)for(o=(r=(e.i==null&&jf(e),e.i),f>=0&&f<r.length?r[f]:null),u=DS(es(so,o));u;u=DS(es(so,u)))u==t&&this.d.Ec(o);else d0(es(so,t))==1&&p?(this.f=null,this.d=(tT(),iLt)):(this.f=null,this.e=!0,this.d=(St(),new UG(t)));else this.e=d0(es(so,t))==5,this.f.Fb(jre)&&(this.f=jre)}function eEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;for(r=0,o=Ibn(e,t),N=e.s,I=e.t,y=l(l(wr(e.r,t),24),85).Jc();y.Ob();)if(m=l(y.Pb(),116),!(!m.c||m.c.d.c.length<=0)){switch(L=m.b.Kf(),p=m.b.nf((_n(),Hu))?ue(ce(m.b.mf(Hu))):0,v=m.c,T=v.i,T.b=(f=v.n,v.e.a+f.b+f.c),T.a=(u=v.n,v.e.b+u.d+u.a),t.g){case 1:T.c=m.a?(L.a-T.b)/2:L.a+N,T.d=L.b+p+o,Ed(v,(_u(),L1)),Nf(v,(Za(),Nd));break;case 3:T.c=m.a?(L.a-T.b)/2:L.a+N,T.d=-p-o-T.a,Ed(v,(_u(),L1)),Nf(v,(Za(),rd));break;case 2:T.c=-p-o-T.b,m.a?(s=e.v?T.a:l(He(v.d,0),190).Kf().b,T.d=(L.b-s)/2):T.d=L.b+I,Ed(v,(_u(),nd)),Nf(v,(Za(),M1));break;case 4:T.c=L.a+p+o,m.a?(s=e.v?T.a:l(He(v.d,0),190).Kf().b,T.d=(L.b-s)/2):T.d=L.b+I,Ed(v,(_u(),Vf)),Nf(v,(Za(),M1))}(t==(Ue(),Vt)||t==dn)&&(r=b.Math.max(r,T.a))}r>0&&(l(Go(e.b,t),129).a.b=r)}function zxn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;for(I=0,o=new hi,u=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));u.e!=u.i.gc();)s=l(rn(u),19),Ke(We(ye(s,(Be(),bm))))||(T=Br(s),G7(T)&&!Ke(We(ye(s,uB)))&&(Vn(s,(Ie(),Nr),Re(I)),++I,Gc(s,qy)&&pi(o,l(ye(s,qy),15))),Qvt(e,s,r));for(Ae(r,(Ie(),F1),Re(I)),Ae(r,lL,Re(o.a.gc())),I=0,v=new en((!t.b&&(t.b=new xe(Cr,t,12,3)),t.b));v.e!=v.i.gc();)m=l(rn(v),74),G7(t)&&(Vn(m,Nr,Re(I)),++I),G=WY(m),J=Bbt(m),N=Ke(We(ye(G,(Be(),Wy)))),U=!Ke(We(ye(m,bm))),L=N&&I0(m)&&Ke(We(ye(m,pm))),f=Br(G)==t&&Br(G)==Br(J),p=(Br(G)==t&&J==t)^(Br(J)==t&&G==t),U&&!L&&(p||f)&&B0e(e,m,t,r);if(Br(t))for(y=new en(nat(Br(t)));y.e!=y.i.gc();)m=l(rn(y),74),G=WY(m),G==t&&I0(m)&&(L=Ke(We(ye(G,(Be(),Wy))))&&Ke(We(ye(m,pm))),L&&B0e(e,m,t,r))}function Gxn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt;for(we=new Pe,L=new V(e.b);L.a<L.c.c.length;)for(I=l(q(L),26),J=new V(I.a);J.a<J.c.c.length;)if(U=l(q(J),9),U.k==(Ht(),mi)&&gr(U,(Ie(),nB))){for(ne=null,le=null,oe=null,dt=new V(U.j);dt.a<dt.c.c.length;)switch(lt=l(q(dt),12),lt.j.g){case 4:ne=lt;break;case 2:le=lt;break;default:oe=lt}for(Ee=l(He(oe.g,0),17),v=new F9(Ee.a),y=new Eo(oe.n),br(y,U.n),T=An(v,0),mP(T,y),Ge=Rge(Ee.a),N=new Eo(oe.n),br(N,U.n),Wr(Ge,N,Ge.c.b,Ge.c),Ct=l(j(U,nB),9),Dt=l(He(Ct.j,0),12),m=l(Yd(ne.e,me(Hk,Sk,17,0,0,1)),324),o=m,u=0,p=o.length;u<p;++u)t=o[u],Yi(t,Dt),HK(t.a,t.a.b,v);for(m=Of(le.g),r=m,s=0,f=r.length;s<f;++s)t=r[s],go(t,Dt),HK(t.a,0,Ge);go(Ee,null),Yi(Ee,null),Ot(we.c,U)}for(G=new V(we);G.a<G.c.c.length;)U=l(q(G),9),Ii(U,null)}function qxn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U;if(N=ue(ce(j(e,(Be(),ix)))),I=ue(ce(j(e,ox))),T=ue(ce(j(e,Qy))),p=e.o,u=l(He(e.j,0),12),f=u.n,U=fyn(u,T),!!U){if(t.Gc((ku(),Cp)))switch(l(j(e,(Ie(),Us)),64).g){case 1:U.c=(p.a-U.b)/2-f.a,U.d=I;break;case 3:U.c=(p.a-U.b)/2-f.a,U.d=-I-U.a;break;case 2:r&&u.e.c.length==0&&u.g.c.length==0?(v=o?U.a:l(He(u.f,0),70).o.b,U.d=(p.b-v)/2-f.b):U.d=p.b+I-f.b,U.c=-N-U.b;break;case 4:r&&u.e.c.length==0&&u.g.c.length==0?(v=o?U.a:l(He(u.f,0),70).o.b,U.d=(p.b-v)/2-f.b):U.d=p.b+I-f.b,U.c=N}else if(t.Gc(K1))switch(l(j(e,(Ie(),Us)),64).g){case 1:case 3:U.c=f.a+N;break;case 2:case 4:r&&!u.c?(v=o?U.a:l(He(u.f,0),70).o.b,U.d=(p.b-v)/2-f.b):U.d=f.b+I}for(s=U.d,y=new V(u.f);y.a<y.c.c.length;)m=l(q(y),70),L=m.n,L.a=U.c,L.b=s,s+=m.o.b+T}}function M0e(e){var t;if(this.r=Xsn(new HR,new kA),this.b=new sC(l(xn(Co),299)),this.p=new sC(l(xn(Co),299)),this.i=new sC(l(xn(Fkt),299)),this.e=e,this.o=new Eo(e.Kf()),this.D=Ke(We(e.mf((_n(),mx)))),this.F=e.Wf()||Ke(We(e.mf($L))),this.A=l(e.mf(Sm),24),this.B=l(e.mf(G1),24),this.q=l(e.mf(gx),103),this.u=l(e.mf(uv),24),!bwn(this.u))throw K(new Af("Invalid port label placement: "+this.u));if(this.v=Ke(We(e.mf(dNe))),this.j=l(e.mf(g2),24),!LEn(this.j))throw K(new Af("Invalid node label placement: "+this.j));this.n=l(fC(e,Zxe),100),this.k=ue(ce(fC(e,rU))),this.d=ue(ce(fC(e,gNe))),this.w=ue(ce(fC(e,vNe))),this.s=ue(ce(fC(e,bNe))),this.t=ue(ce(fC(e,mNe))),this.C=l(fC(e,wNe),125),this.c=2*this.d,t=!this.B.Gc((Bu(),JL)),this.f=new cC(0,t,0),this.g=new cC(1,t,0),iq(this.f,(Sd(),ja),this.g)}function Vxn(){Qn(cM,new fVe),Qn(AU,new TVe),Qn(lM,new LVe),Qn(L3e,new qVe),Qn(Ye,new YVe),Qn(X(Eu,1),new JVe),Qn(Yr,new XVe),Qn(yT,new ZVe),Qn(Ye,new tVe),Qn(Ye,new nVe),Qn(Ye,new rVe),Qn(fi,new iVe),Qn(Ye,new oVe),Qn(_c,new sVe),Qn(_c,new aVe),Qn(Ye,new uVe),Qn(Bk,new cVe),Qn(Ye,new dVe),Qn(Ye,new hVe),Qn(Ye,new pVe),Qn(Ye,new gVe),Qn(Ye,new bVe),Qn(X(Eu,1),new mVe),Qn(Ye,new wVe),Qn(Ye,new yVe),Qn(_c,new vVe),Qn(_c,new EVe),Qn(Ye,new SVe),Qn(Ti,new AVe),Qn(Ye,new _Ve),Qn(K0,new kVe),Qn(Ye,new xVe),Qn(Ye,new NVe),Qn(Ye,new CVe),Qn(Ye,new IVe),Qn(_c,new RVe),Qn(_c,new OVe),Qn(Ye,new DVe),Qn(Ye,new MVe),Qn(Ye,new PVe),Qn(Ye,new jVe),Qn(Ye,new FVe),Qn(Ye,new $Ve),Qn(Y0,new BVe),Qn(Ye,new UVe),Qn(Ye,new HVe),Qn(Ye,new zVe),Qn(Y0,new GVe),Qn(K0,new VVe),Qn(Ye,new WVe),Qn(Ti,new KVe)}function tEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;switch(v=new Du,e.a.g){case 3:N=l(j(t.e,(Ie(),fm)),16),I=l(j(t.j,fm),16),L=l(j(t.f,fm),16),r=l(j(t.e,n2),16),o=l(j(t.j,n2),16),s=l(j(t.f,n2),16),f=new Pe,li(f,N),I.Ic(new rUe),li(f,ic(I)),li(f,L),u=new Pe,li(u,r),li(u,ic(o)),li(u,s),Ae(t.f,fm,f),Ae(t.f,n2,u),Ae(t.f,pTe,t.f),Ae(t.e,fm,null),Ae(t.e,n2,null),Ae(t.j,fm,null),Ae(t.j,n2,null);break;case 1:bo(v,t.e.a),Gn(v,t.i.n),bo(v,ic(t.j.a)),Gn(v,t.a.n),bo(v,t.f.a);break;default:bo(v,t.e.a),bo(v,ic(t.j.a)),bo(v,t.f.a)}ec(t.f.a),bo(t.f.a,v),go(t.f,t.e.c),p=l(j(t.e,(Be(),rs)),79),y=l(j(t.j,rs),79),m=l(j(t.f,rs),79),(p||y||m)&&(T=new Du,qfe(T,m),qfe(T,y),qfe(T,p),Ae(t.f,rs,T)),go(t.j,null),Yi(t.j,null),go(t.e,null),Yi(t.e,null),Ii(t.a,null),Ii(t.i,null),t.g&&tEt(e,t.g)}function nEt(){nEt=Y;var e,t,r;for(new M6(1,0),new M6(10,0),new M6(0,0),B_t=me(UQ,Me,249,11,0,1),lm=me(al,$f,30,100,15,1),JEe=Z(X(Ki,1),Wo,30,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),XEe=me(Rn,Xn,30,JEe.length,15,1),ZEe=Z(X(Ki,1),Wo,30,15,[1,10,100,wg,1e4,mX,1e6,1e7,1e8,tF,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),QEe=me(Rn,Xn,30,ZEe.length,15,1),e2e=me(UQ,Me,249,11,0,1),e=0;e<e2e.length;e++)B_t[e]=new M6(e,0),e2e[e]=new M6(0,e),lm[e]=48;for(;e<lm.length;e++)lm[e]=48;for(r=0;r<XEe.length;r++)XEe[r]=eme(JEe[r]);for(t=0;t<QEe.length;t++)QEe[t]=eme(ZEe[t]);Z_()}function Wxn(){function e(){this.obj=this.createObject()}return e.prototype.createObject=function(t){return Object.create(null)},e.prototype.get=function(t){return this.obj[t]},e.prototype.set=function(t,r){this.obj[t]=r},e.prototype[vX]=function(t){delete this.obj[t]},e.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},e.prototype.entries=function(){var t=this.keys(),r=this,o=0;return{next:function(){if(o>=t.length)return{done:!0};var s=t[o++];return{value:[s,r.get(s)],done:!1}}}},jSn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(t){return this.obj[":"+t]},e.prototype.set=function(t,r){this.obj[":"+t]=r},e.prototype[vX]=function(t){delete this.obj[":"+t]},e.prototype.keys=function(){var t=[];for(var r in this.obj)r.charCodeAt(0)==58&&t.push(r.substring(1));return t}),e}function xr(){xr=Y,t4=new cr(gwe),new Pr("DEPTH",Re(0)),Xte=new Pr("FAN",Re(0)),O_e=new Pr(xSt,Re(0)),z1=new Pr("ROOT",(Lt(),!1)),ene=new Pr("LEFTNEIGHBOR",null),U4t=new Pr("RIGHTNEIGHBOR",null),LB=new Pr("LEFTSIBLING",null),tne=new Pr("RIGHTSIBLING",null),Jte=new Pr("DUMMY",!1),new Pr("LEVEL",Re(0)),M_e=new Pr("REMOVABLE_EDGES",new Sr),xL=new Pr("XCOOR",Re(0)),NL=new Pr("YCOOR",Re(0)),MB=new Pr("LEVELHEIGHT",0),Id=new Pr("LEVELMIN",0),sd=new Pr("LEVELMAX",0),Zte=new Pr("GRAPH_XMIN",0),Qte=new Pr("GRAPH_YMIN",0),D_e=new Pr("GRAPH_XMAX",0),L_e=new Pr("GRAPH_YMAX",0),R_e=new Pr("COMPACT_LEVEL_ASCENSION",!1),Yte=new Pr("COMPACT_CONSTRAINTS",new Pe),e4=new Pr("ID",""),n4=new Pr("POSITION",Re(0)),xg=new Pr("PRELIM",0),cx=new Pr("MODIFIER",0),ux=new cr(L2t),kL=new cr(M2t)}function Kxn(e){h0e();var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G;if(e==null)return null;if(T=e.length*8,T==0)return"";for(p=T%24,I=T/24|0,N=p!=0?I+1:I,u=null,u=me(al,$f,30,N*4,15,1),y=0,v=0,t=0,r=0,o=0,f=0,s=0,m=0;m<I;m++)t=e[s++],r=e[s++],o=e[s++],v=(r&15)<<24>>24,y=(t&3)<<24>>24,L=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,U=r&-128?(r>>4^240)<<24>>24:r>>4<<24>>24,G=o&-128?(o>>6^252)<<24>>24:o>>6<<24>>24,u[f++]=Mg[L],u[f++]=Mg[U|y<<4],u[f++]=Mg[v<<2|G],u[f++]=Mg[o&63];return p==8?(t=e[s],y=(t&3)<<24>>24,L=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,u[f++]=Mg[L],u[f++]=Mg[y<<4],u[f++]=61,u[f++]=61):p==16&&(t=e[s],r=e[s+1],v=(r&15)<<24>>24,y=(t&3)<<24>>24,L=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,U=r&-128?(r>>4^240)<<24>>24:r>>4<<24>>24,u[f++]=Mg[L],u[f++]=Mg[U|y<<4],u[f++]=Mg[v<<2],u[f++]=61),Lf(u,0,u.length)}function Yxn(e,t){var r,o,s,u,f,p,m;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Zi&&Khe(t,e.p-x1),f=t.q.getDate(),YO(t,1),e.k>=0&&dun(t,e.k),e.c>=0?YO(t,e.c):e.k>=0?(m=new Sge(t.q.getFullYear()-x1,t.q.getMonth(),35),o=35-m.q.getDate(),YO(t,b.Math.min(o,f))):YO(t,f),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),dtn(t,e.f==24&&e.g?0:e.f),e.j>=0&&qln(t,e.j),e.n>=0&&odn(t,e.n),e.i>=0&&cnt(t,To(mo(q6(Gs(t.q.getTime()),wg),wg),e.i)),e.a&&(s=new z9,Khe(s,s.q.getFullYear()-x1-80),Eq(Gs(t.q.getTime()),Gs(s.q.getTime()))&&Khe(t,s.q.getFullYear()-x1+100)),e.d>=0){if(e.c==-1)r=(7+e.d-t.q.getDay())%7,r>3&&(r-=7),p=t.q.getMonth(),YO(t,t.q.getDate()+r),t.q.getMonth()!=p&&YO(t,t.q.getDate()+(r>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>Zi&&(u=t.q.getTimezoneOffset(),cnt(t,To(Gs(t.q.getTime()),(e.o-u)*60*wg))),!0}function rEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;if(s=j(t,(Ie(),mr)),!!se(s,209)){for(L=l(s,19),U=t.e,N=new Eo(t.c),u=t.d,N.a+=u.b,N.b+=u.d,le=l(ye(L,(Be(),wB)),185),fu(le,(Bu(),cU))&&(I=l(ye(L,AAe),100),GXt(I,u.a),YXt(I,u.d),qXt(I,u.b),VXt(I,u.c)),r=new Pe,v=new V(t.a);v.a<v.c.c.length;)for(m=l(q(v),9),se(j(m,mr),209)?Qxn(m,N):se(j(m,mr),196)&&!U&&(o=l(j(m,mr),127),ne=Uyt(t,m,o.g,o.f),Bc(o,ne.a,ne.b)),J=new V(m.j);J.a<J.c.c.length;)G=l(q(J),12),ei(lr(new yt(null,new vt(G.g,16)),new dYe(m)),new fYe(r));if(U)for(J=new V(U.j);J.a<J.c.c.length;)G=l(q(J),12),ei(lr(new yt(null,new vt(G.g,16)),new hYe(U)),new pYe(r));for(oe=l(ye(L,_p),225),p=new V(r);p.a<p.c.c.length;)f=l(q(p),17),gxn(f,oe,N);for(eAn(t),y=new V(t.a);y.a<y.c.c.length;)m=l(q(y),9),T=m.e,T&&rEt(e,T)}}function iEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I;if(!l(l(wr(e.r,t),24),85).dc()){if(f=l(Go(e.b,t),129),m=f.i,p=f.n,v=lJ(e,t),o=m.b-p.b-p.c,s=f.a.a,u=m.c+p.b,I=e.w,(v==(vE(),V1)||v==qL)&&l(l(wr(e.r,t),24),85).gc()==1&&(s=v==V1?s-2*e.w:s,v=E4),o<s&&!e.B.Gc((Bu(),lU)))v==V1?(I+=(o-s)/(l(l(wr(e.r,t),24),85).gc()+1),u+=I):I+=(o-s)/(l(l(wr(e.r,t),24),85).gc()-1);else switch(o<s&&(s=v==V1?s-2*e.w:s,v=E4),v.g){case 3:u+=(o-s)/2;break;case 4:u+=o-s;break;case 0:r=(o-s)/(l(l(wr(e.r,t),24),85).gc()+1),I+=b.Math.max(0,r),u+=I;break;case 1:r=(o-s)/(l(l(wr(e.r,t),24),85).gc()-1),I+=b.Math.max(0,r)}for(N=l(l(wr(e.r,t),24),85).Jc();N.Ob();)T=l(N.Pb(),116),T.e.a=u+T.d.b,T.e.b=(y=T.b,y.nf((_n(),Hu))?y.$f()==(Ue(),Vt)?-y.Kf().b-ue(ce(y.mf(Hu))):ue(ce(y.mf(Hu))):y.$f()==(Ue(),Vt)?-y.Kf().b:0),u+=T.d.b+T.b.Kf().a+T.d.c+I}}function oEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L;if(!l(l(wr(e.r,t),24),85).dc()){if(f=l(Go(e.b,t),129),m=f.i,p=f.n,T=lJ(e,t),o=m.a-p.d-p.a,s=f.a.b,u=m.d+p.d,L=e.w,y=e.o.a,(T==(vE(),V1)||T==qL)&&l(l(wr(e.r,t),24),85).gc()==1&&(s=T==V1?s-2*e.w:s,T=E4),o<s&&!e.B.Gc((Bu(),lU)))T==V1?(L+=(o-s)/(l(l(wr(e.r,t),24),85).gc()+1),u+=L):L+=(o-s)/(l(l(wr(e.r,t),24),85).gc()-1);else switch(o<s&&(s=T==V1?s-2*e.w:s,T=E4),T.g){case 3:u+=(o-s)/2;break;case 4:u+=o-s;break;case 0:r=(o-s)/(l(l(wr(e.r,t),24),85).gc()+1),L+=b.Math.max(0,r),u+=L;break;case 1:r=(o-s)/(l(l(wr(e.r,t),24),85).gc()-1),L+=b.Math.max(0,r)}for(I=l(l(wr(e.r,t),24),85).Jc();I.Ob();)N=l(I.Pb(),116),N.e.a=(v=N.b,v.nf((_n(),Hu))?v.$f()==(Ue(),Wt)?-v.Kf().a-ue(ce(v.mf(Hu))):y+ue(ce(v.mf(Hu))):v.$f()==(Ue(),Wt)?-v.Kf().a:y),N.e.b=u+N.d.d,u+=N.d.d+N.b.Kf().b+N.d.a+L}}function Jxn(e,t){var r,o,s,u,f;for(t.Tg("Processor determine the coords for each level",1),o=new Pe,f=An(e.b,0);f.b!=f.d.c;){for(s=l(Sn(f),41);l(j(s,(Ps(),Yf)),15).a>o.c.length-1;)je(o,new ko(jE,Kye));r=l(j(s,Yf),15).a,Zh(l(j(e,aw),87))?(s.e.a<ue(ce((at(r,o.c.length),l(o.c[r],49)).a))&&BG((at(r,o.c.length),l(o.c[r],49)),s.e.a),s.e.a+s.f.a>ue(ce((at(r,o.c.length),l(o.c[r],49)).b))&&$G((at(r,o.c.length),l(o.c[r],49)),s.e.a+s.f.a)):(s.e.b<ue(ce((at(r,o.c.length),l(o.c[r],49)).a))&&BG((at(r,o.c.length),l(o.c[r],49)),s.e.b),s.e.b+s.f.b>ue(ce((at(r,o.c.length),l(o.c[r],49)).b))&&$G((at(r,o.c.length),l(o.c[r],49)),s.e.b+s.f.b))}for(u=An(e.b,0);u.b!=u.d.c;)s=l(Sn(u),41),r=l(j(s,(Ps(),Yf)),15).a,Ae(s,(xr(),Id),ce((at(r,o.c.length),l(o.c[r],49)).a)),Ae(s,sd,ce((at(r,o.c.length),l(o.c[r],49)).b));t.Ug()}function Xxn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(e.o=ue(ce(j(e.i,(Be(),wm)))),e.f=ue(ce(j(e.i,$1))),e.j=e.i.b.c.length,p=e.j-1,N=0,e.k=0,e.n=0,e.b=Wl(me(Ti,Me,15,e.j,0,1)),e.c=Wl(me(fi,Me,347,e.j,7,1)),f=new V(e.i.b);f.a<f.c.c.length;){for(s=l(q(f),26),s.p=p,T=new V(s.a);T.a<T.c.c.length;)v=l(q(T),9),v.p=N,++N;--p}for(e.g=me(Rn,Xn,30,N,15,1),e.d=Kw(Rn,[Me,Xn],[54,30],15,[N,3],2),e.p=new Pe,e.q=new Pe,t=0,e.e=0,u=new V(e.i.b);u.a<u.c.c.length;){for(s=l(q(u),26),p=s.p,o=0,U=0,m=s.a.c.length,y=0,T=new V(s.a);T.a<T.c.c.length;)v=l(q(T),9),N=v.p,e.g[N]=v.c.p,y+=v.o.b+e.o,r=yd(new Ft(Gt(si(v).a.Jc(),new D))),L=yd(new Ft(Gt(Rr(v).a.Jc(),new D))),e.d[N][0]=L-r,e.d[N][1]=r,e.d[N][2]=L,o+=r,U+=L,r>0&&je(e.q,v),je(e.p,v);t-=o,I=m+t,y+=t*e.f,tc(e.b,p,Re(I)),tc(e.c,p,y),e.k=b.Math.max(e.k,I),e.n=b.Math.max(e.n,y),e.e+=t,t+=U}}function sEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;if(t.b!=0){for(I=new Sr,p=null,L=null,o=po(b.Math.floor(b.Math.log(t.b)*b.Math.LOG10E)+1),m=0,oe=An(t,0);oe.b!=oe.d.c;)for(J=l(Sn(oe),41),be(L)!==be(j(J,(xr(),e4)))&&(L=In(j(J,e4)),m=0),L!=null?p=L+Sut(m++,o):p=Sut(m++,o),Ae(J,e4,p),G=(s=An(new Xh(J).a.d,0),new qv(s));rO(G.a);)U=l(Sn(G.a),65).c,Wr(I,U,I.c.b,I.c),Ae(U,e4,p);for(N=new hn,f=0;f<p.length-o;f++)for(ne=An(t,0);ne.b!=ne.d.c;)J=l(Sn(ne),41),y=yl(In(j(J,(xr(),e4))),0,f+1),r=(y==null?Es(Zo(N.f,null)):XN(N.i,y))!=null?l(y==null?Es(Zo(N.f,null)):XN(N.i,y),15).a+1:1,Qo(N,y,Re(r));for(T=new ly(new Ow(N).a);T.b;)v=gE(T),u=Re(Ut(e.a,v.jd())!=null?l(Ut(e.a,v.jd()),15).a:0),Qo(e.a,In(v.jd()),Re(l(v.kd(),15).a+u.a)),u=l(Ut(e.b,v.jd()),15),(!u||u.a<l(v.kd(),15).a)&&Qo(e.b,In(v.jd()),l(v.kd(),15));sEt(e,I)}}function Zxn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;for(r.Tg("Breadth first model order layering",1),e.a=t,G=new Pe,U=new V(e.a.a);U.a<U.c.c.length;)I=l(q(U),9),I.k==(Ht(),Xr)&&Ot(G.c,I);for(St(),_i(G,new aUe),m=!0,s=new ra(e.a),o=null,je(e.a.b,s),L=new V(G);L.a<L.c.c.length;)if(I=l(q(L),9),m)Ii(I,s),m=!1;else{for(p=new Ft(Gt(si(I).a.Jc(),new D));an(p);)u=l(Qt(p),17),(u.c.i.k==(Ht(),Xr)&&u.c.i.c==s||u.c.i.k==ta&&l(Qt(new Ft(Gt(si(u.c.i).a.Jc(),new D))),17).c.i.c==s)&&(o=new ra(e.a),je(e.a.b,o),s=new ra(e.a),je(e.a.b,s));for(f=new Ft(Gt(si(I).a.Jc(),new D));an(f);)u=l(Qt(f),17),u.c.i.k==(Ht(),ta)&&!u.c.i.c&&Ii(u.c.i,o);Ii(I,s)}for(e.a.a.c.length=0,J=new Pe,T=new V(e.a.b);T.a<T.c.c.length;)y=l(q(T),26),y.a.c.length==0&&Ot(J.c,y);for(n1e(e.a.b,J),N=0,v=new V(e.a.b);v.a<v.c.c.length;)y=l(q(v),26),y.p=N,++N;r.Ug()}function Ue(){Ue=Y;var e;Cs=new TO(HC,0),Vt=new TO("NORTH",1),Zt=new TO("EAST",2),dn=new TO("SOUTH",3),Wt=new TO("WEST",4),gf=(St(),new MA((e=l(md(Co),10),new Hc(e,l(Gl(e,e.length),10),0)))),dd=lg(Ar(Vt,Z(X(Co,1),ea,64,0,[]))),ol=lg(Ar(Zt,Z(X(Co,1),ea,64,0,[]))),Nc=lg(Ar(dn,Z(X(Co,1),ea,64,0,[]))),Rl=lg(Ar(Wt,Z(X(Co,1),ea,64,0,[]))),ou=lg(Ar(Vt,Z(X(Co,1),ea,64,0,[dn]))),Wa=lg(Ar(Zt,Z(X(Co,1),ea,64,0,[Wt]))),fd=lg(Ar(Vt,Z(X(Co,1),ea,64,0,[Wt]))),Iu=lg(Ar(Vt,Z(X(Co,1),ea,64,0,[Zt]))),Cc=lg(Ar(dn,Z(X(Co,1),ea,64,0,[Wt]))),sl=lg(Ar(Zt,Z(X(Co,1),ea,64,0,[dn]))),Ru=lg(Ar(Vt,Z(X(Co,1),ea,64,0,[Zt,Wt]))),iu=lg(Ar(Zt,Z(X(Co,1),ea,64,0,[dn,Wt]))),su=lg(Ar(Vt,Z(X(Co,1),ea,64,0,[dn,Wt]))),vu=lg(Ar(Vt,Z(X(Co,1),ea,64,0,[Zt,dn]))),ka=lg(Ar(Vt,Z(X(Co,1),ea,64,0,[Zt,dn,Wt])))}function Qxn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U;for(o=l(j(e,(Ie(),mr)),19),L=l(j(e,(Be(),cB)),15).a,u=l(j(e,FI),15).a,Vn(o,cB,Re(L)),Vn(o,FI,Re(u)),ya(o,e.n.a+t.a),gu(o,e.n.b+t.b),(l(ye(o,gm),185).gc()!=0||e.e||be(j(ji(e),mB))===be((lC(),GI))&&Nnt((my(),(e.q?e.q:(St(),St(),kh))._b(iw)?N=l(j(e,iw),205):N=l(j(ji(e),BI),205),N)))&&(Bb(o,e.o.a),$b(o,e.o.b)),T=new V(e.j);T.a<T.c.c.length;)y=l(q(T),12),U=j(y,mr),se(U,196)&&(s=l(U,127),Bc(s,y.n.a,y.n.b),Vn(s,nx,y.j));for(I=l(j(e,rw),185).gc()!=0,m=new V(e.b);m.a<m.c.c.length;)f=l(q(m),70),(I||l(j(f,rw),185).gc()!=0)&&(r=l(j(f,mr),158),r0(r,f.o.a,f.o.b),Bc(r,f.n.a,f.n.b));if(!A3(l(j(e,Jy),24)))for(v=new V(e.j);v.a<v.c.c.length;)for(y=l(q(v),12),p=new V(y.f);p.a<p.c.c.length;)f=l(q(p),70),r=l(j(f,mr),158),Bb(r,f.o.a),$b(r,f.o.b),Bc(r,f.n.a,f.n.b)}function eNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt;for(t.Tg("Calculate Graph Size",1),t.bh(e,ive),T=jE,N=jE,y=_Z,v=_Z,U=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));U.e!=U.i.gc();)I=l(rn(U),19),ne=I.i,oe=I.j,dt=I.g,p=I.f,m=l(ye(I,(_n(),xp)),125),T=b.Math.min(T,ne-m.b),N=b.Math.min(N,oe-m.d),y=b.Math.max(y,ne+dt+m.c),v=b.Math.max(v,oe+p+m.a);for(J=l(ye(e,(_n(),df)),100),G=new Le(T-J.b,N-J.d),lt=y-T+(J.b+J.c),f=v-N+(J.d+J.a),Ke(We(ye(e,(T1(),cke))))&&(le=l(ye(e,(aE(),l2)),19),Ee=l(ye(le,xp),125),we=le.i+le.g/2+(Ee.b+Ee.c)/2-G.a,Ge=le.j+le.f/2+(Ee.d+Ee.a)/2-G.b,s=lt-we,u=f-Ge,s<lt/2?(r=s-we,lt+=r,G.a-=r):(r=we-s,lt+=r),u<f/2?(o=u-Ge,f+=o,G.b-=o):(o=Ge-u,f+=o)),L=new en((!e.a&&(e.a=new xe(En,e,10,11)),e.a));L.e!=L.i.gc();)I=l(rn(L),19),ya(I,I.i-G.a),gu(I,I.j-G.b);Ke(We(ye(e,av)))||(Bb(e,lt),$b(e,f)),Vn(e,sv,lt-(J.b+J.c)),Vn(e,ov,f-(J.d+J.a)),t.bh(e,DF)}function tNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I;if(e.e.a.$b(),e.f.a.$b(),e.c.c.length=0,e.i.c.length=0,e.g.a.$b(),t)for(f=new V(t.a);f.a<f.c.c.length;)for(u=l(q(f),9),T=gg(u,(Ue(),Zt)).Jc();T.Ob();)for(v=l(T.Pb(),12),pi(e.e,v),s=new V(v.g);s.a<s.c.c.length;)o=l(q(s),17),!lo(o)&&(je(e.c,o),t1t(e,o),p=o.c.i.k,(p==(Ht(),Xr)||p==Aa||p==mi||p==af)&&je(e.j,o),I=o.d,N=I.i.c,N==r?pi(e.f,I):N==t?pi(e.e,I):Xa(e.c,o));if(r)for(f=new V(r.a);f.a<f.c.c.length;){for(u=l(q(f),9),y=new V(u.j);y.a<y.c.c.length;)for(m=l(q(y),12),s=new V(m.g);s.a<s.c.c.length;)o=l(q(s),17),lo(o)&&pi(e.g,o);for(T=gg(u,(Ue(),Wt)).Jc();T.Ob();)for(v=l(T.Pb(),12),pi(e.f,v),s=new V(v.g);s.a<s.c.c.length;)o=l(q(s),17),!lo(o)&&(je(e.c,o),t1t(e,o),p=o.c.i.k,(p==(Ht(),Xr)||p==Aa||p==mi||p==af)&&je(e.j,o),I=o.d,N=I.i.c,N==r?pi(e.f,I):N==t?pi(e.e,I):Xa(e.c,o))}}function nNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;for(r.Tg("Polyline edge routing",1),G=ue(ce(j(t,(Be(),sAe)))),I=ue(ce(j(t,ev))),s=ue(ce(j(t,Zy))),o=b.Math.min(1,s/I),oe=0,m=0,t.b.c.length!=0&&(le=J0t(l(He(t.b,0),26)),oe=.4*o*le),p=new Ji(t.b,0);p.b<p.d.gc();){for(f=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26)),u=k8(f,AL),u&&oe>0&&(oe-=I),_0e(f,oe),v=0,N=new V(f.a);N.a<N.c.c.length;){for(T=l(q(N),9),y=0,U=new Ft(Gt(Rr(T).a.Jc(),new D));an(U);)L=l(Qt(U),17),J=qd(L.c).b,ne=qd(L.d).b,f==L.d.i.c&&!lo(L)&&(gvn(L,oe,.4*o*b.Math.abs(J-ne)),L.c.j==(Ue(),Wt)&&(J=0,ne=0)),y=b.Math.max(y,b.Math.abs(ne-J));switch(T.k.g){case 0:case 4:case 1:case 3:case 5:wkn(e,T,oe,G)}v=b.Math.max(v,y)}p.b<p.d.gc()&&(le=J0t((un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26))),v=b.Math.max(v,le),un(p.b>0),p.a.Xb(p.c=--p.b)),m=.4*o*v,!u&&p.b<p.d.gc()&&(m+=I),oe+=f.c.a+m}e.a.a.$b(),t.f.a=oe,r.Ug()}function rNn(e){var t,r,o,s,u;switch(WO(e,VTt),(!e.b&&(e.b=new Et(pn,e,4,7)),e.b).i+(!e.c&&(e.c=new Et(pn,e,5,8)),e.c).i){case 0:throw K(new jt("The edge must have at least one source or target."));case 1:return(!e.b&&(e.b=new Et(pn,e,4,7)),e.b).i==0?Br(Vo(l(ie((!e.c&&(e.c=new Et(pn,e,5,8)),e.c),0),83))):Br(Vo(l(ie((!e.b&&(e.b=new Et(pn,e,4,7)),e.b),0),83)))}if((!e.b&&(e.b=new Et(pn,e,4,7)),e.b).i==1&&(!e.c&&(e.c=new Et(pn,e,5,8)),e.c).i==1){if(s=Vo(l(ie((!e.b&&(e.b=new Et(pn,e,4,7)),e.b),0),83)),u=Vo(l(ie((!e.c&&(e.c=new Et(pn,e,5,8)),e.c),0),83)),Br(s)==Br(u))return Br(s);if(s==Br(u))return s;if(u==Br(s))return u}for(o=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.b&&(e.b=new Et(pn,e,4,7)),e.b),(!e.c&&(e.c=new Et(pn,e,5,8)),e.c)]))),t=Vo(l(Qt(o),83));an(o);)if(r=Vo(l(Qt(o),83)),r!=t&&!ay(r,t)){if(Br(r)==Br(t))t=Br(r);else if(t=xEn(t,r),!t)return null}return t}function P0e(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;if(N=t.length,N>0&&(m=(Yt(0,t.length),t.charCodeAt(0)),m!=64)){if(m==37&&(T=t.lastIndexOf("%"),y=!1,T!=0&&(T==N-1||(y=(Yt(T+1,t.length),t.charCodeAt(T+1)==46))))){if(f=(no(1,T,t.length),t.substr(1,T-1)),oe=mt("%",f)?null:j0e(f),o=0,y)try{o=Ec((Yt(T+2,t.length+1),t.substr(T+2)),Zi,sr)}catch(le){throw le=ci(le),se(le,133)?(p=le,K(new rj(p))):K(le)}for(G=ege(e.Dh());G.Ob();)if(L=Cj(G),se(L,508)&&(s=l(L,594),ne=s.d,(oe==null?ne==null:mt(oe,ne))&&o--==0))return s;return null}if(v=t.lastIndexOf("."),I=v==-1?t:(no(0,v,t.length),t.substr(0,v)),r=0,v!=-1)try{r=Ec((Yt(v+1,t.length+1),t.substr(v+1)),Zi,sr)}catch(le){if(le=ci(le),se(le,133))I=t;else throw K(le)}for(I=mt("%",I)?null:j0e(I),U=ege(e.Dh());U.Ob();)if(L=Cj(U),se(L,199)&&(u=l(L,199),J=u.ve(),(I==null?J==null:mt(I,J))&&r--==0))return u;return null}return Gvt(e,t)}function iNn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne;for(v=new hn,m=new g0,o=new V(e.a.a.b);o.a<o.c.c.length;)if(t=l(q(o),60),y=lE(t),y)eu(v.f,y,t);else if(ne=LS(t),ne)for(u=new V(ne.k);u.a<u.c.c.length;)s=l(q(u),17),wt(m,s,t);for(r=new V(e.a.a.b);r.a<r.c.c.length;)if(t=l(q(r),60),y=lE(t),y){for(p=new Ft(Gt(Rr(y).a.Jc(),new D));an(p);)if(f=l(Qt(p),17),!lo(f)&&(L=f.c,J=f.d,!((Ue(),ou).Gc(f.c.j)&&ou.Gc(f.d.j)))){if(U=l(Ut(v,f.d.i),60),Ql($l(Ul(Hl(Bl(new gl,0),100),e.c[t.a.d]),e.c[U.a.d])),L.j==Wt&&nst((bu(),L))){for(N=l(wr(m,f),24).Jc();N.Ob();)if(T=l(N.Pb(),60),T.d.c<t.d.c){if(I=e.c[T.a.d],G=e.c[t.a.d],I==G)continue;Ql($l(Ul(Hl(Bl(new gl,1),100),I),G))}}if(J.j==Zt&&rst((bu(),J))){for(N=l(wr(m,f),24).Jc();N.Ob();)if(T=l(N.Pb(),60),T.d.c>t.d.c){if(I=e.c[t.a.d],G=e.c[T.a.d],I==G)continue;Ql($l(Ul(Hl(Bl(new gl,1),100),I),G))}}}}}function oNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;if(N=l(l(wr(e.r,t),24),85),t==(Ue(),Zt)||t==Wt){eEt(e,t);return}for(u=t==Vt?(T0(),XD):(T0(),ZD),le=t==Vt?(Za(),Nd):(Za(),rd),r=l(Go(e.b,t),129),o=r.i,s=o.c+hE(Z(X(Ki,1),Wo,30,15,[r.n.b,e.C.b,e.k])),J=o.c+o.b-hE(Z(X(Ki,1),Wo,30,15,[r.n.c,e.C.c,e.k])),f=qce(ofe(u),e.t),ne=t==Vt?Oi:Kr,T=N.Jc();T.Ob();)y=l(T.Pb(),116),!(!y.c||y.c.d.c.length<=0)&&(G=y.b.Kf(),U=y.e,I=y.c,L=I.i,L.b=(m=I.n,I.e.a+m.b+m.c),L.a=(p=I.n,I.e.b+p.d+p.a),WO(le,uwe),I.f=le,Ed(I,(_u(),nd)),L.c=U.a-(L.b-G.a)/2,Ee=b.Math.min(s,U.a),we=b.Math.max(J,U.a+G.a),L.c<Ee?L.c=Ee:L.c+L.b>we&&(L.c=we-L.b),je(f.d,new zV(L,e1e(f,L))),ne=t==Vt?b.Math.max(ne,U.b+y.b.Kf().b):b.Math.min(ne,U.b));for(ne+=t==Vt?e.t:-e.t,oe=m1e((f.e=ne,f)),oe>0&&(l(Go(e.b,t),129).a.b=oe),v=N.Jc();v.Ob();)y=l(v.Pb(),116),!(!y.c||y.c.d.c.length<=0)&&(L=y.c.i,L.c-=y.e.a,L.d-=y.e.b)}function sNn(e,t){xJ();var r,o,s,u,f,p,m,y,v,T,N,I,L,U;if(m=va(e,0)<0,m&&(e=ag(e)),va(e,0)==0)switch(t){case 0:return"0";case 1:return lk;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return I=new Zg,t<0?I.a+="0E+":I.a+="0E",I.a+=t==Zi?"2147483648":""+-t,I.a}v=18,T=me(al,$f,30,v+1,15,1),r=v,U=e;do y=U,U=q6(U,10),T[--r]=On(To(48,El(y,mo(U,10))))&Ei;while(va(U,0)!=0);if(s=El(El(El(v,r),t),1),t==0)return m&&(T[--r]=45),Lf(T,r,v-r);if(t>0&&va(s,-6)>=0){if(va(s,0)>=0){for(u=r+On(s),p=v-1;p>=u;p--)T[p+1]=T[p];return T[++u]=46,m&&(T[--r]=45),Lf(T,r,v-r+1)}for(f=2;Eq(f,To(ag(s),1));f++)T[--r]=48;return T[--r]=46,T[--r]=48,m&&(T[--r]=45),Lf(T,r,v-r)}return L=r+1,o=v,N=new uS,m&&(N.a+="-"),o-L>=1?(Rb(N,T[r]),N.a+=".",N.a+=Lf(T,r+1,v-r-1)):N.a+=Lf(T,r,v-r),N.a+="E",va(s,0)>0&&(N.a+="+"),N.a+=""+T3(s),N.a}function aEt(e){t0(e,new Xb(nO(Zm(Ym(Xm(Jm(new wb,Qc),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new dze),Qc))),Oe(e,Qc,NF,ze(jRt)),Oe(e,Qc,F0,ze(FRt)),Oe(e,Qc,ME,ze(DRt)),Oe(e,Qc,gT,ze(LRt)),Oe(e,Qc,pT,ze(MRt)),Oe(e,Qc,vk,ze(ORt)),Oe(e,Qc,wk,ze(lke)),Oe(e,Qc,Ek,ze(PRt)),Oe(e,Qc,LZ,ze(pne)),Oe(e,Qc,DZ,ze(gne)),Oe(e,Qc,LF,ze(fke)),Oe(e,Qc,MZ,ze(bne)),Oe(e,Qc,PZ,ze(hke)),Oe(e,Qc,hve,ze(pke)),Oe(e,Qc,fve,ze(dke)),Oe(e,Qc,uve,ze(BB)),Oe(e,Qc,cve,ze(UB)),Oe(e,Qc,lve,ze(CL)),Oe(e,Qc,dve,ze(gke)),Oe(e,Qc,ave,ze(cke))}function L0(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;if(G=new Le(e.g,e.f),U=Vbe(e),U.a=b.Math.max(U.a,t),U.b=b.Math.max(U.b,r),we=U.a/G.a,v=U.b/G.b,le=U.a-G.a,m=U.b-G.b,o)for(f=Br(e)?l(ye(Br(e),(_n(),Em)),87):l(ye(e,(_n(),Em)),87),p=be(ye(e,(_n(),gx)))===be((qi(),fa)),ne=new en((!e.c&&(e.c=new xe(zu,e,9,9)),e.c));ne.e!=ne.i.gc();)switch(J=l(rn(ne),127),oe=l(ye(J,m2),64),oe==(Ue(),Cs)&&(oe=p0e(J,f),Vn(J,m2,oe)),oe.g){case 1:p||ya(J,J.i*we);break;case 2:ya(J,J.i+le),p||gu(J,J.j*v);break;case 3:p||ya(J,J.i*we),gu(J,J.j+m);break;case 4:p||gu(J,J.j*v)}if(r0(e,U.a,U.b),s)for(N=new en((!e.n&&(e.n=new xe(Is,e,1,7)),e.n));N.e!=N.i.gc();)T=l(rn(N),158),I=T.i+T.g/2,L=T.j+T.f/2,Ee=I/G.a,y=L/G.b,Ee+y>=1&&(Ee-y>0&&L>=0?(ya(T,T.i+le),gu(T,T.j+m*y)):Ee-y<0&&I>=0&&(ya(T,T.i+le*Ee),gu(T,T.j+m)));return Vn(e,(_n(),Sm),(oc(),u=l(md(_4),10),new Hc(u,l(Gl(u,u.length),10),0))),new Le(we,v)}function J7(e){var t,r,o,s,u,f,p,m,y,v,T;if(e==null)throw K(new kf(tu));if(y=e,u=e.length,m=!1,u>0&&(t=(Yt(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(Yt(1,e.length+1),e.substr(1)),--u,m=t==45)),u==0)throw K(new kf(j0+y+'"'));for(;e.length>0&&(Yt(0,e.length),e.charCodeAt(0)==48);)e=(Yt(1,e.length+1),e.substr(1)),--u;if(u>(Myt(),F_t)[10])throw K(new kf(j0+y+'"'));for(s=0;s<u;s++)if(jgt((Yt(s,e.length),e.charCodeAt(s)))==-1)throw K(new kf(j0+y+'"'));for(T=0,f=VEe[10],v=BQ[10],p=ag(WEe[10]),r=!0,o=u%f,o>0&&(T=-parseInt((no(0,o,e.length),e.substr(0,o)),10),e=(Yt(o,e.length+1),e.substr(o)),u-=o,r=!1);u>=f;){if(o=parseInt((no(0,f,e.length),e.substr(0,f)),10),e=(Yt(f,e.length+1),e.substr(f)),u-=f,r)r=!1;else{if(va(T,p)<0)throw K(new kf(j0+y+'"'));T=mo(T,v)}T=El(T,o)}if(va(T,0)>0)throw K(new kf(j0+y+'"'));if(!m&&(T=ag(T),va(T,0)<0))throw K(new kf(j0+y+'"'));return T}function j0e(e){DJ();var t,r,o,s,u,f,p,m;if(e==null)return null;if(s=xf(e,Qa(37)),s<0)return e;for(m=new fc((no(0,s,e.length),e.substr(0,s))),t=me(Eu,BE,30,4,15,1),p=0,o=0,f=e.length;s<f;s++)if(Yt(s,e.length),e.charCodeAt(s)==37&&e.length>s+2&&OK((Yt(s+1,e.length),e.charCodeAt(s+1)),f3e,h3e)&&OK((Yt(s+2,e.length),e.charCodeAt(s+2)),f3e,h3e))if(r=pon((Yt(s+1,e.length),e.charCodeAt(s+1)),(Yt(s+2,e.length),e.charCodeAt(s+2))),s+=2,o>0?(r&192)==128?t[p++]=r<<24>>24:o=0:r>=128&&((r&224)==192?(t[p++]=r<<24>>24,o=2):(r&240)==224?(t[p++]=r<<24>>24,o=3):(r&248)==240&&(t[p++]=r<<24>>24,o=4)),o>0){if(p==o){switch(p){case 2:{Rb(m,((t[0]&31)<<6|t[1]&63)&Ei);break}case 3:{Rb(m,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Ei);break}}p=0,o=0}}else{for(u=0;u<p;++u)Rb(m,t[u]&Ei);p=0,m.a+=String.fromCharCode(r)}else{for(u=0;u<p;++u)Rb(m,t[u]&Ei);p=0,Rb(m,(Yt(s,e.length),e.charCodeAt(s)))}return m.a}function uEt(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L;if(I=Br(Vo(l(ie((!e.b&&(e.b=new Et(pn,e,4,7)),e.b),0),83))),L=Br(Vo(l(ie((!e.c&&(e.c=new Et(pn,e,5,8)),e.c),0),83))),T=I==L,p=new to,t=l(ye(e,(Mj(),RNe)),79),t&&t.b>=2){if((!e.a&&(e.a=new xe(jr,e,6,6)),e.a).i==0)r=(e1(),s=new h9,s),Tn((!e.a&&(e.a=new xe(jr,e,6,6)),e.a),r);else if((!e.a&&(e.a=new xe(jr,e,6,6)),e.a).i>1)for(N=new vS((!e.a&&(e.a=new xe(jr,e,6,6)),e.a));N.e!=N.i.gc();)gC(N);b0e(t,l(ie((!e.a&&(e.a=new xe(jr,e,6,6)),e.a),0),171))}if(T)for(o=new en((!e.a&&(e.a=new xe(jr,e,6,6)),e.a));o.e!=o.i.gc();)for(r=l(rn(o),171),y=new en((!r.a&&(r.a=new yi(Ic,r,5)),r.a));y.e!=y.i.gc();)m=l(rn(y),373),p.a=b.Math.max(p.a,m.a),p.b=b.Math.max(p.b,m.b);for(f=new en((!e.n&&(e.n=new xe(Is,e,1,7)),e.n));f.e!=f.i.gc();)u=l(rn(f),158),v=l(ye(u,y4),8),v&&Bc(u,v.a,v.b),T&&(p.a=b.Math.max(p.a,u.i+u.g),p.b=b.Math.max(p.b,u.j+u.f));return p}function cEt(e,t,r,o,s){var u,f,p;if(Rdt(e,t),f=t[0],u=uo(r.c,0),p=-1,Cge(r))if(o>0){if(f+o>e.length)return!1;p=_7((no(0,f+o,e.length),e.substr(0,f+o)),t)}else p=_7(e,t);switch(u){case 71:return p=_E(e,f,Z(X(Ye,1),Me,2,6,[YEt,JEt]),t),s.e=p,!0;case 77:return TSn(e,t,s,p,f);case 76:return ASn(e,t,s,p,f);case 69:return Tyn(e,t,f,s);case 99:return Ayn(e,t,f,s);case 97:return p=_E(e,f,Z(X(Ye,1),Me,2,6,["AM","PM"]),t),s.b=p,!0;case 121:return _Sn(e,t,f,p,r,s);case 100:return p<=0?!1:(s.c=p,!0);case 83:return p<0?!1:jgn(p,f,t[0],s);case 104:p==12&&(p=0);case 75:case 72:return p<0?!1:(s.f=p,s.g=!1,!0);case 107:return p<0?!1:(s.f=p,s.g=!0,!0);case 109:return p<0?!1:(s.j=p,!0);case 115:return p<0?!1:(s.n=p,!0);case 90:if(f<e.length&&(Yt(f,e.length),e.charCodeAt(f)==90))return++t[0],s.o=0,!0;case 122:case 118:return Y0n(e,f,t,s);default:return!1}}function aNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt;for(oe=t.c.length,s=new NE(e.a,r,null,null),lt=me(Ki,Wo,30,oe,15,1),U=me(Ki,Wo,30,oe,15,1),L=me(Ki,Wo,30,oe,15,1),G=0,p=0;p<oe;p++)U[p]=sr,L[p]=Zi;for(m=0;m<oe;m++)for(o=(at(m,t.c.length),l(t.c[m],188)),lt[m]=sJ(o),lt[G]>lt[m]&&(G=m),T=new V(e.a.b);T.a<T.c.c.length;)for(v=l(q(T),26),ne=new V(v.a);ne.a<ne.c.c.length;)J=l(q(ne),9),we=ue(o.p[J.p])+ue(o.d[J.p]),U[m]=b.Math.min(U[m],we),L[m]=b.Math.max(L[m],we+J.o.b);for(Ge=me(Ki,Wo,30,oe,15,1),y=0;y<oe;y++)(at(y,t.c.length),l(t.c[y],188)).o==(zd(),ym)?Ge[y]=U[G]-U[y]:Ge[y]=L[G]-L[y];for(u=me(Ki,Wo,30,oe,15,1),I=new V(e.a.b);I.a<I.c.c.length;)for(N=l(q(I),26),Ee=new V(N.a);Ee.a<Ee.c.c.length;){for(le=l(q(Ee),9),f=0;f<oe;f++)u[f]=ue((at(f,t.c.length),l(t.c[f],188)).p[le.p])+ue((at(f,t.c.length),l(t.c[f],188)).d[le.p])+Ge[f];QXe(u,bft(De.prototype.Ke,De,[])),s.p[le.p]=(u[1]+u[2])/2,s.d[le.p]=0}return s}function uNn(e,t,r){var o,s,u,f,p;switch(o=t.i,u=e.i.o,s=e.i.d,p=e.n,f=_s(Z(X($i,1),Me,8,0,[p,e.a])),e.j.g){case 1:Nf(t,(Za(),rd)),o.d=-s.d-r-o.a,l(l(He(t.d,0),190).mf((Ie(),IT)),293)==(vc(),Ih)?(Ed(t,(_u(),nd)),o.c=f.a-ue(ce(j(e,QE)))-r-o.b):(Ed(t,(_u(),Vf)),o.c=f.a+ue(ce(j(e,QE)))+r);break;case 2:Ed(t,(_u(),Vf)),o.c=u.a+s.c+r,l(l(He(t.d,0),190).mf((Ie(),IT)),293)==(vc(),Ih)?(Nf(t,(Za(),rd)),o.d=f.b-ue(ce(j(e,QE)))-r-o.a):(Nf(t,(Za(),Nd)),o.d=f.b+ue(ce(j(e,QE)))+r);break;case 3:Nf(t,(Za(),Nd)),o.d=u.b+s.a+r,l(l(He(t.d,0),190).mf((Ie(),IT)),293)==(vc(),Ih)?(Ed(t,(_u(),nd)),o.c=f.a-ue(ce(j(e,QE)))-r-o.b):(Ed(t,(_u(),Vf)),o.c=f.a+ue(ce(j(e,QE)))+r);break;case 4:Ed(t,(_u(),nd)),o.c=-s.b-r-o.b,l(l(He(t.d,0),190).mf((Ie(),IT)),293)==(vc(),Ih)?(Nf(t,(Za(),rd)),o.d=f.b-ue(ce(j(e,QE)))-r-o.a):(Nf(t,(Za(),Nd)),o.d=f.b+ue(ce(j(e,QE)))+r)}}function cNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne;for(t.Tg("Interactive node layering",1),r=new Pe,N=new V(e.a);N.a<N.c.c.length;){for(v=l(q(N),9),m=v.n.a,p=m+v.o.a,p=b.Math.max(m+1,p),ne=new Ji(r,0),o=null;ne.b<ne.d.gc();)if(G=(un(ne.b<ne.d.gc()),l(ne.d.Xb(ne.c=ne.b++),571)),G.c>=p){un(ne.b>0),ne.a.Xb(ne.c=--ne.b);break}else G.a>m&&(o?(li(o.b,G.b),o.a=b.Math.max(o.a,G.a),Lu(ne)):(je(G.b,v),G.c=b.Math.min(G.c,m),G.a=b.Math.max(G.a,p),o=G));o||(o=new gZe,o.c=m,o.a=p,qw(ne,o),je(o.b,v))}for(f=e.b,y=0,J=new V(r);J.a<J.c.c.length;)for(G=l(q(J),571),s=new ra(e),s.p=y++,Ot(f.c,s),I=new V(G.b);I.a<I.c.c.length;)v=l(q(I),9),Ii(v,s),v.p=0;for(T=new V(e.a);T.a<T.c.c.length;)if(v=l(q(T),9),v.p==0)for(U=Vwt(v,e);U.a.gc()!=0;)L=l(U.a.ec().Jc().Pb(),9),U.a.Ac(L)!=null,bo(U,Vwt(L,e));for(u=new Ji(f,0);u.b<u.d.gc();)(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),26)).a.c.length==0&&Lu(u);e.a.c.length=0,t.Ug()}function lNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U;for(r.Tg(LSt,1),!t.a&&(t.a=new xe(En,t,10,11)),o=ue(ce(ye(t,(ef(),qB)))),v=ue(ce(ye(t,a4))),N=l(ye(t,s4),100),I=new $le(o,v),u=kEt(I,t,N),lft(t,I),p=l(ye(t,Lke),15).a;p>1;){if(s=b2n(t),T=u.g,L=l(ye(t,s4),100),U=ue(ce(ye(t,qB))),(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i>1&&ue(ce(ye(t,(yh(),_ne))))!=Kr&&(u.c+(L.b+L.c))/(u.b+(L.d+L.a))<U?Vn(s,(yh(),rv),ue(ce(ye(t,rv)))+ue(ce(ye(t,_ne)))):(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i>1&&ue(ce(ye(t,(yh(),Ane))))!=Kr&&(u.c+(L.b+L.c))/(u.b+(L.d+L.a))>U&&Vn(s,(yh(),rv),b.Math.max(ue(ce(ye(t,o4))),ue(ce(ye(s,rv)))-ue(ce(ye(t,Ane))))),I=new $le(o,v),m=kEt(I,s,N),y=m.g,y>=T&&y==y){for(f=0;f<(!s.a&&(s.a=new xe(En,s,10,11)),s.a).i;f++)Vmt(e,l(ie((!s.a&&(s.a=new xe(En,s,10,11)),s.a),f),19),l(ie((!t.a&&(t.a=new xe(En,t,10,11)),t.a),f),19));lft(t,I),Xan(u,m.c),Zan(u,m.b)}--p}Vn(t,(yh(),lx),u.b),Vn(t,jT,u.c),r.Ug()}function dNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt;for(t.Tg("Compound graph postprocessor",1),r=Ke(We(j(e,(Be(),Ate)))),p=l(j(e,(Ie(),sTe)),231),v=new hi,J=p.ec().Jc();J.Ob();){for(G=l(J.Pb(),17),f=new Tu(p.cc(G)),St(),_i(f,new uce(e)),Ee=Qfn((at(0,f.c.length),l(f.c[0],253))),Ge=aht(l(He(f,f.c.length-1),253)),oe=Ee.i,S_(Ge.i,oe)?ne=oe.e:ne=ji(oe),T=U1n(G,f),ec(G.a),N=null,u=new V(f);u.a<u.c.c.length;)s=l(q(u),253),U=new to,zbe(U,s.a,ne),I=s.b,o=new Du,HK(o,0,I.a),cy(o,U),le=new Eo(qd(I.c)),we=new Eo(qd(I.d)),br(le,U),br(we,U),N&&(o.b==0?L=we:L=(un(o.b!=0),l(o.a.a.c,8)),lt=b.Math.abs(N.a-L.a)>Uf,dt=b.Math.abs(N.b-L.b)>Uf,(!r&<&&dt||r&&(lt||dt))&&Gn(G.a,le)),bo(G.a,o),o.b==0?N=le:N=(un(o.b!=0),l(o.c.b.c,8)),Ahn(I,T,U),aht(s)==Ge&&(ji(Ge.i)!=s.a&&(U=new to,zbe(U,ji(Ge.i),ne)),Ae(G,ite,U)),Bwn(I,G,ne),v.a.yc(I,v);go(G,Ee),Yi(G,Ge)}for(y=v.a.ec().Jc();y.Ob();)m=l(y.Pb(),17),go(m,null),Yi(m,null);t.Ug()}function fNn(e,t){var r,o,s,u,f,p,m,y,v,T,N;for(s=l(j(e,(Ps(),aw)),87),v=s==(vi(),is)||s==cs?ff:cs,r=l(Au(lr(new yt(null,new vt(e.b,16)),new mHe),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),m=l(Au(Ia(r.Mc(),new FJe(t)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[nu]))),16),m.Fc(l(Au(Ia(r.Mc(),new $Je(t)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[nu]))),18)),m.gd(new BJe(v)),N=new Zp(new UJe(s)),o=new hn,p=m.Jc();p.Ob();)f=l(p.Pb(),243),y=l(f.a,41),Ke(We(f.c))?(N.a.yc(y,(Lt(),D1))==null,new CA(N.a.Xc(y,!1)).a.gc()>0&&Yn(o,y,l(new CA(N.a.Xc(y,!1)).a.Tc(),41)),new CA(N.a.$c(y,!0)).a.gc()>1&&Yn(o,wgt(N,y),y)):(new CA(N.a.Xc(y,!1)).a.gc()>0&&(u=l(new CA(N.a.Xc(y,!1)).a.Tc(),41),be(u)===be(Es(Zo(o.f,y)))&&l(j(y,(xr(),Yte)),16).Ec(u)),new CA(N.a.$c(y,!0)).a.gc()>1&&(T=wgt(N,y),be(Es(Zo(o.f,T)))===be(y)&&l(j(T,(xr(),Yte)),16).Ec(y)),N.a.Ac(y)!=null)}function lEt(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;if(e.gc()==1)return l(e.Xb(0),238);if(e.gc()<=0)return new KP;for(s=e.Jc();s.Ob();){for(r=l(s.Pb(),238),L=0,v=sr,T=sr,m=Zi,y=Zi,I=new V(r.e);I.a<I.c.c.length;)N=l(q(I),156),L+=l(j(N,(ed(),ST)),15).a,v=b.Math.min(v,N.d.a-N.e.a/2),T=b.Math.min(T,N.d.b-N.e.b/2),m=b.Math.max(m,N.d.a+N.e.a/2),y=b.Math.max(y,N.d.b+N.e.b/2);Ae(r,(ed(),ST),Re(L)),Ae(r,(h1(),yI),new Le(v,T)),Ae(r,QD,new Le(m,y))}for(St(),e.gd(new Wh),U=new KP,qs(U,l(e.Xb(0),105)),p=0,ne=0,u=e.Jc();u.Ob();)r=l(u.Pb(),238),G=Ri(So(l(j(r,(h1(),QD)),8)),l(j(r,yI),8)),p=b.Math.max(p,G.a),ne+=G.a*G.b;for(p=b.Math.max(p,b.Math.sqrt(ne)*ue(ce(j(U,(ed(),Xkt))))),J=ue(ce(j(U,w$))),oe=0,le=0,f=0,t=J,o=e.Jc();o.Ob();)r=l(o.Pb(),238),G=Ri(So(l(j(r,(h1(),QD)),8)),l(j(r,yI),8)),oe+G.a>p&&(oe=0,le+=f+J,f=0),jTn(U,r,oe,le),t=b.Math.max(t,oe+G.a),f=b.Math.max(f,G.b),oe+=G.a+J;return U}function hNn(e){h0e();var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G;if(e==null||(u=oj(e),L=Xpn(u),L%4!=0))return null;if(U=L/4|0,U==0)return me(Eu,BE,30,0,15,1);for(T=null,t=0,r=0,o=0,s=0,f=0,p=0,m=0,y=0,I=0,N=0,v=0,T=me(Eu,BE,30,U*3,15,1);I<U-1;I++){if(!sO(f=u[v++])||!sO(p=u[v++])||!sO(m=u[v++])||!sO(y=u[v++]))return null;t=mf[f],r=mf[p],o=mf[m],s=mf[y],T[N++]=(t<<2|r>>4)<<24>>24,T[N++]=((r&15)<<4|o>>2&15)<<24>>24,T[N++]=(o<<6|s)<<24>>24}return!sO(f=u[v++])||!sO(p=u[v++])?null:(t=mf[f],r=mf[p],m=u[v++],y=u[v++],mf[m]==-1||mf[y]==-1?m==61&&y==61?r&15?null:(G=me(Eu,BE,30,I*3+1,15,1),ua(T,0,G,0,I*3),G[N]=(t<<2|r>>4)<<24>>24,G):m!=61&&y==61?(o=mf[m],o&3?null:(G=me(Eu,BE,30,I*3+2,15,1),ua(T,0,G,0,I*3),G[N++]=(t<<2|r>>4)<<24>>24,G[N]=((r&15)<<4|o>>2&15)<<24>>24,G)):null:(o=mf[m],s=mf[y],T[N++]=(t<<2|r>>4)<<24>>24,T[N++]=((r&15)<<4|o>>2&15)<<24>>24,T[N++]=(o<<6|s)<<24>>24,T))}function pNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee;for(t.Tg(tSt,1),L=l(j(e,(Be(),_p)),225),s=new V(e.b);s.a<s.c.c.length;)for(o=l(q(s),26),y=XO(o.a),f=y,p=0,m=f.length;p<m;++p)if(u=f[p],u.k==(Ht(),Aa)){if(L==(hp(),qT))for(T=new V(u.j);T.a<T.c.c.length;)v=l(q(T),12),v.e.c.length==0||E1n(v),v.g.c.length==0||S1n(v);else if(se(j(u,(Ie(),mr)),17))G=l(j(u,mr),17),J=l(gg(u,(Ue(),Wt)).Jc().Pb(),12),ne=l(gg(u,Zt).Jc().Pb(),12),oe=l(j(J,mr),12),le=l(j(ne,mr),12),go(G,le),Yi(G,oe),Ee=new Eo(ne.i.n),Ee.a=_s(Z(X($i,1),Me,8,0,[le.i.n,le.n,le.a])).a,Gn(G.a,Ee),Ee=new Eo(J.i.n),Ee.a=_s(Z(X($i,1),Me,8,0,[oe.i.n,oe.n,oe.a])).a,Gn(G.a,Ee);else{if(u.j.c.length>=2){for(U=!0,N=new V(u.j),r=l(q(N),12),I=null;N.a<N.c.c.length;)if(I=r,r=l(q(N),12),!pr(j(I,mr),j(r,mr))){U=!1;break}}else U=!1;for(T=new V(u.j);T.a<T.c.c.length;)v=l(q(T),12),v.e.c.length==0||G2n(v,U),v.g.c.length==0||q2n(v,U)}Ii(u,null)}t.Ug()}function gNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee;for(p=new V(e.a.b);p.a<p.c.c.length;)for(u=l(q(p),26),oe=new V(u.a);oe.a<oe.c.c.length;)ne=l(q(oe),9),t.g[ne.p]=ne,t.a[ne.p]=ne,t.d[ne.p]=0;for(m=e.a.b,t.c==(Cf(),kg)&&(m=ic(m)),f=m.Jc();f.Ob();)for(u=l(f.Pb(),26),I=-1,N=u.a,t.o==(zd(),uf)&&(I=sr,N=ic(N)),Ee=N.Jc();Ee.Ob();)if(le=l(Ee.Pb(),9),T=null,t.c==kg?T=l(He(e.b.f,le.p),16):T=l(He(e.b.b,le.p),16),T.gc()>0)if(o=T.gc(),y=po(b.Math.floor((o+1)/2))-1,s=po(b.Math.ceil((o+1)/2))-1,t.o==uf)for(v=s;v>=y;v--)t.a[le.p]==le&&(U=l(T.Xb(v),49),L=l(U.a,9),!bl(r,U.b)&&I>e.b.e[L.p]&&(t.a[L.p]=le,t.g[le.p]=t.g[L.p],t.a[le.p]=t.g[le.p],t.f[t.g[le.p].p]=(Lt(),!!(Ke(t.f[t.g[le.p].p])&le.k==(Ht(),gi))),I=e.b.e[L.p]));else for(v=y;v<=s;v++)t.a[le.p]==le&&(J=l(T.Xb(v),49),G=l(J.a,9),!bl(r,J.b)&&I<e.b.e[G.p]&&(t.a[G.p]=le,t.g[le.p]=t.g[G.p],t.a[le.p]=t.g[le.p],t.f[t.g[le.p].p]=(Lt(),!!(Ke(t.f[t.g[le.p].p])&le.k==(Ht(),gi))),I=e.b.e[G.p]))}function dEt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt;return oe=e.c[(at(0,t.c.length),l(t.c[0],17)).p],Ge=e.c[(at(1,t.c.length),l(t.c[1],17)).p],oe.a.e.e-oe.a.a-(oe.b.e.e-oe.b.a)==0&&Ge.a.e.e-Ge.a.a-(Ge.b.e.e-Ge.b.a)==0||(J=oe.b.e.f,!se(J,9))?!1:(G=l(J,9),Ee=e.i[G.p],we=G.c?As(G.c.a,G,0):-1,u=Kr,we>0&&(s=l(He(G.c.a,we-1),9),f=e.i[s.p],lt=b.Math.ceil(rE(e.n,s,G)),u=Ee.a.e-G.d.d-(f.a.e+s.o.b+s.d.a)-lt),y=Kr,we<G.c.a.c.length-1&&(m=l(He(G.c.a,we+1),9),v=e.i[m.p],lt=b.Math.ceil(rE(e.n,m,G)),y=v.a.e-m.d.d-(Ee.a.e+G.o.b+G.d.a)-lt),r&&(Ud(),Yl(zf),b.Math.abs(u-y)<=zf||u==y||isNaN(u)&&isNaN(y))?!0:(o=tW(oe.a),p=-tW(oe.b),T=-tW(Ge.a),ne=tW(Ge.b),U=oe.a.e.e-oe.a.a-(oe.b.e.e-oe.b.a)>0&&Ge.a.e.e-Ge.a.a-(Ge.b.e.e-Ge.b.a)<0,L=oe.a.e.e-oe.a.a-(oe.b.e.e-oe.b.a)<0&&Ge.a.e.e-Ge.a.a-(Ge.b.e.e-Ge.b.a)>0,I=oe.a.e.e+oe.b.a<Ge.b.e.e+Ge.a.a,N=oe.a.e.e+oe.b.a>Ge.b.e.e+Ge.a.a,le=0,!U&&!L&&(N?u+T>0?le=T:y-o>0&&(le=o):I&&(u+p>0?le=p:y-ne>0&&(le=ne))),Ee.a.e+=le,Ee.b&&(Ee.d.e+=le),!1))}function fEt(e,t,r){var o,s,u,f,p,m,y,v,T,N;if(o=new ql(t.Jf().a,t.Jf().b,t.Kf().a,t.Kf().b),s=new bS,e.c)for(f=new V(t.Pf());f.a<f.c.c.length;)u=l(q(f),190),s.c=u.Jf().a+t.Jf().a,s.d=u.Jf().b+t.Jf().b,s.b=u.Kf().a,s.a=u.Kf().b,bC(o,s);for(y=new V(t.Vf());y.a<y.c.c.length;){if(m=l(q(y),844),v=m.Jf().a+t.Jf().a,T=m.Jf().b+t.Jf().b,e.e&&(s.c=v,s.d=T,s.b=m.Kf().a,s.a=m.Kf().b,bC(o,s)),e.d)for(f=new V(m.Pf());f.a<f.c.c.length;)u=l(q(f),190),s.c=u.Jf().a+v,s.d=u.Jf().b+T,s.b=u.Kf().a,s.a=u.Kf().b,bC(o,s);if(e.b){if(N=new Le(-r,-r),l(t.mf((_n(),uv)),185).Gc((ku(),K1)))for(f=new V(m.Pf());f.a<f.c.c.length;)u=l(q(f),190),N.a+=u.Kf().a+r,N.b+=u.Kf().b+r;N.a=b.Math.max(N.a,0),N.b=b.Math.max(N.b,0),Iyt(o,m.Uf(),m.Sf(),t,m,N,r)}}e.b&&Iyt(o,t.Uf(),t.Sf(),t,null,null,r),p=new IV(t.Tf()),p.d=b.Math.max(0,t.Jf().b-o.d),p.a=b.Math.max(0,o.d+o.a-(t.Jf().b+t.Kf().b)),p.b=b.Math.max(0,t.Jf().a-o.c),p.c=b.Math.max(0,o.c+o.b-(t.Jf().a+t.Kf().a)),t.Xf(p)}function bNn(){var e=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return e[34]='\\"',e[92]="\\\\",e[173]="\\u00ad",e[1536]="\\u0600",e[1537]="\\u0601",e[1538]="\\u0602",e[1539]="\\u0603",e[1757]="\\u06dd",e[1807]="\\u070f",e[6068]="\\u17b4",e[6069]="\\u17b5",e[8203]="\\u200b",e[8204]="\\u200c",e[8205]="\\u200d",e[8206]="\\u200e",e[8207]="\\u200f",e[8232]="\\u2028",e[8233]="\\u2029",e[8234]="\\u202a",e[8235]="\\u202b",e[8236]="\\u202c",e[8237]="\\u202d",e[8238]="\\u202e",e[8288]="\\u2060",e[8289]="\\u2061",e[8290]="\\u2062",e[8291]="\\u2063",e[8292]="\\u2064",e[8298]="\\u206a",e[8299]="\\u206b",e[8300]="\\u206c",e[8301]="\\u206d",e[8302]="\\u206e",e[8303]="\\u206f",e[65279]="\\ufeff",e[65529]="\\ufff9",e[65530]="\\ufffa",e[65531]="\\ufffb",e}function hEt(e){t0(e,new Xb(fq(nO(Zm(Ym(Xm(Jm(new wb,Ga),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new Vm),Ga),Ar((iT(),rM),Z(X(iM,1),Ce,235,0,[nM]))))),Oe(e,Ga,xD,Re(1)),Oe(e,Ga,F0,80),Oe(e,Ga,RX,5),Oe(e,Ga,bk,gk),Oe(e,Ga,aF,Re(1)),Oe(e,Ga,GC,(Lt(),!0)),Oe(e,Ga,$0,v2e),Oe(e,Ga,mk,ze(m2e)),Oe(e,Ga,uF,ze(E2e)),Oe(e,Ga,ND,!1),Oe(e,Ga,wk,ze(y2e)),Oe(e,Ga,yk,ze(txt)),Oe(e,Ga,pT,ze(nxt)),Oe(e,Ga,ME,ze(ext)),Oe(e,Ga,vk,ze(Qkt)),Oe(e,Ga,Ek,ze(ixt)),Oe(e,Ga,sF,ze(w2e)),Oe(e,Ga,CX,ze(ree)),Oe(e,Ga,hwe,ze(m$)),Oe(e,Ga,IX,ze(nee)),Oe(e,Ga,pwe,ze(S2e)),Oe(e,Ga,CD,ze(lxt)),Oe(e,Ga,ID,ze(dxt)),Oe(e,Ga,RD,ze(cxt)),Oe(e,Ga,OD,ze(uxt)),Oe(e,Ga,B0,T2e)}function mNn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J;for(I=l(He((at(0,t.c.length),l(t.c[0],26)).a,o),9),r>0&&Ii(I,(at(r,t.c.length),l(t.c[r],26))),u=0,N=!0,J=ic(Mb(si(I))),m=J.Jc();m.Ob();){for(p=l(m.Pb(),17),N=!1,T=p,y=0;y<r;y++)s=Fpt(e,T),o+u>(at(y,t.c.length),l(t.c[y],26)).a.c.length?Ii(s,(at(y,t.c.length),l(t.c[y],26))):E1(s,o+u,(at(y,t.c.length),l(t.c[y],26))),T=cJ(T,s);r>0&&(u+=1)}if(N){for(y=0;y<r;y++)s=new Xd(e),Kh(s,(Ht(),tL)),o+u>(at(y,t.c.length),l(t.c[y],26)).a.c.length?Ii(s,(at(y,t.c.length),l(t.c[y],26))):E1(s,o+u,(at(y,t.c.length),l(t.c[y],26)));r>0&&(u+=1)}for(f=!1,U=new Ft(Gt(Rr(I).a.Jc(),new D));an(U);){for(L=l(Qt(U),17),T=L,v=r+1;v<t.c.length;v++)s=Fpt(e,T),Ii(s,(at(v,t.c.length),l(t.c[v],26))),T=cJ(T,s);for(y=0;y<=r;y++)f&&(G=new Xd(e),Kh(G,(Ht(),EI)),o+1>(at(y,t.c.length),l(t.c[y],26)).a.c.length?Ii(G,(at(y,t.c.length),l(t.c[y],26))):E1(G,o+1,(at(y,t.c.length),l(t.c[y],26))));f&&(u+=1),f=!0}return u>0?u-1:0}function k1(e,t){fr();var r,o,s,u,f,p,m,y,v,T,N,I,L;if(GN(_x)==0){for(T=me(W3n,Me,122,TLt.length,0,1),f=0;f<T.length;f++)T[f]=new bc(4);for(o=new UN,u=0;u<F3e.length;u++){if(v=new bc(4),u<84?(p=u*2,I=(Yt(p,NQ.length),NQ.charCodeAt(p)),N=(Yt(p+1,NQ.length),NQ.charCodeAt(p+1)),Ea(v,I,N)):(p=(u-84)*2,Ea(v,$3e[p],$3e[p+1])),m=F3e[u],mt(m,"Specials")&&Ea(v,65520,65533),mt(m,m_t)&&(Ea(v,983040,1048573),Ea(v,1048576,1114109)),Qo(_x,m,v),Qo(P4,m,_y(v)),y=o.a.length,0<y?o.a=yl(o.a,0,0):0>y&&(o.a+=Ynt(me(al,$f,30,-y,15,1))),o.a+="Is",xf(m,Qa(32))>=0)for(s=0;s<m.length;s++)Yt(s,m.length),m.charCodeAt(s)!=32&&r_(o,(Yt(s,m.length),m.charCodeAt(s)));else o.a+=""+m;A1e(o.a,m,!0)}A1e(xQ,"Cn",!1),A1e(CEe,"Cn",!0),r=new bc(4),Ea(r,0,jk),Qo(_x,"ALL",r),Qo(P4,"ALL",_y(r)),!yv&&(yv=new hn),Qo(yv,xQ,xQ),!yv&&(yv=new hn),Qo(yv,CEe,CEe),!yv&&(yv=new hn),Qo(yv,"ALL","ALL")}return L=l(ma(t?_x:P4,e),140),L}function pEt(e){t0(e,new Xb(fq(nO(Zm(Ym(Xm(Jm(new wb,Va),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new DHe),nve),ct((iT(),Nre))))),Oe(e,Va,$0,q_e),Oe(e,Va,F0,20),Oe(e,Va,yZ,3),Oe(e,Va,bk,gk),Oe(e,Va,xD,Re(1)),Oe(e,Va,GC,(Lt(),!0)),Oe(e,Va,$D,ze(B_e)),Oe(e,Va,vZ,U_e),Oe(e,Va,mk,ze(J4t)),Oe(e,Va,CF,ze(X4t)),Oe(e,Va,ME,ze(Q4t)),Oe(e,Va,yk,ze(eRt)),Oe(e,Va,gT,ze(tRt)),Oe(e,Va,pT,ze(nRt)),Oe(e,Va,vk,ze(Z4t)),Oe(e,Va,wk,ze(z_e)),Oe(e,Va,Ek,ze(rRt)),Oe(e,Va,Qye,ze(Y_e)),Oe(e,Va,tve,ze(V_e)),Oe(e,Va,CD,ze(aRt)),Oe(e,Va,ID,ze(uRt)),Oe(e,Va,RD,ze(sRt)),Oe(e,Va,OD,ze(oRt)),Oe(e,Va,B0,K_e),Oe(e,Va,Zye,ze(c2)),Oe(e,Va,eve,ze(nne)),Oe(e,Va,Xye,ze(Yf)),Oe(e,Va,Yye,ze($_e)),Oe(e,Va,Jye,ze(H_e))}function gEt(e,t){var r,o,s,u,f,p,m,y,v,T,N;for(y=l(l(wr(e.r,t),24),85),f=swn(e,t),r=e.u.Gc((ku(),T4)),m=y.Jc();m.Ob();)if(p=l(m.Pb(),116),!(!p.c||p.c.d.c.length<=0)){switch(N=p.b.Kf(),v=p.c,T=v.i,T.b=(u=v.n,v.e.a+u.b+u.c),T.a=(s=v.n,v.e.b+s.d+s.a),t.g){case 1:p.a?(T.c=(N.a-T.b)/2,Ed(v,(_u(),L1))):f||r?(T.c=-T.b-e.s,Ed(v,(_u(),nd))):(T.c=N.a+e.s,Ed(v,(_u(),Vf))),T.d=-T.a-e.t,Nf(v,(Za(),rd));break;case 3:p.a?(T.c=(N.a-T.b)/2,Ed(v,(_u(),L1))):f||r?(T.c=-T.b-e.s,Ed(v,(_u(),nd))):(T.c=N.a+e.s,Ed(v,(_u(),Vf))),T.d=N.b+e.t,Nf(v,(Za(),Nd));break;case 2:p.a?(o=e.v?T.a:l(He(v.d,0),190).Kf().b,T.d=(N.b-o)/2,Nf(v,(Za(),M1))):f||r?(T.d=-T.a-e.t,Nf(v,(Za(),rd))):(T.d=N.b+e.t,Nf(v,(Za(),Nd))),T.c=N.a+e.s,Ed(v,(_u(),Vf));break;case 4:p.a?(o=e.v?T.a:l(He(v.d,0),190).Kf().b,T.d=(N.b-o)/2,Nf(v,(Za(),M1))):f||r?(T.d=-T.a-e.t,Nf(v,(Za(),rd))):(T.d=N.b+e.t,Nf(v,(Za(),Nd))),T.c=-T.b-e.s,Ed(v,(_u(),nd))}f=!1}}function wNn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne;if(N=!1,T=!1,tE(l(j(o,(Be(),Zr)),103))){f=!1,p=!1;e:for(L=new V(o.j);L.a<L.c.c.length;)for(I=l(q(L),12),G=hh(Wc(Z(X(nl,1),Rt,22,0,[new OA(I),new Q2(I)])));an(G);)if(U=l(Qt(G),12),!Ke(We(j(U.i,DI)))){if(I.j==(Ue(),Vt)){f=!0;break e}if(I.j==dn){p=!0;break e}}N=p&&!f,T=f&&!p}if(!N&&!T&&o.b.c.length!=0){for(v=0,y=new V(o.b);y.a<y.c.c.length;)m=l(q(y),70),v+=m.n.b+m.o.b/2;v/=o.b.c.length,ne=v>=o.o.b/2}else ne=!T;ne?(J=l(j(o,(Ie(),DT)),16),J?N?u=J:(s=l(j(o,kT),16),s?J.gc()<=s.gc()?u=J:u=s:(u=new Pe,Ae(o,kT,u))):(u=new Pe,Ae(o,DT,u))):(s=l(j(o,(Ie(),kT)),16),s?T?u=s:(J=l(j(o,DT),16),J?s.gc()<=J.gc()?u=s:u=J:(u=new Pe,Ae(o,DT,u))):(u=new Pe,Ae(o,kT,u))),u.Ec(e),Ae(e,(Ie(),Q$),r),t.d==r?(Yi(t,null),r.e.c.length+r.g.c.length==0&&Ts(r,null),Qhn(r)):(go(t,null),r.e.c.length+r.g.c.length==0&&Ts(r,null)),ec(t.a)}function yNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr;for(r.Tg("MinWidth layering",1),I=t.b,Ge=t.a,Gr=l(j(t,(Be(),bAe)),15).a,p=l(j(t,mAe),15).a,e.b=ue(ce(j(t,od))),e.d=Kr,le=new V(Ge);le.a<le.c.c.length;)ne=l(q(le),9),ne.k==(Ht(),Xr)&&(Ct=ne.o.b,e.d=b.Math.min(e.d,Ct));for(e.d=b.Math.max(1,e.d),lt=Ge.c.length,e.c=me(Rn,Xn,30,lt,15,1),e.f=me(Rn,Xn,30,lt,15,1),e.e=me(Ki,Wo,30,lt,15,1),y=0,e.a=0,Ee=new V(Ge);Ee.a<Ee.c.c.length;)ne=l(q(Ee),9),ne.p=y++,e.c[ne.p]=kpt(si(ne)),e.f[ne.p]=kpt(Rr(ne)),e.e[ne.p]=ne.o.b/e.d,e.a+=e.e[ne.p];for(e.b/=e.d,e.a/=lt,we=dvn(Ge),_i(Ge,che(new nJe(e))),U=Kr,L=sr,f=null,qn=Gr,on=Gr,u=p,s=p,Gr<0&&(qn=l(g_e.a.Gd(),15).a,on=l(g_e.b.Gd(),15).a),p<0&&(u=l(p_e.a.Gd(),15).a,s=l(p_e.b.Gd(),15).a),Dt=qn;Dt<=on;Dt++)for(o=u;o<=s;o++)dt=ZAn(e,Dt,o,Ge,we),J=ue(ce(dt.a)),N=l(dt.b,16),G=N.gc(),(J<U||J==U&&G<L)&&(U=J,L=G,f=N);for(T=f.Jc();T.Ob();){for(v=l(T.Pb(),16),m=new ra(t),oe=v.Jc();oe.Ob();)ne=l(oe.Pb(),9),Ii(ne,m);Ot(I.c,m)}mC(I),Ge.c.length=0,r.Ug()}function vNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge;for(t.Tg(tSt,1),U=new Pe,we=new Pe,y=new V(e.b);y.a<y.c.c.length;)for(m=l(q(y),26),J=-1,L=XO(m.a),T=L,N=0,I=T.length;N<I;++N)if(v=T[N],++J,!!(v.k==(Ht(),Xr)&&tE(l(j(v,(Be(),Zr)),103)))){for(!SS(l(j(v,(Be(),Zr)),103))&&be(j(ji(v),Ch))===be((pp(),B1))&&R2n(v),Ae(v,(Ie(),ew),v),U.c.length=0,we.c.length=0,r=new Pe,le=new Sr,yK(le,gg(v,(Ue(),Vt))),be(j(ji(v),Ch))!==be((pp(),B1))&&(le=Nbt(le)),wEt(e,le,U,we,r),p=J,Ge=v,u=new V(U);u.a<u.c.c.length;)o=l(q(u),9),E1(o,p,m),++J,Ae(o,ew,v),f=l(He(o.j,0),12),G=l(j(f,mr),12),Ke(We(j(G,ate)))||l(j(o,CT),16).Ec(Ge);for(ec(le),oe=gg(v,dn).Jc();oe.Ob();)ne=l(oe.Pb(),12),Wr(le,ne,le.a,le.a.a);for(be(j(ji(v),Ch))!==be(B1)&&(le=Nbt(le)),wEt(e,le,we,null,r),Ee=v,s=new V(we);s.a<s.c.c.length;)o=l(q(s),9),E1(o,++J,m),Ae(o,ew,v),f=l(He(o.j,0),12),G=l(j(f,mr),12),Ke(We(j(G,ate)))||l(j(Ee,CT),16).Ec(o);r.c.length==0||Ae(v,rTe,r)}t.Ug()}function ENn(e,t,r,o,s,u,f){var p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr;for(I=0,Ct=0,m=new V(e);m.a<m.c.c.length;)p=l(q(m),19),qvt(p),I=b.Math.max(I,p.g),Ct+=p.g*p.f;for(L=Ct/e.c.length,dt=imn(e,L),Ct+=e.c.length*dt,Ct+=b.Math.sqrt(Ct)*(r.a+r.d),Ct+=b.Math.sqrt(Ct)*r.c,I=b.Math.max(I,b.Math.sqrt(Ct*f))+r.b,qn=r.b,Gr=r.d,N=0,v=r.b+r.c,lt=new Sr,Gn(lt,Re(0)),we=new Sr,y=new Ji(e,0);y.b<y.d.gc();)p=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),19)),on=p.g,T=p.f,qn+on>I&&(u&&(vo(we,N),vo(lt,Re(y.b-1))),qn=r.b,Gr+=N+t,N=0,v=b.Math.max(v,r.b+r.c+on)),ya(p,qn),gu(p,Gr),v=b.Math.max(v,qn+on+r.c),N=b.Math.max(N,T),qn+=on+t;if(v=b.Math.max(v,o),Dt=Gr+N+r.a,Dt<s&&(N+=s-Dt,Dt=s),u)for(qn=r.b,y=new Ji(e,0),vo(lt,Re(e.c.length)),Ge=An(lt,0),J=l(Sn(Ge),15).a,vo(we,N),Ee=An(we,0),le=0;y.b<y.d.gc();)y.b==J&&(qn=r.b,le=ue(ce(Sn(Ee))),J=l(Sn(Ge),15).a),p=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),19)),ne=p.f,$b(p,le),U=le,y.b==J&&(G=v-qn-r.c,oe=p.g,Bb(p,G),Kbe(p,new Le(G,U),new Le(oe,ne))),qn+=p.g+t;return new Le(v,Dt)}function SNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on;if(r.Tg("Spline edge routing",1),t.b.c.length==0){t.f.a=0,r.Ug();return}ne=ue(ce(j(t,(Be(),ev)))),p=ue(ce(j(t,$1))),f=ue(ce(j(t,Zy))),J=l(j(t,gte),350),lt=J==(I_(),WI),Ge=ue(ce(j(t,uAe))),e.d=t,e.j.c.length=0,e.a.c.length=0,Zs(e.k),m=l(He(t.b,0),26),v=k8(m.a,(P7(),AL)),L=l(He(t.b,t.b.c.length-1),26),T=k8(L.a,AL),U=new V(t.b),G=null,on=0;do{for(oe=U.a<U.c.c.length?l(q(U),26):null,tNn(e,G,oe),TAn(e),dt=gQt(Zfn(SP(lr(new yt(null,new vt(e.i,16)),new nHe),new rHe))),Dt=0,le=on,N=!G||v&&G==m,I=!oe||T&&oe==L,dt>0?(y=0,G&&(y+=p),y+=(dt-1)*f,oe&&(y+=p),lt&&oe&&(y=b.Math.max(y,P2n(oe,f,ne,Ge))),y<ne&&!N&&!I&&(Dt=(ne-y)/2,y=ne),le+=y):!N&&!I&&(le+=ne),oe&&_0e(oe,le),we=new V(e.i);we.a<we.c.c.length;)Ee=l(q(we),134),Ee.a.c=on,Ee.a.b=le-on,Ee.F=Dt,Ee.p=!G;li(e.a,e.i),on=le,oe&&(on+=oe.c.a),G=oe,N=I}while(oe);for(s=new V(e.j);s.a<s.c.c.length;)o=l(q(s),17),u=$fn(e,o),Ae(o,(Ie(),n2),u),Ct=J2n(e,o),Ae(o,fm,Ct);t.f.a=on,e.d=null,r.Ug()}function TNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;for(e.b=t,e.a=l(j(t,(Be(),lAe)),15).a,e.c=l(j(t,fAe),15).a,e.c==0&&(e.c=sr),G=new Ji(t.b,0);G.b<G.d.gc();){for(U=(un(G.b<G.d.gc()),l(G.d.Xb(G.c=G.b++),26)),p=new Pe,v=-1,le=-1,oe=new V(U.a);oe.a<oe.c.c.length;)ne=l(q(oe),9),yd((jO(),new Ft(Gt(Df(ne).a.Jc(),new D))))>=e.a&&(o=e_n(e,ne),v=b.Math.max(v,o.b),le=b.Math.max(le,o.d),je(p,new ko(ne,o)));for(lt=new Pe,y=0;y<v;++y)kb(lt,0,(un(G.b>0),G.a.Xb(G.c=--G.b),dt=new ra(e.b),qw(G,dt),un(G.b<G.d.gc()),G.d.Xb(G.c=G.b++),dt));for(f=new V(p);f.a<f.c.c.length;)if(s=l(q(f),49),I=l(s.b,573).a,!!I)for(N=new V(I);N.a<N.c.c.length;)T=l(q(N),9),Y1e(e,T,E$,lt);for(r=new Pe,m=0;m<le;++m)je(r,(Ct=new ra(e.b),qw(G,Ct),Ct));for(u=new V(p);u.a<u.c.c.length;)if(s=l(q(u),49),Ge=l(s.b,573).c,!!Ge)for(we=new V(Ge);we.a<we.c.c.length;)Ee=l(q(we),9),Y1e(e,Ee,S$,r)}for(J=new Ji(t.b,0);J.b<J.d.gc();)L=(un(J.b<J.d.gc()),l(J.d.Xb(J.c=J.b++),26)),L.a.c.length==0&&Lu(J)}function bEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;if(U=e.i!=0,oe=!1,J=null,Yu(e.e)){if(v=t.gc(),v>0){for(N=v<100?null:new Qg(v),y=new cge(t),L=y.g,J=me(Rn,Xn,30,v,15,1),o=0,le=new m0(v),s=0;s<e.i;++s){p=e.g[s],I=p;e:for(ne=0;ne<2;++ne){for(m=v;--m>=0;)if(I!=null?pr(I,L[m]):be(I)===be(L[m])){J.length<=o&&(G=J,J=me(Rn,Xn,30,2*J.length,15,1),ua(G,0,J,0,o)),J[o++]=s,Tn(le,L[m]);break e}if(I=I,be(I)===be(p))break}}if(y=le,L=le.g,v=o,o>J.length&&(G=J,J=me(Rn,Xn,30,o,15,1),ua(G,0,J,0,o)),o>0){for(oe=!0,u=0;u<o;++u)I=L[u],N=Oit(e,l(I,76),N);for(f=o;--f>=0;)JS(e,J[f]);if(o!=v){for(s=v;--s>=o;)JS(y,s);G=J,J=me(Rn,Xn,30,o,15,1),ua(G,0,J,0,o)}t=y}}}else for(t=Kbn(e,t),s=e.i;--s>=0;)t.Gc(e.g[s])&&(JS(e,s),oe=!0);if(oe){if(J!=null){for(r=t.gc(),T=r==1?L3(e,4,t.Jc().Pb(),null,J[0],U):L3(e,6,t,J,J[0],U),N=r<100?null:new Qg(r),s=t.Jc();s.Ob();)I=s.Pb(),N=tfe(e,l(I,76),N);N?(N.lj(T),N.mj()):hr(e.e,T)}else{for(N=Onn(t.gc()),s=t.Jc();s.Ob();)I=s.Pb(),N=tfe(e,l(I,76),N);N&&N.mj()}return!0}else return!1}function ANn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(r=new l1t(t),r.a||KTn(t),y=VSn(t),m=new g0,G=new kwt,U=new V(t.a);U.a<U.c.c.length;)for(L=l(q(U),9),s=new Ft(Gt(Rr(L).a.Jc(),new D));an(s);)o=l(Qt(s),17),(o.c.i.k==(Ht(),mi)||o.d.i.k==mi)&&(v=pxn(e,o,y,G),wt(m,pY(v.d),v.a));for(f=new Pe,oe=l(j(r.c,(Ie(),Tp)),24).Jc();oe.Ob();){switch(ne=l(oe.Pb(),64),I=G.c[ne.g],N=G.b[ne.g],p=G.a[ne.g],u=null,J=null,ne.g){case 4:u=new ql(e.d.a,I,y.b.a-e.d.a,N-I),J=new ql(e.d.a,I,p,N-I),s0(y,new Le(u.c+u.b,u.d)),s0(y,new Le(u.c+u.b,u.d+u.a));break;case 2:u=new ql(y.a.a,I,e.c.a-y.a.a,N-I),J=new ql(e.c.a-p,I,p,N-I),s0(y,new Le(u.c,u.d)),s0(y,new Le(u.c,u.d+u.a));break;case 1:u=new ql(I,e.d.b,N-I,y.b.b-e.d.b),J=new ql(I,e.d.b,N-I,p),s0(y,new Le(u.c,u.d+u.a)),s0(y,new Le(u.c+u.b,u.d+u.a));break;case 3:u=new ql(I,y.a.b,N-I,e.c.b-y.a.b),J=new ql(I,e.c.b-p,N-I,p),s0(y,new Le(u.c,u.d)),s0(y,new Le(u.c+u.b,u.d))}u&&(T=new fZe,T.d=ne,T.b=u,T.c=J,T.a=wW(l(wr(m,pY(ne)),24)),Ot(f.c,T))}return li(r.b,f),r.d=Epn(Akn(y)),r}function mEt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U;if(r.p[t.p]==null){p=!0,r.p[t.p]=0,f=t,U=r.o==(zd(),ym)?Oi:Kr;do s=e.b.e[f.p],u=f.c.a.c.length,r.o==ym&&s>0||r.o==uf&&s<u-1?(m=null,y=null,r.o==uf?m=l(He(f.c.a,s+1),9):m=l(He(f.c.a,s-1),9),y=r.g[m.p],mEt(e,y,r),U=e.e.vg(U,t,f),r.j[t.p]==t&&(r.j[t.p]=r.j[y.p]),r.j[t.p]==r.j[y.p]?(L=rE(e.d,f,m),r.o==uf?(o=ue(r.p[t.p]),T=ue(r.p[y.p])+ue(r.d[m.p])-m.d.d-L-f.d.a-f.o.b-ue(r.d[f.p]),p?(p=!1,r.p[t.p]=b.Math.min(T,U)):r.p[t.p]=b.Math.min(o,b.Math.min(T,U))):(o=ue(r.p[t.p]),T=ue(r.p[y.p])+ue(r.d[m.p])+m.o.b+m.d.a+L+f.d.d-ue(r.d[f.p]),p?(p=!1,r.p[t.p]=b.Math.max(T,U)):r.p[t.p]=b.Math.max(o,b.Math.max(T,U)))):(L=ue(ce(j(e.a,(Be(),wm)))),I=Zft(e,r.j[t.p]),v=Zft(e,r.j[y.p]),r.o==uf?(N=ue(r.p[t.p])+ue(r.d[f.p])+f.o.b+f.d.a+L-(ue(r.p[y.p])+ue(r.d[m.p])-m.d.d),vut(I,v,N)):(N=ue(r.p[t.p])+ue(r.d[f.p])-f.d.d-ue(r.p[y.p])-ue(r.d[m.p])-m.o.b-m.d.a-L,vut(I,v,N)))):U=e.e.vg(U,t,f),f=r.a[f.p];while(f!=t);BZt(e.e,t)}}function _Nn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt;if(r=ue(ce(j(e.a.j,(Be(),nAe)))),r<-1||!e.a.i||SS(l(j(e.a.o,Zr),103))||ks(e.a.o,(Ue(),Zt)).gc()<2&&ks(e.a.o,Wt).gc()<2)return!0;if(e.a.c.ig())return!1;for(Ee=0,le=0,oe=new Pe,m=e.a.e,y=0,v=m.length;y<v;++y){for(p=m[y],N=p,I=0,U=N.length;I<U;++I){if(T=N[I],T.k==(Ht(),Aa)){Ot(oe.c,T);continue}for(o=e.b[T.c.p][T.p],T.k==mi?(o.b=1,l(j(T,(Ie(),mr)),12).j==(Ue(),Zt)&&(le+=o.a)):(dt=ks(T,(Ue(),Wt)),dt.dc()||!dV(dt,new hUe)?o.c=1:(s=ks(T,Zt),(s.dc()||!dV(s,new fUe))&&(Ee+=o.a))),f=new Ft(Gt(Rr(T).a.Jc(),new D));an(f);)u=l(Qt(f),17),Ee+=o.c,le+=o.b,lt=u.d.i,vpe(e,o,lt);for(J=Wc(Z(X(nl,1),Rt,22,0,[ks(T,(Ue(),Vt)),ks(T,dn)])),Ge=new Ft(new hde(J.a.length,J.a));an(Ge);)we=l(Qt(Ge),12),ne=l(j(we,(Ie(),Nu)),9),ne&&(Ee+=o.c,le+=o.b,vpe(e,o,ne))}for(L=new V(oe);L.a<L.c.c.length;)for(T=l(q(L),9),o=e.b[T.c.p][T.p],f=new Ft(Gt(Rr(T).a.Jc(),new D));an(f);)u=l(Qt(f),17),Ee+=o.c,le+=o.b,lt=u.d.i,vpe(e,o,lt);oe.c.length=0}return t=Ee+le,G=t==0?Kr:(Ee-le)/t,G>=r}function kNn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;for(oe=e.a,le=0,Ee=oe.length;le<Ee;++le){for(ne=oe[le],y=sr,v=sr,L=new V(ne.e);L.a<L.c.c.length;)N=l(q(L),9),f=N.c?As(N.c.a,N,0):-1,f>0?(T=l(He(N.c.a,f-1),9),lt=rE(e.b,N,T),G=N.n.b-N.d.d-(T.n.b+T.o.b+T.d.a+lt)):G=N.n.b-N.d.d,y=b.Math.min(G,y),f<N.c.a.c.length-1?(T=l(He(N.c.a,f+1),9),lt=rE(e.b,N,T),J=T.n.b-T.d.d-(N.n.b+N.o.b+N.d.a+lt)):J=2*N.n.b,v=b.Math.min(J,v);for(m=sr,u=!1,s=l(He(ne.e,0),9),Ct=new V(s.j);Ct.a<Ct.c.c.length;)for(dt=l(q(Ct),12),U=s.n.b+dt.n.b+dt.a.b,o=new V(dt.e);o.a<o.c.c.length;)r=l(q(o),17),we=r.c,t=we.i.n.b+we.n.b+we.a.b-U,b.Math.abs(t)<b.Math.abs(m)&&b.Math.abs(t)<(t<0?y:v)&&(m=t,u=!0);for(p=l(He(ne.e,ne.e.c.length-1),9),Ge=new V(p.j);Ge.a<Ge.c.c.length;)for(we=l(q(Ge),12),U=p.n.b+we.n.b+we.a.b,o=new V(we.g);o.a<o.c.c.length;)r=l(q(o),17),dt=r.d,t=dt.i.n.b+dt.n.b+dt.a.b-U,b.Math.abs(t)<b.Math.abs(m)&&b.Math.abs(t)<(t<0?y:v)&&(m=t,u=!0);if(u&&m!=0)for(I=new V(ne.e);I.a<I.c.c.length;)N=l(q(I),9),N.n.b+=m}}function xNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on;for(oe=t,ne=new g0,le=new g0,v=b0(oe,uQ),o=new oat(e,r,ne,le),omt(o.a,o.b,o.c,o.d,v),m=(Ge=ne.i,Ge||(ne.i=new sE(ne,ne.c))),dt=m.Jc();dt.Ob();)for(lt=l(dt.Pb(),171),s=l(wr(ne,lt),24),U=s.Jc();U.Ob();)if(L=U.Pb(),Ee=l(pE(e.f,L),171),Ee)p=(!lt.e&&(lt.e=new Et(jr,lt,10,9)),lt.e),Tn(p,Ee);else throw f=ip(oe,Gf),N=UTt+L+HTt+f,I=N+Mk,K(new _f(I));for(y=(we=le.i,we||(le.i=new sE(le,le.c))),Dt=y.Jc();Dt.Ob();)for(Ct=l(Dt.Pb(),171),u=l(wr(le,Ct),24),J=u.Jc();J.Ob();)if(G=J.Pb(),Ee=l(pE(e.f,G),171),Ee)T=(!Ct.g&&(Ct.g=new Et(jr,Ct,9,10)),Ct.g),Tn(T,Ee);else throw f=ip(oe,Gf),N=UTt+G+HTt+f,I=N+Mk,K(new _f(I));!r.b&&(r.b=new Et(pn,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new Et(pn,r,5,8)),r.c.i!=0)&&(!r.b&&(r.b=new Et(pn,r,4,7)),r.b.i<=1&&(!r.c&&(r.c=new Et(pn,r,5,8)),r.c.i<=1))&&(!r.a&&(r.a=new xe(jr,r,6,6)),r.a).i==1&&(on=l(ie((!r.a&&(r.a=new xe(jr,r,6,6)),r.a),0),171),!yY(on)&&!vY(on)&&(yj(on,l(ie((!r.b&&(r.b=new Et(pn,r,4,7)),r.b),0),83)),vj(on,l(ie((!r.c&&(r.c=new Et(pn,r,5,8)),r.c),0),83))))}function NNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;if(o=new Pe,s=sr,u=sr,f=sr,r)for(s=e.f.a,U=new V(t.j);U.a<U.c.c.length;)for(L=l(q(U),12),m=new V(L.g);m.a<m.c.c.length;)p=l(q(m),17),p.a.b!=0&&(v=l(KA(p.a),8),v.a<s&&(u=s-v.a,f=sr,o.c.length=0,s=v.a),v.a<=s&&(Ot(o.c,p),p.a.b>1&&(f=b.Math.min(f,b.Math.abs(l(sa(p.a,1),8).b-v.b)))));else for(U=new V(t.j);U.a<U.c.c.length;)for(L=l(q(U),12),m=new V(L.e);m.a<m.c.c.length;)p=l(q(m),17),p.a.b!=0&&(N=l(zl(p.a),8),N.a>s&&(u=N.a-s,f=sr,o.c.length=0,s=N.a),N.a>=s&&(Ot(o.c,p),p.a.b>1&&(f=b.Math.min(f,b.Math.abs(l(sa(p.a,p.a.b-2),8).b-N.b)))));if(o.c.length!=0&&u>t.o.a/2&&f>t.o.b/2){for(I=new aa,Ts(I,t),Ni(I,(Ue(),Vt)),I.n.a=t.o.a/2,J=new aa,Ts(J,t),Ni(J,dn),J.n.a=t.o.a/2,J.n.b=t.o.b,m=new V(o);m.a<m.c.c.length;)p=l(q(m),17),r?(y=l(LV(p.a),8),G=p.a.b==0?qd(p.d):l(KA(p.a),8),G.b>=y.b?go(p,J):go(p,I)):(y=l(ion(p.a),8),G=p.a.b==0?qd(p.c):l(zl(p.a),8),G.b>=y.b?Yi(p,J):Yi(p,I)),T=l(j(p,(Be(),rs)),79),T&&py(T,y,!0);t.n.a=s-t.o.a/2}}function CNn(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(p=An(e.b,0);p.b!=p.d.c;)if(f=l(Sn(p),41),!mt(f.c,RF))for(y=Zvn(f,e),t==(vi(),is)||t==cs?_i(y,new WHe):_i(y,new KHe),m=y.c.length,o=0;o<m;o++)v=(at(o,y.c.length),l(y.c[o],65)).c,mt(v.c,"n11"),!(Ke(We(j(f,(xr(),R_e))))&&!Kht((at(o,y.c.length),l(y.c[o],65)),e))&&(s=m==1?.5:(o+1)/(m+1),t==is?(u=ue(ce(j(f,Id))),N=f.e.b+f.f.b*s,Zv((at(o,y.c.length),l(y.c[o],65)).a,new Le(b.Math.min(u,f.e.a-r),N)),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Le(f.e.a,N))):t==cs?(u=ue(ce(j(f,sd)))+r,N=f.e.b+f.f.b*s,Zv((at(o,y.c.length),l(y.c[o],65)).a,new Le(u,N)),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Le(f.e.a+f.f.a,N))):t==il?(u=ue(ce(j(f,Id))),T=f.e.a+f.f.a*s,Zv((at(o,y.c.length),l(y.c[o],65)).a,new Le(T,b.Math.min(f.e.b-r,u))),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Le(T,f.e.b))):(u=ue(ce(j(f,sd)))+r,T=f.e.a+f.f.a*s,Zv((at(o,y.c.length),l(y.c[o],65)).a,new Le(T,u)),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Le(T,f.e.b+f.f.b))))}function lD(e,t,r,o,s,u,f,p,m){var y,v,T,N,I,L,U;switch(I=r,v=new Xd(m),Kh(v,(Ht(),mi)),Ae(v,(Ie(),aTe),f),Ae(v,(Be(),Zr),(qi(),fa)),U=ue(ce(e.mf(Yy))),Ae(v,Yy,U),T=new aa,Ts(T,v),t!=pf&&t!=W1||(o>=0?I=qS(p):I=L6(qS(p)),e.of(nx,I)),y=new to,N=!1,e.nf(ow)?(_de(y,l(e.mf(ow),8)),N=!0):Etn(y,f.a/2,f.b/2),I.g){case 4:Ae(v,Ns,(rc(),Ap)),Ae(v,tB,(Gb(),JE)),v.o.b=f.b,U<0&&(v.o.a=-U),Ni(T,(Ue(),Zt)),N||(y.a=f.a),y.a-=f.a;break;case 2:Ae(v,Ns,(rc(),hm)),Ae(v,tB,(Gb(),Yk)),v.o.b=f.b,U<0&&(v.o.a=-U),Ni(T,(Ue(),Wt)),N||(y.a=0);break;case 1:Ae(v,dm,(up(),ZE)),v.o.a=f.a,U<0&&(v.o.b=-U),Ni(T,(Ue(),dn)),N||(y.b=f.b),y.b-=f.b;break;case 3:Ae(v,dm,(up(),_T)),v.o.a=f.a,U<0&&(v.o.b=-U),Ni(T,(Ue(),Vt)),N||(y.b=0)}if(_de(T.n,y),Ae(v,ow,y),t==Tm||t==Oh||t==fa){if(L=0,t==Tm&&e.nf(_g))switch(I.g){case 1:case 2:L=l(e.mf(_g),15).a;break;case 3:case 4:L=-l(e.mf(_g),15).a}else switch(I.g){case 4:case 2:L=u.b,t==Oh&&(L/=s.b);break;case 1:case 3:L=u.a,t==Oh&&(L/=s.a)}Ae(v,tw,L)}return Ae(v,Us,I),v}function INn(){Kce();function e(o){var s=this;this.dispatch=function(u){var f=u.data;switch(f.cmd){case"algorithms":var p=v1e((St(),new NA(new Jh(J1.b))));o.postMessage({id:f.id,data:p});break;case"categories":var m=v1e((St(),new NA(new Jh(J1.c))));o.postMessage({id:f.id,data:m});break;case"options":var y=v1e((St(),new NA(new Jh(J1.d))));o.postMessage({id:f.id,data:y});break;case"register":Ikn(f.algorithms),o.postMessage({id:f.id});break;case"layout":Y_n(f.graph,f.layoutOptions||{},f.options||{}),o.postMessage({id:f.id,data:f.graph});break}},this.saveDispatch=function(u){try{s.dispatch(u)}catch(f){o.postMessage({id:u.data.id,error:f})}}}function t(o){var s=this;this.dispatcher=new e({postMessage:function(u){s.onmessage({data:u})}}),this.postMessage=function(u){setTimeout(function(){s.dispatcher.saveDispatch({data:u})},0)}}if(typeof document===AX&&typeof self!==AX){var r=new e(self);self.onmessage=r.saveDispatch}else typeof c!==AX&&c.exports&&(Object.defineProperty(d,"__esModule",{value:!0}),c.exports={default:t,Worker:t})}function BJ(e,t,r,o,s,u,f){var p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr;for(U=0,Ct=0,y=new V(e.b);y.a<y.c.c.length;)m=l(q(y),168),m.c&&qvt(m.c),U=b.Math.max(U,hu(m)),Ct+=hu(m)*Qu(m);for(G=Ct/e.b.c.length,dt=Fmn(e.b,G),Ct+=e.b.c.length*dt,U=b.Math.max(U,b.Math.sqrt(Ct*f))+r.b,qn=r.b,Gr=r.d,I=0,T=r.b+r.c,lt=new Sr,Gn(lt,Re(0)),we=new Sr,v=new Ji(e.b,0),L=null,p=new Pe;v.b<v.d.gc();)m=(un(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),168)),on=hu(m),N=Qu(m),qn+on>U&&(u&&(vo(we,I),vo(lt,Re(v.b-1)),je(e.d,L),p.c.length=0),qn=r.b,Gr+=I+t,I=0,T=b.Math.max(T,r.b+r.c+on)),Ot(p.c,m),i1t(m,qn,Gr),T=b.Math.max(T,qn+on+r.c),I=b.Math.max(I,N),qn+=on+t,L=m;if(li(e.a,p),je(e.d,l(He(p,p.c.length-1),168)),T=b.Math.max(T,o),Dt=Gr+I+r.a,Dt<s&&(I+=s-Dt,Dt=s),u)for(qn=r.b,v=new Ji(e.b,0),vo(lt,Re(e.b.c.length)),Ge=An(lt,0),ne=l(Sn(Ge),15).a,vo(we,I),Ee=An(we,0),le=0;v.b<v.d.gc();)v.b==ne&&(qn=r.b,le=ue(ce(Sn(Ee))),ne=l(Sn(Ge),15).a),m=(un(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),168)),Fgt(m,le),v.b==ne&&(J=T-qn-r.c,oe=hu(m),$gt(m,J),igt(m,(J-oe)/2,0)),qn+=hu(m)+t;return new Le(T,Dt)}function RNn(e){e.N||(e.N=!0,e.b=Ms(e,0),Jr(e.b,0),Jr(e.b,1),Jr(e.b,2),e.bb=Ms(e,1),Jr(e.bb,0),Jr(e.bb,1),e.fb=Ms(e,2),Jr(e.fb,3),Jr(e.fb,4),Lr(e.fb,5),e.qb=Ms(e,3),Jr(e.qb,0),Lr(e.qb,1),Lr(e.qb,2),Jr(e.qb,3),Jr(e.qb,4),Lr(e.qb,5),Jr(e.qb,6),e.a=rr(e,4),e.c=rr(e,5),e.d=rr(e,6),e.e=rr(e,7),e.f=rr(e,8),e.g=rr(e,9),e.i=rr(e,10),e.j=rr(e,11),e.k=rr(e,12),e.n=rr(e,13),e.o=rr(e,14),e.p=rr(e,15),e.q=rr(e,16),e.s=rr(e,17),e.r=rr(e,18),e.t=rr(e,19),e.u=rr(e,20),e.v=rr(e,21),e.w=rr(e,22),e.B=rr(e,23),e.A=rr(e,24),e.C=rr(e,25),e.D=rr(e,26),e.F=rr(e,27),e.G=rr(e,28),e.H=rr(e,29),e.J=rr(e,30),e.I=rr(e,31),e.K=rr(e,32),e.M=rr(e,33),e.L=rr(e,34),e.P=rr(e,35),e.Q=rr(e,36),e.R=rr(e,37),e.S=rr(e,38),e.T=rr(e,39),e.U=rr(e,40),e.V=rr(e,41),e.X=rr(e,42),e.W=rr(e,43),e.Y=rr(e,44),e.Z=rr(e,45),e.$=rr(e,46),e._=rr(e,47),e.ab=rr(e,48),e.cb=rr(e,49),e.db=rr(e,50),e.eb=rr(e,51),e.gb=rr(e,52),e.hb=rr(e,53),e.ib=rr(e,54),e.jb=rr(e,55),e.kb=rr(e,56),e.lb=rr(e,57),e.mb=rr(e,58),e.nb=rr(e,59),e.ob=rr(e,60),e.pb=rr(e,61))}function ONn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;if(ne=0,t.f.a==0)for(G=new V(e);G.a<G.c.c.length;)L=l(q(G),9),ne=b.Math.max(ne,L.n.a+L.o.a+L.d.c);else ne=t.f.a-t.c.a;for(ne-=t.c.a,U=new V(e);U.a<U.c.c.length;){switch(L=l(q(U),9),LN(L.n,ne-L.o.a),wfe(L.f),L1t(L),(L.q?L.q:(St(),St(),kh))._b((Be(),Xy))&&LN(l(j(L,Xy),8),ne-L.o.a),l(j(L,Wf),259).g){case 1:Ae(L,Wf,(mh(),PL));break;case 2:Ae(L,Wf,(mh(),ML))}for(J=L.o,le=new V(L.j);le.a<le.c.c.length;){for(oe=l(q(le),12),LN(oe.n,J.a-oe.o.a),LN(oe.a,oe.o.a),Ni(oe,uht(oe.j)),f=l(j(oe,_g),15),f&&Ae(oe,_g,Re(-f.a)),u=new V(oe.g);u.a<u.c.c.length;){for(s=l(q(u),17),o=An(s.a,0);o.b!=o.d.c;)r=l(Sn(o),8),r.a=ne-r.a;if(y=l(j(s,rs),79),y)for(m=An(y,0);m.b!=m.d.c;)p=l(Sn(m),8),p.a=ne-p.a;for(N=new V(s.b);N.a<N.c.c.length;)v=l(q(N),70),LN(v.n,ne-v.o.a)}for(I=new V(oe.f);I.a<I.c.c.length;)v=l(q(I),70),LN(v.n,oe.o.a-v.o.a)}for(L.k==(Ht(),mi)&&(Ae(L,(Ie(),Us),uht(l(j(L,Us),64))),Nwn(L)),T=new V(L.b);T.a<T.c.c.length;)v=l(q(T),70),L1t(v),LN(v.n,J.a-v.o.a)}}function DNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;if(ne=0,t.f.b==0)for(G=new V(e);G.a<G.c.c.length;)L=l(q(G),9),ne=b.Math.max(ne,L.n.b+L.o.b+L.d.a);else ne=t.f.b-t.c.b;for(ne-=t.c.b,U=new V(e);U.a<U.c.c.length;){switch(L=l(q(U),9),DN(L.n,ne-L.o.b),mfe(L.f),M1t(L),(L.q?L.q:(St(),St(),kh))._b((Be(),Xy))&&DN(l(j(L,Xy),8),ne-L.o.b),l(j(L,Wf),259).g){case 3:Ae(L,Wf,(mh(),ZB));break;case 4:Ae(L,Wf,(mh(),eU))}for(J=L.o,le=new V(L.j);le.a<le.c.c.length;){for(oe=l(q(le),12),DN(oe.n,J.b-oe.o.b),DN(oe.a,oe.o.b),Ni(oe,cht(oe.j)),f=l(j(oe,_g),15),f&&Ae(oe,_g,Re(-f.a)),u=new V(oe.g);u.a<u.c.c.length;){for(s=l(q(u),17),o=An(s.a,0);o.b!=o.d.c;)r=l(Sn(o),8),r.b=ne-r.b;if(y=l(j(s,rs),79),y)for(m=An(y,0);m.b!=m.d.c;)p=l(Sn(m),8),p.b=ne-p.b;for(N=new V(s.b);N.a<N.c.c.length;)v=l(q(N),70),DN(v.n,ne-v.o.b)}for(I=new V(oe.f);I.a<I.c.c.length;)v=l(q(I),70),DN(v.n,oe.o.b-v.o.b)}for(L.k==(Ht(),mi)&&(Ae(L,(Ie(),Us),cht(l(j(L,Us),64))),egn(L)),T=new V(L.b);T.a<T.c.c.length;)v=l(q(T),70),M1t(v),DN(v.n,J.b-v.o.b)}}function LNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn;for(ne=new Ji(e.b,0),v=t.Jc(),L=0,y=l(v.Pb(),15).a,Ee=0,r=new hi,Ge=new uh;ne.b<ne.d.gc();){for(J=(un(ne.b<ne.d.gc()),l(ne.d.Xb(ne.c=ne.b++),26)),le=new V(J.a);le.a<le.c.c.length;){for(oe=l(q(le),9),I=new Ft(Gt(Rr(oe).a.Jc(),new D));an(I);)T=l(Qt(I),17),Ge.a.yc(T,Ge);for(N=new Ft(Gt(si(oe).a.Jc(),new D));an(N);)T=l(Qt(N),17),Ge.a.Ac(T)!=null}if(L+1==y){for(s=new ra(e),qw(ne,s),u=new ra(e),qw(ne,u),dt=Ge.a.ec().Jc();dt.Ob();)lt=l(dt.Pb(),17),r.a._b(lt)||(++Ee,r.a.yc(lt,r)),f=new Xd(e),Ae(f,(Be(),Zr),(qi(),Ex)),Ii(f,s),Kh(f,(Ht(),af)),U=new aa,Ts(U,f),Ni(U,(Ue(),Wt)),Ct=new aa,Ts(Ct,f),Ni(Ct,Zt),o=new Xd(e),Ae(o,Zr,Ex),Ii(o,u),Kh(o,af),G=new aa,Ts(G,o),Ni(G,Wt),Dt=new aa,Ts(Dt,o),Ni(Dt,Zt),we=new h0,go(we,lt.c),Yi(we,U),Ae(we,(Ie(),Nr),l(j(lt,Nr),15)),qn=new h0,go(qn,Ct),Yi(qn,G),Ae(qn,Nr,l(j(lt,Nr),15)),go(lt,Dt),p=new Whe(f,o,we,qn,lt),Ae(f,Q0,p),Ae(o,Q0,p),on=we.c.i,on.k==af&&(m=l(j(on,Q0),318),m.d=p,p.g=m);if(v.Ob())y=l(v.Pb(),15).a;else break}++L}return Re(Ee)}function MNn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G;for(U=new Pe,N=new V(e.d.b);N.a<N.c.c.length;)for(T=l(q(N),26),L=new V(T.a);L.a<L.c.c.length;){for(I=l(q(L),9),s=l(Ut(e.f,I),60),m=new Ft(Gt(Rr(I).a.Jc(),new D));an(m);)if(f=l(Qt(m),17),o=An(f.a,0),y=!0,v=null,o.b!=o.d.c){for(t=l(Sn(o),8),r=null,f.c.j==(Ue(),Vt)&&(G=new IC(t,new Le(t.a,s.d.d),s,f),G.f.a=!0,G.a=f.c,Ot(U.c,G)),f.c.j==dn&&(G=new IC(t,new Le(t.a,s.d.d+s.d.a),s,f),G.f.d=!0,G.a=f.c,Ot(U.c,G));o.b!=o.d.c;)r=l(Sn(o),8),Mpe(t.b,r.b)||(v=new IC(t,r,null,f),Ot(U.c,v),y&&(y=!1,r.b<s.d.d?v.f.a=!0:r.b>s.d.d+s.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))),o.b!=o.d.c&&(t=r);v&&(u=l(Ut(e.f,f.d.i),60),t.b<u.d.d?v.f.a=!0:t.b>u.d.d+u.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))}for(p=new Ft(Gt(si(I).a.Jc(),new D));an(p);)f=l(Qt(p),17),f.a.b!=0&&(t=l(zl(f.a),8),f.d.j==(Ue(),Vt)&&(G=new IC(t,new Le(t.a,s.d.d),s,f),G.f.a=!0,G.a=f.d,Ot(U.c,G)),f.d.j==dn&&(G=new IC(t,new Le(t.a,s.d.d+s.d.a),s,f),G.f.d=!0,G.a=f.d,Ot(U.c,G)))}return U}function PNn(e,t,r){var o,s,u,f,p,m,y,v,T,N;for(m=new Pe,T=t.length,f=kge(r),y=0;y<T;++y){switch(v=gde(t,Qa(61),y),o=ngn(f,(no(y,v,t.length),t.substr(y,v-y))),s=xK(o),u=s.hk().ti(),uo(t,++v)){case 39:{p=WA(t,39,++v),je(m,new T8(o,pW((no(v,p,t.length),t.substr(v,p-v)),u,s))),y=p+1;break}case 34:{p=WA(t,34,++v),je(m,new T8(o,pW((no(v,p,t.length),t.substr(v,p-v)),u,s))),y=p+1;break}case 91:{N=new Pe,je(m,new T8(o,N));e:for(;;){switch(uo(t,++v)){case 39:{p=WA(t,39,++v),je(N,pW((no(v,p,t.length),t.substr(v,p-v)),u,s)),v=p+1;break}case 34:{p=WA(t,34,++v),je(N,pW((no(v,p,t.length),t.substr(v,p-v)),u,s)),v=p+1;break}case 110:{if(++v,t.indexOf("ull",v)==v)N.c.push(null);else throw K(new vs(OTt));v+=3;break}}if(v<T)switch(Yt(v,t.length),t.charCodeAt(v)){case 44:break;case 93:break e;default:throw K(new vs("Expecting , or ]"))}else break}y=v+1;break}case 110:{if(++v,t.indexOf("ull",v)==v)je(m,new T8(o,null));else throw K(new vs(OTt));y=v+3;break}}if(y<T){if(Yt(y,t.length),t.charCodeAt(y)!=44)throw K(new vs("Expecting ,"))}else break}return wSn(e,m,r)}function jNn(e){var t,r,o,s,u;switch(t=e.c,u=null,t){case 6:return e.Cm();case 13:return e.Dm();case 23:return e.um();case 22:return e.zm();case 18:return e.wm();case 8:dr(e),u=(fr(),B3e);break;case 9:return e.cm(!0);case 19:return e.dm();case 10:switch(e.a){case 100:case 68:case 119:case 87:case 115:case 83:return u=e.bm(e.a),dr(e),u;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:r=e.am(),r<xo?u=(fr(),fr(),new dh(0,r)):u=Kot(r1e(r));break;case 99:return e.mm();case 67:return e.hm();case 105:return e.pm();case 73:return e.im();case 103:return e.nm();case 88:return e.jm();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e.em();case 80:case 112:if(u=ome(e,e.a),!u)throw K(new Dn(Pn((Cn(),hQ))));break;default:u=dot(e.a)}dr(e);break;case 0:if(e.a==93||e.a==123||e.a==125)throw K(new Dn(Pn((Cn(),lEe))));u=dot(e.a),o=e.a,dr(e),(o&64512)==ED&&e.c==0&&(e.a&64512)==56320&&(s=me(al,$f,30,2,15,1),s[0]=o&Ei,s[1]=e.a&Ei,u=JV(Kot(Lf(s,0,s.length)),0),dr(e));break;default:throw K(new Dn(Pn((Cn(),lEe))))}return u}function FNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt;for(dt=new Sr,we=new Sr,G=-1,m=new V(e);m.a<m.c.c.length;){for(f=l(q(m),134),f.s=G--,v=0,oe=0,u=new V(f.t);u.a<u.c.c.length;)o=l(q(u),275),oe+=o.c;for(s=new V(f.i);s.a<s.c.c.length;)o=l(q(s),275),v+=o.c;f.n=v,f.u=oe,oe==0?Wr(we,f,we.c.b,we.c):v==0&&Wr(dt,f,dt.c.b,dt.c)}for(Dt=GP(e),T=e.c.length,U=T+1,J=T-1,I=new Pe;Dt.a.gc()!=0;){for(;we.b!=0;)Ee=(un(we.b!=0),l(Vc(we,we.a.a),134)),Dt.a.Ac(Ee)!=null,Ee.s=J--,kme(Ee,dt,we);for(;dt.b!=0;)Ge=(un(dt.b!=0),l(Vc(dt,dt.a.a),134)),Dt.a.Ac(Ge)!=null,Ge.s=U++,kme(Ge,dt,we);for(L=Zi,y=Dt.a.ec().Jc();y.Ob();)f=l(y.Pb(),134),ne=f.u-f.n,ne>=L&&(ne>L&&(I.c.length=0,L=ne),Ot(I.c,f));I.c.length!=0&&(N=l(He(I,s7(t,I.c.length)),134),Dt.a.Ac(N)!=null,N.s=U++,kme(N,dt,we),I.c.length=0)}for(le=e.c.length+1,p=new V(e);p.a<p.c.c.length;)f=l(q(p),134),f.s<T&&(f.s+=le);for(lt=new V(e);lt.a<lt.c.c.length;)for(Ge=l(q(lt),134),r=new Ji(Ge.t,0);r.b<r.d.gc();)o=(un(r.b<r.d.gc()),l(r.d.Xb(r.c=r.b++),275)),Ct=o.b,Ge.s>Ct.s&&(Lu(r),Xa(Ct.i,o),o.c>0&&(o.a=Ct,je(Ct.t,o),o.b=Ge,je(Ge.i,o)))}function wEt(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt;for(U=new Ra(t.b),le=new Ra(t.b),N=new Ra(t.b),lt=new Ra(t.b),G=new Ra(t.b),Ge=An(t,0);Ge.b!=Ge.d.c;)for(Ee=l(Sn(Ge),12),p=new V(Ee.g);p.a<p.c.c.length;)if(u=l(q(p),17),u.c.i==u.d.i){if(Ee.j==u.d.j){Ot(lt.c,u);continue}else if(Ee.j==(Ue(),Vt)&&u.d.j==dn){Ot(G.c,u);continue}}for(m=new V(G);m.a<m.c.c.length;)u=l(q(m),17),oAn(e,u,r,o,(Ue(),Zt));for(f=new V(lt);f.a<f.c.c.length;)u=l(q(f),17),dt=new Xd(e),Kh(dt,(Ht(),Aa)),Ae(dt,(Be(),Zr),(qi(),fa)),Ae(dt,(Ie(),mr),u),Ct=new aa,Ae(Ct,mr,u.d),Ni(Ct,(Ue(),Wt)),Ts(Ct,dt),Dt=new aa,Ae(Dt,mr,u.c),Ni(Dt,Zt),Ts(Dt,dt),Ae(u.c,Nu,dt),Ae(u.d,Nu,dt),go(u,null),Yi(u,null),Ot(r.c,dt),Ae(dt,eB,Re(2));for(we=An(t,0);we.b!=we.d.c;)Ee=l(Sn(we),12),y=Ee.e.c.length>0,J=Ee.g.c.length>0,y&&J?Ot(N.c,Ee):y?Ot(U.c,Ee):J&&Ot(le.c,Ee);for(L=new V(U);L.a<L.c.c.length;)I=l(q(L),12),je(s,y0e(e,I,null,r));for(oe=new V(le);oe.a<oe.c.c.length;)ne=l(q(oe),12),je(s,y0e(e,null,ne,r));for(T=new V(N);T.a<T.c.c.length;)v=l(q(T),12),je(s,y0e(e,v,v,r))}function UJ(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(N=Kr,I=Kr,v=0,T=0,m=new Pe,p=new en((!e.b&&(e.b=new xe(Cr,e,12,3)),e.b));p.e!=p.i.gc();)u=l(rn(p),74),m=Wc(Z(X(nl,1),Rt,22,0,[m,(!u.n&&(u.n=new xe(Is,u,1,7)),u.n)]));for(oe=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.n&&(e.n=new xe(Is,e,1,7)),e.n),(!e.a&&(e.a=new xe(En,e,10,11)),e.a),m])));an(oe);)ne=l(Qt(oe),278),y=l(ne.mf((_n(),xp)),125),N>ne.mh()-y.b&&(N=ne.mh()-y.b),I>ne.nh()-y.d&&(I=ne.nh()-y.d),v<ne.mh()+ne.lh()+y.c&&(v=ne.mh()+ne.lh()+y.c),T<ne.nh()+ne.kh()+y.a&&(T=ne.nh()+ne.kh()+y.a);for(f=new en((!e.b&&(e.b=new xe(Cr,e,12,3)),e.b));f.e!=f.i.gc();)for(u=l(rn(f),74),J=new en((!u.a&&(u.a=new xe(jr,u,6,6)),u.a));J.e!=J.i.gc();)for(G=l(rn(J),171),L=G.j,o=G.b,U=G.k,s=G.c,N=b.Math.min(N,L),N=b.Math.min(N,o),v=b.Math.max(v,L),v=b.Math.max(v,o),I=b.Math.min(I,U),I=b.Math.min(I,s),T=b.Math.max(T,U),T=b.Math.max(T,s),r=new en((!G.a&&(G.a=new yi(Ic,G,5)),G.a));r.e!=r.i.gc();)t=l(rn(r),373),N=b.Math.min(N,t.a),v=b.Math.max(v,t.a),I=b.Math.min(I,t.b),T=b.Math.max(T,t.b);Vn(e,(_n(),sv),v-N),Vn(e,ov,T-I)}function yEt(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr;for(I=l(j(e,(h1(),TT)),19),oe=sr,le=sr,J=Zi,ne=Zi,we=new V(e.e);we.a<we.c.c.length;)Ee=l(q(we),156),Dt=Ee.d,on=Ee.e,oe=b.Math.min(oe,Dt.a-on.a/2),le=b.Math.min(le,Dt.b-on.b/2),J=b.Math.max(J,Dt.a+on.a/2),ne=b.Math.max(ne,Dt.b+on.b/2);for(r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),254),Dt=t.d,on=t.e,oe=b.Math.min(oe,Dt.a-on.a/2),le=b.Math.min(le,Dt.b-on.b/2),J=b.Math.max(J,Dt.a+on.a/2),ne=b.Math.max(ne,Dt.b+on.b/2);for(Ct=l(ye(I,(ed(),rxt)),100),dt=new Le(Ct.b-oe,Ct.d-le),y=new V(e.e);y.a<y.c.c.length;)m=l(q(y),156),lt=j(m,TT),se(lt,209)&&(U=l(lt,19),Ge=br(new Eo(m.d),dt),Bc(U,Ge.a-U.g/2,Ge.b-U.f/2));for(u=new V(e.c);u.a<u.c.c.length;)s=l(q(u),292),T=l(j(s,TT),74),N=AC(T),qn=new Eo(Hpe(s)),br(qn,dt),kO(N,qn.a,qn.b),Oa(s.a,new Yet(dt,N)),o=new Eo(zpe(s)),br(o,dt),_O(N,o.a,o.b);for(p=new V(e.d);p.a<p.c.c.length;)f=l(q(p),448),L=l(j(f,TT),158),G=br(new Eo(f.d),dt),Bc(L,G.a,G.b);Gr=J-oe+(Ct.b+Ct.c),v=ne-le+(Ct.d+Ct.a),Ke(We(ye(I,(_n(),av))))||L0(I,Gr,v,!1,!0),Vn(I,sv,Gr-(Ct.b+Ct.c)),Vn(I,ov,v-(Ct.d+Ct.a))}function $Nn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;for(r.Tg("Depth first model order layering",1),e.d=t,G=new Pe,U=new V(e.d.a);U.a<U.c.c.length;)I=l(q(U),9),I.k==(Ht(),Xr)&&Ot(G.c,I);for(St(),_i(G,new uUe),f=!0,e.b=new ra(e.d),e.a=null,je(e.d.b,e.b),e.b.p=0,e.c=0,e.f=new Sr,L=new V(G);L.a<L.c.c.length;)if(I=l(q(L),9),f)Ii(I,e.b),f=!1;else if(XAn(e,I))if(N=e.c,N=u1t(N,I),o=N+2,v=N-e.c,e.f.b==0)Ume(e,o,I);else if(v>0){for(oe=An(e.f,0);oe.b!=oe.d.c;)ne=l(Sn(oe),9),ne.p+=N-e.e;Hbe(e),ec(e.f),Ume(e,o,I)}else{for(Gn(e.f,I),I.p=o,e.e=b.Math.max(e.e,o),u=new Ft(Gt(si(I).a.Jc(),new D));an(u);)s=l(Qt(u),17),!s.c.i.c&&s.c.i.k==(Ht(),ta)&&(Gn(e.f,s.c.i),s.c.i.p=o-1);e.c=o}else Hbe(e),ec(e.f),o=0,an(new Ft(Gt(si(I).a.Jc(),new D)))?(N=0,N=u1t(N,I),o=N+2,Ume(e,o,I)):(Gn(e.f,I),I.p=0,e.e=b.Math.max(e.e,0),e.b=l(He(e.d.b,0),26),e.c=0);for(e.f.b==0||Hbe(e),e.d.a.c.length=0,J=new Pe,y=new V(e.d.b);y.a<y.c.c.length;)p=l(q(y),26),p.a.c.length==0&&Ot(J.c,p);for(n1e(e.d.b,J),T=0,m=new V(e.d.b);m.a<m.c.c.length;)p=l(q(m),26),p.p=T,++T;r.Ug()}function BNn(e,t,r){var o,s,u,f,p,m,y,v,T;if(r.Tg("Network simplex node placement",1),e.e=t,e.n=l(j(t,(Ie(),t2)),317),X_n(e),_0n(e),ei(gs(new yt(null,new vt(e.e.b,16)),new SUe),new TJe(e)),ei(lr(gs(lr(gs(new yt(null,new vt(e.e.b,16)),new PUe),new jUe),new FUe),new $Ue),new SJe(e)),Ke(We(j(e.e,(Be(),$I))))&&(f=r.dh(1),f.Tg("Straight Edges Pre-Processing",1),Sxn(e),f.Ug()),cbn(e.f),u=l(j(t,HI),15).a*e.f.a.c.length,yJ(Hce(zce(CV(e.f),u),!1),r.dh(1)),e.d.a.gc()!=0){for(f=r.dh(1),f.Tg("Flexible Where Space Processing",1),p=l(Ju(kS(Ia(new yt(null,new vt(e.f.a,16)),new TUe),new mUe)),15).a,m=l(Ju(Yw(Ia(new yt(null,new vt(e.f.a,16)),new AUe),new wUe)),15).a,y=m-p,v=i0(new Eb,e.f),T=i0(new Eb,e.f),Ql($l(Ul(Bl(Hl(new gl,2e4),y),v),T)),ei(lr(lr(ZV(e.i),new kUe),new xUe),new Xst(p,v,y,T)),s=e.d.a.ec().Jc();s.Ob();)o=l(s.Pb(),220),o.g=1;yJ(Hce(zce(CV(e.f),u),!1),f.dh(1)),f.Ug()}Ke(We(j(t,$I)))&&(f=r.dh(1),f.Tg("Straight Edges Post-Processing",1),pyn(e),f.Ug()),ixn(e),e.e=null,e.f=null,e.i=null,e.c=null,Zs(e.k),e.j=null,e.a=null,e.o=null,e.d.a.$b(),r.Ug()}function vEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;return T=_An(Ya(e,(Ue(),gf)),t),L=SE(Ya(e,dd),t),le=SE(Ya(e,Nc),t),lt=d7(Ya(e,Rl),t),N=d7(Ya(e,ol),t),ne=SE(Ya(e,fd),t),U=SE(Ya(e,Iu),t),we=SE(Ya(e,Cc),t),Ee=SE(Ya(e,sl),t),dt=d7(Ya(e,Wa),t),J=SE(Ya(e,ou),t),oe=SE(Ya(e,Ru),t),Ge=SE(Ya(e,iu),t),Ct=d7(Ya(e,su),t),I=d7(Ya(e,vu),t),G=SE(Ya(e,ka),t),r=hE(Z(X(Ki,1),Wo,30,15,[ne.a,lt.a,we.a,Ct.a])),o=hE(Z(X(Ki,1),Wo,30,15,[L.a,T.a,le.a,G.a])),s=J.a,u=hE(Z(X(Ki,1),Wo,30,15,[U.a,N.a,Ee.a,I.a])),y=hE(Z(X(Ki,1),Wo,30,15,[ne.b,L.b,U.b,oe.b])),m=hE(Z(X(Ki,1),Wo,30,15,[lt.b,T.b,N.b,G.b])),v=dt.b,p=hE(Z(X(Ki,1),Wo,30,15,[we.b,le.b,Ee.b,Ge.b])),sg(Ya(e,gf),r+s,y+v),sg(Ya(e,ka),r+s,y+v),sg(Ya(e,dd),r+s,0),sg(Ya(e,Nc),r+s,y+v+m),sg(Ya(e,Rl),0,y+v),sg(Ya(e,ol),r+s+o,y+v),sg(Ya(e,Iu),r+s+o,0),sg(Ya(e,Cc),0,y+v+m),sg(Ya(e,sl),r+s+o,y+v+m),sg(Ya(e,Wa),0,y),sg(Ya(e,ou),r,0),sg(Ya(e,iu),0,y+v+m),sg(Ya(e,vu),r+s+o,0),f=new to,f.a=hE(Z(X(Ki,1),Wo,30,15,[r+o+s+u,dt.a,oe.a,Ge.a])),f.b=hE(Z(X(Ki,1),Wo,30,15,[y+m+v+p,J.b,Ct.b,I.b])),f}function UNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr,Ou,os;if(Ct=null,on=t,Dt=xft(e,bct(r),on),y_(Dt,ip(on,Gf)),qn=l(pE(e.n,eT(rp(on,tQ))),19),N=rp(on,"sourcePort"),o=null,N&&(o=eT(N)),Gr=l(pE(e.p,o),127),!qn)throw p=$_(on),L="An edge must have a source node (edge id: '"+p,U=L+Mk,K(new _f(U));if(Gr&&!ia(Gd(Gr),qn))throw m=ip(on,Gf),G="The source port of an edge must be a port of the edge's source node (edge id: '"+m,J=G+Mk,K(new _f(J));if(lt=(!Dt.b&&(Dt.b=new Et(pn,Dt,4,7)),Dt.b),u=null,Gr?u=Gr:u=qn,Tn(lt,u),Ou=l(pE(e.n,eT(rp(on,uEe))),19),I=rp(on,"targetPort"),s=null,I&&(s=eT(I)),os=l(pE(e.p,s),127),!Ou)throw T=$_(on),ne="An edge must have a target node (edge id: '"+T,oe=ne+Mk,K(new _f(oe));if(os&&!ia(Gd(os),Ou))throw y=ip(on,Gf),le="The target port of an edge must be a port of the edge's target node (edge id: '"+y,Ee=le+Mk,K(new _f(Ee));if(dt=(!Dt.c&&(Dt.c=new Et(pn,Dt,5,8)),Dt.c),f=null,os?f=os:f=Ou,Tn(dt,f),(!Dt.b&&(Dt.b=new Et(pn,Dt,4,7)),Dt.b).i==0||(!Dt.c&&(Dt.c=new Et(pn,Dt,5,8)),Dt.c).i==0)throw v=ip(on,Gf),we=BTt+v,Ge=we+Mk,K(new _f(Ge));return y7(on,Dt),uEn(on,Dt),Ct=LK(e,on,Dt),Ct}function EEt(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;for(ne=new Le(Kr,Kr),t=new Le(Oi,Oi),lt=new V(e);lt.a<lt.c.c.length;)Ge=l(q(lt),8),ne.a=b.Math.min(ne.a,Ge.a),ne.b=b.Math.min(ne.b,Ge.b),t.a=b.Math.max(t.a,Ge.a),t.b=b.Math.max(t.b,Ge.b);for(N=new Le(t.a-ne.a,t.b-ne.b),y=new Le(ne.a-50,ne.b-N.a-50),v=new Le(ne.a-50,t.b+N.a+50),T=new Le(t.a+N.b/2+50,ne.b+N.b/2),I=new m0e(y,v,T),we=new hi,u=new Pe,r=new Pe,we.a.yc(I,we),Ct=new V(e);Ct.a<Ct.c.c.length;){for(dt=l(q(Ct),8),u.c.length=0,Ee=we.a.ec().Jc();Ee.Ob();)oe=l(Ee.Pb(),322),o=oe.d,f1(o,oe.a),_0(f1(oe.d,dt),f1(oe.d,oe.a))<0&&Ot(u.c,oe);for(r.c.length=0,le=new V(u);le.a<le.c.c.length;)for(oe=l(q(le),322),G=new V(oe.e);G.a<G.c.c.length;){for(L=l(q(G),180),f=!0,m=new V(u);m.a<m.c.c.length;)p=l(q(m),322),p!=oe&&(ia(L,He(p.e,0))||ia(L,He(p.e,1))||ia(L,He(p.e,2)))&&(f=!1);f&&Ot(r.c,L)}for(Mbt(we,u),co(we,new gb),U=new V(r);U.a<U.c.c.length;)L=l(q(U),180),pi(we,new m0e(dt,L.a,L.b))}for(J=new hi,co(we,new XKe(J)),s=J.a.ec().Jc();s.Ob();)L=l(s.Pb(),180),(ij(I,L.a)||ij(I,L.b))&&s.Qb();return co(J,new Yg),J}function Qs(){Qs=Y,xQe(),kDt=Bi.a,l(ie(Ne(Bi.a),0),20),ADt=Bi.f,l(ie(Ne(Bi.f),0),20),l(ie(Ne(Bi.f),1),38),_Dt=Bi.n,l(ie(Ne(Bi.n),0),38),l(ie(Ne(Bi.n),1),38),l(ie(Ne(Bi.n),2),38),l(ie(Ne(Bi.n),3),38),r3e=Bi.g,l(ie(Ne(Bi.g),0),20),l(ie(Ne(Bi.g),1),38),TDt=Bi.c,l(ie(Ne(Bi.c),0),20),l(ie(Ne(Bi.c),1),20),i3e=Bi.i,l(ie(Ne(Bi.i),0),20),l(ie(Ne(Bi.i),1),20),l(ie(Ne(Bi.i),2),20),l(ie(Ne(Bi.i),3),20),l(ie(Ne(Bi.i),4),38),o3e=Bi.j,l(ie(Ne(Bi.j),0),20),n3e=Bi.d,l(ie(Ne(Bi.d),0),20),l(ie(Ne(Bi.d),1),20),l(ie(Ne(Bi.d),2),20),l(ie(Ne(Bi.d),3),20),l(ie(Ne(Bi.d),4),38),l(ie(Ne(Bi.d),5),38),l(ie(Ne(Bi.d),6),38),l(ie(Ne(Bi.d),7),38),SDt=Bi.b,l(ie(Ne(Bi.b),0),38),l(ie(Ne(Bi.b),1),38),pU=Bi.e,l(ie(Ne(Bi.e),0),38),l(ie(Ne(Bi.e),1),38),l(ie(Ne(Bi.e),2),38),l(ie(Ne(Bi.e),3),38),l(ie(Ne(Bi.e),4),20),l(ie(Ne(Bi.e),5),20),l(ie(Ne(Bi.e),6),20),l(ie(Ne(Bi.e),7),20),l(ie(Ne(Bi.e),8),20),l(ie(Ne(Bi.e),9),20),l(ie(Ne(Bi.e),10),38),Dh=Bi.k,l(ie(Ne(Bi.k),0),38),l(ie(Ne(Bi.k),1),38)}function F0e(e){var t,r,o,s,u;switch(t=e.c,t){case 11:return e.tm();case 12:return e.vm();case 14:return e.xm();case 15:return e.Am();case 16:return e.ym();case 17:return e.Bm();case 21:return dr(e),fr(),fr(),j4;case 10:switch(e.a){case 65:return e.fm();case 90:return e.km();case 122:return e.rm();case 98:return e.lm();case 66:return e.gm();case 60:return e.qm();case 62:return e.om()}}switch(u=jNn(e),t=e.c,t){case 3:return e.Gm(u);case 4:return e.Em(u);case 5:return e.Fm(u);case 0:if(e.a==123&&e.d<e.j){if(s=e.d,o=0,r=-1,(t=uo(e.i,s++))>=48&&t<=57){for(o=t-48;s<e.j&&(t=uo(e.i,s++))>=48&&t<=57;)if(o=o*10+t-48,o<0)throw K(new Dn(Pn((Cn(),pEe))))}else throw K(new Dn(Pn((Cn(),gAt))));if(r=o,t==44){if(s>=e.j)throw K(new Dn(Pn((Cn(),mAt))));if((t=uo(e.i,s++))>=48&&t<=57){for(r=t-48;s<e.j&&(t=uo(e.i,s++))>=48&&t<=57;)if(r=r*10+t-48,r<0)throw K(new Dn(Pn((Cn(),pEe))));if(o>r)throw K(new Dn(Pn((Cn(),wAt))))}else r=-1}if(t!=125)throw K(new Dn(Pn((Cn(),bAt))));e._l(s)?(u=(fr(),fr(),new iy(9,u)),e.d=s+1):(u=(fr(),fr(),new iy(3,u)),e.d=s),u.Mm(o),u.Lm(r),dr(e)}}return u}function HNn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee;for(s=1,I=new Pe,o=0;o<e.b.c.length;o++){if(t=lyn(l(He(e.b,o),26)),oe=jbn(l(He(e.b,o),26)),v=Mbn(l(He(e.b,o),26)),v){for(y=0,r=0,U=new V(l(He(e.b,o),26).a);U.a<U.c.c.length;)L=l(q(U),9),y=b.Math.max(y,L.o.a),r+=L.o.b;if(r/=l(He(e.b,o),26).a.c.length,y+=b.Math.max(2*ue(ce(j(e,(Be(),$1)))),b.Math.max(l(He(e.b,o),26).a.c.length*ue(ce(j(e,Zy))),ue(ce(j(e,ev))))),r+=b.Math.max(ue(ce(j(e,wm))),ue(ce(j(e,mm)))),y/r>=l(He(e.b,o),26).a.c.length/4)continue}if(l(He(e.b,o),26).a.c.length>t){for(le=new Pe,je(le,l(He(e.b,o),26)),f=0;f<t-1;f++)T=new ra(e),je(I,new ko(T,Re(o+f+s))),Ot(le.c,T);for(s+=t-1,ne=(at(0,le.c.length),l(le.c[0],26)).a.c.length,u=0,G=0,Ee=0;u<ne;++u,++G,Ee++)L=l(He((at(0,le.c.length),l(le.c[0],26)).a,G),9),L.k!=(Ht(),EI)?G+=mNn(e,le,Ee%t,G):(u-=1,Ee-=1),oe&&L.k==gi&&(Ee=-1)}}for(N=new V(I);N.a<N.c.c.length;)T=l(q(N),49),kb(e.b,l(T.b,15).a,l(T.a,26));for(m=new V(e.b);m.a<m.c.c.length;)for(p=l(q(m),26),J=new Ji(p.a,0);J.b<J.d.gc();)L=(un(J.b<J.d.gc()),l(J.d.Xb(J.c=J.b++),9)),(L.k==(Ht(),tL)||L.k==EI)&&Lu(J)}function M0(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G;if(r==null)return null;if(e.a!=t.hk())throw K(new jt(Ok+t.ve()+V0));if(se(t,462)){if(G=RSn(l(t,682),r),!G)throw K(new jt(QZ+r+"' is not a valid enumerator of '"+t.ve()+"'"));return G}switch(dg((mu(),so),t).Ll()){case 2:{r=Sa(r,!1);break}case 3:{r=Sa(r,!0);break}}if(o=dg(so,t).Hl(),o)return o.hk().ti().qi(o,r);if(N=dg(so,t).Jl(),N){for(G=new Pe,y=BK(r),v=0,T=y.length;v<T;++v)m=y[v],je(G,N.hk().ti().qi(N,m));return G}if(U=dg(so,t).Kl(),!U.dc()){for(L=U.Jc();L.Ob();){I=l(L.Pb(),160);try{if(G=I.hk().ti().qi(I,r),G!=null)return G}catch(J){if(J=ci(J),!se(J,63))throw K(J)}}throw K(new jt(QZ+r+"' does not match any member types of the union datatype '"+t.ve()+"'"))}if(l(t,839).mk(),s=mpn(t.ik()),!s)return null;if(s==pI){f=0;try{f=Ec(r,Zi,sr)&Ei}catch(J){if(J=ci(J),se(J,133))u=oj(r),f=u[0];else throw K(J)}return S6(f)}if(s==u$){for(p=0;p<N4.length;++p)try{return jet(N4[p],r)}catch(J){if(J=ci(J),!se(J,33))throw K(J)}throw K(new jt(QZ+r+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw K(new jt(QZ+r+"' is invalid. "))}function HJ(){HJ=Y,Tr=new g0,wt(Tr,(Ue(),gf),ka),wt(Tr,Rl,ka),wt(Tr,Rl,su),wt(Tr,ol,vu),wt(Tr,ol,ka),wt(Tr,dd,ka),wt(Tr,dd,Ru),wt(Tr,Nc,iu),wt(Tr,Nc,ka),wt(Tr,ou,Wa),wt(Tr,ou,ka),wt(Tr,ou,Ru),wt(Tr,ou,iu),wt(Tr,Wa,ou),wt(Tr,Wa,su),wt(Tr,Wa,vu),wt(Tr,Wa,ka),wt(Tr,fd,fd),wt(Tr,fd,Ru),wt(Tr,fd,su),wt(Tr,Iu,Iu),wt(Tr,Iu,Ru),wt(Tr,Iu,vu),wt(Tr,Cc,Cc),wt(Tr,Cc,iu),wt(Tr,Cc,su),wt(Tr,sl,sl),wt(Tr,sl,iu),wt(Tr,sl,vu),wt(Tr,Ru,dd),wt(Tr,Ru,ou),wt(Tr,Ru,fd),wt(Tr,Ru,Iu),wt(Tr,Ru,ka),wt(Tr,Ru,Ru),wt(Tr,Ru,su),wt(Tr,Ru,vu),wt(Tr,iu,Nc),wt(Tr,iu,ou),wt(Tr,iu,Cc),wt(Tr,iu,sl),wt(Tr,iu,iu),wt(Tr,iu,su),wt(Tr,iu,vu),wt(Tr,iu,ka),wt(Tr,su,Rl),wt(Tr,su,Wa),wt(Tr,su,fd),wt(Tr,su,Cc),wt(Tr,su,Ru),wt(Tr,su,iu),wt(Tr,su,su),wt(Tr,su,ka),wt(Tr,vu,ol),wt(Tr,vu,Wa),wt(Tr,vu,Iu),wt(Tr,vu,sl),wt(Tr,vu,Ru),wt(Tr,vu,iu),wt(Tr,vu,vu),wt(Tr,vu,ka),wt(Tr,ka,gf),wt(Tr,ka,Rl),wt(Tr,ka,ol),wt(Tr,ka,dd),wt(Tr,ka,Nc),wt(Tr,ka,ou),wt(Tr,ka,Wa),wt(Tr,ka,Ru),wt(Tr,ka,iu),wt(Tr,ka,su),wt(Tr,ka,vu),wt(Tr,ka,ka)}function $0e(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt;for(e.d=new Le(Kr,Kr),e.c=new Le(Oi,Oi),N=t.Jc();N.Ob();)for(v=l(N.Pb(),37),oe=new V(v.a);oe.a<oe.c.c.length;)ne=l(q(oe),9),e.d.a=b.Math.min(e.d.a,ne.n.a-ne.d.b),e.d.b=b.Math.min(e.d.b,ne.n.b-ne.d.d),e.c.a=b.Math.max(e.c.a,ne.n.a+ne.o.a+ne.d.c),e.c.b=b.Math.max(e.c.b,ne.n.b+ne.o.b+ne.d.a);for(p=new lZe,T=t.Jc();T.Ob();)v=l(T.Pb(),37),o=ANn(e,v),je(p.a,o),o.a=o.a|!l(j(o.c,(Ie(),Tp)),24).dc();for(e.b=(UK(),lt=new eG,lt.f=new Pft(r),lt.b=Rkn(lt.f,p),lt),Vkn((L=e.b,new iS,L)),e.e=new to,e.a=e.b.f.e,f=new V(p.a);f.a<f.c.c.length;)for(s=l(q(f),847),le=eun(e.b,s),hTn(s.c,le.a,le.b),G=new V(s.c.a);G.a<G.c.c.length;)U=l(q(G),9),U.k==(Ht(),mi)&&(J=xme(e,U.n,l(j(U,(Ie(),Us)),64)),br(wd(U.n),J));for(u=new V(p.a);u.a<u.c.c.length;)for(s=l(q(u),847),y=new V(Jpn(s));y.a<y.c.c.length;)for(m=l(q(y),17),Ge=new F9(m.a),VA(Ge,0,qd(m.c)),Gn(Ge,qd(m.d)),I=null,we=An(Ge,0);we.b!=we.d.c;){if(Ee=l(Sn(we),8),!I){I=Ee;continue}Ppe(I.a,Ee.a)?(e.e.a=b.Math.min(e.e.a,I.a),e.a.a=b.Math.max(e.a.a,I.a)):Ppe(I.b,Ee.b)&&(e.e.b=b.Math.min(e.e.b,I.b),e.a.b=b.Math.max(e.a.b,I.b)),I=Ee}B8(e.e),br(e.a,e.e)}function zNn(e,t){var r,o,s,u,f,p,m,y;if(r=0,f=0,u=t.length,p=null,y=new uS,f<u&&(Yt(f,t.length),t.charCodeAt(f)==43)&&(++f,++r,f<u&&(Yt(f,t.length),t.charCodeAt(f)==43||(Yt(f,t.length),t.charCodeAt(f)==45))))throw K(new kf(j0+t+'"'));for(;f<u&&(Yt(f,t.length),t.charCodeAt(f)!=46)&&(Yt(f,t.length),t.charCodeAt(f)!=101)&&(Yt(f,t.length),t.charCodeAt(f)!=69);)++f;if(y.a+=""+yl(t==null?tu:(Mt(t),t),r,f),f<u&&(Yt(f,t.length),t.charCodeAt(f)==46)){for(++f,r=f;f<u&&(Yt(f,t.length),t.charCodeAt(f)!=101)&&(Yt(f,t.length),t.charCodeAt(f)!=69);)++f;e.e=f-r,y.a+=""+yl(t==null?tu:(Mt(t),t),r,f)}else e.e=0;if(f<u&&(Yt(f,t.length),t.charCodeAt(f)==101||(Yt(f,t.length),t.charCodeAt(f)==69))&&(++f,r=f,f<u&&(Yt(f,t.length),t.charCodeAt(f)==43)&&(++f,f<u&&(Yt(f,t.length),t.charCodeAt(f)!=45)&&++r),p=(no(r,u,t.length),t.substr(r,u-r)),e.e=e.e-Ec(p,Zi,sr),e.e!=po(e.e)))throw K(new kf("Scale out of range."));if(m=y.a,m.length<16){if(e.f=(t2e==null&&(t2e=new RegExp("^[+-]?\\d*$","i")),t2e.test(m)?parseInt(m,10):NaN),isNaN(e.f))throw K(new kf(j0+t+'"'));e.a=eme(e.f)}else Hpn(e,new o1(m));for(e.d=y.a.length,s=0;s<y.a.length&&(o=uo(y.a,s),!(o!=45&&o!=48));++s)--e.d;e.d==0&&(e.d=1)}function GNn(e){kn(e.b,_l,Z(X(Ye,1),Me,2,6,[W0,"ConsistentTransient"])),kn(e.a,_l,Z(X(Ye,1),Me,2,6,[W0,"WellFormedSourceURI"])),kn(e.o,_l,Z(X(Ye,1),Me,2,6,[W0,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),kn(e.p,_l,Z(X(Ye,1),Me,2,6,[W0,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),kn(e.v,_l,Z(X(Ye,1),Me,2,6,[W0,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),kn(e.R,_l,Z(X(Ye,1),Me,2,6,[W0,"WellFormedName"])),kn(e.T,_l,Z(X(Ye,1),Me,2,6,[W0,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),kn(e.U,_l,Z(X(Ye,1),Me,2,6,[W0,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),kn(e.W,_l,Z(X(Ye,1),Me,2,6,[W0,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),kn(e.bb,_l,Z(X(Ye,1),Me,2,6,[W0,"ValidDefaultValueLiteral"])),kn(e.eb,_l,Z(X(Ye,1),Me,2,6,[W0,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),kn(e.H,_l,Z(X(Ye,1),Me,2,6,[W0,"ConsistentType ConsistentBounds ConsistentArguments"]))}function qNn(e){var t,r,o,s,u;switch(r=l(j(e,(Ie(),_a)),24),t=I8(Txt),s=l(j(e,(Be(),Vy)),348),s==(fp(),Cg)&&yc(t,Axt),Ke(We(j(e,bte)))?Fn(t,(Vi(),id),(Xi(),bee)):Fn(t,(Vi(),la),(Xi(),bee)),j(e,(JP(),d4))!=null&&yc(t,_xt),(Ke(We(j(e,hAe)))||Ke(We(j(e,cAe))))&&Ca(t,(Vi(),$o),(Xi(),Z2e)),l(j(e,kc),87).g){case 2:case 3:case 4:Ca(Fn(t,(Vi(),id),(Xi(),eSe)),$o,Q2e)}switch(r.Gc((Mo(),J$))&&Ca(Fn(Fn(t,(Vi(),id),(Xi(),X2e)),da,Y2e),$o,J2e),be(j(e,bL))!==be((_1(),_B))&&Fn(t,(Vi(),la),(Xi(),gSe)),r.Gc(Z$)&&(Fn(t,(Vi(),id),(Xi(),ySe)),Fn(t,xh,mSe),Fn(t,la,wSe)),be(j(e,aB))!==be((V_(),_I))&&be(j(e,_p))!==be((hp(),HL))&&Ca(t,(Vi(),$o),(Xi(),cSe)),Ke(We(j(e,dAe)))&&Fn(t,(Vi(),la),(Xi(),uSe)),Ke(We(j(e,hte)))&&Fn(t,(Vi(),la),(Xi(),vSe)),QEn(e)&&(be(j(e,Vy))===be(Cg)?o=l(j(e,gL),303):o=l(j(e,fte),303),u=o==(A_(),Vee)?(Xi(),bSe):(Xi(),TSe),Fn(t,(Vi(),da),u)),l(j(e,yAe),428).g==1&&Fn(t,(Vi(),da),(Xi(),G2e)),l(j(e,BAe),383).g){case 1:Fn(t,(Vi(),da),(Xi(),ESe));break;case 2:Ca(Fn(Fn(t,(Vi(),la),(Xi(),q2e)),da,V2e),$o,W2e)}return be(j(e,Ch))!==be((pp(),B1))&&Fn(t,(Vi(),la),(Xi(),SSe)),t}function VNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt;if(!t.dc()){if(s=new Du,p=r||l(t.Xb(0),17),L=p.c,_C(),N=L.i.k,!(N==(Ht(),Xr)||N==Aa||N==mi||N==af))throw K(new jt("The target node of the edge must be a normal node or a northSouthPort."));for(vo(s,_s(Z(X($i,1),Me,8,0,[L.i.n,L.n,L.a]))),(Ue(),ou).Gc(L.j)&&(G=ue(ce(j(L,(Ie(),Qk)))),T=new Le(_s(Z(X($i,1),Me,8,0,[L.i.n,L.n,L.a])).a,G),Wr(s,T,s.c.b,s.c)),v=null,o=!1,m=t.Jc();m.Ob();)f=l(m.Pb(),17),u=f.a,u.b!=0&&(o?(y=Qh(br(v,(un(u.b!=0),l(u.a.a.c,8))),.5),Wr(s,y,s.c.b,s.c),o=!1):o=!0,v=So((un(u.b!=0),l(u.c.b.c,8))),bo(s,u),ec(u));U=p.d,ou.Gc(U.j)&&(G=ue(ce(j(U,(Ie(),Qk)))),T=new Le(_s(Z(X($i,1),Me,8,0,[U.i.n,U.n,U.a])).a,G),Wr(s,T,s.c.b,s.c)),vo(s,_s(Z(X($i,1),Me,8,0,[U.i.n,U.n,U.a]))),e.d==(I_(),zte)&&(J=(un(s.b!=0),l(s.a.a.c,8)),ne=l(sa(s,1),8),oe=new kW(Oge(L.j)),oe.a*=5,oe.b*=5,le=Ri(new Le(ne.a,ne.b),J),Ee=new Le(AW(oe.a,le.a),AW(oe.b,le.b)),br(Ee,J),we=An(s,1),mP(we,Ee),Ge=(un(s.b!=0),l(s.c.b.c,8)),lt=l(sa(s,s.b-2),8),oe=new kW(Oge(U.j)),oe.a*=5,oe.b*=5,le=Ri(new Le(lt.a,lt.b),Ge),dt=new Le(AW(oe.a,le.a),AW(oe.b,le.b)),br(dt,Ge),VA(s,s.b-1,dt)),I=new w0e(s),bo(p.a,E1t(I))}}function WNn(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr,Ou,os,Rc,T2,Pg,hd,Rp;if(oe=l(ie((!e.b&&(e.b=new Et(pn,e,4,7)),e.b),0),83),Ee=oe.mh(),we=oe.nh(),le=oe.lh()/2,U=oe.kh()/2,se(oe,196)&&(ne=l(oe,127),Ee+=Gd(ne).i,Ee+=Gd(ne).i),Ee+=le,we+=U,Dt=l(ie((!e.b&&(e.b=new Et(pn,e,4,7)),e.b),0),83),qn=Dt.mh(),Gr=Dt.nh(),on=Dt.lh()/2,Ge=Dt.kh()/2,se(Dt,196)&&(Ct=l(Dt,127),qn+=Gd(Ct).i,qn+=Gd(Ct).i),qn+=on,Gr+=Ge,(!e.a&&(e.a=new xe(jr,e,6,6)),e.a).i==0)p=(e1(),y=new h9,y),Tn((!e.a&&(e.a=new xe(jr,e,6,6)),e.a),p);else if((!e.a&&(e.a=new xe(jr,e,6,6)),e.a).i>1)for(L=new vS((!e.a&&(e.a=new xe(jr,e,6,6)),e.a));L.e!=L.i.gc();)gC(L);for(f=l(ie((!e.a&&(e.a=new xe(jr,e,6,6)),e.a),0),171),G=qn,qn>Ee+le?G=Ee+le:qn<Ee-le&&(G=Ee-le),J=Gr,Gr>we+U?J=we+U:Gr<we-U&&(J=we-U),G>Ee-le&&G<Ee+le&&J>we-U&&J<we+U&&(G=Ee+le),v0(f,G),E0(f,J),lt=Ee,Ee>qn+on?lt=qn+on:Ee<qn-on&&(lt=qn-on),dt=we,we>Gr+Ge?dt=Gr+Ge:we<Gr-Ge&&(dt=Gr-Ge),lt>qn-on&<<qn+on&&dt>Gr-Ge&&dt<Gr+Ge&&(dt=Gr+Ge),w0(f,lt),y0(f,dt),vn((!f.a&&(f.a=new yi(Ic,f,5)),f.a)),u=s7(t,5),oe==Dt&&++u,Rc=lt-G,hd=dt-J,Ou=b.Math.sqrt(Rc*Rc+hd*hd),T=Ou*.20000000298023224,T2=Rc/(u+1),Rp=hd/(u+1),os=G,Pg=J,v=0;v<u;v++)os+=T2,Pg+=Rp,N=os+$u(t,24)*TD*T-T/2,N<0?N=1:N>r&&(N=r-1),I=Pg+$u(t,24)*TD*T-T/2,I<0?I=1:I>o&&(I=o-1),s=(e1(),m=new p9,m),hj(s,N),fj(s,I),Tn((!f.a&&(f.a=new yi(Ic,f,5)),f.a),s)}function zJ(e,t){xJ();var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge;if(oe=e.e,v=e.d,s=e.a,oe==0)switch(t){case 0:return"0";case 1:return lk;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return J=new Zg,J.a+="0E",J.a+=-t,J.a}if(U=v*10+1+7,G=me(al,$f,30,U+1,15,1),r=U,v==1)if(u=s[0],u<0){Ge=Gi(u,Po);do T=Ge,Ge=q6(Ge,10),G[--r]=48+On(El(T,mo(Ge,10)))&Ei;while(va(Ge,0)!=0)}else{Ge=u;do T=Ge,Ge=Ge/10|0,G[--r]=48+(T-Ge*10)&Ei;while(Ge!=0)}else{le=me(Rn,Xn,30,v,15,1),we=v,ua(s,0,le,0,we);e:for(;;){for(ne=0,p=we-1;p>=0;p--)Ee=To(fh(ne,32),Gi(le[p],Po)),I=U0n(Ee),le[p]=On(I),ne=On(a0(I,32));L=On(ne),N=r;do G[--r]=48+L%10&Ei;while((L=L/10|0)!=0&&r!=0);for(o=9-N+r,f=0;f<o&&r>0;f++)G[--r]=48;for(m=we-1;le[m]==0;m--)if(m==0)break e;we=m+1}for(;G[r]==48;)++r}return y=oe<0,y&&(G[--r]=45),Lf(G,r,U-r)}function SEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;switch(e.c=t,e.g=new hn,r=(t1(),new Kp(e.c)),o=new S9(r),g1e(o),oe=In(ye(e.c,(W6(),sxe))),m=l(ye(e.c,Bne),331),Ee=l(ye(e.c,Une),432),f=l(ye(e.c,rxe),480),le=l(ye(e.c,$ne),433),e.j=ue(ce(ye(e.c,xOt))),p=e.a,m.g){case 0:p=e.a;break;case 1:p=e.b;break;case 2:p=e.i;break;case 3:p=e.e;break;case 4:p=e.f;break;default:throw K(new jt(PF+(m.f!=null?m.f:""+m.g)))}if(e.d=new $at(p,Ee,f),Ae(e.d,(E_(),wI),We(ye(e.c,_Ot))),e.d.c=Ke(We(ye(e.c,ixe))),_P(e.c).i==0)return e.d;for(T=new en(_P(e.c));T.e!=T.i.gc();){for(v=l(rn(T),19),I=v.g/2,N=v.f/2,we=new Le(v.i+I,v.j+N);ba(e.g,we);)zw(we,(b.Math.random()-.5)*Uf,(b.Math.random()-.5)*Uf);U=l(ye(v,(_n(),xp)),125),G=new cut(we,new ql(we.a-I-e.j/2-U.b,we.b-N-e.j/2-U.d,v.g+e.j+(U.b+U.c),v.f+e.j+(U.d+U.a))),je(e.d.i,G),Yn(e.g,we,new ko(G,v))}switch(le.g){case 0:if(oe==null)e.d.d=l(He(e.d.i,0),68);else for(ne=new V(e.d.i);ne.a<ne.c.c.length;)G=l(q(ne),68),L=l(l(Ut(e.g,G.a),49).b,19).ih(),L!=null&&mt(L,oe)&&(e.d.d=G);break;case 1:for(s=new Le(e.c.g,e.c.f),s.a*=.5,s.b*=.5,zw(s,e.c.i,e.c.j),u=Kr,J=new V(e.d.i);J.a<J.c.c.length;)G=l(q(J),68),y=f1(G.a,s),y<u&&(u=y,e.d.d=G);break;default:throw K(new jt(PF+(le.f!=null?le.f:""+le.g)))}return e.d}function TEt(e){t0(e,new Xb(Zm(Ym(Xm(Jm(new wb,xu),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new Tze))),Oe(e,xu,bk,1.3),Oe(e,xu,yk,(Lt(),!1)),Oe(e,xu,$0,Pke),Oe(e,xu,F0,15),Oe(e,xu,xF,ze(sOt)),Oe(e,xu,ME,ze(cOt)),Oe(e,xu,gT,ze(dOt)),Oe(e,xu,pT,ze(fOt)),Oe(e,xu,vk,ze(uOt)),Oe(e,xu,wk,ze(xne)),Oe(e,xu,Ek,ze(hOt)),Oe(e,xu,Tve,ze(Bke)),Oe(e,xu,Ave,ze($ke)),Oe(e,xu,Sve,ze(Cne)),Oe(e,xu,Eve,ze(Uke)),Oe(e,xu,_ve,ze(Mke)),Oe(e,xu,kve,ze(Nne)),Oe(e,xu,xve,ze(Lke)),Oe(e,xu,Nve,ze(Fke)),Oe(e,xu,mk,ze(Oke)),Oe(e,xu,CF,ze(aOt)),Oe(e,xu,wve,ze(IL)),Oe(e,xu,mve,ze(Rke)),Oe(e,xu,yve,ze(RL)),Oe(e,xu,bve,ze(jke)),Oe(e,xu,vve,ze(Dke))}function KNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr,Ou,os,Rc;for(r.Tg("Greedy cycle removal",1),e.b=t,oe=t.a,Rc=oe.c.length,e.a=me(Rn,Xn,30,Rc,15,1),e.d=me(Rn,Xn,30,Rc,15,1),e.c=me(Rn,Xn,30,Rc,15,1),y=0,J=new V(oe);J.a<J.c.c.length;){for(U=l(q(J),9),U.p=y,dt=new V(U.j);dt.a<dt.c.c.length;){for(we=l(q(dt),12),p=new V(we.e);p.a<p.c.c.length;)o=l(q(p),17),o.c.i!=U&&(on=l(j(o,(Be(),rx)),15).a,e.a[y]+=on>0?on+1:1);for(f=new V(we.g);f.a<f.c.c.length;)o=l(q(f),17),o.d.i!=U&&(on=l(j(o,(Be(),rx)),15).a,e.d[y]+=on>0?on+1:1)}e.d[y]==0?Gn(e.f,U):e.a[y]==0&&Gn(e.g,U),++y}for(L=-1,I=1,T=new Pe,e.e=l(j(t,(Ie(),RT)),237);Rc>0;){for(;e.f.b!=0;)Gr=l(LV(e.f),9),e.c[Gr.p]=L--,i0e(e,Gr),--Rc;for(;e.g.b!=0;)Ou=l(LV(e.g),9),e.c[Ou.p]=I++,i0e(e,Ou),--Rc;if(Rc>0){for(N=Zi,ne=new V(oe);ne.a<ne.c.c.length;)U=l(q(ne),9),e.c[U.p]==0&&(le=e.d[U.p]-e.a[U.p],le>=N&&(le>N&&(T.c.length=0,N=le),Ot(T.c,U)));v=e.qg(T),e.c[v.p]=I++,i0e(e,v),--Rc}}for(qn=oe.c.length+1,y=0;y<oe.c.length;y++)e.c[y]<0&&(e.c[y]+=qn);for(G=new V(oe);G.a<G.c.c.length;)for(U=l(q(G),9),Dt=ect(U.j),Ge=Dt,lt=0,Ct=Ge.length;lt<Ct;++lt)for(we=Ge[lt],Ee=Of(we.g),s=Ee,u=0,m=s.length;u<m;++u)o=s[u],os=o.d.i.p,e.c[U.p]>e.c[os]&&(bg(o,!0),Ae(t,xT,(Lt(),!0)));e.a=null,e.d=null,e.c=null,ec(e.g),ec(e.f),r.Ug()}function AEt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;for(Ee=l(ie((!e.a&&(e.a=new xe(jr,e,6,6)),e.a),0),171),v=new Du,le=new hn,we=Oyt(Ee),eu(le.f,Ee,we),N=new hn,o=new Sr,L=hh(Wc(Z(X(nl,1),Rt,22,0,[(!t.d&&(t.d=new Et(Cr,t,8,5)),t.d),(!t.e&&(t.e=new Et(Cr,t,7,4)),t.e)])));an(L);){if(I=l(Qt(L),74),(!e.a&&(e.a=new xe(jr,e,6,6)),e.a).i!=1)throw K(new jt(TTt+(!e.a&&(e.a=new xe(jr,e,6,6)),e.a).i));I!=e&&(G=l(ie((!I.a&&(I.a=new xe(jr,I,6,6)),I.a),0),171),Wr(o,G,o.c.b,o.c),U=l(Es(Zo(le.f,G)),13),U||(U=Oyt(G),eu(le.f,G,U)),T=r?Ri(new Eo(l(He(we,we.c.length-1),8)),l(He(U,U.c.length-1),8)):Ri(new Eo((at(0,we.c.length),l(we.c[0],8))),(at(0,U.c.length),l(U.c[0],8))),eu(N.f,G,T))}if(o.b!=0)for(J=l(He(we,r?we.c.length-1:0),8),y=1;y<we.c.length;y++){for(ne=l(He(we,r?we.c.length-1-y:y),8),s=An(o,0);s.b!=s.d.c;)G=l(Sn(s),171),U=l(Es(Zo(le.f,G)),13),U.c.length<=y?cK(s):(oe=br(new Eo(l(He(U,r?U.c.length-1-y:y),8)),l(Es(Zo(N.f,G)),8)),(ne.a!=oe.a||ne.b!=oe.b)&&(u=ne.a-J.a,p=ne.b-J.b,f=oe.a-J.a,m=oe.b-J.b,f*p==m*u&&(u==0||isNaN(u)?u:u<0?-1:1)==(f==0||isNaN(f)?f:f<0?-1:1)&&(p==0||isNaN(p)?p:p<0?-1:1)==(m==0||isNaN(m)?m:m<0?-1:1)?(b.Math.abs(u)<b.Math.abs(f)||b.Math.abs(p)<b.Math.abs(m))&&Wr(v,ne,v.c.b,v.c):y>1&&Wr(v,J,v.c.b,v.c),cK(s)));J=ne}return v}function _Et(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;for(r.Tg(CSt,1),Ct=l(Au(lr(new yt(null,new vt(t,16)),new UHe),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),v=l(Au(lr(new yt(null,new vt(t,16)),new zJe(t)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[nu]))),16),L=l(Au(lr(new yt(null,new vt(t,16)),new HJe(t)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[nu]))),16),U=me(DB,OF,41,t.gc(),0,1),f=0;f<v.gc();f++)s=l(v.Xb(f),41),dt=l(j(s,(Ps(),c2)),15).a,dt>=0&&dt<v.gc()&&!U[dt]&&(U[dt]=s,v.ed(f),--f);for(p=0;p<v.gc();p++)for(s=l(v.Xb(p),41),dt=l(j(s,(Ps(),c2)),15).a,N=0;;N++){if(I=dt+N,I<U.length&&I>=0&&!U[I]){U[I]=s,v.ed(p),--p;break}if(I=dt-N,I<U.length&&I>=0&&!U[I]){U[I]=s,v.ed(p),--p;break}}for(L.gd(new HHe),m=U.length-1;m>=0;m--)!U[m]&&!L.dc()&&(U[m]=l(L.Xb(0),41),L.ed(0));for(y=0;y<U.length;y++)!U[y]&&!Ct.dc()&&(U[y]=l(Ct.Xb(0),41),Ct.ed(0));for(u=0;u<U.length;u++)Ae(U[u],(xr(),n4),Re(u));for(T=l(Ygn(lr(new yt(null,new vt(t,16)),new zHe)),526),we=T,Ge=0,lt=we.length;Ge<lt;++Ge){for(Ee=we[Ge],o=CK(Ee),_Et(e,o,r.dh(1/T.length|0)),St(),Ub(o,new GG((xr(),n4))),G=new Sr,le=An(o,0);le.b!=le.d.c;)for(oe=l(Sn(le),41),ne=An(Ee.d,0);ne.b!=ne.d.c;)J=l(Sn(ne),65),J.c==oe&&Wr(G,J,G.c.b,G.c);ec(Ee.d),bo(Ee.d,G)}r.Ug()}function kEt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;for(oe=ue(ce(ye(t,(yh(),rv)))),I=ue(ce(ye(t,o4))),N=ue(ce(ye(t,zB))),ige((!t.a&&(t.a=new xe(En,t,10,11)),t.a)),J=bvt((!t.a&&(t.a=new xe(En,t,10,11)),t.a),oe,e.b),G=0;G<J.c.length;G++)if(m=(at(G,J.c.length),l(J.c[G],189)),G!=0&&(L=(at(G-1,J.c.length),l(J.c[G-1],189)),Cpt(m,L.f+L.b+e.b)),U=XNn(G,J,oe,e.b,Ke(We(ye(t,(ef(),Nne))))),Ke(We(U.b))){for(u=new V(m.a);u.a<u.c.c.length;)s=l(q(u),175),s.c=!1,s.k=!1,uvt(s);m.d=new Pe,m.e=oe,--G}else if(kmn(e,m),G+1<J.c.length&&(e.e=b.Math.max(m.e+e.b+l(He((at(G+1,J.c.length),l(J.c[G+1],189)).a,0),175).r-oe,e.c),e.f=b.Math.min(m.e+e.b+l(He((at(G+1,J.c.length),l(J.c[G+1],189)).a,0),175).r-oe,e.d),m.d.c.length!=0&&(e.c=b.Math.max(e.c,l(He(m.d,m.d.c.length-1),320).d+(m.d.c.length<=1?0:e.b)),e.d=b.Math.min(e.c,l(He(m.d,m.d.c.length-1),320).d+(m.d.c.length<=1?0:e.b)))),J.c.length==1)for(T=l(He(m.d,m.d.c.length-1),320),v=l(He(T.a,T.a.c.length-1),175),p=new V(v.n);p.a<p.c.c.length;)f=l(q(p),211),e.c=b.Math.max(e.c,v.r-f.d),e.d=b.Math.min(e.d,v.r-f.d),e.e=b.Math.max(e.e,f.d+e.b),e.f=b.Math.min(e.f,f.d+e.b);return ne=Y1t(J,e.b),le=b.Math.max(ne.a,I-(r.b+r.c)),y=b.Math.max(ne.b,N-(r.d+r.a)),o=y-ne.b,Vn(t,i4,o),Vn(t,GB,J),new kfe(e.a,le,ne.b+o,(TC(),OL))}function YNn(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on;if(Ge=l(j(e,(Be(),Zr)),103),Ge!=(qi(),pf)&&Ge!=W1){for(L=e.b,I=L.c.length,v=new Ra((wc(I+2,YJ),uj(To(To(5,I+2),(I+2)/10|0)))),U=new Ra((wc(I+2,YJ),uj(To(To(5,I+2),(I+2)/10|0)))),je(v,new hn),je(v,new hn),je(U,new Pe),je(U,new Pe),we=new Pe,t=0;t<I;t++)for(r=(at(t,L.c.length),l(L.c[t],26)),lt=(at(t,v.c.length),l(v.c[t],93)),G=new hn,Ot(v.c,G),Ct=(at(t,U.c.length),l(U.c[t],16)),ne=new Pe,Ot(U.c,ne),s=new V(r.a);s.a<s.c.c.length;){if(o=l(q(s),9),Qge(o)){Ot(we.c,o);continue}for(y=new Ft(Gt(si(o).a.Jc(),new D));an(y);)p=l(Qt(y),17),Dt=p.c.i,Qge(Dt)&&(dt=l(lt.xc(j(Dt,(Ie(),mr))),9),dt||(dt=Fmt(e,Dt),lt.yc(j(Dt,mr),dt),Ct.Ec(dt)),go(p,l(He(dt.j,1),12)));for(m=new Ft(Gt(Rr(o).a.Jc(),new D));an(m);)p=l(Qt(m),17),on=p.d.i,Qge(on)&&(J=l(Ut(G,j(on,(Ie(),mr))),9),J||(J=Fmt(e,on),Yn(G,j(on,mr),J),Ot(ne.c,J)),Yi(p,l(He(J.j,0),12)))}for(T=0;T<U.c.length;T++)if(oe=(at(T,U.c.length),l(U.c[T],16)),!oe.dc())for(N=null,T==0?(N=new ra(e),ny(0,L.c.length),ZN(L.c,0,N)):T==v.c.length-1?(N=new ra(e),Ot(L.c,N)):N=(at(T-1,L.c.length),l(L.c[T-1],26)),f=oe.Jc();f.Ob();)u=l(f.Pb(),9),Ii(u,N);for(Ee=new V(we);Ee.a<Ee.c.c.length;)le=l(q(Ee),9),Ii(le,null);Ae(e,(Ie(),Xee),we)}}function JNn(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr,Ou,os;for(Gr=new Pe,L=new V(t.b);L.a<L.c.c.length;)for(N=l(q(L),26),Ee=new V(N.a);Ee.a<Ee.c.c.length;){for(le=l(q(Ee),9),le.p=-1,T=Zi,lt=Zi,Ct=new V(le.j);Ct.a<Ct.c.c.length;){for(dt=l(q(Ct),12),s=new V(dt.e);s.a<s.c.c.length;)r=l(q(s),17),Dt=l(j(r,(Be(),PT)),15).a,T=b.Math.max(T,Dt);for(o=new V(dt.g);o.a<o.c.c.length;)r=l(q(o),17),Dt=l(j(r,(Be(),PT)),15).a,lt=b.Math.max(lt,Dt)}Ae(le,IB,Re(T)),Ae(le,RB,Re(lt))}for(J=0,I=new V(t.b);I.a<I.c.c.length;)for(N=l(q(I),26),Ee=new V(N.a);Ee.a<Ee.c.c.length;)le=l(q(Ee),9),le.p<0&&(qn=new _ce,qn.b=J++,eyt(e,le,qn),Ot(Gr.c,qn));for(Ge=ch(Gr.c.length),v=ch(Gr.c.length),f=0;f<Gr.c.length;f++)je(Ge,new Pe),je(v,Re(0));for(bxn(t,Gr,Ge,v),Ou=l(Yd(Gr,me(c4t,vSt,264,Gr.c.length,0,1)),846),we=l(Yd(Ge,me(_c,Ry,16,Ge.c.length,0,1)),200),y=me(Rn,Xn,30,v.c.length,15,1),p=0;p<y.length;p++)y[p]=(at(p,v.c.length),l(v.c[p],15)).a;for(ne=0,oe=new Pe,m=0;m<Ou.length;m++)y[m]==0&&Ot(oe.c,Ou[m]);for(G=me(Rn,Xn,30,Ou.length,15,1);oe.c.length!=0;)for(qn=l(og(oe,0),264),G[qn.b]=ne++;!we[qn.b].dc();)os=l(we[qn.b].ed(0),264),--y[os.b],y[os.b]==0&&Ot(oe.c,os);for(e.a=me(c4t,vSt,264,Ou.length,0,1),u=0;u<Ou.length;u++)for(U=Ou[u],on=G[u],e.a[on]=U,U.b=on,Ee=new V(U.e);Ee.a<Ee.c.c.length;)le=l(q(Ee),9),le.p=on;return e.a}function XNn(e,t,r,o,s){var u,f,p,m,y,v,T,N,I,L,U,G,J;for(U=!1,m=!1,N=e+1,L=(at(e,t.c.length),l(t.c[e],189)),p=L.a,y=null,f=0;f<L.a.c.length;f++)if(u=(at(f,p.c.length),l(p.c[f],175)),!u.c){if(u.b.c.length==0){Qp(),z6(L,u),--f,U=!0;continue}if(u.k||(y&&l7(y),y=new The(y?y.e+y.d+o:0,L.f,o),$6(u,y.e+y.d,L.f),je(L.d,y),lge(y,u),u.k=!0),v=null,v=(J=null,f<L.a.c.length-1?J=l(He(L.a,f+1),175):N<t.c.length&&(at(N,t.c.length),l(t.c[N],189)).a.c.length!=0&&(J=l(He((at(N,t.c.length),l(t.c[N],189)).a,0),175)),J),G=!1,v&&(G=!pr(v.j,L)),v){if(v.b.c.length!=0&&!Ke(We(l(He(v.b,0),19).mf((ef(),RL)))))s6(u,r-u.s),l7(u.q),U=U|Iwn(L,u,v,r,o);else{z6(L,v);break}if(v.b.c.length==0)for(t.c.length>N&&z6((at(N,t.c.length),l(t.c[N],189)),v),v=null;t.c.length>N&&(at(N,t.c.length),l(t.c[N],189)).a.c.length==0;)Xa(t,(at(N,t.c.length),t.c[N]));if(!v){--f;continue}if(!Ke(We(l(He(v.b,0),19).mf((ef(),RL))))&&aAn(t,L,u,v,G,r,N,o)){U=!0;continue}if(G){if(I=L.b,T=v.f,!Ke(We(l(He(v.b,0),19).mf(RL)))&&Ckn(t,L,u,v,r,N,o,s)){if(U=!0,I<T){m=!0,v.j=L;break}continue}else if(Bge(L,u)){u.c=!0,U=!0;continue}}else if(Bge(L,u)){u.c=!0,U=!0;continue}if(U)continue}if(Bge(L,u)){u.c=!0,U=!0,v&&(v.k=!1);continue}else l7(u.q)}return new ko((Lt(),!!U),!!m)}function dr(e){var t,r,o;if(e.d>=e.j){e.a=-1,e.c=1;return}if(t=uo(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(o=10,e.d>=e.j)throw K(new Dn(Pn((Cn(),GF))));e.a=uo(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d<e.j&&uo(e.i,e.d)==91?(++e.d,o=24):o=0;break;case 91:if((e.e&512)!=512&&e.d<e.j&&uo(e.i,e.d)==58){++e.d,o=20;break}default:(t&64512)==ED&&e.d<e.j&&(r=uo(e.i,e.d),(r&64512)==56320&&(e.a=xo+(t-ED<<10)+r-56320,++e.d)),o=0}e.c=o;return}switch(t){case 124:o=2;break;case 42:o=3;break;case 43:o=4;break;case 63:o=5;break;case 41:o=7;break;case 46:o=8;break;case 91:o=9;break;case 94:o=11;break;case 36:o=12;break;case 40:if(o=6,e.d>=e.j||uo(e.i,e.d)!=63)break;if(++e.d>=e.j)throw K(new Dn(Pn((Cn(),fQ))));switch(t=uo(e.i,e.d++),t){case 58:o=13;break;case 61:o=14;break;case 33:o=15;break;case 91:o=19;break;case 62:o=18;break;case 60:if(e.d>=e.j)throw K(new Dn(Pn((Cn(),fQ))));if(t=uo(e.i,e.d++),t==61)o=16;else if(t==33)o=17;else throw K(new Dn(Pn((Cn(),XTt))));break;case 35:for(;e.d<e.j&&(t=uo(e.i,e.d++),t!=41););if(t!=41)throw K(new Dn(Pn((Cn(),ZTt))));o=21;break;default:if(t==45||97<=t&&t<=122||65<=t&&t<=90){--e.d,o=22;break}else if(t==40){o=23;break}throw K(new Dn(Pn((Cn(),fQ))))}break;case 92:if(o=10,e.d>=e.j)throw K(new Dn(Pn((Cn(),GF))));e.a=uo(e.i,e.d++);break;default:o=0}e.c=o}function ZNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G;if(r.Tg("Process compaction",1),!!Ke(We(j(t,(Ps(),$_e))))){for(s=l(j(t,aw),87),I=ue(ce(j(t,rne))),S_n(e,t,s),fNn(t,I/2/2),L=t.b,Ub(L,new MJe(s)),y=An(L,0);y.b!=y.d.c;)if(m=l(Sn(y),41),!Ke(We(j(m,(xr(),z1))))){if(o=WSn(m,s),U=HAn(m,t),T=0,N=0,o)switch(G=o.e,s.g){case 2:T=G.a-I-m.f.a,U.e.a-I-m.f.a<T&&(T=U.e.a-I-m.f.a),N=T+m.f.a;break;case 1:T=G.a+o.f.a+I,U.e.a+I>T&&(T=U.e.a+U.f.a+I),N=T+m.f.a;break;case 4:T=G.b-I-m.f.b,U.e.b-I-m.f.b<T&&(T=U.e.b-I-m.f.b),N=T+m.f.b;break;case 3:T=G.b+o.f.b+I,U.e.b+I>T&&(T=U.e.b+U.f.b+I),N=T+m.f.b}else if(U)switch(s.g){case 2:T=U.e.a-I-m.f.a,N=T+m.f.a;break;case 1:T=U.e.a+U.f.a+I,N=T+m.f.a;break;case 4:T=U.e.b-I-m.f.b,N=T+m.f.b;break;case 3:T=U.e.b+U.f.b+I,N=T+m.f.b}be(j(t,nne))===be((X3(),_L))?(u=T,f=N,p=dp(lr(new yt(null,new vt(e.a,16)),new Ett(u,f))),p.a!=null?s==(vi(),is)||s==cs?m.e.a=T:m.e.b=T:(s==(vi(),is)||s==il?p=dp(lr(gft(new yt(null,new vt(e.a,16))),new PJe(u))):p=dp(lr(gft(new yt(null,new vt(e.a,16))),new jJe(u))),p.a!=null&&(s==is||s==cs?m.e.a=ue(ce((un(p.a!=null),l(p.a,49)).a)):m.e.b=ue(ce((un(p.a!=null),l(p.a,49)).a)))),p.a!=null&&(v=As(e.a,(un(p.a!=null),p.a),0),v>0&&v!=l(j(m,Yf),15).a&&(Ae(m,R_e,(Lt(),!0)),Ae(m,Yf,Re(v))))):s==(vi(),is)||s==cs?m.e.a=T:m.e.b=T}r.Ug()}}function QNn(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee;if(r.Tg("Coffman-Graham Layering",1),t.a.c.length==0){r.Ug();return}for(Ee=l(j(t,(Be(),gAe)),15).a,m=0,f=0,N=new V(t.a);N.a<N.c.c.length;)for(T=l(q(N),9),T.p=m++,u=new Ft(Gt(Rr(T).a.Jc(),new D));an(u);)s=l(Qt(u),17),s.p=f++;for(e.d=me(uu,Ad,30,m,16,1),e.a=me(uu,Ad,30,f,16,1),e.b=me(Rn,Xn,30,m,15,1),e.e=me(Rn,Xn,30,m,15,1),e.f=me(Rn,Xn,30,m,15,1),bj(e.c),s0n(e,t),L=new hP(new eJe(e)),le=new V(t.a);le.a<le.c.c.length;){for(ne=l(q(le),9),u=new Ft(Gt(si(ne).a.Jc(),new D));an(u);)s=l(Qt(u),17),e.a[s.p]||++e.b[ne.p];e.b[ne.p]==0&&AS(q_(L,ne),dk)}for(p=0;L.b.c.length!=0;)for(ne=l(aK(L),9),e.f[ne.p]=p++,u=new Ft(Gt(Rr(ne).a.Jc(),new D));an(u);)s=l(Qt(u),17),!e.a[s.p]&&(G=s.d.i,--e.b[G.p],wt(e.c,G,Re(e.f[ne.p])),e.b[G.p]==0&&AS(q_(L,G),dk));for(I=new hP(new tJe(e)),oe=new V(t.a);oe.a<oe.c.c.length;){for(ne=l(q(oe),9),u=new Ft(Gt(Rr(ne).a.Jc(),new D));an(u);)s=l(Qt(u),17),e.a[s.p]||++e.e[ne.p];e.e[ne.p]==0&&AS(q_(I,ne),dk)}for(v=new Pe,o=Kst(t,v);I.b.c.length!=0;)for(J=l(aK(I),9),(o.a.c.length>=Ee||!n1n(J,o))&&(o=Kst(t,v)),Ii(J,o),u=new Ft(Gt(si(J).a.Jc(),new D));an(u);)s=l(Qt(u),17),!e.a[s.p]&&(U=s.c.i,--e.e[U.p],e.e[U.p]==0&&AS(q_(I,U),dk));for(y=v.c.length-1;y>=0;--y)je(t.b,(at(y,v.c.length),l(v.c[y],26)));t.a.c.length=0,r.Ug()}function xEt(e){var t,r,o,s,u,f,p,m,y;for(e.b=1,dr(e),t=null,e.c==0&&e.a==94?(dr(e),t=(fr(),fr(),new bc(4)),Ea(t,0,jk),p=new bc(4)):p=(fr(),fr(),new bc(4)),s=!0;(y=e.c)!=1;){if(y==0&&e.a==93&&!s){t&&(PC(t,p),p=t);break}if(r=e.a,o=!1,y==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:xy(p,ek(r)),o=!0;break;case 105:case 73:case 99:case 67:r=(xy(p,ek(r)),-1),r<0&&(o=!0);break;case 112:case 80:if(m=ome(e,r),!m)throw K(new Dn(Pn((Cn(),hQ))));xy(p,m),o=!0;break;default:r=zme(e)}else if(y==24&&!s){if(t&&(PC(t,p),p=t),u=xEt(e),PC(p,u),e.c!=0||e.a!=93)throw K(new Dn(Pn((Cn(),aAt))));break}if(dr(e),!o){if(y==0){if(r==91)throw K(new Dn(Pn((Cn(),fEe))));if(r==93)throw K(new Dn(Pn((Cn(),hEe))));if(r==45&&!s&&e.a!=93)throw K(new Dn(Pn((Cn(),pQ))))}if(e.c!=0||e.a!=45||r==45&&s)Ea(p,r,r);else{if(dr(e),(y=e.c)==1)throw K(new Dn(Pn((Cn(),qF))));if(y==0&&e.a==93)Ea(p,r,r),Ea(p,45,45);else{if(y==0&&e.a==93||y==24)throw K(new Dn(Pn((Cn(),pQ))));if(f=e.a,y==0){if(f==91)throw K(new Dn(Pn((Cn(),fEe))));if(f==93)throw K(new Dn(Pn((Cn(),hEe))));if(f==45)throw K(new Dn(Pn((Cn(),pQ))))}else y==10&&(f=zme(e));if(dr(e),r>f)throw K(new Dn(Pn((Cn(),lAt))));Ea(p,r,f)}}}s=!1}if(e.c==1)throw K(new Dn(Pn((Cn(),qF))));return kE(p),DC(p),e.b=0,dr(e),p}function NEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;le=!1;do for(le=!1,u=t?new Yh(e.a.b).a.gc()-2:1;t?u>=0:u<new Yh(e.a.b).a.gc();u+=t?-1:1)for(s=Ghe(e.a,Re(u)),I=0;I<s.b;I++)if(T=l(sa(s,I),9),!!gr(T,(Ie(),Nr))&&!(f0n(e.a,Re(u))&&e.r==(_1(),sx)||h0n(e.a,Re(u))&&e.r==(_1(),qI))){for(oe=!0,J=0;J<s.b;J++)G=l(sa(s,J),9),gr(G,Nr)&&(t&&l(j(T,Nr),15).a<l(j(G,Nr),15).a||!t&&l(j(T,Nr),15).a>l(j(G,Nr),15).a)&&(oe=!1);if(oe){for(m=t?u+1:u-1,p=Ghe(e.a,Re(m)),f=!1,ne=!0,o=!1,v=An(p,0);v.b!=v.d.c;)y=l(Sn(v),9),gr(y,Nr)?y.p!=T.p&&(f=f|(t?l(j(y,Nr),15).a<l(j(T,Nr),15).a:l(j(y,Nr),15).a>l(j(T,Nr),15).a),ne=!1):!f&&ne&&y.k==(Ht(),ta)&&(o=!0,t?N=l(Qt(new Ft(Gt(si(y).a.Jc(),new D))),17).c.i:N=l(Qt(new Ft(Gt(Rr(y).a.Jc(),new D))),17).d.i,N==T&&(t?r=l(Qt(new Ft(Gt(Rr(y).a.Jc(),new D))),17).d.i:r=l(Qt(new Ft(Gt(si(y).a.Jc(),new D))),17).c.i,(t?l(Hw(e.a,r),15).a-l(Hw(e.a,N),15).a:l(Hw(e.a,N),15).a-l(Hw(e.a,r),15).a)<=2&&(ne=!1)));if(o&&ne&&(t?r=l(Qt(new Ft(Gt(Rr(T).a.Jc(),new D))),17).d.i:r=l(Qt(new Ft(Gt(si(T).a.Jc(),new D))),17).c.i,(t?l(Hw(e.a,r),15).a-l(Hw(e.a,T),15).a:l(Hw(e.a,T),15).a-l(Hw(e.a,r),15).a)<=2&&r.k==(Ht(),Xr)&&(ne=!1)),f||ne){for(U=nwt(e,T,t);U.a.gc()!=0;)L=l(U.a.ec().Jc().Pb(),9),U.a.Ac(L)!=null,bo(U,nwt(e,L,t));--I,le=!0}}}while(le)}function e3n(e){kn(e.c,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#decimal"])),kn(e.d,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#integer"])),kn(e.e,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#boolean"])),kn(e.f,$n,Z(X(Ye,1),Me,2,6,[fo,"EBoolean",or,"EBoolean:Object"])),kn(e.i,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#byte"])),kn(e.g,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#hexBinary"])),kn(e.j,$n,Z(X(Ye,1),Me,2,6,[fo,"EByte",or,"EByte:Object"])),kn(e.n,$n,Z(X(Ye,1),Me,2,6,[fo,"EChar",or,"EChar:Object"])),kn(e.t,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#double"])),kn(e.u,$n,Z(X(Ye,1),Me,2,6,[fo,"EDouble",or,"EDouble:Object"])),kn(e.F,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#float"])),kn(e.G,$n,Z(X(Ye,1),Me,2,6,[fo,"EFloat",or,"EFloat:Object"])),kn(e.I,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#int"])),kn(e.J,$n,Z(X(Ye,1),Me,2,6,[fo,"EInt",or,"EInt:Object"])),kn(e.N,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#long"])),kn(e.O,$n,Z(X(Ye,1),Me,2,6,[fo,"ELong",or,"ELong:Object"])),kn(e.Z,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#short"])),kn(e.$,$n,Z(X(Ye,1),Me,2,6,[fo,"EShort",or,"EShort:Object"])),kn(e._,$n,Z(X(Ye,1),Me,2,6,[fo,"http://www.w3.org/2001/XMLSchema#string"]))}function Be(){Be=Y,Ete=(_n(),L6t),RAe=M6t,wL=P6t,od=j6t,o2=hNe,mm=pNe,Qy=gNe,ix=bNe,ox=mNe,Ste=rU,wm=Od,Tte=F6t,UI=vNe,yB=zT,mL=(U0e(),_Ct),Zy=kCt,$1=xCt,ev=NCt,pIt=new Mi(BL,Re(0)),rx=SCt,IAe=TCt,PT=ACt,BAe=JCt,DAe=RCt,LAe=LCt,_te=UCt,MAe=jCt,PAe=$Ct,vB=eIt,kte=XCt,FAe=VCt,jAe=GCt,$Ae=KCt,yAe=iCt,mte=eCt,pB=Q3t,wte=nCt,iw=bCt,BI=mCt,gte=N3t,uAe=I3t,yIt=mx,vIt=iU,wIt=lv,mIt=bx,OAe=(GS(),hv),new Mi(GT,OAe),_Ae=new Ab(12),AAe=new Mi(df,_Ae),oAe=(hp(),vx),_p=new Mi(Gxe,oAe),Yy=new Mi(Hu,0),gIt=new Mi(mre,Re(1)),oB=new Mi(px,gk),bm=nU,Zr=gx,nx=m2,aIt=FL,Wf=E6t,Vy=h2,bIt=new Mi(wre,(Lt(),!0)),Wy=$L,pm=cre,gm=Sm,wB=G1,vte=av,iAe=(vi(),hf),kc=new Mi(Em,iAe),rw=g2,bB=Zxe,Jy=uv,hIt=bre,NAe=dNe,xAe=(vE(),qL),new Mi(sNe,xAe),lIt=fre,dIt=hre,fIt=pre,cIt=dre,Ate=ICt,hB=Z3t,bL=X3t,HI=CCt,Ns=G3t,MT=v3t,jI=y3t,ex=i3t,tAe=o3t,fte=c3t,gL=s3t,hte=m3t,vAe=oCt,EAe=sCt,pAe=F3t,mB=vCt,yte=cCt,bte=D3t,TAe=pCt,aAe=k3t,pte=x3t,dte=jL,SAe=aCt,aB=BNt,XTe=$Nt,sB=FNt,dAe=P3t,lAe=M3t,fAe=j3t,tx=b2,rs=p2,Ag=_6t,Kf=ure,i2=tU,nAe=d3t,_g=gre,DI=A6t,fB=x6t,ow=uNe,kAe=I6t,Ky=R6t,bAe=V3t,mAe=K3t,Xy=HT,ate=jNt,wAe=J3t,dB=T3t,lB=S3t,gB=xp,gAe=U3t,$I=dCt,yL=wNe,rAe=E3t,CAe=ECt,sAe=A3t,iIt=h3t,oIt=p3t,uIt=z3t,sIt=g3t,hAe=lre,FI=q3t,cB=b3t,Ch=r3t,cte=e3t,pL=HNt,ute=zNt,uB=t3t,LI=UNt,lte=n3t,qy=QNt,PI=ZNt,rIt=XNt,LT=GNt,MI=JNt,eAe=YNt,ZTe=qNt,QTe=WNt,cAe=L3t}function t3n(e,t,r,o,s,u,f){var p,m,y,v,T,N,I,L;return N=l(o.a,15).a,I=l(o.b,15).a,T=e.b,L=e.c,p=0,v=0,t==(vi(),is)||t==cs?(v=bO(rgt(Qw(Ia(new yt(null,new vt(r.b,16)),new QHe),new PHe))),T.e.b+T.f.b/2>v?(y=++I,p=ue(ce(Ju(Yw(Ia(new yt(null,new vt(r.b,16)),new Att(s,y)),new jHe))))):(m=++N,p=ue(ce(Ju(kS(Ia(new yt(null,new vt(r.b,16)),new _tt(s,m)),new FHe)))))):(v=bO(rgt(Qw(Ia(new yt(null,new vt(r.b,16)),new VHe),new LHe))),T.e.a+T.f.a/2>v?(y=++I,p=ue(ce(Ju(Yw(Ia(new yt(null,new vt(r.b,16)),new Ttt(s,y)),new $He))))):(m=++N,p=ue(ce(Ju(kS(Ia(new yt(null,new vt(r.b,16)),new Stt(s,m)),new GHe)))))),t==is?(vo(e.a,new Le(ue(ce(j(T,(xr(),Id))))-s,p)),vo(e.a,new Le(L.e.a+L.f.a+s+u,p)),vo(e.a,new Le(L.e.a+L.f.a+s+u,L.e.b+L.f.b/2)),vo(e.a,new Le(L.e.a+L.f.a,L.e.b+L.f.b/2))):t==cs?(vo(e.a,new Le(ue(ce(j(T,(xr(),sd))))+s,T.e.b+T.f.b/2)),vo(e.a,new Le(T.e.a+T.f.a+s,p)),vo(e.a,new Le(L.e.a-s-u,p)),vo(e.a,new Le(L.e.a-s-u,L.e.b+L.f.b/2)),vo(e.a,new Le(L.e.a,L.e.b+L.f.b/2))):t==il?(vo(e.a,new Le(p,ue(ce(j(T,(xr(),Id))))-s)),vo(e.a,new Le(p,L.e.b+L.f.b+s+u)),vo(e.a,new Le(L.e.a+L.f.a/2,L.e.b+L.f.b+s+u)),vo(e.a,new Le(L.e.a+L.f.a/2,L.e.b+L.f.b+s))):(e.a.b==0||(l(zl(e.a),8).b=ue(ce(j(T,(xr(),sd))))+s*l(f.b,15).a),vo(e.a,new Le(p,ue(ce(j(T,(xr(),sd))))+s*l(f.b,15).a)),vo(e.a,new Le(p,L.e.b-s*l(f.a,15).a-u))),new ko(Re(N),Re(I))}function n3n(e){var t,r,o,s,u,f,p,m,y,v,T,N,I;if(f=!0,T=null,o=null,s=null,t=!1,I=jDt,y=null,u=null,p=0,m=fY(e,p,p3e,g3e),m<e.length&&(Yt(m,e.length),e.charCodeAt(m)==58)&&(T=(no(p,m,e.length),e.substr(p,m-p)),p=m+1),r=T!=null&&zN(yU,T.toLowerCase()),r){if(m=e.lastIndexOf("!/"),m==-1)throw K(new jt("no archive separator"));f=!0,o=yl(e,p,++m),p=m}else p>=0&&mt(e.substr(p,2),"//")?(p+=2,m=fY(e,p,C4,I4),o=(no(p,m,e.length),e.substr(p,m-p)),p=m):T!=null&&(p==e.length||(Yt(p,e.length),e.charCodeAt(p)!=47))&&(f=!1,m=gde(e,Qa(35),p),m==-1&&(m=e.length),o=(no(p,m,e.length),e.substr(p,m-p)),p=m);if(!r&&p<e.length&&(Yt(p,e.length),e.charCodeAt(p)==47)&&(m=fY(e,p+1,C4,I4),v=(no(p+1,m,e.length),e.substr(p+1,m-(p+1))),v.length>0&&uo(v,v.length-1)==58&&(s=v,p=m)),p<e.length&&(Yt(p,e.length),e.charCodeAt(p)==47)&&(++p,t=!0),p<e.length&&(Yt(p,e.length),e.charCodeAt(p)!=63)&&(Yt(p,e.length),e.charCodeAt(p)!=35)){for(N=new Pe;p<e.length&&(Yt(p,e.length),e.charCodeAt(p)!=63)&&(Yt(p,e.length),e.charCodeAt(p)!=35);)m=fY(e,p,C4,I4),je(N,(no(p,m,e.length),e.substr(p,m-p))),p=m,p<e.length&&(Yt(p,e.length),e.charCodeAt(p)==47)&&(ypn(e,++p)||N.c.push(""));I=me(Ye,Me,2,N.c.length,6,1),Yd(N,I)}return p<e.length&&(Yt(p,e.length),e.charCodeAt(p)==63)&&(m=WA(e,35,++p),m==-1&&(m=e.length),y=(no(p,m,e.length),e.substr(p,m-p)),p=m),p<e.length&&(u=nhe(e,++p)),Lkn(f,T,o,s,I,y),new fJ(f,T,o,s,t,I,y,u)}function dD(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;if(ba(e.b,t)){if(bl(l(Ut(e.b,t),47),r))return 1}else Yn(e.b,t,new hi);if(ba(e.b,r)){if(bl(l(Ut(e.b,r),47),t))return-1}else Yn(e.b,r,new hi);if(ba(e.g,t)){if(bl(l(Ut(e.g,t),47),r))return-1}else Yn(e.g,t,new hi);if(ba(e.g,r)){if(bl(l(Ut(e.b,r),47),t))return 1}else Yn(e.g,r,new hi);if(e.e==(pp(),Pte)||!gr(t,(Ie(),Nr))||!gr(r,(Ie(),Nr))){for(N=null,v=new V(t.j);v.a<v.c.c.length;)if(m=l(q(v),12),m.e.c.length!=0&&l(He(m.e,0),17).c.i.c.p==t.c.p-1){N=l(He(m.e,0),17).c;break}for(L=null,y=new V(r.j);y.a<y.c.c.length;)if(m=l(q(y),12),m.e.c.length!=0&&l(He(m.e,0),17).c.i.c.p==r.c.p-1){L=l(He(m.e,0),17).c;break}if(N&&L){if(T=N.i,I=L.i,T&&T==I){for(G=new V(T.j);G.a<G.c.c.length;){if(U=l(q(G),12),U==N)return sc(e,r,t),-1;if(U==L)return sc(e,t,r),1}return s=$Y(e,t),f=$Y(e,r),s>f?(sc(e,t,r),1):(sc(e,r,t),-1)}for(ne=e.f,oe=0,le=ne.length;oe<le;++oe){if(J=ne[oe],J==T)return sc(e,r,t),-1;if(J==I)return sc(e,t,r),1}}if(N&&!L||!N&&L){if(o=IEt(e,t,r),o!=0)return o>0?sc(e,t,r):sc(e,r,t),o;if(!gr(t,(Ie(),Nr))||!gr(r,Nr))return u=$Y(e,t),p=$Y(e,r),u>p?(sc(e,t,r),1):(sc(e,r,t),-1)}if(!N&&!L&&(o=IEt(e,t,r),o!=0))return o>0?sc(e,t,r):sc(e,r,t),o}return gr(t,(Ie(),Nr))&&gr(r,Nr)?(u=O0(t,r,e.c,l(j(e.c,F1),15).a),p=O0(r,t,e.c,l(j(e.c,F1),15).a),u>p?(sc(e,t,r),1):(sc(e,r,t),-1)):(sc(e,r,t),-1)}function CEt(){CEt=Y,HJ(),Wn=new g0,wt(Wn,(Ue(),dd),gf),wt(Wn,Rl,gf),wt(Wn,Iu,gf),wt(Wn,fd,gf),wt(Wn,su,gf),wt(Wn,Ru,gf),wt(Wn,fd,dd),wt(Wn,gf,ol),wt(Wn,dd,ol),wt(Wn,Rl,ol),wt(Wn,Iu,ol),wt(Wn,ou,ol),wt(Wn,fd,ol),wt(Wn,su,ol),wt(Wn,Ru,ol),wt(Wn,Wa,ol),wt(Wn,gf,Nc),wt(Wn,dd,Nc),wt(Wn,ol,Nc),wt(Wn,Rl,Nc),wt(Wn,Iu,Nc),wt(Wn,ou,Nc),wt(Wn,fd,Nc),wt(Wn,Wa,Nc),wt(Wn,Cc,Nc),wt(Wn,su,Nc),wt(Wn,vu,Nc),wt(Wn,Ru,Nc),wt(Wn,dd,Rl),wt(Wn,Iu,Rl),wt(Wn,fd,Rl),wt(Wn,Ru,Rl),wt(Wn,dd,Iu),wt(Wn,Rl,Iu),wt(Wn,fd,Iu),wt(Wn,Iu,Iu),wt(Wn,su,Iu),wt(Wn,gf,sl),wt(Wn,dd,sl),wt(Wn,ol,sl),wt(Wn,Nc,sl),wt(Wn,Rl,sl),wt(Wn,Iu,sl),wt(Wn,ou,sl),wt(Wn,fd,sl),wt(Wn,Cc,sl),wt(Wn,Wa,sl),wt(Wn,Ru,sl),wt(Wn,su,sl),wt(Wn,ka,sl),wt(Wn,gf,Cc),wt(Wn,dd,Cc),wt(Wn,ol,Cc),wt(Wn,Rl,Cc),wt(Wn,Iu,Cc),wt(Wn,ou,Cc),wt(Wn,fd,Cc),wt(Wn,Wa,Cc),wt(Wn,Ru,Cc),wt(Wn,vu,Cc),wt(Wn,ka,Cc),wt(Wn,dd,Wa),wt(Wn,Rl,Wa),wt(Wn,Iu,Wa),wt(Wn,fd,Wa),wt(Wn,Cc,Wa),wt(Wn,Ru,Wa),wt(Wn,su,Wa),wt(Wn,gf,iu),wt(Wn,dd,iu),wt(Wn,ol,iu),wt(Wn,Rl,iu),wt(Wn,Iu,iu),wt(Wn,ou,iu),wt(Wn,fd,iu),wt(Wn,Wa,iu),wt(Wn,Ru,iu),wt(Wn,dd,su),wt(Wn,ol,su),wt(Wn,Nc,su),wt(Wn,Iu,su),wt(Wn,gf,vu),wt(Wn,dd,vu),wt(Wn,Nc,vu),wt(Wn,Rl,vu),wt(Wn,Iu,vu),wt(Wn,ou,vu),wt(Wn,fd,vu),wt(Wn,fd,ka),wt(Wn,Iu,ka),wt(Wn,Wa,gf),wt(Wn,Wa,Rl),wt(Wn,Wa,ol),wt(Wn,ou,gf),wt(Wn,ou,dd),wt(Wn,ou,Nc)}function r3n(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;switch(r.Tg("Brandes & Koepf node placement",1),e.a=t,e.c=DAn(t),o=l(j(t,(Be(),yte)),284),I=Ke(We(j(t,$I))),e.d=o==(V6(),Y$)&&!I||o==Gee,xkn(e,t),Ee=null,we=null,J=null,ne=null,G=(wc(4,Cy),new Ra(4)),l(j(t,yte),284).g){case 3:J=new NE(t,e.c.d,(zd(),ym),(Cf(),kg)),Ot(G.c,J);break;case 1:ne=new NE(t,e.c.d,(zd(),uf),(Cf(),kg)),Ot(G.c,ne);break;case 4:Ee=new NE(t,e.c.d,(zd(),ym),(Cf(),sw)),Ot(G.c,Ee);break;case 2:we=new NE(t,e.c.d,(zd(),uf),(Cf(),sw)),Ot(G.c,we);break;default:J=new NE(t,e.c.d,(zd(),ym),(Cf(),kg)),ne=new NE(t,e.c.d,uf,kg),Ee=new NE(t,e.c.d,ym,sw),we=new NE(t,e.c.d,uf,sw),Ot(G.c,Ee),Ot(G.c,we),Ot(G.c,J),Ot(G.c,ne)}for(s=new btt(t,e.c),p=new V(G);p.a<p.c.c.length;)u=l(q(p),188),gNn(s,u,e.b),d_n(u);for(N=new K1t(t,e.c),m=new V(G);m.a<m.c.c.length;)u=l(q(m),188),Bkn(N,u);if(r.$g())for(y=new V(G);y.a<y.c.c.length;)u=l(q(y),188),r.ah(u+" size is "+sJ(u));if(T=null,e.d&&(v=aNn(e,G,e.c.d),ivt(t,v,r)&&(T=v)),!T)for(y=new V(G);y.a<y.c.c.length;)u=l(q(y),188),ivt(t,u,r)&&(!T||sJ(T)>sJ(u))&&(T=u);for(!T&&(T=(at(0,G.c.length),l(G.c[0],188))),U=new V(t.b);U.a<U.c.c.length;)for(L=l(q(U),26),le=new V(L.a);le.a<le.c.c.length;)oe=l(q(le),9),oe.n.b=ue(T.p[oe.p])+ue(T.d[oe.p]);for(r.$g()&&(r.ah("Chosen node placement: "+T),r.ah("Blocks: "+f0t(T)),r.ah("Classes: "+Yvn(T,r)),r.ah("Marked edges: "+e.b)),f=new V(G);f.a<f.c.c.length;)u=l(q(f),188),u.g=null,u.b=null,u.a=null,u.d=null,u.j=null,u.i=null,u.p=null;dln(e.c),e.b.a.$b(),r.Ug()}function IEt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;if(t.k==(Ht(),gi)&&r.k==Xr)return u=l(He(l(wS(dp(lr(new yt(null,new vt(t.j,16)),new d9))),12).e,0),17).c,s=u.i,p=l(He(l(wS(dp(lr(new yt(null,new vt(t.j,16)),new f9))),12).g,0),17).d,f=p.i,o=t.c.p,s.c.p!=o&&f.c.p!=o?0:s==r||f==r?(sc(e,t,r),1):dD(e,s,r);if(t.k==Xr&&r.k==gi)return u=l(He(l(wS(dp(lr(new yt(null,new vt(r.j,16)),new d9))),12).e,0),17).c,s=u.i,p=l(He(l(wS(dp(lr(new yt(null,new vt(r.j,16)),new f9))),12).g,0),17).d,f=p.i,o=t.c.p,s.c.p!=o&&f.c.p!=o?0:s==t||f==t?(sc(e,r,t),-1):dD(e,t,s);if(t.k==gi&&r.k==gi){if(N=l(He(l(wS(dp(lr(new yt(null,new vt(t.j,16)),new d9))),12).e,0),17).c,I=l(He(l(wS(dp(lr(new yt(null,new vt(t.j,16)),new f9))),12).g,0),17).d,L=N.i,U=I.i,m=t.c.p,v=!1,T=!1,le=l(He(l(wS(dp(lr(new yt(null,new vt(r.j,16)),new d9))),12).e,0),17).c,Ee=l(He(l(wS(dp(lr(new yt(null,new vt(r.j,16)),new f9))),12).g,0),17).d,we=le.i,Ge=Ee.i,G=r.c.p,ne=!1,oe=!1,y=t,J=r,L.c.p==m?(v=!0,y=L):U.c.p==m&&(T=!0,y=U),we.c.p==G?(ne=!0,J=we):Ge.c.p==G&&(oe=!0,J=Ge),y==J)if(e.a){if(v&&ne)return Ct=LEt(new Ape(e.c,e.f,e.e,null,oe),N,le),Ct>0?(sc(e,r,t),1):(sc(e,t,r),-1);if(v&&oe)return sc(e,r,t),1;if(T&&ne)return sc(e,t,r),-1;if(T&&oe)return 0}else for(dt=new V(y.j);dt.a<dt.c.c.length;){if(lt=l(q(dt),12),N==lt)return sc(e,r,t),-1;if(le==lt)return sc(e,t,r),1}return dD(e,y,J)}else return 0}function i3n(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on;if(e.c.length==1)return f1t((at(0,e.c.length),l(e.c[0],121))),at(0,e.c.length),l(e.c[0],121);if(e.c.length<=0)return new n6;for(m=new V(e);m.a<m.c.c.length;){for(f=l(q(m),121),ne=0,L=sr,U=sr,N=Zi,I=Zi,J=An(f.b,0);J.b!=J.d.c;)G=l(Sn(J),41),ne+=l(j(G,(Ps(),PB)),15).a,L=b.Math.min(L,G.e.a),U=b.Math.min(U,G.e.b),N=b.Math.max(N,G.e.a+G.f.a),I=b.Math.max(I,G.e.b+G.f.b);Ae(f,(Ps(),PB),Re(ne)),Ae(f,(xr(),ux),new Le(L,U)),Ae(f,kL,new Le(N,I))}for(St(),_i(e,new sHe),Ee=new n6,qs(Ee,(at(0,e.c.length),l(e.c[0],105))),T=0,Ct=0,y=new V(e);y.a<y.c.c.length;)f=l(q(y),121),we=Ri(So(l(j(f,(xr(),kL)),8)),l(j(f,ux),8)),T=b.Math.max(T,we.a),Ct+=we.a*we.b;for(T=b.Math.max(T,b.Math.sqrt(Ct)*ue(ce(j(Ee,(Ps(),Y4t))))),Ge=ue(ce(j(Ee,rne))),Dt=0,on=0,v=0,t=Ge,p=new V(e);p.a<p.c.c.length;)f=l(q(p),121),we=Ri(So(l(j(f,(xr(),kL)),8)),l(j(f,ux),8)),Dt+we.a>T&&(Dt=0,on+=v+Ge,v=0),myt(Ee,f,Dt,on),t=b.Math.max(t,Dt+we.a),v=b.Math.max(v,we.b),Dt+=we.a+Ge;for(le=new hn,r=new hn,dt=new V(e);dt.a<dt.c.c.length;)for(lt=l(q(dt),121),o=Ke(We(j(lt,(_n(),FL)))),oe=lt.q?lt.q:kh,u=oe.vc().Jc();u.Ob();)s=l(u.Pb(),45),ba(le,s.jd())?be(l(s.jd(),149).Rg())!==be(s.kd())&&(o&&ba(r,s.jd())?(Qp(),""+l(s.jd(),149).Og()):(Yn(le,l(s.jd(),149),s.kd()),Ae(Ee,l(s.jd(),149),s.kd()),o&&Yn(r,l(s.jd(),149),s.kd()))):(Yn(le,l(s.jd(),149),s.kd()),Ae(Ee,l(s.jd(),149),s.kd()));return Fwt(Ee,new NG),f1t(Ee),Ee}function X7(e,t){switch(e.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new wat(e.b,e.a,t,e.c);case 1:return new L8(e.a,t,Ur(t.Ah(),e.c));case 43:return new rrt(e.a,t,Ur(t.Ah(),e.c));case 3:return new yi(e.a,t,Ur(t.Ah(),e.c));case 45:return new du(e.a,t,Ur(t.Ah(),e.c));case 41:return new pu(l(Sl(e.c),29),e.a,t,Ur(t.Ah(),e.c));case 50:return new Lft(l(Sl(e.c),29),e.a,t,Ur(t.Ah(),e.c));case 5:return new Kde(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 47:return new yit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 7:return new xe(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 49:return new ES(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 9:return new irt(e.a,t,Ur(t.Ah(),e.c));case 11:return new srt(e.a,t,Ur(t.Ah(),e.c));case 13:return new ude(e.a,t,Ur(t.Ah(),e.c));case 15:return new J8(e.a,t,Ur(t.Ah(),e.c));case 17:return new ort(e.a,t,Ur(t.Ah(),e.c));case 19:return new oE(e.a,t,Ur(t.Ah(),e.c));case 21:return new ade(e.a,t,Ur(t.Ah(),e.c));case 23:return new UO(e.a,t,Ur(t.Ah(),e.c));case 25:return new Sit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 27:return new Et(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 29:return new Eit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 31:return new vit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 33:return new Jde(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 35:return new Yde(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 37:return new AV(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 39:return new gP(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 40:return new ni(t,Ur(t.Ah(),e.c));default:throw K(new vs("Unknown feature style: "+e.e))}}function o3n(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn;for(p=new Sr,Ge=l(j(r,(Be(),kc)),87),G=0,o=new hi,bo(p,(!t.a&&(t.a=new xe(En,t,10,11)),t.a));p.b!=0;)T=l(p.b==0?null:(un(p.b!=0),Vc(p,p.a.a)),19),v=Br(T),G7(v)&&!Ke(We(ye(T,uB)))&&(Vn(T,(Ie(),Nr),Re(G++)),Gc(T,qy)&&pi(o,l(ye(T,qy),15))),ne=!Ke(We(ye(T,bm))),ne&&(I=(!T.a&&(T.a=new xe(En,T,10,11)),T.a).i!=0,U=W0n(T),L=be(ye(T,Vy))===be((fp(),Cg)),qn=!Gc(T,(_n(),UT))||nlt(In(ye(T,UT))),Ee=null,qn&&L&&(I||U)&&(Ee=Gyt(T),Ae(Ee,kc,Ge),gr(Ee,mL)&&eQe(new l1e(ue(ce(j(Ee,mL)))),Ee),l(ye(T,gm),185).gc()!=0&&(N=Ee,ei(new yt(null,(!T.c&&(T.c=new xe(zu,T,9,9)),new vt(T.c,16))),new uYe(N)),Iwt(T,Ee))),lt=r,dt=l(Ut(e.a,Br(T)),9),dt&&(lt=dt.e),le=Qvt(e,T,lt),Ee&&(le.e=Ee,Ee.e=le,bo(p,(!T.a&&(T.a=new xe(En,T,10,11)),T.a))));for(Ae(r,(Ie(),F1),Re(G)),Ae(r,lL,Re(o.a.gc())),G=0,Wr(p,t,p.c.b,p.c);p.b!=0;){for(f=l(p.b==0?null:(un(p.b!=0),Vc(p,p.a.a)),19),y=new en((!f.b&&(f.b=new xe(Cr,f,12,3)),f.b));y.e!=y.i.gc();)m=l(rn(y),74),iyt(m),G7(t)&&Vn(m,Nr,Re(G++)),Dt=Vo(l(ie((!m.b&&(m.b=new Et(pn,m,4,7)),m.b),0),83)),on=Vo(l(ie((!m.c&&(m.c=new Et(pn,m,5,8)),m.c),0),83)),!(Ke(We(ye(m,bm)))||Ke(We(ye(Dt,bm)))||Ke(We(ye(on,bm))))&&(J=I0(m)&&Ke(We(ye(Dt,Wy)))&&Ke(We(ye(m,pm))),we=f,J||ay(on,Dt)?we=Dt:ay(Dt,on)&&(we=on),lt=r,dt=l(Ut(e.a,we),9),dt&&(lt=dt.e),oe=B0e(e,m,we,lt),Ae(oe,oTe,oSn(e,m,t,r)));if(L=be(ye(f,Vy))===be((fp(),Cg)),L)for(u=new en((!f.a&&(f.a=new xe(En,f,10,11)),f.a));u.e!=u.i.gc();)s=l(rn(u),19),qn=!Gc(s,(_n(),UT))||nlt(In(ye(s,UT))),Ct=be(ye(s,Vy))===be(Cg),qn&&Ct&&Wr(p,s,p.c.b,p.c)}}function REt(e){var t,r,o,s,u,f,p,m;for(u=0,s=e.a.b,m=An(e.a,0);m.b!=m.d.c;){if(p=l(Sn(m),243),f=(u+1)/(s+1),!e.c&&!e.d)return;e.c&&!e.d?(e.g=!0,e.b==(vi(),is)?(o=e.c.e.b+e.c.f.b+e.e*(u+1),t=new Le(ue(ce(j(e.c,(xr(),sd))))+e.e,o),r=new Le(ue(ce(j(e.c,Id)))-e.e,o)):e.b==cs?(o=e.c.e.b+e.c.f.b+e.e*(u+1),t=new Le(ue(ce(j(e.c,(xr(),Id))))-e.e,o),r=new Le(ue(ce(j(e.c,sd)))+e.e,o)):e.b==il?(o=e.c.e.a+e.c.f.a+e.e*(u+1),t=new Le(o,ue(ce(j(e.c,(xr(),sd))))+e.e),r=new Le(o,ue(ce(j(e.c,Id)))-e.e)):(o=e.c.e.a+e.c.f.a+e.e*(u+1),t=new Le(o,ue(ce(j(e.c,(xr(),Id))))-e.e),r=new Le(o,ue(ce(j(e.c,sd)))+e.e))):e.c&&e.d?e.b==(vi(),is)?(o=e.d.e.b*f+(e.c.e.b+e.c.f.b)*(1-f),t=new Le(ue(ce(j(e.c,(xr(),sd))))+e.e,o),r=new Le(ue(ce(j(e.c,Id)))-e.e,o)):e.b==cs?(o=e.d.e.b*f+(e.c.e.b+e.c.f.b)*(1-f),t=new Le(ue(ce(j(e.c,(xr(),Id))))-e.e,o),r=new Le(ue(ce(j(e.c,sd)))+e.e,o)):e.b==il?(o=e.d.e.a*f+(e.c.e.a+e.c.f.a)*(1-f),t=new Le(o,ue(ce(j(e.c,(xr(),sd))))+e.e),r=new Le(o,ue(ce(j(e.c,Id)))-e.e)):(o=e.d.e.a*f+(e.c.e.a+e.c.f.a)*(1-f),t=new Le(o,ue(ce(j(e.c,(xr(),Id))))-e.e),r=new Le(o,ue(ce(j(e.c,sd)))+e.e)):(e.f=!0,e.b==(vi(),is)?(o=e.d.e.b-e.e*(u+1),t=new Le(ue(ce(j(e.d,(xr(),sd))))+e.e,o),r=new Le(ue(ce(j(e.d,Id)))-e.e,o)):e.b==cs?(o=e.d.e.b-e.e*(u+1),t=new Le(ue(ce(j(e.d,(xr(),Id))))-e.e,o),r=new Le(ue(ce(j(e.d,sd)))+e.e,o)):e.b==il?(o=e.d.e.a-e.e*(u+1),t=new Le(o,ue(ce(j(e.d,(xr(),sd))))+e.e),r=new Le(o,ue(ce(j(e.d,Id)))-e.e)):(o=e.d.e.a-e.e*(u+1),t=new Le(o,ue(ce(j(e.d,(xr(),Id))))-e.e),r=new Le(o,ue(ce(j(e.d,sd)))+e.e))),l(p.a,8).a=t.a,l(p.a,8).b=t.b,p.b.a=r.a,p.b.b=r.b,++u}}function s3n(e,t,r,o,s,u){var f,p,m,y,v,T,N,I,L,U,G,J;switch(t){case 71:p=o.q.getFullYear()-x1>=-1900?1:0,r>=4?zn(e,Z(X(Ye,1),Me,2,6,[YEt,JEt])[p]):zn(e,Z(X(Ye,1),Me,2,6,["BC","AD"])[p]);break;case 121:L1n(e,r,o);break;case 77:PTn(e,r,o);break;case 107:m=s.q.getHours(),m==0?bh(e,24,r):bh(e,m,r);break;case 83:ZEn(e,r,s);break;case 69:v=o.q.getDay(),r==5?zn(e,Z(X(Ye,1),Me,2,6,["S","M","T","W","T","F","S"])[v]):r==4?zn(e,Z(X(Ye,1),Me,2,6,[cX,lX,dX,fX,hX,pX,gX])[v]):zn(e,Z(X(Ye,1),Me,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[v]);break;case 97:s.q.getHours()>=12&&s.q.getHours()<24?zn(e,Z(X(Ye,1),Me,2,6,["AM","PM"])[1]):zn(e,Z(X(Ye,1),Me,2,6,["AM","PM"])[0]);break;case 104:T=s.q.getHours()%12,T==0?bh(e,12,r):bh(e,T,r);break;case 75:N=s.q.getHours()%12,bh(e,N,r);break;case 72:I=s.q.getHours(),bh(e,I,r);break;case 99:L=o.q.getDay(),r==5?zn(e,Z(X(Ye,1),Me,2,6,["S","M","T","W","T","F","S"])[L]):r==4?zn(e,Z(X(Ye,1),Me,2,6,[cX,lX,dX,fX,hX,pX,gX])[L]):r==3?zn(e,Z(X(Ye,1),Me,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[L]):bh(e,L,1);break;case 76:U=o.q.getMonth(),r==5?zn(e,Z(X(Ye,1),Me,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[U]):r==4?zn(e,Z(X(Ye,1),Me,2,6,[ZJ,QJ,eX,tX,uT,nX,rX,iX,oX,sX,aX,uX])[U]):r==3?zn(e,Z(X(Ye,1),Me,2,6,["Jan","Feb","Mar","Apr",uT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[U]):bh(e,U+1,r);break;case 81:G=o.q.getMonth()/3|0,r<4?zn(e,Z(X(Ye,1),Me,2,6,["Q1","Q2","Q3","Q4"])[G]):zn(e,Z(X(Ye,1),Me,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[G]);break;case 100:J=o.q.getDate(),bh(e,J,r);break;case 109:y=s.q.getMinutes(),bh(e,y,r);break;case 115:f=s.q.getSeconds(),bh(e,f,r);break;case 122:r<4?zn(e,u.c[0]):zn(e,u.c[1]);break;case 118:zn(e,u.b);break;case 90:r<3?zn(e,Zyn(u)):r==3?zn(e,nvn(u)):zn(e,svn(u.a));break;default:return!1}return!0}function B0e(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn;if(iyt(t),m=l(ie((!t.b&&(t.b=new Et(pn,t,4,7)),t.b),0),83),v=l(ie((!t.c&&(t.c=new Et(pn,t,5,8)),t.c),0),83),p=Vo(m),y=Vo(v),f=(!t.a&&(t.a=new xe(jr,t,6,6)),t.a).i==0?null:l(ie((!t.a&&(t.a=new xe(jr,t,6,6)),t.a),0),171),Ge=l(Ut(e.a,p),9),Dt=l(Ut(e.a,y),9),lt=null,on=null,se(m,196)&&(we=l(Ut(e.a,m),248),se(we,12)?lt=l(we,12):se(we,9)&&(Ge=l(we,9),lt=l(He(Ge.j,0),12))),se(v,196)&&(Ct=l(Ut(e.a,v),248),se(Ct,12)?on=l(Ct,12):se(Ct,9)&&(Dt=l(Ct,9),on=l(He(Dt.j,0),12))),!Ge||!Dt)throw K(new aS("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(U=new h0,qs(U,t),Ae(U,(Ie(),mr),t),Ae(U,(Be(),rs),null),I=l(j(o,_a),24),Ge==Dt&&I.Ec((Mo(),xI)),lt||(Ee=(Lo(),Fa),dt=null,f&&tE(l(j(Ge,Zr),103))&&(dt=new Le(f.j,f.k),Sct(dt,ey(t)),Yct(dt,r),ay(y,p)&&(Ee=Cu,br(dt,Ge.n))),lt=lvt(Ge,dt,Ee,o)),on||(Ee=(Lo(),Cu),qn=null,f&&tE(l(j(Dt,Zr),103))&&(qn=new Le(f.b,f.c),Sct(qn,ey(t)),Yct(qn,r)),on=lvt(Dt,qn,Ee,ji(Dt))),go(U,lt),Yi(U,on),(lt.e.c.length>1||lt.g.c.length>1||on.e.c.length>1||on.g.c.length>1)&&I.Ec((Mo(),kI)),N=new en((!t.n&&(t.n=new xe(Is,t,1,7)),t.n));N.e!=N.i.gc();)if(T=l(rn(N),158),!Ke(We(ye(T,bm)))&&T.a)switch(G=qK(T),je(U.b,G),l(j(G,Kf),281).g){case 1:case 2:I.Ec((Mo(),Xk));break;case 0:I.Ec((Mo(),Jk)),Ae(G,Kf,(Kd(),wx))}if(u=l(j(o,jI),302),J=l(j(o,mB),329),s=u==(aC(),oL)||J==(lC(),Lte),f&&(!f.a&&(f.a=new yi(Ic,f,5)),f.a).i!=0&&s){for(ne=Xwn(f),L=new Du,le=An(ne,0);le.b!=le.d.c;)oe=l(Sn(le),8),Gn(L,new Eo(oe));Ae(U,cTe,L)}return U}function a3n(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr;for(dt=0,Ct=0,Ge=new hn,Ee=l(Ju(Yw(Ia(new yt(null,new vt(e.b,16)),new qHe),new MHe)),15).a+1,lt=me(Rn,Xn,30,Ee,15,1),G=me(Rn,Xn,30,Ee,15,1),U=0;U<Ee;U++)lt[U]=0,G[U]=0;for(m=l(Au(Nhe(new yt(null,new vt(e.a,16))),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),v=m.Jc();v.Ob();)if(y=l(v.Pb(),65),on=l(j(y.b,(Ps(),Yf)),15).a,Gr=l(j(y.c,Yf),15).a,le=Gr-on,le>1)for(p=on+1;p<Gr;p++){if(T=p,we=l(Au(lr(new yt(null,new vt(e.b,16)),new GJe(T)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[nu]))),16),L=0,t==(vi(),is)||t==cs){for(we.gd(new XHe),L=0;L<we.gc()&&(J=(p-on)/(Gr-on),!(l(we.Xb(L),41).e.b>y.b.e.b*(1-J)+y.c.e.b*J));L++);if(we.gc()>0&&(qn=y.a.b==0?So(y.b.e):l(zl(y.a),8),oe=br(So(l(we.Xb(we.gc()-1),41).e),l(we.Xb(we.gc()-1),41).f),N=br(So(l(we.Xb(0),41).e),l(we.Xb(0),41).f),L>=we.gc()-1&&qn.b>oe.b&&y.c.e.b>oe.b||L<=0&&qn.b<N.a&&y.c.e.b<N.b))continue}else{for(we.gd(new ZHe),L=0;L<we.gc()&&(J=(p-on)/(Gr-on),!(l(we.Xb(L),41).e.a>y.b.e.a*(1-J)+y.c.e.a*J));L++);if(we.gc()>0&&(qn=y.a.b==0?So(y.b.e):l(zl(y.a),8),oe=br(So(l(we.Xb(we.gc()-1),41).e),l(we.Xb(we.gc()-1),41).f),N=br(So(l(we.Xb(0),41).e),l(we.Xb(0),41).f),L>=we.gc()-1&&qn.a>oe.a&&y.c.e.a>oe.a||L<=0&&qn.a<N.a&&y.c.e.a<N.a))continue}s=new to,u=new to,Gn(y.a,s),Gn(y.a,u),f=new OV(s,u,y),ne=Rf(fh(p,32),Gi(L,Po)),ba(Ge,by(ne))?(I=l(Ut(Ge,by(ne)),669),Gn(I.a,f),Zh(I.b)?Ub(I.a,new eze):Ub(I.a,new tze),REt(I)):(I=new x1t(L==0?null:l(we.Xb(L-1),41),L==we.gc()?null:l(we.Xb(L),41),f,e),Yn(Ge,by(ne),I)),t==is||t==cs?(I.f&&I.d.e.b<=ue(ce(j(e,(xr(),Qte))))&&++dt,I.g&&I.c.e.b+I.c.f.b>=ue(ce(j(e,(xr(),L_e))))&&++Ct):(I.f&&I.d.e.a<=ue(ce(j(e,(xr(),Zte))))&&++dt,I.g&&I.c.e.a+I.c.f.a>=ue(ce(j(e,(xr(),D_e))))&&++Ct)}else le==0?nme(y):le<0&&(++lt[on],++G[Gr],Dt=t3n(y,t,e,new ko(Re(dt),Re(Ct)),r,o,new ko(Re(G[Gr]),Re(lt[on]))),dt=l(Dt.a,15).a,Ct=l(Dt.b,15).a)}function u3n(e){e.gb||(e.gb=!0,e.b=Ms(e,0),Jr(e.b,18),Lr(e.b,19),e.a=Ms(e,1),Jr(e.a,1),Lr(e.a,2),Lr(e.a,3),Lr(e.a,4),Lr(e.a,5),e.o=Ms(e,2),Jr(e.o,8),Jr(e.o,9),Lr(e.o,10),Lr(e.o,11),Lr(e.o,12),Lr(e.o,13),Lr(e.o,14),Lr(e.o,15),Lr(e.o,16),Lr(e.o,17),Lr(e.o,18),Lr(e.o,19),Lr(e.o,20),Lr(e.o,21),Lr(e.o,22),Lr(e.o,23),ts(e.o),ts(e.o),ts(e.o),ts(e.o),ts(e.o),ts(e.o),ts(e.o),ts(e.o),ts(e.o),ts(e.o),e.p=Ms(e,3),Jr(e.p,2),Jr(e.p,3),Jr(e.p,4),Jr(e.p,5),Lr(e.p,6),Lr(e.p,7),ts(e.p),ts(e.p),e.q=Ms(e,4),Jr(e.q,8),e.v=Ms(e,5),Lr(e.v,9),ts(e.v),ts(e.v),ts(e.v),e.w=Ms(e,6),Jr(e.w,2),Jr(e.w,3),Jr(e.w,4),Lr(e.w,5),e.B=Ms(e,7),Lr(e.B,1),ts(e.B),ts(e.B),ts(e.B),e.Q=Ms(e,8),Lr(e.Q,0),ts(e.Q),e.R=Ms(e,9),Jr(e.R,1),e.S=Ms(e,10),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),ts(e.S),e.T=Ms(e,11),Lr(e.T,10),Lr(e.T,11),Lr(e.T,12),Lr(e.T,13),Lr(e.T,14),ts(e.T),ts(e.T),e.U=Ms(e,12),Jr(e.U,2),Jr(e.U,3),Lr(e.U,4),Lr(e.U,5),Lr(e.U,6),Lr(e.U,7),ts(e.U),e.V=Ms(e,13),Lr(e.V,10),e.W=Ms(e,14),Jr(e.W,18),Jr(e.W,19),Jr(e.W,20),Lr(e.W,21),Lr(e.W,22),Lr(e.W,23),e.bb=Ms(e,15),Jr(e.bb,10),Jr(e.bb,11),Jr(e.bb,12),Jr(e.bb,13),Jr(e.bb,14),Jr(e.bb,15),Jr(e.bb,16),Lr(e.bb,17),ts(e.bb),ts(e.bb),e.eb=Ms(e,16),Jr(e.eb,2),Jr(e.eb,3),Jr(e.eb,4),Jr(e.eb,5),Jr(e.eb,6),Jr(e.eb,7),Lr(e.eb,8),Lr(e.eb,9),e.ab=Ms(e,17),Jr(e.ab,0),Jr(e.ab,1),e.H=Ms(e,18),Lr(e.H,0),Lr(e.H,1),Lr(e.H,2),Lr(e.H,3),Lr(e.H,4),Lr(e.H,5),ts(e.H),e.db=Ms(e,19),Lr(e.db,2),e.c=rr(e,20),e.d=rr(e,21),e.e=rr(e,22),e.f=rr(e,23),e.i=rr(e,24),e.g=rr(e,25),e.j=rr(e,26),e.k=rr(e,27),e.n=rr(e,28),e.r=rr(e,29),e.s=rr(e,30),e.t=rr(e,31),e.u=rr(e,32),e.fb=rr(e,33),e.A=rr(e,34),e.C=rr(e,35),e.D=rr(e,36),e.F=rr(e,37),e.G=rr(e,38),e.I=rr(e,39),e.J=rr(e,40),e.L=rr(e,41),e.M=rr(e,42),e.N=rr(e,43),e.O=rr(e,44),e.P=rr(e,45),e.X=rr(e,46),e.Y=rr(e,47),e.Z=rr(e,48),e.$=rr(e,49),e._=rr(e,50),e.cb=rr(e,51),e.K=rr(e,52))}function OEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe;if(ovt(e,t),(!t.e&&(t.e=new Et(Cr,t,7,4)),t.e).i!=0){for(p=new Pe,I=0;I<(!t.e&&(t.e=new Et(Cr,t,7,4)),t.e).i;I++)s=l(ie(s_(l(ie((!t.e&&(t.e=new Et(Cr,t,7,4)),t.e),I),74)),0),19),OEt(e,s),Ot(p.c,s);for(m=p.c.length,L=0;L<p.c.length-1;L++)Yvt((at(0,p.c.length),l(p.c[0],19)),(at(L,p.c.length),l(p.c[L],19)),(at(L+1,p.c.length),l(p.c[L+1],19)));for(G=((at(0,p.c.length),l(p.c[0],19)).mh()+(at(0,p.c.length),l(p.c[0],19)).lh()/2+l(He(p,p.c.length-1),19).mh()+l(He(p,p.c.length-1),19).lh()/2-t.g)/2-t.i,f=new V(p);f.a<f.c.c.length;)s=l(q(f),19),ya(s,s.i-G),Vn(s,(wh(),uw),l(ye(s,vm),107).a);for(N=0;N<m-1&&(at(N,p.c.length),l(p.c[N],19)).mh()+(at(N,p.c.length),l(p.c[N],19)).lh()+l((at(N,p.c.length),l(p.c[N],19)).mf((_n(),xp)),125).c-t.g/2<=0;)++N;for(y=ue(ce((at(N,p.c.length),l(p.c[N],19)).mf((wh(),uw)))),o=0;o<m;o++)y<ue(ce((at(o,p.c.length),l(p.c[o],19)).mf(uw)))?(at(o,p.c.length),l(p.c[o],19)).of(uw,y):y=ue(ce((at(o,p.c.length),l(p.c[o],19)).mf(uw)));for(N=m-1;N>0&&(at(N,p.c.length),l(p.c[N],19)).mh()-l((at(N,p.c.length),l(p.c[N],19)).mf((_n(),xp)),125).b-t.g/2>=0;)--N;if(N<m)for(r=N;r>=0;r--)y<ue(ce((at(r,p.c.length),l(p.c[r],19)).mf(uw)))?(at(r,p.c.length),l(p.c[r],19)).of(uw,y):y=ue(ce((at(r,p.c.length),l(p.c[r],19)).mf(uw)));for(U=l((at(0,p.c.length),l(p.c[0],19)).mf(vm),107),v=l(ye(t,vm),107),ne=(at(0,p.c.length),l(p.c[0],19)).mh()+U.c-v.c,J=new Zu(0,U.a,U.b),YR(v.b.b.b,new Zu(ne,ue(ce((at(0,p.c.length),l(p.c[0],19)).mf(uw))),J)),T=l(ye(t,iv),107),oe=l((at(m-1,p.c.length),l(p.c[m-1],19)).mf(iv),107),ne=(at(m-1,p.c.length),l(p.c[m-1],19)).mh()+oe.c-T.c,J=new Zu(0,oe.a,oe.b),YR(T.b.b.b,new Zu(ne,ue(ce((at(m-1,p.c.length),l(p.c[m-1],19)).mf(uw))),J)),u=new V(p);u.a<u.c.c.length;)s=l(q(u),19),Vn(t,Jf,b.Math.max(ue(ce(ye(t,Jf))),ue(ce(ye(s,Jf))))),Vn(t,fx,b.Math.min(ue(ce(ye(t,fx))),s.i+ue(ce(ye(s,fx))))),Vn(t,dx,b.Math.max(ue(ce(ye(t,dx))),s.i+ue(ce(ye(s,dx)))));Vn(t,zne,ce(ye(t,Jf)))}}function DEt(e,t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt;if(ovt(e,t),(!t.e&&(t.e=new Et(Cr,t,7,4)),t.e).i!=0){for(f=new Pe,v=0;v<(!t.e&&(t.e=new Et(Cr,t,7,4)),t.e).i;v++)o=l(ie(s_(l(ie((!t.e&&(t.e=new Et(Cr,t,7,4)),t.e),v),74)),0),19),DEt(e,o),Ot(f.c,o);for(zAn(e,f),T=0;T<f.c.length-1;T++)Yvt((at(0,f.c.length),l(f.c[0],19)),(at(T,f.c.length),l(f.c[T],19)),(at(T+1,f.c.length),l(f.c[T+1],19)));for(Ee=0,G=0,J=0;Ee<f.c.length&&(at(Ee,f.c.length),l(f.c[Ee],19)).nh()>=G;)(at(Ee,f.c.length),l(f.c[Ee],19)).nh()>G&&(J=Ee,G=(at(Ee,f.c.length),l(f.c[Ee],19)).nh()),Ee+=1;if(ne=0,Ee>0&&(ne=((at(J,f.c.length),l(f.c[J],19)).mh()+(at(Ee-1,f.c.length),l(f.c[Ee-1],19)).mh()+(at(Ee-1,f.c.length),l(f.c[Ee-1],19)).lh())/2-t.i-t.g/2),!Ke(We(ye(t,(XS(),Kne))))){if(r=((at(0,f.c.length),l(f.c[0],19)).mh()+l(He(f,f.c.length-1),19).mh()+l(He(f,f.c.length-1),19).lh()-t.g)/2-t.i,r<ne){for(y=0;y<J;y++)for(N=y+1;N<J+1;N++)for(lt=l((at(y,f.c.length),l(f.c[y],19)).mf((wh(),iv)),107),dt=(at(y,f.c.length),l(f.c[y],19)).mh()+lt.c,we=(at(N,f.c.length),l(f.c[N],19)).mh()+(at(N,f.c.length),l(f.c[N],19)).lh()/2;lt&<.a<G;)oe=we-t.g/2+(we-dt)*(t.j+t.f-G)/(G-lt.a),r=b.Math.max(r,oe),lt=lt.b,lt&&(dt+=lt.c);ne=r}if(r>ne){for(y=Ee;y<f.c.length;y++)for(N=Ee-1;N<y;N++)for(L=l((at(y,f.c.length),l(f.c[y],19)).mf((wh(),vm)),107),U=(at(y,f.c.length),l(f.c[y],19)).mh()+L.c,we=(at(N,f.c.length),l(f.c[N],19)).mh()+(at(N,f.c.length),l(f.c[N],19)).lh()/2;L&&L.a<G;)oe=we-t.g/2+(we-U)*(t.j+t.f-G)/(G-L.a),r=b.Math.min(r,oe),L=L.b,L&&(U+=L.c);ne=r}}for(u=new V(f);u.a<u.c.c.length;)o=l(q(u),19),ya(o,o.i-ne);for(p=l(ye(t,(wh(),vm)),107),I=l((at(0,f.c.length),l(f.c[0],19)).mf(vm),107),le=(at(0,f.c.length),l(f.c[0],19)).mh()+I.c-p.c,YR(p.b.b.b,new Zu(le,I.a,I.b)),m=l(ye(t,iv),107),Ge=l(l(He(f,f.c.length-1),19).mf(iv),107),le=l(He(f,f.c.length-1),19).mh()+Ge.c-m.c,YR(m.b.b.b,new Zu(le,Ge.a,Ge.b)),s=new V(f);s.a<s.c.c.length;)o=l(q(s),19),Vn(t,Jf,b.Math.max(ue(ce(ye(t,Jf))),ue(ce(ye(o,Jf))))),Vn(t,fx,b.Math.min(ue(ce(ye(t,fx))),o.i+ue(ce(ye(o,fx))))),Vn(t,dx,b.Math.max(ue(ce(ye(t,dx))),o.i+ue(ce(ye(o,dx)))));Vn(t,zne,ce(ye(t,Jf)))}}function c3n(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L;for(T=An(e.b,0);T.b!=T.d.c;)if(v=l(Sn(T),41),!mt(v.c,RF))for(u=l(Au(new yt(null,new vt(bvn(v,e),16)),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),t==(vi(),is)||t==cs?u.gd(new YHe):u.gd(new JHe),L=u.gc(),s=0;s<L;s++)f=L==1?.5:(1+s)/(L+1),t==is?(y=ue(ce(j(v,(xr(),sd)))),v.e.a+v.f.a+o<y?vo(l(u.Xb(s),65).a,new Le(y+r,v.e.b+v.f.b*f)):l(u.Xb(s),65).a.b>0&&(p=l(zl(l(u.Xb(s),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(s),65).a),8).b,I=v.e.b+v.f.b/2,o>0&&b.Math.abs(m-I)/(b.Math.abs(p-N)/40)>50&&(I>m?vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a+o/5.3,v.e.b+v.f.b*f-o/2)):vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a+o/5.3,v.e.b+v.f.b*f+o/2)))),vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a,v.e.b+v.f.b*f))):t==cs?(y=ue(ce(j(v,(xr(),Id)))),v.e.a-o>y?vo(l(u.Xb(s),65).a,new Le(y-r,v.e.b+v.f.b*f)):l(u.Xb(s),65).a.b>0&&(p=l(zl(l(u.Xb(s),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(s),65).a),8).b,I=v.e.b+v.f.b/2,o>0&&b.Math.abs(m-I)/(b.Math.abs(p-N)/40)>50&&(I>m?vo(l(u.Xb(s),65).a,new Le(v.e.a-o/5.3,v.e.b+v.f.b*f-o/2)):vo(l(u.Xb(s),65).a,new Le(v.e.a-o/5.3,v.e.b+v.f.b*f+o/2)))),vo(l(u.Xb(s),65).a,new Le(v.e.a,v.e.b+v.f.b*f))):t==il?(y=ue(ce(j(v,(xr(),sd)))),v.e.b+v.f.b+o<y?vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a*f,y+r)):l(u.Xb(s),65).a.b>0&&(p=l(zl(l(u.Xb(s),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(s),65).a),8).b,I=v.e.b+v.f.b/2,o>0&&b.Math.abs(p-N)/(b.Math.abs(m-I)/40)>50&&(N>p?vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a*f-o/2,v.e.b+o/5.3+v.f.b)):vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a*f+o/2,v.e.b+o/5.3+v.f.b)))),vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a*f,v.e.b+v.f.b))):(y=ue(ce(j(v,(xr(),Id)))),Kht(l(u.Xb(s),65),e)?vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a*f,l(zl(l(u.Xb(s),65).a),8).b)):v.e.b-o>y?vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a*f,y-r)):l(u.Xb(s),65).a.b>0&&(p=l(zl(l(u.Xb(s),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(s),65).a),8).b,I=v.e.b+v.f.b/2,o>0&&b.Math.abs(p-N)/(b.Math.abs(m-I)/40)>50&&(N>p?vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a*f-o/2,v.e.b-o/5.3)):vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a*f+o/2,v.e.b-o/5.3)))),vo(l(u.Xb(s),65).a,new Le(v.e.a+v.f.a*f,v.e.b)))}function LEt(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we;if(f=t,N=r,ba(e.a,f)){if(bl(l(Ut(e.a,f),47),N))return 1}else Yn(e.a,f,new hi);if(ba(e.a,N)){if(bl(l(Ut(e.a,N),47),f))return-1}else Yn(e.a,N,new hi);if(ba(e.e,f)){if(bl(l(Ut(e.e,f),47),N))return-1}else Yn(e.e,f,new hi);if(ba(e.e,N)){if(bl(l(Ut(e.a,N),47),f))return 1}else Yn(e.e,N,new hi);if(f.j!=N.j)return Ee=Nen(f.j,N.j),Ee>0?Zc(e,f,N,1):Zc(e,N,f,1),Ee;if(we=1,f.e.c.length!=0&&N.e.c.length!=0){if((f.j==(Ue(),Wt)&&N.j==Wt||f.j==Vt&&N.j==Vt||f.j==dn&&N.j==dn)&&(we=-we),v=l(He(f.e,0),17).c,G=l(He(N.e,0),17).c,m=v.i,L=G.i,m==L)for(oe=new V(m.j);oe.a<oe.c.c.length;){if(ne=l(q(oe),12),v==ne)return Zc(e,N,f,we),-we;if(G==ne)return Zc(e,f,N,we),we}if(v.i.k==(Ht(),gi)&&G.i.k==gi&&m.c.p==L.c.p&&m.c.p==f.i.c.p&&(le=m.c,s=$pt(le,m,L),s!=0))return f.j==Zt&&N.j==Zt&&(we=-we),s>0?(Zc(e,f,N,we),we):(Zc(e,N,f,we),-we);if(o=$pt(l(Au(ZV(e.d),Pu(new Jo,new as,new xi,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),22),m,L),o!=0)return o>0?(Zc(e,f,N,we),we):(Zc(e,N,f,we),-we);if(e.c&&(Ee=g1t(e,f,N),Ee!=0))return Ee>0?(Zc(e,f,N,we),we):(Zc(e,N,f,we),-we)}return f.g.c.length!=0&&N.g.c.length!=0?((f.j==(Ue(),Wt)&&N.j==Wt||f.j==dn&&N.j==dn)&&(we=-we),T=l(j(f,(Ie(),ete)),9),J=l(j(N,ete),9),e.f==(pp(),jte)&&T&&J&&gr(T,Nr)&&gr(J,Nr)?(p=O0(T,J,e.b,l(j(e.b,F1),15).a),I=O0(J,T,e.b,l(j(e.b,F1),15).a),p>I?(Zc(e,f,N,we),we):(Zc(e,N,f,we),-we)):e.c&&(Ee=g1t(e,f,N),Ee!=0)?Ee>0?(Zc(e,f,N,we),we):(Zc(e,N,f,we),-we):(y=0,U=0,gr(l(He(f.g,0),17),Nr)&&(y=O0(l(He(f.g,0),248),l(He(N.g,0),248),e.b,f.g.c.length+f.e.c.length)),gr(l(He(N.g,0),17),Nr)&&(U=O0(l(He(N.g,0),248),l(He(f.g,0),248),e.b,N.g.c.length+N.e.c.length)),T&&T==J||e.g&&(e.g._b(T)&&(y=l(e.g.xc(T),15).a),e.g._b(J)&&(U=l(e.g.xc(J),15).a)),y>U?(Zc(e,f,N,we),we):(Zc(e,N,f,we),-we))):f.e.c.length!=0&&N.g.c.length!=0?(Zc(e,f,N,we),1):f.g.c.length!=0&&N.e.c.length!=0?(Zc(e,N,f,we),-1):gr(f,(Ie(),Nr))&&gr(N,Nr)?(u=f.i.j.c.length,p=O0(f,N,e.b,u),I=O0(N,f,e.b,u),(f.j==(Ue(),Wt)&&N.j==Wt||f.j==dn&&N.j==dn)&&(we=-we),p>I?(Zc(e,f,N,we),we):(Zc(e,N,f,we),-we)):(Zc(e,N,f,we),-we)}function Ie(){Ie=Y;var e,t;mr=new cr(gwe),oTe=new cr("coordinateOrigin"),nte=new cr("processors"),iTe=new Pr("compoundNode",(Lt(),!1)),dL=new Pr("insideConnections",!1),cTe=new cr("originalBendpoints"),lTe=new cr("originalDummyNodePosition"),dTe=new cr("originalLabelEdge"),CI=new cr("representedLabels"),NI=new cr("endLabels"),NT=new cr("endLabel.origin"),IT=new Pr("labelSide",(vc(),GL)),QE=new Pr("maxEdgeThickness",0),Tg=new Pr("reversed",!1),RT=new cr(D2t),Cd=new Pr("longEdgeSource",null),Nl=new Pr("longEdgeTarget",null),Gy=new Pr("longEdgeHasLabelDummies",!1),fL=new Pr("longEdgeBeforeLabelDummy",!1),tB=new Pr("edgeConstraint",(Gb(),Fee)),ew=new cr("inLayerLayoutUnit"),dm=new Pr("inLayerConstraint",(up(),cL)),CT=new Pr("inLayerSuccessorConstraint",new Pe),uTe=new Pr("inLayerSuccessorConstraintBetweenNonDummies",!1),Nu=new cr("portDummy"),eB=new Pr("crossingHint",Re(0)),_a=new Pr("graphProperties",(t=l(md(qee),10),new Hc(t,l(Gl(t,t.length),10),0))),Us=new Pr("externalPortSide",(Ue(),Cs)),aTe=new Pr("externalPortSize",new to),Xee=new cr("externalPortReplacedDummies"),nB=new cr("externalPortReplacedDummy"),Tp=new Pr("externalPortConnections",(e=l(md(Co),10),new Hc(e,l(Gl(e,e.length),10),0))),tw=new Pr(N2t,0),rTe=new cr("barycenterAssociates"),DT=new cr("TopSideComments"),kT=new cr("BottomSideComments"),Q$=new cr("CommentConnectionPort"),Qee=new Pr("inputCollect",!1),tte=new Pr("outputCollect",!1),xT=new Pr("cyclic",!1),sTe=new cr("crossHierarchyMap"),ite=new cr("targetOffset"),new Pr("splineLabelSize",new to),t2=new cr("spacings"),rB=new Pr("partitionConstraint",!1),Q0=new cr("breakingPoint.info"),pTe=new cr("splines.survivingEdge"),fm=new cr("splines.route.start"),n2=new cr("splines.edgeChain"),hTe=new cr("originalPortConstraints"),nw=new cr("selfLoopHolder"),Qk=new cr("splines.nsPortY"),Nr=new cr("modelOrder"),F1=new cr("modelOrder.maximum"),lL=new cr("modelOrderGroups.cb.number"),ete=new cr("longEdgeTargetNode"),j1=new Pr(oSt,!1),e2=new Pr(oSt,!1),Zee=new cr("layerConstraints.hiddenNodes"),fTe=new cr("layerConstraints.opposidePort"),rte=new cr("targetNode.modelOrder"),OT=new Pr("tarjan.lowlink",Re(sr)),II=new Pr("tarjan.id",Re(-1)),iB=new Pr("tarjan.onstack",!1),LNt=new Pr("partOfCycle",!1),r2=new cr("medianHeuristic.weight")}function _n(){_n=Y;var e,t;UT=new cr(eTt),cv=new cr(tTt),$xe=(mh(),rre),E6t=new ht(_ye,$xe),px=new ht(bk,null),S6t=new cr(Vve),Uxe=(Jb(),Ar(sre,Z(X(are,1),Ce,300,0,[ore]))),jL=new ht(xF,Uxe),FL=new ht($D,(Lt(),!1)),Hxe=(vi(),hf),Em=new ht(vZ,Hxe),qxe=(hp(),yre),Gxe=new ht(FD,qxe),k6t=new ht(Gve,!1),Wxe=(fp(),aU),h2=new ht(kF,Wxe),iNe=new Ab(12),df=new ht($0,iNe),b4=new ht(mk,!1),lre=new ht(CF,!1),m4=new ht(wk,!1),cNe=(qi(),W1),gx=new ht(uF,cNe),HT=new cr(NF),BL=new cr(xD),mre=new cr(aF),wre=new cr(GC),Jxe=new Du,p2=new ht(Pye,Jxe),A6t=new ht(Bye,!1),x6t=new ht(Uye,!1),new ht(nTt,0),Xxe=new MN,xp=new ht(TZ,Xxe),nU=new ht(Tye,!1),D6t=new ht(rTt,1),sv=new cr(iTt),ov=new cr(oTt),mx=new ht(CD,!1),new ht(sTt,!0),Re(0),new ht(aTt,Re(100)),new ht(uTt,!1),Re(0),new ht(cTt,Re(4e3)),Re(0),new ht(lTt,Re(400)),new ht(dTt,!1),new ht(fTt,!1),new ht(hTt,!0),new ht(pTt,!1),Bxe=(Vj(),_re),T6t=new ht(qve,Bxe),Yxe=(z3(),WL),C6t=new ht(gTt,Yxe),Kxe=(R_(),UL),N6t=new ht(bTt,Kxe),L6t=new ht(dye,10),M6t=new ht(fye,10),P6t=new ht(hye,20),j6t=new ht(pye,10),hNe=new ht(RX,2),pNe=new ht(yZ,10),gNe=new ht(gye,0),rU=new ht(wye,5),bNe=new ht(bye,1),mNe=new ht(mye,1),Od=new ht(F0,20),F6t=new ht(yye,10),vNe=new ht(vye,10),zT=new cr(Eye),yNe=new Int,wNe=new ht(zye,yNe),R6t=new cr(SZ),oNe=!1,I6t=new ht(EZ,oNe),Qxe=new Ab(5),Zxe=new ht(Nye,Qxe),eNe=(Sy(),t=l(md(Bo),10),new Hc(t,l(Gl(t,t.length),10),0)),g2=new ht(vk,eNe),aNe=(vE(),V1),sNe=new ht(Rye,aNe),fre=new cr(Oye),hre=new cr(Dye),pre=new cr(Lye),dre=new cr(Mye),tNe=(e=l(md(_4),10),new Hc(e,l(Gl(e,e.length),10),0)),Sm=new ht(ME,tNe),rNe=ct((Bu(),Sx)),G1=new ht(pT,rNe),nNe=new Le(0,0),b2=new ht(gT,nNe),av=new ht(yk,!1),zxe=(Kd(),wx),ure=new ht(Fye,zxe),tU=new ht(ND,!1),Re(1),new ht(mTt,null),uNe=new cr(Hye),gre=new cr($ye),fNe=(Ue(),Cs),m2=new ht(Aye,fNe),Hu=new cr(Sye),lNe=(ku(),ct(K1)),uv=new ht(Ek,lNe),bre=new ht(Cye,!1),dNe=new ht(Iye,!0),Re(1),z6t=new ht(KZ,Re(3)),Re(1),q6t=new ht(Wve,Re(4)),iU=new ht(ID,1),oU=new ht(YZ,null),lv=new ht(RD,150),bx=new ht(OD,1.414),GT=new ht(B0,null),$6t=new ht(Kve,1),$L=new ht(kye,!1),cre=new ht(xye,!1),_6t=new ht(jye,1),Vxe=(E7(),Ere),new ht(wTt,Vxe),O6t=!0,G6t=(zP(),Are),U6t=(GS(),hv),H6t=hv,B6t=hv}function Xi(){Xi=Y,eSe=new bi("DIRECTION_PREPROCESSOR",0),X2e=new bi("COMMENT_PREPROCESSOR",1),VE=new bi("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),gee=new bi("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),ySe=new bi("PARTITION_PREPROCESSOR",4),x$=new bi("LABEL_DUMMY_INSERTER",5),j$=new bi("SELF_LOOP_PREPROCESSOR",6),By=new bi("LAYER_CONSTRAINT_PREPROCESSOR",7),mSe=new bi("PARTITION_MIDPROCESSOR",8),uSe=new bi("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),gSe=new bi("NODE_PROMOTION",10),$y=new bi("LAYER_CONSTRAINT_POSTPROCESSOR",11),wSe=new bi("PARTITION_POSTPROCESSOR",12),oSe=new bi("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),vSe=new bi("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),q2e=new bi("BREAKING_POINT_INSERTER",15),R$=new bi("LONG_EDGE_SPLITTER",16),bee=new bi("PORT_SIDE_PROCESSOR",17),_$=new bi("INVERTED_PORT_PROCESSOR",18),L$=new bi("PORT_LIST_SORTER",19),SSe=new bi("SORT_BY_INPUT_ORDER_OF_MODEL",20),D$=new bi("NORTH_SOUTH_PORT_PREPROCESSOR",21),V2e=new bi("BREAKING_POINT_PROCESSOR",22),bSe=new bi(X2t,23),TSe=new bi(Z2t,24),M$=new bi("SELF_LOOP_PORT_RESTORER",25),G2e=new bi("ALTERNATING_LAYER_UNZIPPER",26),ESe=new bi("SINGLE_EDGE_GRAPH_WRAPPER",27),k$=new bi("IN_LAYER_CONSTRAINT_PROCESSOR",28),nSe=new bi("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",29),hSe=new bi("LABEL_AND_NODE_SIZE_PROCESSOR",30),fSe=new bi("INNERMOST_NODE_MARGIN_CALCULATOR",31),F$=new bi("SELF_LOOP_ROUTER",32),Y2e=new bi("COMMENT_NODE_MARGIN_CALCULATOR",33),A$=new bi("END_LABEL_PREPROCESSOR",34),C$=new bi("LABEL_DUMMY_SWITCHER",35),K2e=new bi("CENTER_LABEL_MANAGEMENT_PROCESSOR",36),zk=new bi("LABEL_SIDE_SELECTOR",37),lSe=new bi("HYPEREDGE_DUMMY_MERGER",38),sSe=new bi("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",39),pSe=new bi("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",40),SI=new bi("HIERARCHICAL_PORT_POSITION_PROCESSOR",41),Z2e=new bi("CONSTRAINTS_POSTPROCESSOR",42),J2e=new bi("COMMENT_POSTPROCESSOR",43),dSe=new bi("HYPERNODE_PROCESSOR",44),aSe=new bi("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",45),I$=new bi("LONG_EDGE_JOINER",46),P$=new bi("SELF_LOOP_POSTPROCESSOR",47),W2e=new bi("BREAKING_POINT_REMOVER",48),O$=new bi("NORTH_SOUTH_PORT_POSTPROCESSOR",49),cSe=new bi("HORIZONTAL_COMPACTOR",50),N$=new bi("LABEL_DUMMY_REMOVER",51),rSe=new bi("FINAL_SPLINE_BENDPOINTS_CALCULATOR",52),tSe=new bi("END_LABEL_SORTER",53),AT=new bi("REVERSED_EDGE_RESTORER",54),T$=new bi("END_LABEL_POSTPROCESSOR",55),iSe=new bi("HIERARCHICAL_NODE_RESIZER",56),Q2e=new bi("DIRECTION_POSTPROCESSOR",57)}function l3n(e,t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr,Ou,os,Rc,T2,Pg,hd,Rp,ul,XT,F4,Op,Md,jg,km,xm,ZT,Nm,Cm,Dp,Ev,Y3e,pw,$4,Hre,QT,B4,Sv,U4,zre,LLt;for(Y3e=0,qn=t,os=0,Pg=qn.length;os<Pg;++os)for(Dt=qn[os],jg=new V(Dt.j);jg.a<jg.c.c.length;){for(Md=l(q(jg),12),xm=0,p=new V(Md.g);p.a<p.c.c.length;)f=l(q(p),17),Dt.c!=f.d.i.c&&++xm;xm>0&&(e.a[Md.p]=Y3e++)}for(B4=0,Gr=r,Rc=0,hd=Gr.length;Rc<hd;++Rc){for(Dt=Gr[Rc],Rp=0,jg=new V(Dt.j);jg.a<jg.c.c.length&&(Md=l(q(jg),12),Md.j==(Ue(),Vt));)for(p=new V(Md.e);p.a<p.c.c.length;)if(f=l(q(p),17),Dt.c!=f.c.i.c){++Rp;break}for(XT=0,ZT=new Ji(Dt.j,Dt.j.c.length);ZT.b>0;){for(Md=(un(ZT.b>0),l(ZT.a.Xb(ZT.c=--ZT.b),12)),xm=0,p=new V(Md.e);p.a<p.c.c.length;)f=l(q(p),17),Dt.c!=f.c.i.c&&++xm;xm>0&&(Md.j==(Ue(),Vt)?(e.a[Md.p]=B4,++B4):(e.a[Md.p]=B4+Rp+XT,++XT))}B4+=XT}for(km=new hn,L=new uh,on=t,Ou=0,T2=on.length;Ou<T2;++Ou)for(Dt=on[Ou],Hre=new V(Dt.j);Hre.a<Hre.c.c.length;)for($4=l(q(Hre),12),p=new V($4.g);p.a<p.c.c.length;)if(f=l(q(p),17),U4=f.d,Dt.c!=U4.i.c)if(pw=l(Es(Zo(km.f,$4)),470),Sv=l(Es(Zo(km.f,U4)),470),!pw&&!Sv)I=new pit,L.a.yc(I,L),je(I.a,f),je(I.d,$4),eu(km.f,$4,I),je(I.d,U4),eu(km.f,U4,I);else if(!pw)je(Sv.a,f),je(Sv.d,$4),eu(km.f,$4,Sv);else if(!Sv)je(pw.a,f),je(pw.d,U4),eu(km.f,U4,pw);else if(pw==Sv)je(pw.a,f);else{for(je(pw.a,f),Op=new V(Sv.d);Op.a<Op.c.c.length;)F4=l(q(Op),12),eu(km.f,F4,pw);li(pw.a,Sv.a),li(pw.d,Sv.d),L.a.Ac(Sv)!=null}for(U=l(dC(L,me(L3n,{3:1,4:1,5:1,2024:1},470,L.a.gc(),0,1)),2024),Ct=t[0].c,Ev=r[0].c,v=U,T=0,N=v.length;T<N;++T)for(y=v[T],y.e=Y3e,y.f=B4,jg=new V(y.d);jg.a<jg.c.c.length;)Md=l(q(jg),12),Nm=e.a[Md.p],Md.i.c==Ct?(Nm<y.e&&(y.e=Nm),Nm>y.b&&(y.b=Nm)):Md.i.c==Ev&&(Nm<y.f&&(y.f=Nm),Nm>y.c&&(y.c=Nm));for(p_(U,0,U.length,null),QT=me(Rn,Xn,30,U.length,15,1),o=me(Rn,Xn,30,B4+1,15,1),J=0;J<U.length;J++)QT[J]=U[J].f,o[QT[J]]=1;for(u=0,ne=0;ne<o.length;ne++)o[ne]==1?o[ne]=u:--u;for(Cm=0,oe=0;oe<QT.length;oe++)QT[oe]+=o[QT[oe]],Cm=b.Math.max(Cm,QT[oe]+1);for(m=1;m<Cm;)m*=2;for(LLt=2*m-1,m-=1,zre=me(Rn,Xn,30,LLt,15,1),s=0,lt=0;lt<QT.length;lt++)for(Ge=QT[lt]+m,++zre[Ge];Ge>0;)Ge%2>0&&(s+=zre[Ge+1]),Ge=(Ge-1)/2|0,++zre[Ge];for(dt=me(i4t,Rt,371,U.length*2,0,1),le=0;le<U.length;le++)dt[2*le]=new TP(U[le],U[le].e,U[le].b,($3(),JI)),dt[2*le+1]=new TP(U[le],U[le].b,U[le].e,YI);for(p_(dt,0,dt.length,null),ul=0,Ee=0;Ee<dt.length;Ee++)switch(dt[Ee].d.g){case 0:++ul;break;case 1:--ul,s+=ul}for(Dp=me(i4t,Rt,371,U.length*2,0,1),we=0;we<U.length;we++)Dp[2*we]=new TP(U[we],U[we].f,U[we].c,($3(),JI)),Dp[2*we+1]=new TP(U[we],U[we].c,U[we].f,YI);for(p_(Dp,0,Dp.length,null),ul=0,G=0;G<Dp.length;G++)switch(Dp[G].d.g){case 0:++ul;break;case 1:--ul,s+=ul}return s}function fr(){fr=Y,j4=new Wm(7),U3e=new dh(8,94),new dh(8,64),H3e=new dh(8,36),_Lt=new dh(8,65),kLt=new dh(8,122),xLt=new dh(8,90),CLt=new dh(8,98),ALt=new dh(8,66),NLt=new dh(8,60),ILt=new dh(8,62),B3e=new Wm(11),kU=new bc(4),Ea(kU,48,57),kx=new bc(4),Ea(kx,48,57),Ea(kx,65,90),Ea(kx,95,95),Ea(kx,97,122),JT=new bc(4),Ea(JT,9,9),Ea(JT,10,10),Ea(JT,12,12),Ea(JT,13,13),Ea(JT,32,32),z3e=_y(kU),q3e=_y(kx),G3e=_y(JT),_x=new hn,P4=new hn,TLt=Z(X(Ye,1),Me,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),F3e=Z(X(Ye,1),Me,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",m_t,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),$3e=Z(X(Rn,1),Xn,30,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function Z7(){Z7=Y,Pkt=new Kc("OUT_T_L",0,(_u(),Vf),(Za(),rd),(Sd(),$s),$s,Z(X(xl,1),Rt,24,0,[Ar((Sy(),cd),Z(X(Bo,1),Ce,96,0,[ld,ad]))])),Mkt=new Kc("OUT_T_C",1,L1,rd,$s,ja,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[ld,Np])),Ar(cd,Z(X(Bo,1),Ce,96,0,[ld,Np,Cl]))])),jkt=new Kc("OUT_T_R",2,nd,rd,$s,Bs,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[ld,ud]))])),xkt=new Kc("OUT_B_L",3,Vf,Nd,Bs,$s,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[Il,ad]))])),kkt=new Kc("OUT_B_C",4,L1,Nd,Bs,ja,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[Il,Np])),Ar(cd,Z(X(Bo,1),Ce,96,0,[Il,Np,Cl]))])),Nkt=new Kc("OUT_B_R",5,nd,Nd,Bs,Bs,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[Il,ud]))])),Rkt=new Kc("OUT_L_T",6,nd,Nd,$s,$s,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[ad,ld,Cl]))])),Ikt=new Kc("OUT_L_C",7,nd,M1,ja,$s,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[ad,Rh])),Ar(cd,Z(X(Bo,1),Ce,96,0,[ad,Rh,Cl]))])),Ckt=new Kc("OUT_L_B",8,nd,rd,Bs,$s,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[ad,Il,Cl]))])),Lkt=new Kc("OUT_R_T",9,Vf,Nd,$s,Bs,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[ud,ld,Cl]))])),Dkt=new Kc("OUT_R_C",10,Vf,M1,ja,Bs,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[ud,Rh])),Ar(cd,Z(X(Bo,1),Ce,96,0,[ud,Rh,Cl]))])),Okt=new Kc("OUT_R_B",11,Vf,rd,Bs,Bs,Z(X(xl,1),Rt,24,0,[Ar(cd,Z(X(Bo,1),Ce,96,0,[ud,Il,Cl]))])),Akt=new Kc("IN_T_L",12,Vf,Nd,$s,$s,Z(X(xl,1),Rt,24,0,[Ar(xc,Z(X(Bo,1),Ce,96,0,[ld,ad])),Ar(xc,Z(X(Bo,1),Ce,96,0,[ld,ad,Cl]))])),Tkt=new Kc("IN_T_C",13,L1,Nd,$s,ja,Z(X(xl,1),Rt,24,0,[Ar(xc,Z(X(Bo,1),Ce,96,0,[ld,Np])),Ar(xc,Z(X(Bo,1),Ce,96,0,[ld,Np,Cl]))])),_kt=new Kc("IN_T_R",14,nd,Nd,$s,Bs,Z(X(xl,1),Rt,24,0,[Ar(xc,Z(X(Bo,1),Ce,96,0,[ld,ud])),Ar(xc,Z(X(Bo,1),Ce,96,0,[ld,ud,Cl]))])),Ekt=new Kc("IN_C_L",15,Vf,M1,ja,$s,Z(X(xl,1),Rt,24,0,[Ar(xc,Z(X(Bo,1),Ce,96,0,[Rh,ad])),Ar(xc,Z(X(Bo,1),Ce,96,0,[Rh,ad,Cl]))])),vkt=new Kc("IN_C_C",16,L1,M1,ja,ja,Z(X(xl,1),Rt,24,0,[Ar(xc,Z(X(Bo,1),Ce,96,0,[Rh,Np])),Ar(xc,Z(X(Bo,1),Ce,96,0,[Rh,Np,Cl]))])),Skt=new Kc("IN_C_R",17,nd,M1,ja,Bs,Z(X(xl,1),Rt,24,0,[Ar(xc,Z(X(Bo,1),Ce,96,0,[Rh,ud])),Ar(xc,Z(X(Bo,1),Ce,96,0,[Rh,ud,Cl]))])),wkt=new Kc("IN_B_L",18,Vf,rd,Bs,$s,Z(X(xl,1),Rt,24,0,[Ar(xc,Z(X(Bo,1),Ce,96,0,[Il,ad])),Ar(xc,Z(X(Bo,1),Ce,96,0,[Il,ad,Cl]))])),mkt=new Kc("IN_B_C",19,L1,rd,Bs,ja,Z(X(xl,1),Rt,24,0,[Ar(xc,Z(X(Bo,1),Ce,96,0,[Il,Np])),Ar(xc,Z(X(Bo,1),Ce,96,0,[Il,Np,Cl]))])),ykt=new Kc("IN_B_R",20,nd,rd,Bs,Bs,Z(X(xl,1),Rt,24,0,[Ar(xc,Z(X(Bo,1),Ce,96,0,[Il,ud])),Ar(xc,Z(X(Bo,1),Ce,96,0,[Il,ud,Cl]))])),ZQ=new Kc(HC,21,null,null,null,null,Z(X(xl,1),Rt,24,0,[]))}function U0e(){U0e=Y,CTe=(g6(),V$),E3t=new ht(Twe,CTe),D3t=new ht(Awe,(Lt(),!1)),MTe=($P(),Jee),F3t=new ht(hF,MTe),oCt=new ht(_we,!1),sCt=new ht(kwe,!0),jNt=new ht(xwe,!1),VTe=(h6(),Fte),ECt=new ht(Nwe,VTe),Re(1),CCt=new ht(Cwe,Re(7)),ICt=new ht(Iwe,!1),L3t=new ht(Rwe,!1),NTe=(Q6(),Dee),v3t=new ht(MD,NTe),FTe=(tD(),Ite),Z3t=new ht(PD,FTe),PTe=(rc(),hL),G3t=new ht(Owe,PTe),Re(-1),z3t=new ht(Dwe,null),Re(-1),q3t=new ht(Lwe,Re(-1)),Re(-1),V3t=new ht(FX,Re(4)),Re(-1),K3t=new ht($X,Re(2)),jTe=(_1(),_B),X3t=new ht(BX,jTe),Re(0),J3t=new ht(UX,Re(0)),U3t=new ht(HX,Re(sr)),xTe=(aC(),AI),y3t=new ht(KC,xTe),i3t=new ht(Mwe,!1),d3t=new ht(zX,.1),m3t=new ht(GX,!1),h3t=new ht(Pwe,null),p3t=new ht(jwe,null),Re(-1),g3t=new ht(Fwe,null),Re(-1),b3t=new ht($we,Re(-1)),Re(0),o3t=new ht(Bwe,Re(40)),kTe=(A_(),Wee),c3t=new ht(qX,kTe),_Te=aL,s3t=new ht(pF,_Te),qTe=(lC(),zI),vCt=new ht(PE,qTe),dCt=new cr(gF),HTe=(u6(),K$),aCt=new ht(VX,HTe),zTe=(V6(),Y$),cCt=new ht(WX,zTe),pCt=new ht(KX,.3),bCt=new cr(YX),GTe=(my(),AB),mCt=new ht(JX,GTe),OTe=(Ij(),Bte),k3t=new ht(Uwe,OTe),DTe=(Q3(),Hte),x3t=new ht(Hwe,DTe),LTe=(I_(),WI),N3t=new ht(bF,LTe),I3t=new ht(mF,.2),A3t=new ht(XX,2),_Ct=new ht(zwe,null),xCt=new ht(Gwe,10),kCt=new ht(qwe,10),NCt=new ht(Vwe,20),Re(0),SCt=new ht(Wwe,Re(0)),Re(0),TCt=new ht(Kwe,Re(0)),Re(0),ACt=new ht(Ywe,Re(0)),FNt=new ht(ZX,!1),wTe=(V_(),_I),BNt=new ht(Jwe,wTe),mTe=(QP(),Cee),$Nt=new ht(Xwe,mTe),P3t=new ht(wF,!1),Re(0),M3t=new ht(QX,Re(16)),Re(0),j3t=new ht(eZ,Re(5)),YTe=(Rj(),qte),JCt=new ht(vp,YTe),RCt=new ht(yF,10),LCt=new ht(vF,1),KTe=(gj(),q$),UCt=new ht(YC,KTe),jCt=new cr(tZ),WTe=Re(1),Re(0),$Ct=new ht(nZ,WTe),JTe=(pj(),Gte),eIt=new ht(EF,JTe),XCt=new cr(SF),VCt=new ht(TF,!0),GCt=new ht(AF,2),KCt=new ht(rZ,!0),UTe=(HP(),ste),iCt=new ht(iZ,UTe),eCt=new ht(oZ,!1),$Te=Re(2),Re(1),Q3t=new ht(sZ,$Te),BTe=!0,nCt=new ht(aZ,BTe),RTe=(T7(),W$),T3t=new ht(Zwe,RTe),ITe=(ZS(),Wk),S3t=new ht(Qwe,ITe),ATe=(pp(),B1),r3t=new ht(_F,ATe),n3t=new ht(eye,!1),t3t=new ht(jD,!1),yTe=(WS(),vI),UNt=new ht(uZ,yTe),TTe=(eC(),Rte),e3t=new ht(tye,TTe),HNt=new ht(cZ,0),zNt=new ht(lZ,0),QNt=new ht(dZ,Re(0)),ZNt=new ht(fZ,Re(0)),XNt=new ht(hZ,Re(0)),vTe=(g1(),uL),GNt=new ht(nye,vTe),qNt=new cr(pZ),WNt=new cr(gZ),STe=uL,JNt=new ht(rye,STe),ETe=xP(can(Z(X(Ti,1),Me,15,0,[Re(1),Re(2),Re(6),Re(7),Re(10),Re(11)]))),YNt=new ht(iye,ETe),B3t=Mee,$3t=oL,W3t=SB,Y3t=SB,H3t=Nte,f3t=(fp(),Cg),w3t=AI,l3t=AI,a3t=AI,u3t=Cg,fCt=GI,hCt=zI,uCt=zI,lCt=zI,gCt=Mte,yCt=GI,wCt=GI,C3t=(hp(),qT),R3t=qT,O3t=WI,_3t=HL,OCt=ax,DCt=tv,MCt=ax,PCt=tv,HCt=ax,zCt=tv,FCt=Iee,BCt=q$,tIt=ax,nIt=tv,ZCt=ax,QCt=tv,WCt=tv,qCt=tv,YCt=tv,tCt=Re(2),rCt=ote,VNt=sL,KNt=sL}function Tt(){Tt=Y,mv=(a1(),Bt).b,l(ie(Ne(Bt.b),0),38),l(ie(Ne(Bt.b),1),20),Rg=Bt.a,l(ie(Ne(Bt.a),0),38),l(ie(Ne(Bt.a),1),20),l(ie(Ne(Bt.a),2),20),l(ie(Ne(Bt.a),3),20),l(ie(Ne(Bt.a),4),20),X1=Bt.o,l(ie(Ne(Bt.o),0),38),l(ie(Ne(Bt.o),1),38),zDt=l(ie(Ne(Bt.o),2),20),l(ie(Ne(Bt.o),3),20),l(ie(Ne(Bt.o),4),20),l(ie(Ne(Bt.o),5),20),l(ie(Ne(Bt.o),6),20),l(ie(Ne(Bt.o),7),20),l(ie(Ne(Bt.o),8),20),l(ie(Ne(Bt.o),9),20),l(ie(Ne(Bt.o),10),20),l(ie(Ne(Bt.o),11),20),l(ie(Ne(Bt.o),12),20),l(ie(Ne(Bt.o),13),20),l(ie(Ne(Bt.o),14),20),l(ie(Ne(Bt.o),15),20),l(ie(vr(Bt.o),0),62),l(ie(vr(Bt.o),1),62),l(ie(vr(Bt.o),2),62),l(ie(vr(Bt.o),3),62),l(ie(vr(Bt.o),4),62),l(ie(vr(Bt.o),5),62),l(ie(vr(Bt.o),6),62),l(ie(vr(Bt.o),7),62),l(ie(vr(Bt.o),8),62),l(ie(vr(Bt.o),9),62),HDt=Bt.p,l(ie(Ne(Bt.p),0),38),l(ie(Ne(Bt.p),1),38),l(ie(Ne(Bt.p),2),38),l(ie(Ne(Bt.p),3),38),l(ie(Ne(Bt.p),4),20),l(ie(Ne(Bt.p),5),20),l(ie(vr(Bt.p),0),62),l(ie(vr(Bt.p),1),62),GDt=Bt.q,l(ie(Ne(Bt.q),0),38),Z1=Bt.v,l(ie(Ne(Bt.v),0),20),l(ie(vr(Bt.v),0),62),l(ie(vr(Bt.v),1),62),l(ie(vr(Bt.v),2),62),Og=Bt.w,l(ie(Ne(Bt.w),0),38),l(ie(Ne(Bt.w),1),38),l(ie(Ne(Bt.w),2),38),l(ie(Ne(Bt.w),3),20),Q1=Bt.B,l(ie(Ne(Bt.B),0),20),l(ie(vr(Bt.B),0),62),l(ie(vr(Bt.B),1),62),l(ie(vr(Bt.B),2),62),qDt=Bt.Q,l(ie(Ne(Bt.Q),0),20),l(ie(vr(Bt.Q),0),62),VDt=Bt.R,l(ie(Ne(Bt.R),0),38),Ml=Bt.S,l(ie(vr(Bt.S),0),62),l(ie(vr(Bt.S),1),62),l(ie(vr(Bt.S),2),62),l(ie(vr(Bt.S),3),62),l(ie(vr(Bt.S),4),62),l(ie(vr(Bt.S),5),62),l(ie(vr(Bt.S),6),62),l(ie(vr(Bt.S),7),62),l(ie(vr(Bt.S),8),62),l(ie(vr(Bt.S),9),62),l(ie(vr(Bt.S),10),62),l(ie(vr(Bt.S),11),62),l(ie(vr(Bt.S),12),62),l(ie(vr(Bt.S),13),62),l(ie(vr(Bt.S),14),62),Dg=Bt.T,l(ie(Ne(Bt.T),0),20),l(ie(Ne(Bt.T),2),20),WDt=l(ie(Ne(Bt.T),3),20),l(ie(Ne(Bt.T),4),20),l(ie(vr(Bt.T),0),62),l(ie(vr(Bt.T),1),62),l(ie(Ne(Bt.T),1),20),Lg=Bt.U,l(ie(Ne(Bt.U),0),38),l(ie(Ne(Bt.U),1),38),l(ie(Ne(Bt.U),2),20),l(ie(Ne(Bt.U),3),20),l(ie(Ne(Bt.U),4),20),l(ie(Ne(Bt.U),5),20),l(ie(vr(Bt.U),0),62),wv=Bt.V,l(ie(Ne(Bt.V),0),20),w2=Bt.W,l(ie(Ne(Bt.W),0),38),l(ie(Ne(Bt.W),1),38),l(ie(Ne(Bt.W),2),38),l(ie(Ne(Bt.W),3),20),l(ie(Ne(Bt.W),4),20),l(ie(Ne(Bt.W),5),20),KDt=Bt.bb,l(ie(Ne(Bt.bb),0),38),l(ie(Ne(Bt.bb),1),38),l(ie(Ne(Bt.bb),2),38),l(ie(Ne(Bt.bb),3),38),l(ie(Ne(Bt.bb),4),38),l(ie(Ne(Bt.bb),5),38),l(ie(Ne(Bt.bb),6),38),l(ie(Ne(Bt.bb),7),20),l(ie(vr(Bt.bb),0),62),l(ie(vr(Bt.bb),1),62),YDt=Bt.eb,l(ie(Ne(Bt.eb),0),38),l(ie(Ne(Bt.eb),1),38),l(ie(Ne(Bt.eb),2),38),l(ie(Ne(Bt.eb),3),38),l(ie(Ne(Bt.eb),4),38),l(ie(Ne(Bt.eb),5),38),l(ie(Ne(Bt.eb),6),20),l(ie(Ne(Bt.eb),7),20),Io=Bt.ab,l(ie(Ne(Bt.ab),0),38),l(ie(Ne(Bt.ab),1),38),lw=Bt.H,l(ie(Ne(Bt.H),0),20),l(ie(Ne(Bt.H),1),20),l(ie(Ne(Bt.H),2),20),l(ie(Ne(Bt.H),3),20),l(ie(Ne(Bt.H),4),20),l(ie(Ne(Bt.H),5),20),l(ie(vr(Bt.H),0),62),dw=Bt.db,l(ie(Ne(Bt.db),0),20),bf=Bt.M}function d3n(e){var t;e.O||(e.O=!0,Da(e,"type"),Aj(e,"ecore.xml.type"),_j(e,um),t=l(K_((n1(),Ll),um),2023),Tn(us(e.fb),e.b),Ls(e.b,cM,"AnyType",!1,!1,!0),oi(l(ie(Ne(e.b),0),38),e.wb.D,GD,null,0,-1,cM,!1,!1,!0,!1,!1,!1),oi(l(ie(Ne(e.b),1),38),e.wb.D,"any",null,0,-1,cM,!0,!0,!0,!1,!1,!0),oi(l(ie(Ne(e.b),2),38),e.wb.D,"anyAttribute",null,0,-1,cM,!1,!1,!0,!1,!1,!1),Ls(e.bb,AU,ZAt,!1,!1,!0),oi(l(ie(Ne(e.bb),0),38),e.gb,"data",null,0,1,AU,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),1),38),e.gb,uEe,null,1,1,AU,!1,!1,!0,!1,!0,!1),Ls(e.fb,lM,QAt,!1,!1,!0),oi(l(ie(Ne(e.fb),0),38),t.gb,"rawValue",null,0,1,lM,!0,!0,!0,!1,!0,!0),oi(l(ie(Ne(e.fb),1),38),t.a,rI,null,0,1,lM,!0,!0,!0,!1,!0,!0),Mr(l(ie(Ne(e.fb),2),20),e.wb.q,null,"instanceType",1,1,lM,!1,!1,!0,!1,!1,!1,!1),Ls(e.qb,L3e,e_t,!1,!1,!0),oi(l(ie(Ne(e.qb),0),38),e.wb.D,GD,null,0,-1,null,!1,!1,!0,!1,!1,!1),Mr(l(ie(Ne(e.qb),1),20),e.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.qb),2),20),e.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),oi(l(ie(Ne(e.qb),3),38),e.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),oi(l(ie(Ne(e.qb),4),38),e.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Mr(l(ie(Ne(e.qb),5),20),e.bb,null,h_t,0,-2,null,!0,!0,!0,!0,!1,!1,!0),oi(l(ie(Ne(e.qb),6),38),e.gb,oQ,null,0,-2,null,!0,!0,!0,!1,!1,!0),nr(e.a,Ci,"AnySimpleType",!0),nr(e.c,Ye,"AnyURI",!0),nr(e.d,X(Eu,1),"Base64Binary",!0),nr(e.e,uu,"Boolean",!0),nr(e.f,Yr,"BooleanObject",!0),nr(e.g,Eu,"Byte",!0),nr(e.i,yT,"ByteObject",!0),nr(e.j,Ye,"Date",!0),nr(e.k,Ye,"DateTime",!0),nr(e.n,UQ,"Decimal",!0),nr(e.o,Ki,"Double",!0),nr(e.p,fi,"DoubleObject",!0),nr(e.q,Ye,"Duration",!0),nr(e.s,_c,"ENTITIES",!0),nr(e.r,_c,"ENTITIESBase",!0),nr(e.t,Ye,AEe,!0),nr(e.u,vv,"Float",!0),nr(e.v,Bk,"FloatObject",!0),nr(e.w,Ye,"GDay",!0),nr(e.B,Ye,"GMonth",!0),nr(e.A,Ye,"GMonthDay",!0),nr(e.C,Ye,"GYear",!0),nr(e.D,Ye,"GYearMonth",!0),nr(e.F,X(Eu,1),"HexBinary",!0),nr(e.G,Ye,"ID",!0),nr(e.H,Ye,"IDREF",!0),nr(e.J,_c,"IDREFS",!0),nr(e.I,_c,"IDREFSBase",!0),nr(e.K,Rn,"Int",!0),nr(e.M,zE,"Integer",!0),nr(e.L,Ti,"IntObject",!0),nr(e.P,Ye,"Language",!0),nr(e.Q,hw,"Long",!0),nr(e.R,K0,"LongObject",!0),nr(e.S,Ye,"Name",!0),nr(e.T,Ye,r$,!0),nr(e.U,zE,"NegativeInteger",!0),nr(e.V,Ye,xEe,!0),nr(e.X,_c,"NMTOKENS",!0),nr(e.W,_c,"NMTOKENSBase",!0),nr(e.Y,zE,"NonNegativeInteger",!0),nr(e.Z,zE,"NonPositiveInteger",!0),nr(e.$,Ye,"NormalizedString",!0),nr(e._,Ye,"NOTATION",!0),nr(e.ab,Ye,"PositiveInteger",!0),nr(e.cb,Ye,"QName",!0),nr(e.db,S2,"Short",!0),nr(e.eb,Y0,"ShortObject",!0),nr(e.gb,Ye,K0e,!0),nr(e.hb,Ye,"Time",!0),nr(e.ib,Ye,"Token",!0),nr(e.jb,S2,"UnsignedByte",!0),nr(e.kb,Y0,"UnsignedByteObject",!0),nr(e.lb,hw,"UnsignedInt",!0),nr(e.mb,K0,"UnsignedIntObject",!0),nr(e.nb,zE,"UnsignedLong",!0),nr(e.ob,Rn,"UnsignedShort",!0),nr(e.pb,Ti,"UnsignedShortObject",!0),Uge(e,um),f3n(e))}function H0e(e,t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct,Dt,on,qn,Gr,Ou,os,Rc,T2,Pg,hd,Rp,ul,XT,F4,Op,Md,jg,km,xm,ZT,Nm,Cm,Dp,Ev;if(o.Zg()||Ke(We(ye(t,(_n(),nU)))))return St(),St(),No;if(Ge=(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i!=0,dt=Myn(t),lt=!dt.dc(),Ge||lt){if(s=l(ye(t,cv),144),!s)throw K(new Af("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(Nm=Ble(s,(iT(),mU)),qgt(t),!Ge&<&&!Nm)return St(),St(),No;if(oe=new Pe,be(ye(t,h2))===be((fp(),Cg))&&(Ble(s,bU)||Ble(s,gU))){if(Ke(We(ye(t,mx))))throw K(new Af("Topdown layout cannot be used together with hierarchy handling."));for(T2=Xwt(e,t),Pg=new Sr,bo(Pg,(!t.a&&(t.a=new xe(En,t,10,11)),t.a));Pg.b!=0;)os=l(Pg.b==0?null:(un(Pg.b!=0),Vc(Pg,Pg.a.a)),19),qgt(os),ZT=be(ye(os,h2))===be(v4),ZT||Gc(os,UT)&&!epe(s,ye(os,cv))?(G=H0e(e,os,r,o),li(oe,G),Vn(os,h2,v4),gyt(os)):bo(Pg,(!os.a&&(os.a=new xe(En,os,10,11)),os.a))}else{if(T2=(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i,Ke(We(ye(t,mx)))){if(Cm=o.dh(1),Cm.Tg(YSt,1),ye(t,GT)==null)throw K(new Af(t.k+" has not been assigned a top-down node type."));if(l(ye(t,GT),283)==(GS(),hv)||l(ye(t,GT),283)==hU)for(ne=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));ne.e!=ne.i.gc();)J=l(rn(ne),19),Ou=l(ye(J,cv),144),Rp=l(ye(J,df),100),(!J.a&&(J.a=new xe(En,J,10,11)),J.a).i>0&&KO(Ou.f),ye(J,oU)!=null&&(!J.a&&(J.a=new xe(En,J,10,11)),!!J.a)&&(!J.a&&(J.a=new xe(En,J,10,11)),J.a).i>0?(p=l(ye(J,oU),525),xm=p.Sg(J),r0(J,b.Math.max(J.g,xm.a+Rp.b+Rp.c),b.Math.max(J.f,xm.b+Rp.d+Rp.a))):(!J.a&&(J.a=new xe(En,J,10,11)),J.a).i!=0&&(xm=new Le(ue(ce(ye(J,lv))),ue(ce(ye(J,lv)))/ue(ce(ye(J,bx)))),r0(J,b.Math.max(J.g,xm.a+Rp.b+Rp.c),b.Math.max(J.f,xm.b+Rp.d+Rp.a)));if(hd=l(ye(t,df),100),I=t.g-(hd.b+hd.c),N=t.f-(hd.d+hd.a),Cm.ah("Available Child Area: ("+I+"|"+N+")"),Vn(t,px,I/N),Ygt(t,s,o.dh(T2)),l(ye(t,GT),283)==hU&&(UJ(t),r0(t,hd.b+ue(ce(ye(t,sv)))+hd.c,hd.d+ue(ce(ye(t,ov)))+hd.a)),Cm.ah("Executed layout algorithm: "+In(ye(t,UT))+" on node "+t.k),l(ye(t,GT),283)==hv){if(I<0||N<0)throw K(new Af("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+t.k));for(Gc(t,sv)||Gc(t,ov)||UJ(t),U=ue(ce(ye(t,sv))),L=ue(ce(ye(t,ov))),Cm.ah("Desired Child Area: ("+U+"|"+L+")"),XT=I/U,F4=N/L,ul=b.Math.min(XT,b.Math.min(F4,ue(ce(ye(t,$6t))))),Vn(t,iU,ul),Cm.ah(t.k+" -- Local Scale Factor (X|Y): ("+XT+"|"+F4+")"),le=l(ye(t,jL),24),u=0,f=0,ul<XT&&(le.Gc((Jb(),f4))?u=(I/2-U*ul/2)/ul:le.Gc(h4)&&(u=(I-U*ul)/ul)),ul<F4&&(le.Gc((Jb(),g4))?f=(N/2-L*ul/2)/ul:le.Gc(p4)&&(f=(N-L*ul)/ul)),Dp=u+(hd.b/ul-hd.b),Ev=f+(hd.d/ul-hd.d),Cm.ah("Shift: ("+Dp+"|"+Ev+")"),Rc=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));Rc.e!=Rc.i.gc();)os=l(rn(Rc),19),ya(os,os.i+Dp),gu(os,os.j+Ev);for(we=new en((!t.b&&(t.b=new xe(Cr,t,12,3)),t.b));we.e!=we.i.gc();){for(Ee=l(rn(we),74),Md=new en((!Ee.a&&(Ee.a=new xe(jr,Ee,6,6)),Ee.a));Md.e!=Md.i.gc();)for(Op=l(rn(Md),171),kO(Op,Op.j+Dp,Op.k+Ev),_O(Op,Op.b+Dp,Op.c+Ev),y=new en((!Op.a&&(Op.a=new yi(Ic,Op,5)),Op.a));y.e!=y.i.gc();)m=l(rn(y),373),sV(m,m.a+Dp,m.b+Ev);for(Gr=new en((!Ee.n&&(Ee.n=new xe(Is,Ee,1,7)),Ee.n));Gr.e!=Gr.i.gc();)qn=l(rn(Gr),158),Bc(qn,qn.i+Dp,qn.j+Ev);for(on=l(ye(Ee,p2),79),Dt=An(on,0);Dt.b!=Dt.d.c;)Ct=l(Sn(Dt),8),Ct.a+=Dp,Ct.b+=Ev;Vn(Ee,p2,on)}}Cm.Ug()}for(T=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));T.e!=T.i.gc();)v=l(rn(T),19),G=H0e(e,v,r,o),li(oe,G),gyt(v)}if(o.Zg())return St(),St(),No;for(km=new V(oe);km.a<km.c.c.length;)jg=l(q(km),74),Vn(jg,nU,(Lt(),!0));return Ke(We(ye(t,mx)))||Ygt(t,s,o.dh(T2)),WTn(oe),lt&&Nm?dt:(St(),St(),No)}else return St(),St(),No}function OE(e,t){var r,o;return E2||(E2=new hn,Ax=new hn,o=(fr(),fr(),new bc(4)),j6(o,`
|
||
\r\r `),Qo(E2,AQ,o),Qo(Ax,AQ,_y(o)),o=new bc(4),j6(o,g_t),Qo(E2,fI,o),Qo(Ax,fI,_y(o)),o=new bc(4),j6(o,g_t),Qo(E2,fI,o),Qo(Ax,fI,_y(o)),o=new bc(4),j6(o,b_t),xy(o,l(ma(E2,fI),122)),Qo(E2,TQ,o),Qo(Ax,TQ,_y(o)),o=new bc(4),j6(o,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),Qo(E2,_Q,o),Qo(Ax,_Q,_y(o)),o=new bc(4),j6(o,b_t),Ea(o,95,95),Ea(o,58,58),Qo(E2,kQ,o),Qo(Ax,kQ,_y(o))),r=l(ma(t?E2:Ax,e),140),r}function MEt(e){t0(e,new Xb(fq(nO(Zm(Ym(Xm(Jm(new wb,$t),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new sUe),$t),Ar((iT(),Ire),Z(X(iM,1),Ce,235,0,[mU,rM,nM,Cre,bU,gU]))))),Oe(e,$t,dye,ze(Ete)),Oe(e,$t,fye,ze(RAe)),Oe(e,$t,hye,ze(wL)),Oe(e,$t,pye,ze(od)),Oe(e,$t,RX,ze(o2)),Oe(e,$t,yZ,ze(mm)),Oe(e,$t,gye,ze(Qy)),Oe(e,$t,bye,ze(ix)),Oe(e,$t,mye,ze(ox)),Oe(e,$t,wye,ze(Ste)),Oe(e,$t,F0,ze(wm)),Oe(e,$t,yye,ze(Tte)),Oe(e,$t,vye,ze(UI)),Oe(e,$t,Eye,ze(yB)),Oe(e,$t,zwe,ze(mL)),Oe(e,$t,qwe,ze(Zy)),Oe(e,$t,Gwe,ze($1)),Oe(e,$t,Vwe,ze(ev)),Oe(e,$t,xD,Re(0)),Oe(e,$t,Wwe,ze(rx)),Oe(e,$t,Kwe,ze(IAe)),Oe(e,$t,Ywe,ze(PT)),Oe(e,$t,vp,ze(BAe)),Oe(e,$t,yF,ze(DAe)),Oe(e,$t,vF,ze(LAe)),Oe(e,$t,YC,ze(_te)),Oe(e,$t,tZ,ze(MAe)),Oe(e,$t,nZ,ze(PAe)),Oe(e,$t,EF,ze(vB)),Oe(e,$t,SF,ze(kte)),Oe(e,$t,TF,ze(FAe)),Oe(e,$t,AF,ze(jAe)),Oe(e,$t,rZ,ze($Ae)),Oe(e,$t,iZ,ze(yAe)),Oe(e,$t,oZ,ze(mte)),Oe(e,$t,sZ,ze(pB)),Oe(e,$t,aZ,ze(wte)),Oe(e,$t,YX,ze(iw)),Oe(e,$t,JX,ze(BI)),Oe(e,$t,bF,ze(gte)),Oe(e,$t,mF,ze(uAe)),Oe(e,$t,CD,ze(yIt)),Oe(e,$t,ID,ze(vIt)),Oe(e,$t,RD,ze(wIt)),Oe(e,$t,OD,ze(mIt)),Oe(e,$t,B0,OAe),Oe(e,$t,$0,_Ae),Oe(e,$t,FD,oAe),Oe(e,$t,Sye,0),Oe(e,$t,aF,Re(1)),Oe(e,$t,bk,gk),Oe(e,$t,Tye,ze(bm)),Oe(e,$t,uF,ze(Zr)),Oe(e,$t,Aye,ze(nx)),Oe(e,$t,$D,ze(aIt)),Oe(e,$t,_ye,ze(Wf)),Oe(e,$t,kF,ze(Vy)),Oe(e,$t,GC,(Lt(),!0)),Oe(e,$t,kye,ze(Wy)),Oe(e,$t,xye,ze(pm)),Oe(e,$t,ME,ze(gm)),Oe(e,$t,pT,ze(wB)),Oe(e,$t,yk,ze(vte)),Oe(e,$t,vZ,iAe),Oe(e,$t,vk,ze(rw)),Oe(e,$t,Nye,ze(bB)),Oe(e,$t,Ek,ze(Jy)),Oe(e,$t,Cye,ze(hIt)),Oe(e,$t,Iye,ze(NAe)),Oe(e,$t,Rye,xAe),Oe(e,$t,Oye,ze(lIt)),Oe(e,$t,Dye,ze(dIt)),Oe(e,$t,Lye,ze(fIt)),Oe(e,$t,Mye,ze(cIt)),Oe(e,$t,Iwe,ze(Ate)),Oe(e,$t,PD,ze(hB)),Oe(e,$t,BX,ze(bL)),Oe(e,$t,Cwe,ze(HI)),Oe(e,$t,Owe,ze(Ns)),Oe(e,$t,MD,ze(MT)),Oe(e,$t,KC,ze(jI)),Oe(e,$t,Mwe,ze(ex)),Oe(e,$t,Bwe,ze(tAe)),Oe(e,$t,qX,ze(fte)),Oe(e,$t,pF,ze(gL)),Oe(e,$t,GX,ze(hte)),Oe(e,$t,_we,ze(vAe)),Oe(e,$t,kwe,ze(EAe)),Oe(e,$t,hF,ze(pAe)),Oe(e,$t,PE,ze(mB)),Oe(e,$t,WX,ze(yte)),Oe(e,$t,Awe,ze(bte)),Oe(e,$t,KX,ze(TAe)),Oe(e,$t,Uwe,ze(aAe)),Oe(e,$t,Hwe,ze(pte)),Oe(e,$t,xF,ze(dte)),Oe(e,$t,VX,ze(SAe)),Oe(e,$t,Jwe,ze(aB)),Oe(e,$t,Xwe,ze(XTe)),Oe(e,$t,ZX,ze(sB)),Oe(e,$t,wF,ze(dAe)),Oe(e,$t,QX,ze(lAe)),Oe(e,$t,eZ,ze(fAe)),Oe(e,$t,gT,ze(tx)),Oe(e,$t,Pye,ze(rs)),Oe(e,$t,jye,ze(Ag)),Oe(e,$t,Fye,ze(Kf)),Oe(e,$t,ND,ze(i2)),Oe(e,$t,zX,ze(nAe)),Oe(e,$t,$ye,ze(_g)),Oe(e,$t,Bye,ze(DI)),Oe(e,$t,Uye,ze(fB)),Oe(e,$t,Hye,ze(ow)),Oe(e,$t,EZ,ze(kAe)),Oe(e,$t,SZ,ze(Ky)),Oe(e,$t,FX,ze(bAe)),Oe(e,$t,$X,ze(mAe)),Oe(e,$t,NF,ze(Xy)),Oe(e,$t,xwe,ze(ate)),Oe(e,$t,UX,ze(wAe)),Oe(e,$t,Zwe,ze(dB)),Oe(e,$t,Qwe,ze(lB)),Oe(e,$t,TZ,ze(gB)),Oe(e,$t,HX,ze(gAe)),Oe(e,$t,gF,ze($I)),Oe(e,$t,zye,ze(yL)),Oe(e,$t,Twe,ze(rAe)),Oe(e,$t,Nwe,ze(CAe)),Oe(e,$t,XX,ze(sAe)),Oe(e,$t,Pwe,ze(iIt)),Oe(e,$t,jwe,ze(oIt)),Oe(e,$t,Dwe,ze(uIt)),Oe(e,$t,Fwe,ze(sIt)),Oe(e,$t,CF,ze(hAe)),Oe(e,$t,Lwe,ze(FI)),Oe(e,$t,$we,ze(cB)),Oe(e,$t,_F,ze(Ch)),Oe(e,$t,tye,ze(cte)),Oe(e,$t,cZ,ze(pL)),Oe(e,$t,lZ,ze(ute)),Oe(e,$t,jD,ze(uB)),Oe(e,$t,uZ,ze(LI)),Oe(e,$t,eye,ze(lte)),Oe(e,$t,dZ,ze(qy)),Oe(e,$t,fZ,ze(PI)),Oe(e,$t,hZ,ze(rIt)),Oe(e,$t,nye,ze(LT)),Oe(e,$t,rye,ze(MI)),Oe(e,$t,iye,ze(eAe)),Oe(e,$t,pZ,ze(ZTe)),Oe(e,$t,gZ,ze(QTe)),Oe(e,$t,Rwe,ze(cAe))}function f3n(e){kn(e.a,$n,Z(X(Ye,1),Me,2,6,[or,"anySimpleType"])),kn(e.b,$n,Z(X(Ye,1),Me,2,6,[or,"anyType",Al,GD])),kn(l(ie(Ne(e.b),0),38),$n,Z(X(Ye,1),Me,2,6,[Al,wQ,or,":mixed"])),kn(l(ie(Ne(e.b),1),38),$n,Z(X(Ye,1),Me,2,6,[Al,wQ,SEe,vQ,or,":1",t_t,"lax"])),kn(l(ie(Ne(e.b),2),38),$n,Z(X(Ye,1),Me,2,6,[Al,XAt,SEe,vQ,or,":2",t_t,"lax"])),kn(e.c,$n,Z(X(Ye,1),Me,2,6,[or,"anyURI",kl,xd])),kn(e.d,$n,Z(X(Ye,1),Me,2,6,[or,"base64Binary",kl,xd])),kn(e.e,$n,Z(X(Ye,1),Me,2,6,[or,sT,kl,xd])),kn(e.f,$n,Z(X(Ye,1),Me,2,6,[or,"boolean:Object",fo,sT])),kn(e.g,$n,Z(X(Ye,1),Me,2,6,[or,oI])),kn(e.i,$n,Z(X(Ye,1),Me,2,6,[or,"byte:Object",fo,oI])),kn(e.j,$n,Z(X(Ye,1),Me,2,6,[or,"date",kl,xd])),kn(e.k,$n,Z(X(Ye,1),Me,2,6,[or,"dateTime",kl,xd])),kn(e.n,$n,Z(X(Ye,1),Me,2,6,[or,"decimal",kl,xd])),kn(e.o,$n,Z(X(Ye,1),Me,2,6,[or,sI,kl,xd])),kn(e.p,$n,Z(X(Ye,1),Me,2,6,[or,"double:Object",fo,sI])),kn(e.q,$n,Z(X(Ye,1),Me,2,6,[or,"duration",kl,xd])),kn(e.s,$n,Z(X(Ye,1),Me,2,6,[or,"ENTITIES",fo,n_t,TEe,"1"])),kn(e.r,$n,Z(X(Ye,1),Me,2,6,[or,n_t,yQ,AEe])),kn(e.t,$n,Z(X(Ye,1),Me,2,6,[or,AEe,fo,r$])),kn(e.u,$n,Z(X(Ye,1),Me,2,6,[or,aI,kl,xd])),kn(e.v,$n,Z(X(Ye,1),Me,2,6,[or,"float:Object",fo,aI])),kn(e.w,$n,Z(X(Ye,1),Me,2,6,[or,"gDay",kl,xd])),kn(e.B,$n,Z(X(Ye,1),Me,2,6,[or,"gMonth",kl,xd])),kn(e.A,$n,Z(X(Ye,1),Me,2,6,[or,"gMonthDay",kl,xd])),kn(e.C,$n,Z(X(Ye,1),Me,2,6,[or,"gYear",kl,xd])),kn(e.D,$n,Z(X(Ye,1),Me,2,6,[or,"gYearMonth",kl,xd])),kn(e.F,$n,Z(X(Ye,1),Me,2,6,[or,"hexBinary",kl,xd])),kn(e.G,$n,Z(X(Ye,1),Me,2,6,[or,"ID",fo,r$])),kn(e.H,$n,Z(X(Ye,1),Me,2,6,[or,"IDREF",fo,r$])),kn(e.J,$n,Z(X(Ye,1),Me,2,6,[or,"IDREFS",fo,r_t,TEe,"1"])),kn(e.I,$n,Z(X(Ye,1),Me,2,6,[or,r_t,yQ,"IDREF"])),kn(e.K,$n,Z(X(Ye,1),Me,2,6,[or,uI])),kn(e.M,$n,Z(X(Ye,1),Me,2,6,[or,_Ee])),kn(e.L,$n,Z(X(Ye,1),Me,2,6,[or,"int:Object",fo,uI])),kn(e.P,$n,Z(X(Ye,1),Me,2,6,[or,"language",fo,EQ,SQ,i_t])),kn(e.Q,$n,Z(X(Ye,1),Me,2,6,[or,cI])),kn(e.R,$n,Z(X(Ye,1),Me,2,6,[or,"long:Object",fo,cI])),kn(e.S,$n,Z(X(Ye,1),Me,2,6,[or,"Name",fo,EQ,SQ,kEe])),kn(e.T,$n,Z(X(Ye,1),Me,2,6,[or,r$,fo,"Name",SQ,o_t])),kn(e.U,$n,Z(X(Ye,1),Me,2,6,[or,"negativeInteger",fo,s_t,YD,"-1"])),kn(e.V,$n,Z(X(Ye,1),Me,2,6,[or,xEe,fo,EQ,SQ,"\\c+"])),kn(e.X,$n,Z(X(Ye,1),Me,2,6,[or,"NMTOKENS",fo,a_t,TEe,"1"])),kn(e.W,$n,Z(X(Ye,1),Me,2,6,[or,a_t,yQ,xEe])),kn(e.Y,$n,Z(X(Ye,1),Me,2,6,[or,NEe,fo,_Ee,JD,"0"])),kn(e.Z,$n,Z(X(Ye,1),Me,2,6,[or,s_t,fo,_Ee,YD,"0"])),kn(e.$,$n,Z(X(Ye,1),Me,2,6,[or,u_t,fo,GJ,kl,"replace"])),kn(e._,$n,Z(X(Ye,1),Me,2,6,[or,"NOTATION",kl,xd])),kn(e.ab,$n,Z(X(Ye,1),Me,2,6,[or,"positiveInteger",fo,NEe,JD,"1"])),kn(e.bb,$n,Z(X(Ye,1),Me,2,6,[or,"processingInstruction_._type",Al,"empty"])),kn(l(ie(Ne(e.bb),0),38),$n,Z(X(Ye,1),Me,2,6,[Al,QF,or,"data"])),kn(l(ie(Ne(e.bb),1),38),$n,Z(X(Ye,1),Me,2,6,[Al,QF,or,uEe])),kn(e.cb,$n,Z(X(Ye,1),Me,2,6,[or,"QName",kl,xd])),kn(e.db,$n,Z(X(Ye,1),Me,2,6,[or,lI])),kn(e.eb,$n,Z(X(Ye,1),Me,2,6,[or,"short:Object",fo,lI])),kn(e.fb,$n,Z(X(Ye,1),Me,2,6,[or,"simpleAnyType",Al,qD])),kn(l(ie(Ne(e.fb),0),38),$n,Z(X(Ye,1),Me,2,6,[or,":3",Al,qD])),kn(l(ie(Ne(e.fb),1),38),$n,Z(X(Ye,1),Me,2,6,[or,":4",Al,qD])),kn(l(ie(Ne(e.fb),2),20),$n,Z(X(Ye,1),Me,2,6,[or,":5",Al,qD])),kn(e.gb,$n,Z(X(Ye,1),Me,2,6,[or,GJ,kl,"preserve"])),kn(e.hb,$n,Z(X(Ye,1),Me,2,6,[or,"time",kl,xd])),kn(e.ib,$n,Z(X(Ye,1),Me,2,6,[or,EQ,fo,u_t,kl,xd])),kn(e.jb,$n,Z(X(Ye,1),Me,2,6,[or,c_t,YD,"255",JD,"0"])),kn(e.kb,$n,Z(X(Ye,1),Me,2,6,[or,"unsignedByte:Object",fo,c_t])),kn(e.lb,$n,Z(X(Ye,1),Me,2,6,[or,l_t,YD,"4294967295",JD,"0"])),kn(e.mb,$n,Z(X(Ye,1),Me,2,6,[or,"unsignedInt:Object",fo,l_t])),kn(e.nb,$n,Z(X(Ye,1),Me,2,6,[or,"unsignedLong",fo,NEe,YD,d_t,JD,"0"])),kn(e.ob,$n,Z(X(Ye,1),Me,2,6,[or,f_t,YD,"65535",JD,"0"])),kn(e.pb,$n,Z(X(Ye,1),Me,2,6,[or,"unsignedShort:Object",fo,f_t])),kn(e.qb,$n,Z(X(Ye,1),Me,2,6,[or,"",Al,GD])),kn(l(ie(Ne(e.qb),0),38),$n,Z(X(Ye,1),Me,2,6,[Al,wQ,or,":mixed"])),kn(l(ie(Ne(e.qb),1),20),$n,Z(X(Ye,1),Me,2,6,[Al,QF,or,"xmlns:prefix"])),kn(l(ie(Ne(e.qb),2),20),$n,Z(X(Ye,1),Me,2,6,[Al,QF,or,"xsi:schemaLocation"])),kn(l(ie(Ne(e.qb),3),38),$n,Z(X(Ye,1),Me,2,6,[Al,e$,or,"cDATA",t$,VD])),kn(l(ie(Ne(e.qb),4),38),$n,Z(X(Ye,1),Me,2,6,[Al,e$,or,"comment",t$,VD])),kn(l(ie(Ne(e.qb),5),20),$n,Z(X(Ye,1),Me,2,6,[Al,e$,or,h_t,t$,VD])),kn(l(ie(Ne(e.qb),6),38),$n,Z(X(Ye,1),Me,2,6,[Al,e$,or,oQ,t$,VD]))}function Pn(e){return mt("_UI_EMFDiagnostic_marker",e)?"EMF Problem":mt("_UI_CircularContainment_diagnostic",e)?"An object may not circularly contain itself":mt(YTt,e)?"Wrong character.":mt(JTt,e)?"Invalid reference number.":mt(GF,e)?"A character is required after \\.":mt(fQ,e)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":mt(XTt,e)?"'(?<' or '(?<!' is expected.":mt(ZTt,e)?"A comment is not terminated.":mt(am,e)?"')' is expected.":mt(cEe,e)?"Unexpected end of the pattern in a modifier group.":mt(QTt,e)?"':' is expected.":mt(eAt,e)?"Unexpected end of the pattern in a conditional group.":mt(tAt,e)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":mt(nAt,e)?"There are more than three choices in a conditional group.":mt(rAt,e)?"A character in U+0040-U+005f must follow \\c.":mt(iAt,e)?"A '{' is required before a character category.":mt(oAt,e)?"A property name is not closed by '}'.":mt(lEe,e)?"Unexpected meta character.":mt(hQ,e)?"Unknown property.":mt(dEe,e)?"A POSIX character class must be closed by ':]'.":mt(qF,e)?"Unexpected end of the pattern in a character class.":mt(sAt,e)?"Unknown name for a POSIX character class.":mt("parser.cc.4",e)?"'-' is invalid here.":mt(aAt,e)?"']' is expected.":mt(fEe,e)?"'[' is invalid in a character class. Write '\\['.":mt(hEe,e)?"']' is invalid in a character class. Write '\\]'.":mt(pQ,e)?"'-' is an invalid character range. Write '\\-'.":mt(uAt,e)?"'[' is expected.":mt(cAt,e)?"')' or '-[' or '+[' or '&[' is expected.":mt(lAt,e)?"The range end code point is less than the start code point.":mt(Eg,e)?"Invalid Unicode hex notation.":mt(dAt,e)?"Overflow in a hex notation.":mt(fAt,e)?"'\\x{' must be closed by '}'.":mt(hAt,e)?"Invalid Unicode code point.":mt(pAt,e)?"An anchor must not be here.":mt(tl,e)?"This expression is not supported in the current option setting.":mt(gAt,e)?"Invalid quantifier. A digit is expected.":mt(bAt,e)?"Invalid quantifier. Invalid quantity or a '}' is missing.":mt(mAt,e)?"Invalid quantifier. A digit or '}' is expected.":mt(wAt,e)?"Invalid quantifier. A min quantity must be <= a max quantity.":mt(pEe,e)?"Invalid quantifier. A quantity value overflow.":mt("_UI_PackageRegistry_extensionpoint",e)?"Ecore Package Registry for Generated Packages":mt("_UI_DynamicPackageRegistry_extensionpoint",e)?"Ecore Package Registry for Dynamic Packages":mt("_UI_FactoryRegistry_extensionpoint",e)?"Ecore Factory Override Registry":mt("_UI_URIExtensionParserRegistry_extensionpoint",e)?"URI Extension Parser Registry":mt("_UI_URIProtocolParserRegistry_extensionpoint",e)?"URI Protocol Parser Registry":mt("_UI_URIContentParserRegistry_extensionpoint",e)?"URI Content Parser Registry":mt("_UI_ContentHandlerRegistry_extensionpoint",e)?"Content Handler Registry":mt("_UI_URIMappingRegistry_extensionpoint",e)?"URI Converter Mapping Registry":mt("_UI_PackageRegistryImplementation_extensionpoint",e)?"Ecore Package Registry Implementation":mt("_UI_ValidationDelegateRegistry_extensionpoint",e)?"Validation Delegate Registry":mt("_UI_SettingDelegateRegistry_extensionpoint",e)?"Feature Setting Delegate Factory Registry":mt("_UI_InvocationDelegateRegistry_extensionpoint",e)?"Operation Invocation Delegate Factory Registry":mt("_UI_EClassInterfaceNotAbstract_diagnostic",e)?"A class that is an interface must also be abstract":mt("_UI_EClassNoCircularSuperTypes_diagnostic",e)?"A class may not be a super type of itself":mt("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",e)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":mt("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",e)?"The opposite of the opposite may not be a reference different from this one":mt("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",e)?"The opposite must be a feature of the reference's type":mt("_UI_EReferenceTransientOppositeNotTransient_diagnostic",e)?"The opposite of a transient reference must be transient if it is proxy resolving":mt("_UI_EReferenceOppositeBothContainment_diagnostic",e)?"The opposite of a containment reference must not be a containment reference":mt("_UI_EReferenceConsistentUnique_diagnostic",e)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":mt("_UI_ETypedElementNoType_diagnostic",e)?"The typed element must have a type":mt("_UI_EAttributeNoDataType_diagnostic",e)?"The generic attribute type must not refer to a class":mt("_UI_EReferenceNoClass_diagnostic",e)?"The generic reference type must not refer to a data type":mt("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",e)?"A generic type can't refer to both a type parameter and a classifier":mt("_UI_EGenericTypeNoClass_diagnostic",e)?"A generic super type must refer to a class":mt("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",e)?"A generic type in this context must refer to a classifier or a type parameter":mt("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",e)?"A generic type may have bounds only when used as a type argument":mt("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",e)?"A generic type must not have both a lower and an upper bound":mt("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",e)?"A generic type with bounds must not also refer to a type parameter or classifier":mt("_UI_EGenericTypeNoArguments_diagnostic",e)?"A generic type may have arguments only if it refers to a classifier":mt("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",e)?"A generic type may only refer to a type parameter that is in scope":e}function h3n(e){var t,r,o,s,u,f,p,m,y,v,T,N,I,L,U;e.r||(e.r=!0,Da(e,"graph"),Aj(e,"graph"),_j(e,Dk),_6(e.o,"T"),Tn(us(e.a),e.p),Tn(us(e.f),e.a),Tn(us(e.n),e.f),Tn(us(e.g),e.n),Tn(us(e.c),e.n),Tn(us(e.i),e.c),Tn(us(e.j),e.c),Tn(us(e.d),e.f),Tn(us(e.e),e.a),Ls(e.p,C3n,R2t,!0,!0,!1),L=mE(e.p,e.p,"setProperty"),U=jht(L),y=np(e.o),v=(r=(o=new Km,o),r),Tn((!y.d&&(y.d=new yi(Uo,y,1)),y.d),v),T=hW(U),pbe(v,T),p7(L,y,tEe),y=hW(U),p7(L,y,rI),L=mE(e.p,null,"getProperty"),U=jht(L),y=np(e.o),v=hW(U),Tn((!y.d&&(y.d=new yi(Uo,y,1)),y.d),v),p7(L,y,tEe),y=hW(U),I=Zd(L,y,null),I&&I.mj(),L=mE(e.p,e.wb.e,"hasProperty"),y=np(e.o),v=(s=(u=new Km,u),s),Tn((!y.d&&(y.d=new yi(Uo,y,1)),y.d),v),p7(L,y,tEe),L=mE(e.p,e.p,"copyProperties"),ns(L,e.p,tQ),L=mE(e.p,null,"getAllProperties"),y=np(e.wb.P),v=np(e.o),Tn((!y.d&&(y.d=new yi(Uo,y,1)),y.d),v),T=(f=(p=new Km,p),f),Tn((!v.d&&(v.d=new yi(Uo,v,1)),v.d),T),v=np(e.wb.M),Tn((!y.d&&(y.d=new yi(Uo,y,1)),y.d),v),N=Zd(L,y,null),N&&N.mj(),Ls(e.a,Tx,ATt,!0,!1,!0),Mr(l(ie(Ne(e.a),0),20),e.k,null,PTt,0,-1,Tx,!1,!1,!0,!0,!1,!1,!1),Ls(e.f,QL,kTt,!0,!1,!0),Mr(l(ie(Ne(e.f),0),20),e.g,l(ie(Ne(e.g),0),20),"labels",0,-1,QL,!1,!1,!0,!0,!1,!1,!1),oi(l(ie(Ne(e.f),1),38),e.wb._,jTt,null,0,1,QL,!1,!1,!0,!1,!0,!1),Ls(e.n,eM,"ElkShape",!0,!1,!0),oi(l(ie(Ne(e.n),0),38),e.wb.t,nQ,lk,1,1,eM,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.n),1),38),e.wb.t,rQ,lk,1,1,eM,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.n),2),38),e.wb.t,"x",lk,1,1,eM,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.n),3),38),e.wb.t,"y",lk,1,1,eM,!1,!1,!0,!1,!0,!1),L=mE(e.n,null,"setDimensions"),ns(L,e.wb.t,rQ),ns(L,e.wb.t,nQ),L=mE(e.n,null,"setLocation"),ns(L,e.wb.t,"x"),ns(L,e.wb.t,"y"),Ls(e.g,Is,Zve,!1,!1,!0),Mr(l(ie(Ne(e.g),0),20),e.f,l(ie(Ne(e.f),0),20),iQ,0,1,Is,!1,!1,!0,!1,!1,!1,!1),oi(l(ie(Ne(e.g),1),38),e.wb._,oQ,"",0,1,Is,!1,!1,!0,!1,!0,!1),Ls(e.c,pn,xTt,!0,!1,!0),Mr(l(ie(Ne(e.c),0),20),e.d,l(ie(Ne(e.d),1),20),"outgoingEdges",0,-1,pn,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.c),1),20),e.d,l(ie(Ne(e.d),2),20),"incomingEdges",0,-1,pn,!1,!1,!0,!1,!0,!1,!1),Ls(e.i,En,Qve,!1,!1,!0),Mr(l(ie(Ne(e.i),0),20),e.j,l(ie(Ne(e.j),0),20),"ports",0,-1,En,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.i),1),20),e.i,l(ie(Ne(e.i),2),20),sQ,0,-1,En,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.i),2),20),e.i,l(ie(Ne(e.i),1),20),iQ,0,1,En,!1,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.i),3),20),e.d,l(ie(Ne(e.d),0),20),"containedEdges",0,-1,En,!1,!1,!0,!0,!1,!1,!1),oi(l(ie(Ne(e.i),4),38),e.wb.e,FTt,null,0,1,En,!0,!0,!1,!1,!0,!0),Ls(e.j,zu,eEe,!1,!1,!0),Mr(l(ie(Ne(e.j),0),20),e.i,l(ie(Ne(e.i),0),20),iQ,0,1,zu,!1,!1,!0,!1,!1,!1,!1),Ls(e.d,Cr,Xve,!1,!1,!0),Mr(l(ie(Ne(e.d),0),20),e.i,l(ie(Ne(e.i),3),20),"containingNode",0,1,Cr,!1,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.d),1),20),e.c,l(ie(Ne(e.c),0),20),nEe,0,-1,Cr,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.d),2),20),e.c,l(ie(Ne(e.c),1),20),aQ,0,-1,Cr,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.d),3),20),e.e,l(ie(Ne(e.e),5),20),uQ,0,-1,Cr,!1,!1,!0,!0,!1,!1,!1),oi(l(ie(Ne(e.d),4),38),e.wb.e,"hyperedge",null,0,1,Cr,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.d),5),38),e.wb.e,FTt,null,0,1,Cr,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.d),6),38),e.wb.e,"selfloop",null,0,1,Cr,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.d),7),38),e.wb.e,"connected",null,0,1,Cr,!0,!0,!1,!1,!0,!0),Ls(e.b,Ic,_Tt,!1,!1,!0),oi(l(ie(Ne(e.b),0),38),e.wb.t,"x",lk,1,1,Ic,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.b),1),38),e.wb.t,"y",lk,1,1,Ic,!1,!1,!0,!1,!0,!1),L=mE(e.b,null,"set"),ns(L,e.wb.t,"x"),ns(L,e.wb.t,"y"),Ls(e.e,jr,NTt,!1,!1,!0),oi(l(ie(Ne(e.e),0),38),e.wb.t,"startX",null,0,1,jr,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.e),1),38),e.wb.t,"startY",null,0,1,jr,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.e),2),38),e.wb.t,"endX",null,0,1,jr,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.e),3),38),e.wb.t,"endY",null,0,1,jr,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.e),4),20),e.b,null,BF,0,-1,jr,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.e),5),20),e.d,l(ie(Ne(e.d),3),20),iQ,0,1,jr,!1,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.e),6),20),e.c,null,rEe,0,1,jr,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.e),7),20),e.c,null,iEe,0,1,jr,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.e),8),20),e.e,l(ie(Ne(e.e),9),20),oEe,0,-1,jr,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.e),9),20),e.e,l(ie(Ne(e.e),8),20),sEe,0,-1,jr,!1,!1,!0,!1,!0,!1,!1),oi(l(ie(Ne(e.e),10),38),e.wb._,jTt,null,0,1,jr,!1,!1,!0,!1,!0,!1),L=mE(e.e,null,"setStartLocation"),ns(L,e.wb.t,"x"),ns(L,e.wb.t,"y"),L=mE(e.e,null,"setEndLocation"),ns(L,e.wb.t,"x"),ns(L,e.wb.t,"y"),Ls(e.k,cm,"ElkPropertyToValueMapEntry",!1,!1,!1),y=np(e.o),v=(m=(t=new Km,t),m),Tn((!y.d&&(y.d=new yi(Uo,y,1)),y.d),v),b0t(l(ie(Ne(e.k),0),38),y,"key",cm,!1,!1,!0,!1),oi(l(ie(Ne(e.k),1),38),e.s,rI,null,0,1,cm,!1,!1,!0,!1,!0,!1),nr(e.o,nre,"IProperty",!0),nr(e.s,Ci,"PropertyValue",!0),Uge(e,Dk))}function PEt(){PEt=Y,te=me(Eu,BE,30,xo,15,1),te[9]=35,te[10]=19,te[13]=19,te[32]=51,te[33]=49,te[34]=33,pe(te,35,38,49),te[38]=1,pe(te,39,45,49),pe(te,45,47,-71),te[47]=49,pe(te,48,58,-71),te[58]=61,te[59]=49,te[60]=1,te[61]=49,te[62]=33,pe(te,63,65,49),pe(te,65,91,-3),pe(te,91,93,33),te[93]=1,te[94]=33,te[95]=-3,te[96]=33,pe(te,97,123,-3),pe(te,123,183,33),te[183]=-87,pe(te,184,192,33),pe(te,192,215,-19),te[215]=33,pe(te,216,247,-19),te[247]=33,pe(te,248,306,-19),pe(te,306,308,33),pe(te,308,319,-19),pe(te,319,321,33),pe(te,321,329,-19),te[329]=33,pe(te,330,383,-19),te[383]=33,pe(te,384,452,-19),pe(te,452,461,33),pe(te,461,497,-19),pe(te,497,500,33),pe(te,500,502,-19),pe(te,502,506,33),pe(te,506,536,-19),pe(te,536,592,33),pe(te,592,681,-19),pe(te,681,699,33),pe(te,699,706,-19),pe(te,706,720,33),pe(te,720,722,-87),pe(te,722,768,33),pe(te,768,838,-87),pe(te,838,864,33),pe(te,864,866,-87),pe(te,866,902,33),te[902]=-19,te[903]=-87,pe(te,904,907,-19),te[907]=33,te[908]=-19,te[909]=33,pe(te,910,930,-19),te[930]=33,pe(te,931,975,-19),te[975]=33,pe(te,976,983,-19),pe(te,983,986,33),te[986]=-19,te[987]=33,te[988]=-19,te[989]=33,te[990]=-19,te[991]=33,te[992]=-19,te[993]=33,pe(te,994,1012,-19),pe(te,1012,1025,33),pe(te,1025,1037,-19),te[1037]=33,pe(te,1038,1104,-19),te[1104]=33,pe(te,1105,1117,-19),te[1117]=33,pe(te,1118,1154,-19),te[1154]=33,pe(te,1155,1159,-87),pe(te,1159,1168,33),pe(te,1168,1221,-19),pe(te,1221,1223,33),pe(te,1223,1225,-19),pe(te,1225,1227,33),pe(te,1227,1229,-19),pe(te,1229,1232,33),pe(te,1232,1260,-19),pe(te,1260,1262,33),pe(te,1262,1270,-19),pe(te,1270,1272,33),pe(te,1272,1274,-19),pe(te,1274,1329,33),pe(te,1329,1367,-19),pe(te,1367,1369,33),te[1369]=-19,pe(te,1370,1377,33),pe(te,1377,1415,-19),pe(te,1415,1425,33),pe(te,1425,1442,-87),te[1442]=33,pe(te,1443,1466,-87),te[1466]=33,pe(te,1467,1470,-87),te[1470]=33,te[1471]=-87,te[1472]=33,pe(te,1473,1475,-87),te[1475]=33,te[1476]=-87,pe(te,1477,1488,33),pe(te,1488,1515,-19),pe(te,1515,1520,33),pe(te,1520,1523,-19),pe(te,1523,1569,33),pe(te,1569,1595,-19),pe(te,1595,1600,33),te[1600]=-87,pe(te,1601,1611,-19),pe(te,1611,1619,-87),pe(te,1619,1632,33),pe(te,1632,1642,-87),pe(te,1642,1648,33),te[1648]=-87,pe(te,1649,1720,-19),pe(te,1720,1722,33),pe(te,1722,1727,-19),te[1727]=33,pe(te,1728,1743,-19),te[1743]=33,pe(te,1744,1748,-19),te[1748]=33,te[1749]=-19,pe(te,1750,1765,-87),pe(te,1765,1767,-19),pe(te,1767,1769,-87),te[1769]=33,pe(te,1770,1774,-87),pe(te,1774,1776,33),pe(te,1776,1786,-87),pe(te,1786,2305,33),pe(te,2305,2308,-87),te[2308]=33,pe(te,2309,2362,-19),pe(te,2362,2364,33),te[2364]=-87,te[2365]=-19,pe(te,2366,2382,-87),pe(te,2382,2385,33),pe(te,2385,2389,-87),pe(te,2389,2392,33),pe(te,2392,2402,-19),pe(te,2402,2404,-87),pe(te,2404,2406,33),pe(te,2406,2416,-87),pe(te,2416,2433,33),pe(te,2433,2436,-87),te[2436]=33,pe(te,2437,2445,-19),pe(te,2445,2447,33),pe(te,2447,2449,-19),pe(te,2449,2451,33),pe(te,2451,2473,-19),te[2473]=33,pe(te,2474,2481,-19),te[2481]=33,te[2482]=-19,pe(te,2483,2486,33),pe(te,2486,2490,-19),pe(te,2490,2492,33),te[2492]=-87,te[2493]=33,pe(te,2494,2501,-87),pe(te,2501,2503,33),pe(te,2503,2505,-87),pe(te,2505,2507,33),pe(te,2507,2510,-87),pe(te,2510,2519,33),te[2519]=-87,pe(te,2520,2524,33),pe(te,2524,2526,-19),te[2526]=33,pe(te,2527,2530,-19),pe(te,2530,2532,-87),pe(te,2532,2534,33),pe(te,2534,2544,-87),pe(te,2544,2546,-19),pe(te,2546,2562,33),te[2562]=-87,pe(te,2563,2565,33),pe(te,2565,2571,-19),pe(te,2571,2575,33),pe(te,2575,2577,-19),pe(te,2577,2579,33),pe(te,2579,2601,-19),te[2601]=33,pe(te,2602,2609,-19),te[2609]=33,pe(te,2610,2612,-19),te[2612]=33,pe(te,2613,2615,-19),te[2615]=33,pe(te,2616,2618,-19),pe(te,2618,2620,33),te[2620]=-87,te[2621]=33,pe(te,2622,2627,-87),pe(te,2627,2631,33),pe(te,2631,2633,-87),pe(te,2633,2635,33),pe(te,2635,2638,-87),pe(te,2638,2649,33),pe(te,2649,2653,-19),te[2653]=33,te[2654]=-19,pe(te,2655,2662,33),pe(te,2662,2674,-87),pe(te,2674,2677,-19),pe(te,2677,2689,33),pe(te,2689,2692,-87),te[2692]=33,pe(te,2693,2700,-19),te[2700]=33,te[2701]=-19,te[2702]=33,pe(te,2703,2706,-19),te[2706]=33,pe(te,2707,2729,-19),te[2729]=33,pe(te,2730,2737,-19),te[2737]=33,pe(te,2738,2740,-19),te[2740]=33,pe(te,2741,2746,-19),pe(te,2746,2748,33),te[2748]=-87,te[2749]=-19,pe(te,2750,2758,-87),te[2758]=33,pe(te,2759,2762,-87),te[2762]=33,pe(te,2763,2766,-87),pe(te,2766,2784,33),te[2784]=-19,pe(te,2785,2790,33),pe(te,2790,2800,-87),pe(te,2800,2817,33),pe(te,2817,2820,-87),te[2820]=33,pe(te,2821,2829,-19),pe(te,2829,2831,33),pe(te,2831,2833,-19),pe(te,2833,2835,33),pe(te,2835,2857,-19),te[2857]=33,pe(te,2858,2865,-19),te[2865]=33,pe(te,2866,2868,-19),pe(te,2868,2870,33),pe(te,2870,2874,-19),pe(te,2874,2876,33),te[2876]=-87,te[2877]=-19,pe(te,2878,2884,-87),pe(te,2884,2887,33),pe(te,2887,2889,-87),pe(te,2889,2891,33),pe(te,2891,2894,-87),pe(te,2894,2902,33),pe(te,2902,2904,-87),pe(te,2904,2908,33),pe(te,2908,2910,-19),te[2910]=33,pe(te,2911,2914,-19),pe(te,2914,2918,33),pe(te,2918,2928,-87),pe(te,2928,2946,33),pe(te,2946,2948,-87),te[2948]=33,pe(te,2949,2955,-19),pe(te,2955,2958,33),pe(te,2958,2961,-19),te[2961]=33,pe(te,2962,2966,-19),pe(te,2966,2969,33),pe(te,2969,2971,-19),te[2971]=33,te[2972]=-19,te[2973]=33,pe(te,2974,2976,-19),pe(te,2976,2979,33),pe(te,2979,2981,-19),pe(te,2981,2984,33),pe(te,2984,2987,-19),pe(te,2987,2990,33),pe(te,2990,2998,-19),te[2998]=33,pe(te,2999,3002,-19),pe(te,3002,3006,33),pe(te,3006,3011,-87),pe(te,3011,3014,33),pe(te,3014,3017,-87),te[3017]=33,pe(te,3018,3022,-87),pe(te,3022,3031,33),te[3031]=-87,pe(te,3032,3047,33),pe(te,3047,3056,-87),pe(te,3056,3073,33),pe(te,3073,3076,-87),te[3076]=33,pe(te,3077,3085,-19),te[3085]=33,pe(te,3086,3089,-19),te[3089]=33,pe(te,3090,3113,-19),te[3113]=33,pe(te,3114,3124,-19),te[3124]=33,pe(te,3125,3130,-19),pe(te,3130,3134,33),pe(te,3134,3141,-87),te[3141]=33,pe(te,3142,3145,-87),te[3145]=33,pe(te,3146,3150,-87),pe(te,3150,3157,33),pe(te,3157,3159,-87),pe(te,3159,3168,33),pe(te,3168,3170,-19),pe(te,3170,3174,33),pe(te,3174,3184,-87),pe(te,3184,3202,33),pe(te,3202,3204,-87),te[3204]=33,pe(te,3205,3213,-19),te[3213]=33,pe(te,3214,3217,-19),te[3217]=33,pe(te,3218,3241,-19),te[3241]=33,pe(te,3242,3252,-19),te[3252]=33,pe(te,3253,3258,-19),pe(te,3258,3262,33),pe(te,3262,3269,-87),te[3269]=33,pe(te,3270,3273,-87),te[3273]=33,pe(te,3274,3278,-87),pe(te,3278,3285,33),pe(te,3285,3287,-87),pe(te,3287,3294,33),te[3294]=-19,te[3295]=33,pe(te,3296,3298,-19),pe(te,3298,3302,33),pe(te,3302,3312,-87),pe(te,3312,3330,33),pe(te,3330,3332,-87),te[3332]=33,pe(te,3333,3341,-19),te[3341]=33,pe(te,3342,3345,-19),te[3345]=33,pe(te,3346,3369,-19),te[3369]=33,pe(te,3370,3386,-19),pe(te,3386,3390,33),pe(te,3390,3396,-87),pe(te,3396,3398,33),pe(te,3398,3401,-87),te[3401]=33,pe(te,3402,3406,-87),pe(te,3406,3415,33),te[3415]=-87,pe(te,3416,3424,33),pe(te,3424,3426,-19),pe(te,3426,3430,33),pe(te,3430,3440,-87),pe(te,3440,3585,33),pe(te,3585,3631,-19),te[3631]=33,te[3632]=-19,te[3633]=-87,pe(te,3634,3636,-19),pe(te,3636,3643,-87),pe(te,3643,3648,33),pe(te,3648,3654,-19),pe(te,3654,3663,-87),te[3663]=33,pe(te,3664,3674,-87),pe(te,3674,3713,33),pe(te,3713,3715,-19),te[3715]=33,te[3716]=-19,pe(te,3717,3719,33),pe(te,3719,3721,-19),te[3721]=33,te[3722]=-19,pe(te,3723,3725,33),te[3725]=-19,pe(te,3726,3732,33),pe(te,3732,3736,-19),te[3736]=33,pe(te,3737,3744,-19),te[3744]=33,pe(te,3745,3748,-19),te[3748]=33,te[3749]=-19,te[3750]=33,te[3751]=-19,pe(te,3752,3754,33),pe(te,3754,3756,-19),te[3756]=33,pe(te,3757,3759,-19),te[3759]=33,te[3760]=-19,te[3761]=-87,pe(te,3762,3764,-19),pe(te,3764,3770,-87),te[3770]=33,pe(te,3771,3773,-87),te[3773]=-19,pe(te,3774,3776,33),pe(te,3776,3781,-19),te[3781]=33,te[3782]=-87,te[3783]=33,pe(te,3784,3790,-87),pe(te,3790,3792,33),pe(te,3792,3802,-87),pe(te,3802,3864,33),pe(te,3864,3866,-87),pe(te,3866,3872,33),pe(te,3872,3882,-87),pe(te,3882,3893,33),te[3893]=-87,te[3894]=33,te[3895]=-87,te[3896]=33,te[3897]=-87,pe(te,3898,3902,33),pe(te,3902,3904,-87),pe(te,3904,3912,-19),te[3912]=33,pe(te,3913,3946,-19),pe(te,3946,3953,33),pe(te,3953,3973,-87),te[3973]=33,pe(te,3974,3980,-87),pe(te,3980,3984,33),pe(te,3984,3990,-87),te[3990]=33,te[3991]=-87,te[3992]=33,pe(te,3993,4014,-87),pe(te,4014,4017,33),pe(te,4017,4024,-87),te[4024]=33,te[4025]=-87,pe(te,4026,4256,33),pe(te,4256,4294,-19),pe(te,4294,4304,33),pe(te,4304,4343,-19),pe(te,4343,4352,33),te[4352]=-19,te[4353]=33,pe(te,4354,4356,-19),te[4356]=33,pe(te,4357,4360,-19),te[4360]=33,te[4361]=-19,te[4362]=33,pe(te,4363,4365,-19),te[4365]=33,pe(te,4366,4371,-19),pe(te,4371,4412,33),te[4412]=-19,te[4413]=33,te[4414]=-19,te[4415]=33,te[4416]=-19,pe(te,4417,4428,33),te[4428]=-19,te[4429]=33,te[4430]=-19,te[4431]=33,te[4432]=-19,pe(te,4433,4436,33),pe(te,4436,4438,-19),pe(te,4438,4441,33),te[4441]=-19,pe(te,4442,4447,33),pe(te,4447,4450,-19),te[4450]=33,te[4451]=-19,te[4452]=33,te[4453]=-19,te[4454]=33,te[4455]=-19,te[4456]=33,te[4457]=-19,pe(te,4458,4461,33),pe(te,4461,4463,-19),pe(te,4463,4466,33),pe(te,4466,4468,-19),te[4468]=33,te[4469]=-19,pe(te,4470,4510,33),te[4510]=-19,pe(te,4511,4520,33),te[4520]=-19,pe(te,4521,4523,33),te[4523]=-19,pe(te,4524,4526,33),pe(te,4526,4528,-19),pe(te,4528,4535,33),pe(te,4535,4537,-19),te[4537]=33,te[4538]=-19,te[4539]=33,pe(te,4540,4547,-19),pe(te,4547,4587,33),te[4587]=-19,pe(te,4588,4592,33),te[4592]=-19,pe(te,4593,4601,33),te[4601]=-19,pe(te,4602,7680,33),pe(te,7680,7836,-19),pe(te,7836,7840,33),pe(te,7840,7930,-19),pe(te,7930,7936,33),pe(te,7936,7958,-19),pe(te,7958,7960,33),pe(te,7960,7966,-19),pe(te,7966,7968,33),pe(te,7968,8006,-19),pe(te,8006,8008,33),pe(te,8008,8014,-19),pe(te,8014,8016,33),pe(te,8016,8024,-19),te[8024]=33,te[8025]=-19,te[8026]=33,te[8027]=-19,te[8028]=33,te[8029]=-19,te[8030]=33,pe(te,8031,8062,-19),pe(te,8062,8064,33),pe(te,8064,8117,-19),te[8117]=33,pe(te,8118,8125,-19),te[8125]=33,te[8126]=-19,pe(te,8127,8130,33),pe(te,8130,8133,-19),te[8133]=33,pe(te,8134,8141,-19),pe(te,8141,8144,33),pe(te,8144,8148,-19),pe(te,8148,8150,33),pe(te,8150,8156,-19),pe(te,8156,8160,33),pe(te,8160,8173,-19),pe(te,8173,8178,33),pe(te,8178,8181,-19),te[8181]=33,pe(te,8182,8189,-19),pe(te,8189,8400,33),pe(te,8400,8413,-87),pe(te,8413,8417,33),te[8417]=-87,pe(te,8418,8486,33),te[8486]=-19,pe(te,8487,8490,33),pe(te,8490,8492,-19),pe(te,8492,8494,33),te[8494]=-19,pe(te,8495,8576,33),pe(te,8576,8579,-19),pe(te,8579,12293,33),te[12293]=-87,te[12294]=33,te[12295]=-19,pe(te,12296,12321,33),pe(te,12321,12330,-19),pe(te,12330,12336,-87),te[12336]=33,pe(te,12337,12342,-87),pe(te,12342,12353,33),pe(te,12353,12437,-19),pe(te,12437,12441,33),pe(te,12441,12443,-87),pe(te,12443,12445,33),pe(te,12445,12447,-87),pe(te,12447,12449,33),pe(te,12449,12539,-19),te[12539]=33,pe(te,12540,12543,-87),pe(te,12543,12549,33),pe(te,12549,12589,-19),pe(te,12589,19968,33),pe(te,19968,40870,-19),pe(te,40870,44032,33),pe(te,44032,55204,-19),pe(te,55204,ED,33),pe(te,57344,65534,33)}function p3n(e){var t,r,o,s,u,f,p;e.hb||(e.hb=!0,Da(e,"ecore"),Aj(e,"ecore"),_j(e,_l),_6(e.fb,"E"),_6(e.L,"T"),_6(e.P,"K"),_6(e.P,"V"),_6(e.cb,"E"),Tn(us(e.b),e.bb),Tn(us(e.a),e.Q),Tn(us(e.o),e.p),Tn(us(e.p),e.R),Tn(us(e.q),e.p),Tn(us(e.v),e.q),Tn(us(e.w),e.R),Tn(us(e.B),e.Q),Tn(us(e.R),e.Q),Tn(us(e.T),e.eb),Tn(us(e.U),e.R),Tn(us(e.V),e.eb),Tn(us(e.W),e.bb),Tn(us(e.bb),e.eb),Tn(us(e.eb),e.R),Tn(us(e.db),e.R),Ls(e.b,gv,NAt,!1,!1,!0),oi(l(ie(Ne(e.b),0),38),e.e,"iD",null,0,1,gv,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.b),1),20),e.q,null,"eAttributeType",1,1,gv,!0,!0,!1,!1,!0,!1,!0),Ls(e.a,Kn,_At,!1,!1,!0),oi(l(ie(Ne(e.a),0),38),e._,tQ,null,0,1,Kn,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.a),1),20),e.ab,null,"details",0,-1,Kn,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.a),2),20),e.Q,l(ie(Ne(e.Q),0),20),"eModelElement",0,1,Kn,!0,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.a),3),20),e.S,null,"contents",0,-1,Kn,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.a),4),20),e.S,null,"references",0,-1,Kn,!1,!1,!0,!1,!0,!1,!1),Ls(e.o,Ol,"EClass",!1,!1,!0),oi(l(ie(Ne(e.o),0),38),e.e,"abstract",null,0,1,Ol,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.o),1),38),e.e,"interface",null,0,1,Ol,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.o),2),20),e.o,null,"eSuperTypes",0,-1,Ol,!1,!1,!0,!1,!0,!0,!1),Mr(l(ie(Ne(e.o),3),20),e.T,l(ie(Ne(e.T),0),20),"eOperations",0,-1,Ol,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.o),4),20),e.b,null,"eAllAttributes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),5),20),e.W,null,"eAllReferences",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),6),20),e.W,null,"eReferences",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),7),20),e.b,null,"eAttributes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),8),20),e.W,null,"eAllContainments",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),9),20),e.T,null,"eAllOperations",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),10),20),e.bb,null,"eAllStructuralFeatures",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),11),20),e.o,null,"eAllSuperTypes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),12),20),e.b,null,"eIDAttribute",0,1,Ol,!0,!0,!1,!1,!1,!1,!0),Mr(l(ie(Ne(e.o),13),20),e.bb,l(ie(Ne(e.bb),7),20),"eStructuralFeatures",0,-1,Ol,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.o),14),20),e.H,null,"eGenericSuperTypes",0,-1,Ol,!1,!1,!0,!0,!1,!0,!1),Mr(l(ie(Ne(e.o),15),20),e.H,null,"eAllGenericSuperTypes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),p=qo(l(ie(vr(e.o),0),62),e.e,"isSuperTypeOf"),ns(p,e.o,"someClass"),qo(l(ie(vr(e.o),1),62),e.I,"getFeatureCount"),p=qo(l(ie(vr(e.o),2),62),e.bb,BAt),ns(p,e.I,"featureID"),p=qo(l(ie(vr(e.o),3),62),e.I,UAt),ns(p,e.bb,dI),p=qo(l(ie(vr(e.o),4),62),e.bb,BAt),ns(p,e._,"featureName"),qo(l(ie(vr(e.o),5),62),e.I,"getOperationCount"),p=qo(l(ie(vr(e.o),6),62),e.T,"getEOperation"),ns(p,e.I,"operationID"),p=qo(l(ie(vr(e.o),7),62),e.I,HAt),ns(p,e.T,vEe),p=qo(l(ie(vr(e.o),8),62),e.T,"getOverride"),ns(p,e.T,vEe),p=qo(l(ie(vr(e.o),9),62),e.H,"getFeatureType"),ns(p,e.bb,dI),Ls(e.p,Ld,CAt,!0,!1,!0),oi(l(ie(Ne(e.p),0),38),e._,"instanceClassName",null,0,1,Ld,!1,!0,!0,!0,!0,!1),t=np(e.L),r=$he(),Tn((!t.d&&(t.d=new yi(Uo,t,1)),t.d),r),b0t(l(ie(Ne(e.p),1),38),t,"instanceClass",Ld,!0,!0,!1,!0),oi(l(ie(Ne(e.p),2),38),e.M,zAt,null,0,1,Ld,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.p),3),38),e._,"instanceTypeName",null,0,1,Ld,!1,!0,!0,!0,!0,!1),Mr(l(ie(Ne(e.p),4),20),e.U,l(ie(Ne(e.U),3),20),"ePackage",0,1,Ld,!0,!1,!1,!1,!0,!1,!1),Mr(l(ie(Ne(e.p),5),20),e.db,null,GAt,0,-1,Ld,!1,!1,!0,!0,!0,!1,!1),p=qo(l(ie(vr(e.p),0),62),e.e,qAt),ns(p,e.M,fD),qo(l(ie(vr(e.p),1),62),e.I,"getClassifierID"),Ls(e.q,Dre,"EDataType",!1,!1,!0),oi(l(ie(Ne(e.q),0),38),e.e,"serializable",Ck,0,1,Dre,!1,!1,!0,!1,!0,!1),Ls(e.v,vU,"EEnum",!1,!1,!0),Mr(l(ie(Ne(e.v),0),20),e.w,l(ie(Ne(e.w),3),20),"eLiterals",0,-1,vU,!1,!1,!0,!0,!1,!1,!1),p=qo(l(ie(vr(e.v),0),62),e.w,VAt),ns(p,e._,or),p=qo(l(ie(vr(e.v),1),62),e.w,VAt),ns(p,e.I,rI),p=qo(l(ie(vr(e.v),2),62),e.w,"getEEnumLiteralByLiteral"),ns(p,e._,"literal"),Ls(e.w,Ip,IAt,!1,!1,!0),oi(l(ie(Ne(e.w),0),38),e.I,rI,null,0,1,Ip,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.w),1),38),e.A,"instance",null,0,1,Ip,!0,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.w),2),38),e._,"literal",null,0,1,Ip,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.w),3),20),e.v,l(ie(Ne(e.v),0),20),"eEnum",0,1,Ip,!0,!1,!1,!1,!1,!1,!1),Ls(e.B,x4,"EFactory",!1,!1,!0),Mr(l(ie(Ne(e.B),0),20),e.U,l(ie(Ne(e.U),2),20),"ePackage",1,1,x4,!0,!1,!0,!1,!1,!1,!1),p=qo(l(ie(vr(e.B),0),62),e.S,"create"),ns(p,e.o,"eClass"),p=qo(l(ie(vr(e.B),1),62),e.M,"createFromString"),ns(p,e.q,"eDataType"),ns(p,e._,"literalValue"),p=qo(l(ie(vr(e.B),2),62),e._,"convertToString"),ns(p,e.q,"eDataType"),ns(p,e.M,"instanceValue"),Ls(e.Q,tM,CTt,!0,!1,!0),Mr(l(ie(Ne(e.Q),0),20),e.a,l(ie(Ne(e.a),2),20),"eAnnotations",0,-1,tM,!1,!1,!0,!0,!1,!1,!1),p=qo(l(ie(vr(e.Q),0),62),e.a,"getEAnnotation"),ns(p,e._,tQ),Ls(e.R,xre,ITt,!0,!1,!0),oi(l(ie(Ne(e.R),0),38),e._,or,null,0,1,xre,!1,!1,!0,!1,!0,!1),Ls(e.S,Y1,"EObject",!1,!1,!0),qo(l(ie(vr(e.S),0),62),e.o,"eClass"),qo(l(ie(vr(e.S),1),62),e.e,"eIsProxy"),qo(l(ie(vr(e.S),2),62),e.X,"eResource"),qo(l(ie(vr(e.S),3),62),e.S,"eContainer"),qo(l(ie(vr(e.S),4),62),e.bb,"eContainingFeature"),qo(l(ie(vr(e.S),5),62),e.W,"eContainmentFeature"),p=qo(l(ie(vr(e.S),6),62),null,"eContents"),t=np(e.fb),r=np(e.S),Tn((!t.d&&(t.d=new yi(Uo,t,1)),t.d),r),s=Zd(p,t,null),s&&s.mj(),p=qo(l(ie(vr(e.S),7),62),null,"eAllContents"),t=np(e.cb),r=np(e.S),Tn((!t.d&&(t.d=new yi(Uo,t,1)),t.d),r),u=Zd(p,t,null),u&&u.mj(),p=qo(l(ie(vr(e.S),8),62),null,"eCrossReferences"),t=np(e.fb),r=np(e.S),Tn((!t.d&&(t.d=new yi(Uo,t,1)),t.d),r),f=Zd(p,t,null),f&&f.mj(),p=qo(l(ie(vr(e.S),9),62),e.M,"eGet"),ns(p,e.bb,dI),p=qo(l(ie(vr(e.S),10),62),e.M,"eGet"),ns(p,e.bb,dI),ns(p,e.e,"resolve"),p=qo(l(ie(vr(e.S),11),62),null,"eSet"),ns(p,e.bb,dI),ns(p,e.M,"newValue"),p=qo(l(ie(vr(e.S),12),62),e.e,"eIsSet"),ns(p,e.bb,dI),p=qo(l(ie(vr(e.S),13),62),null,"eUnset"),ns(p,e.bb,dI),p=qo(l(ie(vr(e.S),14),62),e.M,"eInvoke"),ns(p,e.T,vEe),t=np(e.fb),r=$he(),Tn((!t.d&&(t.d=new yi(Uo,t,1)),t.d),r),p7(p,t,"arguments"),Osn(p,e.K),Ls(e.T,Dl,OAt,!1,!1,!0),Mr(l(ie(Ne(e.T),0),20),e.o,l(ie(Ne(e.o),3),20),WAt,0,1,Dl,!0,!1,!1,!1,!1,!1,!1),Mr(l(ie(Ne(e.T),1),20),e.db,null,GAt,0,-1,Dl,!1,!1,!0,!0,!0,!1,!1),Mr(l(ie(Ne(e.T),2),20),e.V,l(ie(Ne(e.V),0),20),"eParameters",0,-1,Dl,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.T),3),20),e.p,null,"eExceptions",0,-1,Dl,!1,!1,!0,!1,!0,!0,!1),Mr(l(ie(Ne(e.T),4),20),e.H,null,"eGenericExceptions",0,-1,Dl,!1,!1,!0,!0,!1,!0,!1),qo(l(ie(vr(e.T),0),62),e.I,HAt),p=qo(l(ie(vr(e.T),1),62),e.e,"isOverrideOf"),ns(p,e.T,"someOperation"),Ls(e.U,Dd,"EPackage",!1,!1,!0),oi(l(ie(Ne(e.U),0),38),e._,"nsURI",null,0,1,Dd,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.U),1),38),e._,"nsPrefix",null,0,1,Dd,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.U),2),20),e.B,l(ie(Ne(e.B),0),20),"eFactoryInstance",1,1,Dd,!0,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.U),3),20),e.p,l(ie(Ne(e.p),4),20),"eClassifiers",0,-1,Dd,!1,!1,!0,!0,!0,!1,!1),Mr(l(ie(Ne(e.U),4),20),e.U,l(ie(Ne(e.U),5),20),"eSubpackages",0,-1,Dd,!1,!1,!0,!0,!0,!1,!1),Mr(l(ie(Ne(e.U),5),20),e.U,l(ie(Ne(e.U),4),20),"eSuperPackage",0,1,Dd,!0,!1,!1,!1,!0,!1,!1),p=qo(l(ie(vr(e.U),0),62),e.p,"getEClassifier"),ns(p,e._,or),Ls(e.V,cw,DAt,!1,!1,!0),Mr(l(ie(Ne(e.V),0),20),e.T,l(ie(Ne(e.T),2),20),"eOperation",0,1,cw,!0,!1,!1,!1,!1,!1,!1),Ls(e.W,bv,LAt,!1,!1,!0),oi(l(ie(Ne(e.W),0),38),e.e,"containment",null,0,1,bv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.W),1),38),e.e,"container",null,0,1,bv,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.W),2),38),e.e,"resolveProxies",Ck,0,1,bv,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.W),3),20),e.W,null,"eOpposite",0,1,bv,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.W),4),20),e.o,null,"eReferenceType",1,1,bv,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.W),5),20),e.b,null,"eKeys",0,-1,bv,!1,!1,!0,!1,!0,!1,!1),Ls(e.bb,au,xAt,!0,!1,!0),oi(l(ie(Ne(e.bb),0),38),e.e,"changeable",Ck,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),1),38),e.e,"volatile",null,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),2),38),e.e,"transient",null,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),3),38),e._,"defaultValueLiteral",null,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),4),38),e.M,zAt,null,0,1,au,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.bb),5),38),e.e,"unsettable",null,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),6),38),e.e,"derived",null,0,1,au,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.bb),7),20),e.o,l(ie(Ne(e.o),13),20),WAt,0,1,au,!0,!1,!1,!1,!1,!1,!1),qo(l(ie(vr(e.bb),0),62),e.I,UAt),p=qo(l(ie(vr(e.bb),1),62),null,"getContainerClass"),t=np(e.L),r=$he(),Tn((!t.d&&(t.d=new yi(Uo,t,1)),t.d),r),o=Zd(p,t,null),o&&o.mj(),Ls(e.eb,pv,kAt,!0,!1,!0),oi(l(ie(Ne(e.eb),0),38),e.e,"ordered",Ck,0,1,pv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.eb),1),38),e.e,"unique",Ck,0,1,pv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.eb),2),38),e.I,"lowerBound",null,0,1,pv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.eb),3),38),e.I,"upperBound","1",0,1,pv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.eb),4),38),e.e,"many",null,0,1,pv,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.eb),5),38),e.e,"required",null,0,1,pv,!0,!0,!1,!1,!0,!0),Mr(l(ie(Ne(e.eb),6),20),e.p,null,"eType",0,1,pv,!1,!0,!0,!1,!0,!0,!1),Mr(l(ie(Ne(e.eb),7),20),e.H,null,"eGenericType",0,1,pv,!1,!0,!0,!0,!1,!0,!1),Ls(e.ab,cm,"EStringToStringMapEntry",!1,!1,!1),oi(l(ie(Ne(e.ab),0),38),e._,"key",null,0,1,cm,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.ab),1),38),e._,rI,null,0,1,cm,!1,!1,!0,!1,!0,!1),Ls(e.H,Uo,RAt,!1,!1,!0),Mr(l(ie(Ne(e.H),0),20),e.H,null,"eUpperBound",0,1,Uo,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.H),1),20),e.H,null,"eTypeArguments",0,-1,Uo,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.H),2),20),e.p,null,"eRawType",1,1,Uo,!0,!1,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.H),3),20),e.H,null,"eLowerBound",0,1,Uo,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.H),4),20),e.db,null,"eTypeParameter",0,1,Uo,!1,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.H),5),20),e.p,null,"eClassifier",0,1,Uo,!1,!1,!0,!1,!0,!1,!1),p=qo(l(ie(vr(e.H),0),62),e.e,qAt),ns(p,e.M,fD),Ls(e.db,Ka,MAt,!1,!1,!0),Mr(l(ie(Ne(e.db),0),20),e.H,null,"eBounds",0,-1,Ka,!1,!1,!0,!0,!1,!1,!1),nr(e.c,UQ,"EBigDecimal",!0),nr(e.d,zE,"EBigInteger",!0),nr(e.e,uu,"EBoolean",!0),nr(e.f,Yr,"EBooleanObject",!0),nr(e.i,Eu,"EByte",!0),nr(e.g,X(Eu,1),"EByteArray",!0),nr(e.j,yT,"EByteObject",!0),nr(e.k,al,"EChar",!0),nr(e.n,pI,"ECharacterObject",!0),nr(e.r,u$,"EDate",!0),nr(e.s,V3e,"EDiagnosticChain",!1),nr(e.t,Ki,"EDouble",!0),nr(e.u,fi,"EDoubleObject",!0),nr(e.fb,a3e,"EEList",!1),nr(e.A,l3e,"EEnumerator",!1),nr(e.C,D3e,"EFeatureMap",!1),nr(e.D,EU,"EFeatureMapEntry",!1),nr(e.F,vv,"EFloat",!0),nr(e.G,Bk,"EFloatObject",!0),nr(e.I,Rn,"EInt",!0),nr(e.J,Ti,"EIntegerObject",!0),nr(e.L,REe,"EJavaClass",!0),nr(e.M,Ci,"EJavaObject",!0),nr(e.N,hw,"ELong",!0),nr(e.O,K0,"ELongObject",!0),nr(e.P,OEe,"EMap",!1),nr(e.X,C3e,"EResource",!1),nr(e.Y,W3e,"EResourceSet",!1),nr(e.Z,S2,"EShort",!0),nr(e.$,Y0,"EShortObject",!0),nr(e._,Ye,"EString",!0),nr(e.cb,c3e,"ETreeIterator",!1),nr(e.K,K3e,"EInvocationTargetException",!1),Uge(e,_l))}var fD="object",sT="boolean",z0e="number",GJ="string",qJ="function",sr=2147483647,js="java.lang",hD={3:1},pD="com.google.common.base",Ma=", ",jEt="%s (%s) must not be negative",Rt={3:1,4:1,5:1},FEt="negative size: ",G0e="no calls to next() since the last call to remove()",$Et="Optional.of(",tu="null",ok={206:1,51:1},gt="com.google.common.collect",sk={206:1,51:1,130:1},Qb={231:1,3:1},Wi={51:1},gn="java.util",P0={93:1},Ny={22:1,32:1,18:1},tf=2042,wu={22:1,32:1,18:1,24:1},mp=2048,q0e={93:1,141:1,136:1},BEt={22:1,32:1,18:1,24:1,85:1},V0e={22:1,32:1,18:1,279:1,24:1,85:1},vh={51:1,130:1},VJ={359:1,45:1},UEt="AbstractMapEntry",HEt="expectedValuesPerKey",Me={3:1,6:1,4:1,5:1},Ff=16384,Tc={163:1},tn={42:1},gD={204:1},bD={l:4194303,m:4194303,h:524287},WJ={257:1,3:1,34:1},zEt="range unbounded on this side",Eh={22:1},GEt={22:1,18:1},W0e={3:1,22:1,32:1,18:1},ak={312:1,3:1,22:1,32:1,18:1,16:1,59:1},Q7={3:1,4:1,5:1,178:1},uk={3:1,93:1},KJ={22:1,18:1,24:1},aT={3:1,22:1,32:1,18:1,24:1},qEt={22:1,18:1,24:1,85:1},Sh=461845907,Th=-862048943,mD={3:1,6:1,4:1,5:1,178:1},VEt="expectedSize",jC=1073741824,Cy="initialArraySize",Ce={3:1,6:1,4:1,10:1,5:1},ck={22:1,32:1,56:1,18:1,16:1},YJ="arraySize",Tl=1024,WEt={22:1,32:1,56:1,18:1,16:1,59:1},Ln={48:1},eF={376:1},mg=1e-4,Zi=-2147483648,KEt="__noinit__",wp={3:1,102:1,63:1,81:1},wD="com.google.gwt.core.client.impl",K0e="String",Y0e="com.google.gwt.core.client",JJ="anonymous",XJ="fnStack",J0e="Unknown",$f={203:1,3:1,4:1},wg=1e3,Ei=65535,ZJ="January",QJ="February",eX="March",tX="April",uT="May",nX="June",rX="July",iX="August",oX="September",sX="October",aX="November",uX="December",x1=1900,Xn={54:1,3:1,4:1},YEt="Before Christ",JEt="Anno Domini",cX="Sunday",lX="Monday",dX="Tuesday",fX="Wednesday",hX="Thursday",pX="Friday",gX="Saturday",X0e="com.google.gwt.i18n.shared",XEt="DateTimeFormat",bX="com.google.gwt.i18n.client",ZEt="DefaultDateTimeFormatInfo",QEt={3:1,4:1,34:1,208:1},cT="com.google.gwt.json.client",Uu=4194303,yp=1048575,yD=524288,lT=4194304,em=17592186044416,tF=1e9,vD=-17592186044416,Z0e="java.io",nF={3:1,102:1,99:1,63:1,81:1},e2t={3:1,298:1,81:1},j0='For input string: "',Kr=1/0,Oi=-1/0,Iy=4096,t2t={3:1,4:1,591:1},$t="org.eclipse.elk.layered",xo=65536,ED=55296,Wo={109:1,3:1,4:1},mX=1e5,n2t=.3010299956639812,Po=4294967295,lk="0.0",wX={45:1},dk="Unable to add element to queue",r2t={3:1,4:1,22:1,32:1,56:1,13:1,18:1,16:1,59:1},i2t={3:1,22:1,32:1,56:1,18:1,16:1,59:1},o2t={22:1,18:1,16:1},yX={3:1,50:1},SD={191:1},DE={3:1,4:1,93:1},Q0e={3:1,4:1,22:1,32:1,18:1,47:1,24:1},vX="delete",FC=14901161193847656e-24,$C=11102230246251565e-32,EX=15525485,TD=5960464477539063e-23,ewe=16777216,rF=16777215,twe=", length: ",s2t={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1},nwe="subMap: ",a2t=" less than ",SX={3:1,34:1,23:1,310:1},TX="java.util.function",BC="java.util.logging",u2t={3:1,4:1,5:1,848:1},AX="undefined",jo="java.util.stream",rwe={524:1,684:1},iF="fromIndex: ",c2t=" > toIndex: ",iwe=", toIndex: ",owe="Index: ",swe=", Size: ",fk="org.eclipse.elk.alg.common",Un={50:1},l2t="org.eclipse.elk.alg.common.compaction",d2t="Scanline/EventHandler",Ah="org.eclipse.elk.alg.common.compaction.oned",f2t="CNode belongs to another CGroup.",h2t="ISpacingsHandler/1",_X="The ",kX=" instance has been finished already.",p2t="The direction ",g2t=" is not supported by the CGraph instance.",b2t="OneDimensionalCompactor",m2t="OneDimensionalCompactor/lambda$0$Type",w2t="Quadruplet",y2t="ScanlineConstraintCalculator",v2t="ScanlineConstraintCalculator/ConstraintsScanlineHandler",E2t="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",S2t="ScanlineConstraintCalculator/Timestamp",T2t="ScanlineConstraintCalculator/lambda$0$Type",Bf={181:1,48:1},UC="org.eclipse.elk.alg.common.networksimplex",Ad={172:1,3:1,4:1},A2t="org.eclipse.elk.alg.common.nodespacing",tm="org.eclipse.elk.alg.common.nodespacing.cellsystem",hk="CENTER",_2t={219:1,338:1},awe={3:1,4:1,5:1,599:1},dT="LEFT",fT="RIGHT",uwe="Vertical alignment cannot be null",cwe="BOTTOM",oF="org.eclipse.elk.alg.common.nodespacing.internal",HC="UNDEFINED",nf=.01,AD="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",k2t="LabelPlacer/lambda$0$Type",x2t="LabelPlacer/lambda$1$Type",N2t="portRatioOrPosition",pk="org.eclipse.elk.alg.common.overlaps",xX="DOWN",hT="org.eclipse.elk.alg.common.spore",Ry={3:1,4:1,5:1,200:1},C2t={3:1,6:1,4:1,5:1,91:1,111:1},NX="org.eclipse.elk.alg.force",lwe="ComponentsProcessor",I2t="ComponentsProcessor/1",dwe="ElkGraphImporter/lambda$0$Type",nm={207:1},LE="org.eclipse.elk.core",_D="org.eclipse.elk.graph.properties",R2t="IPropertyHolder",kD="org.eclipse.elk.alg.force.graph",O2t="Component Layout",fwe="org.eclipse.elk.alg.force.model",xs="org.eclipse.elk.core.data",sF="org.eclipse.elk.force.model",hwe="org.eclipse.elk.force.iterations",pwe="org.eclipse.elk.force.repulsivePower",CX="org.eclipse.elk.force.temperature",Uf=.001,IX="org.eclipse.elk.force.repulsion",td={139:1},zC="org.eclipse.elk.alg.force.options",gk=1.600000023841858,Ga="org.eclipse.elk.force",xD="org.eclipse.elk.priority",F0="org.eclipse.elk.spacing.nodeNode",RX="org.eclipse.elk.spacing.edgeLabel",bk="org.eclipse.elk.aspectRatio",aF="org.eclipse.elk.randomSeed",GC="org.eclipse.elk.separateConnectedComponents",$0="org.eclipse.elk.padding",mk="org.eclipse.elk.interactive",uF="org.eclipse.elk.portConstraints",ND="org.eclipse.elk.edgeLabels.inline",wk="org.eclipse.elk.omitNodeMicroLayout",yk="org.eclipse.elk.nodeSize.fixedGraphSize",pT="org.eclipse.elk.nodeSize.options",ME="org.eclipse.elk.nodeSize.constraints",vk="org.eclipse.elk.nodeLabels.placement",Ek="org.eclipse.elk.portLabels.placement",CD="org.eclipse.elk.topdownLayout",ID="org.eclipse.elk.topdown.scaleFactor",RD="org.eclipse.elk.topdown.hierarchicalNodeWidth",OD="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",B0="org.eclipse.elk.topdown.nodeType",gwe="origin",D2t="random",L2t="boundingBox.upLeft",M2t="boundingBox.lowRight",bwe="org.eclipse.elk.stress.fixed",mwe="org.eclipse.elk.stress.desiredEdgeLength",wwe="org.eclipse.elk.stress.dimension",ywe="org.eclipse.elk.stress.epsilon",vwe="org.eclipse.elk.stress.iterationLimit",N1="org.eclipse.elk.stress",P2t="ELK Stress",gT="org.eclipse.elk.nodeSize.minimum",cF="org.eclipse.elk.alg.force.stress",j2t="Layered layout",bT="org.eclipse.elk.alg.layered",DD="org.eclipse.elk.alg.layered.compaction.components",qC="org.eclipse.elk.alg.layered.compaction.oned",lF="org.eclipse.elk.alg.layered.compaction.oned.algs",rm="org.eclipse.elk.alg.layered.compaction.recthull",rf="org.eclipse.elk.alg.layered.components",_d="NONE",OX="MODEL_ORDER",ea={3:1,6:1,4:1,10:1,5:1,128:1},F2t={3:1,6:1,4:1,5:1,137:1,91:1,111:1},dF="org.eclipse.elk.alg.layered.compound",_r={43:1},ca="org.eclipse.elk.alg.layered.graph",DX=" -> ",$2t="Not supported by LGraph",Ewe="Port side is undefined",Sk={3:1,6:1,4:1,5:1,324:1,137:1,91:1,111:1},yg={3:1,6:1,4:1,5:1,137:1,201:1,212:1,91:1,111:1},B2t={3:1,6:1,4:1,5:1,137:1,2021:1,212:1,91:1,111:1},U2t=`([{"' \r
|
||
`,H2t=`)]}"' \r
|
||
`,z2t="The given string contains parts that cannot be parsed as numbers.",LD="org.eclipse.elk.core.math",G2t={3:1,4:1,125:1,216:1,419:1},q2t={3:1,4:1,100:1,216:1,419:1},vg="org.eclipse.elk.alg.layered.graph.transform",V2t="ElkGraphImporter",W2t="ElkGraphImporter/lambda$1$Type",K2t="ElkGraphImporter/lambda$2$Type",Y2t="ElkGraphImporter/lambda$4$Type",Jt="org.eclipse.elk.alg.layered.intermediate",J2t="Node margin calculation",X2t="ONE_SIDED_GREEDY_SWITCH",Z2t="TWO_SIDED_GREEDY_SWITCH",LX="No implementation is available for the layout processor ",MX="IntermediateProcessorStrategy",PX="Node '",Q2t="FIRST_SEPARATE",eSt="LAST_SEPARATE",tSt="Odd port side processing",di="org.eclipse.elk.alg.layered.intermediate.compaction",VC="org.eclipse.elk.alg.layered.intermediate.greedyswitch",_h="org.eclipse.elk.alg.layered.p3order.counting",WC={223:1},mT="org.eclipse.elk.alg.layered.intermediate.loops",Ac="org.eclipse.elk.alg.layered.intermediate.loops.ordering",C1="org.eclipse.elk.alg.layered.intermediate.loops.routing",fF="org.eclipse.elk.alg.layered.intermediate.preserveorder",Hf="org.eclipse.elk.alg.layered.intermediate.wrapping",Fs="org.eclipse.elk.alg.layered.options",jX="INTERACTIVE",Swe="GREEDY",nSt="DEPTH_FIRST",rSt="EDGE_LENGTH",iSt="SELF_LOOPS",oSt="firstTryWithInitialOrder",Twe="org.eclipse.elk.layered.directionCongruency",Awe="org.eclipse.elk.layered.feedbackEdges",hF="org.eclipse.elk.layered.interactiveReferencePoint",_we="org.eclipse.elk.layered.mergeEdges",kwe="org.eclipse.elk.layered.mergeHierarchyEdges",xwe="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",Nwe="org.eclipse.elk.layered.portSortingStrategy",Cwe="org.eclipse.elk.layered.thoroughness",Iwe="org.eclipse.elk.layered.unnecessaryBendpoints",Rwe="org.eclipse.elk.layered.generatePositionAndLayerIds",MD="org.eclipse.elk.layered.cycleBreaking.strategy",PD="org.eclipse.elk.layered.layering.strategy",Owe="org.eclipse.elk.layered.layering.layerConstraint",Dwe="org.eclipse.elk.layered.layering.layerChoiceConstraint",Lwe="org.eclipse.elk.layered.layering.layerId",FX="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",$X="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",BX="org.eclipse.elk.layered.layering.nodePromotion.strategy",UX="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",HX="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",KC="org.eclipse.elk.layered.crossingMinimization.strategy",Mwe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",zX="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",GX="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Pwe="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",jwe="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",Fwe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",$we="org.eclipse.elk.layered.crossingMinimization.positionId",Bwe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",qX="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",pF="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",PE="org.eclipse.elk.layered.nodePlacement.strategy",gF="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",VX="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",WX="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",KX="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",YX="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",JX="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Uwe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Hwe="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",bF="org.eclipse.elk.layered.edgeRouting.splines.mode",mF="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",XX="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",zwe="org.eclipse.elk.layered.spacing.baseValue",Gwe="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",qwe="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Vwe="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Wwe="org.eclipse.elk.layered.priority.direction",Kwe="org.eclipse.elk.layered.priority.shortness",Ywe="org.eclipse.elk.layered.priority.straightness",ZX="org.eclipse.elk.layered.compaction.connectedComponents",Jwe="org.eclipse.elk.layered.compaction.postCompaction.strategy",Xwe="org.eclipse.elk.layered.compaction.postCompaction.constraints",wF="org.eclipse.elk.layered.highDegreeNodes.treatment",QX="org.eclipse.elk.layered.highDegreeNodes.threshold",eZ="org.eclipse.elk.layered.highDegreeNodes.treeHeight",vp="org.eclipse.elk.layered.wrapping.strategy",yF="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",vF="org.eclipse.elk.layered.wrapping.correctionFactor",YC="org.eclipse.elk.layered.wrapping.cutting.strategy",tZ="org.eclipse.elk.layered.wrapping.cutting.cuts",nZ="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",EF="org.eclipse.elk.layered.wrapping.validify.strategy",SF="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",TF="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",AF="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",rZ="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",iZ="org.eclipse.elk.layered.layerUnzipping.strategy",oZ="org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength",sZ="org.eclipse.elk.layered.layerUnzipping.layerSplit",aZ="org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges",Zwe="org.eclipse.elk.layered.edgeLabels.sideSelection",Qwe="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",_F="org.eclipse.elk.layered.considerModelOrder.strategy",eye="org.eclipse.elk.layered.considerModelOrder.portModelOrder",jD="org.eclipse.elk.layered.considerModelOrder.noModelOrder",uZ="org.eclipse.elk.layered.considerModelOrder.components",tye="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",cZ="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",lZ="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",dZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId",fZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId",hZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId",nye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy",pZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId",gZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId",rye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy",iye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders",bZ="layering",sSt="layering.minWidth",aSt="layering.nodePromotion",Tk="crossingMinimization",kF="org.eclipse.elk.hierarchyHandling",uSt="crossingMinimization.greedySwitch",cSt="nodePlacement",lSt="nodePlacement.bk",dSt="edgeRouting",FD="org.eclipse.elk.edgeRouting",of="spacing",oye="priority",sye="compaction",fSt="compaction.postCompaction",hSt="Specifies whether and how post-process compaction is applied.",aye="highDegreeNodes",uye="wrapping",pSt="wrapping.cutting",gSt="wrapping.validify",cye="wrapping.multiEdge",mZ="layerUnzipping",wZ="edgeLabels",JC="considerModelOrder",Ak="considerModelOrder.groupModelOrder",lye="Group ID of the Node Type",dye="org.eclipse.elk.spacing.commentComment",fye="org.eclipse.elk.spacing.commentNode",hye="org.eclipse.elk.spacing.componentComponent",pye="org.eclipse.elk.spacing.edgeEdge",yZ="org.eclipse.elk.spacing.edgeNode",gye="org.eclipse.elk.spacing.labelLabel",bye="org.eclipse.elk.spacing.labelPortHorizontal",mye="org.eclipse.elk.spacing.labelPortVertical",wye="org.eclipse.elk.spacing.labelNode",yye="org.eclipse.elk.spacing.nodeSelfLoop",vye="org.eclipse.elk.spacing.portPort",Eye="org.eclipse.elk.spacing.individual",Sye="org.eclipse.elk.port.borderOffset",Tye="org.eclipse.elk.noLayout",Aye="org.eclipse.elk.port.side",$D="org.eclipse.elk.debugMode",_ye="org.eclipse.elk.alignment",kye="org.eclipse.elk.insideSelfLoops.activate",xye="org.eclipse.elk.insideSelfLoops.yo",vZ="org.eclipse.elk.direction",Nye="org.eclipse.elk.nodeLabels.padding",Cye="org.eclipse.elk.portLabels.nextToPortIfPossible",Iye="org.eclipse.elk.portLabels.treatAsGroup",Rye="org.eclipse.elk.portAlignment.default",Oye="org.eclipse.elk.portAlignment.north",Dye="org.eclipse.elk.portAlignment.south",Lye="org.eclipse.elk.portAlignment.west",Mye="org.eclipse.elk.portAlignment.east",xF="org.eclipse.elk.contentAlignment",Pye="org.eclipse.elk.junctionPoints",jye="org.eclipse.elk.edge.thickness",Fye="org.eclipse.elk.edgeLabels.placement",$ye="org.eclipse.elk.port.index",Bye="org.eclipse.elk.commentBox",Uye="org.eclipse.elk.hypernode",Hye="org.eclipse.elk.port.anchor",EZ="org.eclipse.elk.partitioning.activate",SZ="org.eclipse.elk.partitioning.partition",NF="org.eclipse.elk.position",TZ="org.eclipse.elk.margins",zye="org.eclipse.elk.spacing.portsSurrounding",CF="org.eclipse.elk.interactiveLayout",Vs="org.eclipse.elk.core.util",Gye={3:1,4:1,5:1,597:1},bSt="NETWORK_SIMPLEX",qye="SIMPLE",AZ="No implementation is available for the node placer ",Fi={86:1,43:1},U0="org.eclipse.elk.alg.layered.p1cycles",mSt="Depth-first cycle removal",wSt="Model order cycle breaking",Ep="org.eclipse.elk.alg.layered.p2layers",Vye={411:1,223:1},ySt={838:1,3:1,4:1},qa="org.eclipse.elk.alg.layered.p3order",jE=17976931348623157e292,_Z=5e-324,Fo="org.eclipse.elk.alg.layered.p4nodes",vSt={3:1,4:1,5:1,846:1},zf=1e-5,I1="org.eclipse.elk.alg.layered.p4nodes.bk",kZ="org.eclipse.elk.alg.layered.p5edges",kd="org.eclipse.elk.alg.layered.p5edges.orthogonal",xZ="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",NZ=1e-6,Oy="org.eclipse.elk.alg.layered.p5edges.splines",CZ=.09999999999999998,IF=1e-8,ESt=4.71238898038469,SSt=1.5707963267948966,Wye=3.141592653589793,Sp="org.eclipse.elk.alg.mrtree",TSt="Tree layout",ASt="P4_EDGE_ROUTING",IZ=.10000000149011612,RF="SUPER_ROOT",XC="org.eclipse.elk.alg.mrtree.graph",Kye=-17976931348623157e292,Ta="org.eclipse.elk.alg.mrtree.intermediate",_St="Processor compute fanout",OF={3:1,6:1,4:1,5:1,526:1,91:1,111:1},kSt="Set neighbors in level",BD="org.eclipse.elk.alg.mrtree.options",xSt="DESCENDANTS",Yye="org.eclipse.elk.mrtree.compaction",Jye="org.eclipse.elk.mrtree.edgeEndTextureLength",Xye="org.eclipse.elk.mrtree.treeLevel",Zye="org.eclipse.elk.mrtree.positionConstraint",Qye="org.eclipse.elk.mrtree.weighting",eve="org.eclipse.elk.mrtree.edgeRoutingMode",tve="org.eclipse.elk.mrtree.searchOrder",NSt="Position Constraint",Va="org.eclipse.elk.mrtree",nve="org.eclipse.elk.tree",CSt="Processor arrange level",_k="org.eclipse.elk.alg.mrtree.p2order",ac="org.eclipse.elk.alg.mrtree.p4route",rve="org.eclipse.elk.alg.radial",ISt="The given graph is not a tree!",im=6.283185307179586,ive="Before",DF="After",ove="org.eclipse.elk.alg.radial.intermediate",RSt="COMPACTION",RZ="org.eclipse.elk.alg.radial.intermediate.compaction",OSt={3:1,4:1,5:1,91:1},sve="org.eclipse.elk.alg.radial.intermediate.optimization",OZ="No implementation is available for the layout option ",ZC="org.eclipse.elk.alg.radial.options",DSt="CompactionStrategy",ave="org.eclipse.elk.radial.centerOnRoot",uve="org.eclipse.elk.radial.orderId",cve="org.eclipse.elk.radial.radius",LF="org.eclipse.elk.radial.rotate",DZ="org.eclipse.elk.radial.compactor",LZ="org.eclipse.elk.radial.compactionStepSize",lve="org.eclipse.elk.radial.sorter",dve="org.eclipse.elk.radial.wedgeCriteria",fve="org.eclipse.elk.radial.optimizationCriteria",MZ="org.eclipse.elk.radial.rotation.targetAngle",PZ="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",hve="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",LSt="Compaction",pve="rotation",Qc="org.eclipse.elk.radial",MSt="org.eclipse.elk.alg.radial.p1position.wedge",gve="org.eclipse.elk.alg.radial.sorting",PSt=5.497787143782138,jSt=3.9269908169872414,FSt=2.356194490192345,$St="org.eclipse.elk.alg.rectpacking",QC="org.eclipse.elk.alg.rectpacking.intermediate",jZ="org.eclipse.elk.alg.rectpacking.options",bve="org.eclipse.elk.rectpacking.trybox",mve="org.eclipse.elk.rectpacking.currentPosition",wve="org.eclipse.elk.rectpacking.desiredPosition",yve="org.eclipse.elk.rectpacking.inNewRow",vve="org.eclipse.elk.rectpacking.orderBySize",Eve="org.eclipse.elk.rectpacking.widthApproximation.strategy",Sve="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Tve="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",Ave="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",_ve="org.eclipse.elk.rectpacking.packing.strategy",kve="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",xve="org.eclipse.elk.rectpacking.packing.compaction.iterations",Nve="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",FZ="widthApproximation",BSt="Compaction Strategy",USt="packing.compaction",xu="org.eclipse.elk.rectpacking",kk="org.eclipse.elk.alg.rectpacking.p1widthapproximation",MF="org.eclipse.elk.alg.rectpacking.p2packing",HSt="No Compaction",Cve="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",UD="org.eclipse.elk.alg.rectpacking.util",PF="No implementation available for ",Dy="org.eclipse.elk.alg.spore",Ly="org.eclipse.elk.alg.spore.options",H0="org.eclipse.elk.sporeCompaction",$Z="org.eclipse.elk.underlyingLayoutAlgorithm",Ive="org.eclipse.elk.processingOrder.treeConstruction",Rve="org.eclipse.elk.processingOrder.spanningTreeCostFunction",BZ="org.eclipse.elk.processingOrder.preferredRoot",UZ="org.eclipse.elk.processingOrder.rootSelection",HZ="org.eclipse.elk.structure.structureExtractionStrategy",Ove="org.eclipse.elk.compaction.compactionStrategy",Dve="org.eclipse.elk.compaction.orthogonal",Lve="org.eclipse.elk.overlapRemoval.maxIterations",Mve="org.eclipse.elk.overlapRemoval.runScanline",zZ="processingOrder",zSt="overlapRemoval",xk="org.eclipse.elk.sporeOverlap",GSt="org.eclipse.elk.alg.spore.p1structure",GZ="org.eclipse.elk.alg.spore.p2processingorder",qZ="org.eclipse.elk.alg.spore.p3execution",Pve="org.eclipse.elk.alg.vertiflex",jve="org.eclipse.elk.vertiflex.verticalConstraint",Fve="org.eclipse.elk.vertiflex.layoutStrategy",$ve="org.eclipse.elk.vertiflex.layerDistance",Bve="org.eclipse.elk.vertiflex.considerNodeModelOrder",Uve="org.eclipse.elk.alg.vertiflex.options",z0="org.eclipse.elk.vertiflex",qSt="org.eclipse.elk.alg.vertiflex.p1yplacement",VZ="org.eclipse.elk.alg.vertiflex.p2relative",VSt="org.eclipse.elk.alg.vertiflex.p3absolute",WSt="BendEdgeRouter",Hve="org.eclipse.elk.alg.vertiflex.p4edgerouting",KSt="StraightEdgeRouter",YSt="Topdown Layout",JSt="Invalid index: ",Nk="org.eclipse.elk.core.alg",FE={343:1},My={297:1},XSt="Make sure its type is registered with the ",zve=" utility class.",Ck="true",WZ="false",ZSt="Couldn't clone property '",G0=.05,Pa="org.eclipse.elk.core.options",QSt=1.2999999523162842,q0="org.eclipse.elk.box",Gve="org.eclipse.elk.expandNodes",qve="org.eclipse.elk.box.packingMode",eTt="org.eclipse.elk.algorithm",tTt="org.eclipse.elk.resolvedAlgorithm",Vve="org.eclipse.elk.bendPoints",g3n="org.eclipse.elk.labelManager",nTt="org.eclipse.elk.softwrappingFuzziness",rTt="org.eclipse.elk.scaleFactor",iTt="org.eclipse.elk.childAreaWidth",oTt="org.eclipse.elk.childAreaHeight",sTt="org.eclipse.elk.animate",aTt="org.eclipse.elk.animTimeFactor",uTt="org.eclipse.elk.layoutAncestors",cTt="org.eclipse.elk.maxAnimTime",lTt="org.eclipse.elk.minAnimTime",dTt="org.eclipse.elk.progressBar",fTt="org.eclipse.elk.validateGraph",hTt="org.eclipse.elk.validateOptions",pTt="org.eclipse.elk.zoomToFit",gTt="org.eclipse.elk.json.shapeCoords",bTt="org.eclipse.elk.json.edgeCoords",b3n="org.eclipse.elk.font.name",mTt="org.eclipse.elk.font.size",KZ="org.eclipse.elk.topdown.sizeCategories",Wve="org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight",YZ="org.eclipse.elk.topdown.sizeApproximator",Kve="org.eclipse.elk.topdown.scaleCap",wTt="org.eclipse.elk.edge.type",yTt="partitioning",vTt="nodeLabels",jF="portAlignment",JZ="nodeSize",XZ="port",Yve="portLabels",Ik="topdown",ETt="insideSelfLoops",Jve="INHERIT",Rk="org.eclipse.elk.fixed",FF="org.eclipse.elk.random",$F={3:1,34:1,23:1,525:1,290:1},STt="port must have a parent node to calculate the port side",TTt="The edge needs to have exactly one edge section. Found: ",eI="org.eclipse.elk.core.util.adapters",el="org.eclipse.emf.ecore",$E="org.eclipse.elk.graph",ATt="EMapPropertyHolder",_Tt="ElkBendPoint",kTt="ElkGraphElement",xTt="ElkConnectableShape",Xve="ElkEdge",NTt="ElkEdgeSection",CTt="EModelElement",ITt="ENamedElement",Zve="ElkLabel",Qve="ElkNode",eEe="ElkPort",RTt={95:1,94:1},wT="org.eclipse.emf.common.notify.impl",R1="The feature '",tI="' is not a valid changeable feature",OTt="Expecting null",ZZ="' is not a valid feature",DTt="The feature ID",LTt=" is not a valid feature ID",Ws=32768,MTt={110:1,95:1,94:1,57:1,52:1,101:1},zt="org.eclipse.emf.ecore.impl",om="org.eclipse.elk.graph.impl",nI="Recursive containment not allowed for ",Ok="The datatype '",V0="' is not a valid classifier",QZ="The value '",BE={198:1,3:1,4:1},eQ="The class '",Dk="http://www.eclipse.org/elk/ElkGraph",tEe="property",rI="value",tQ="source",PTt="properties",jTt="identifier",nQ="height",rQ="width",iQ="parent",oQ="text",sQ="children",FTt="hierarchical",nEe="sources",aQ="targets",uQ="sections",BF="bendPoints",rEe="outgoingShape",iEe="incomingShape",oEe="outgoingSections",sEe="incomingSections",_o="org.eclipse.emf.common.util",aEe="Severe implementation error in the Json to ElkGraph importer.",Gf="id",ro="org.eclipse.elk.graph.json",Lk="Unhandled parameter types: ",$Tt="startPoint",BTt="An edge must have at least one source and one target (edge id: '",Mk="').",UTt="Referenced edge section does not exist: ",HTt=" (edge id: '",uEe="target",zTt="sourcePoint",GTt="targetPoint",UF="group",or="name",qTt="connectableShape cannot be null",VTt="edge cannot be null",WTt="Passed edge is not 'simple'.",HF="org.eclipse.elk.graph.util",HD="The 'no duplicates' constraint is violated",cQ="targetIndex=",sm=", size=",lQ="sourceIndex=",qf={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},dQ={3:1,4:1,22:1,32:1,56:1,18:1,51:1,16:1,59:1,71:1,67:1,61:1,592:1},zF="logging",KTt="measureExecutionTime",YTt="parser.parse.1",JTt="parser.parse.2",GF="parser.next.1",fQ="parser.next.2",XTt="parser.next.3",ZTt="parser.next.4",am="parser.factor.1",cEe="parser.factor.2",QTt="parser.factor.3",eAt="parser.factor.4",tAt="parser.factor.5",nAt="parser.factor.6",rAt="parser.atom.1",iAt="parser.atom.2",oAt="parser.atom.3",lEe="parser.atom.4",hQ="parser.atom.5",dEe="parser.cc.1",qF="parser.cc.2",sAt="parser.cc.3",aAt="parser.cc.5",fEe="parser.cc.6",hEe="parser.cc.7",pQ="parser.cc.8",uAt="parser.ope.1",cAt="parser.ope.2",lAt="parser.ope.3",Eg="parser.descape.1",dAt="parser.descape.2",fAt="parser.descape.3",hAt="parser.descape.4",pAt="parser.descape.5",tl="parser.process.1",gAt="parser.quantifier.1",bAt="parser.quantifier.2",mAt="parser.quantifier.3",wAt="parser.quantifier.4",pEe="parser.quantifier.5",yAt="org.eclipse.emf.common.notify",gEe={420:1,683:1},vAt={3:1,4:1,22:1,32:1,56:1,18:1,16:1,71:1,61:1},zD={374:1,152:1},iI="index=",gQ={3:1,4:1,5:1,131:1},EAt={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,61:1},bEe={3:1,6:1,4:1,5:1,200:1},SAt={3:1,4:1,5:1,178:1,375:1},TAt=";/?:@&=+$,",AAt="invalid authority: ",_At="EAnnotation",kAt="ETypedElement",xAt="EStructuralFeature",NAt="EAttribute",CAt="EClassifier",IAt="EEnumLiteral",RAt="EGenericType",OAt="EOperation",DAt="EParameter",LAt="EReference",MAt="ETypeParameter",Fr="org.eclipse.emf.ecore.util",bQ={78:1},mEe={3:1,22:1,18:1,16:1,61:1,593:1,78:1,72:1,98:1},PAt="org.eclipse.emf.ecore.util.FeatureMap$Entry",yu=8192,oI="byte",VF="char",sI="double",aI="float",uI="int",cI="long",lI="short",jAt="java.lang.Object",UE={3:1,4:1,5:1,258:1},wEe={3:1,4:1,5:1,685:1},FAt={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},ms={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,72:1,98:1},GD="mixed",$n="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Al="kind",$At={3:1,4:1,5:1,686:1},yEe={3:1,4:1,22:1,32:1,56:1,18:1,16:1,71:1,61:1,78:1,72:1,98:1},WF={22:1,32:1,56:1,18:1,16:1,61:1,72:1},KF={51:1,130:1,289:1},YF={76:1,345:1},JF="The value of type '",XF="' must be of type '",HE=1318,_l="http://www.eclipse.org/emf/2002/Ecore",ZF=-32768,W0="constraints",fo="baseType",BAt="getEStructuralFeature",UAt="getFeatureID",dI="feature",HAt="getOperationID",vEe="operation",zAt="defaultValue",GAt="eTypeParameters",qAt="isInstance",VAt="getEEnumLiteral",WAt="eContainingClass",er={58:1},KAt={3:1,4:1,5:1,123:1},YAt="org.eclipse.emf.ecore.resource",JAt={95:1,94:1,595:1,2013:1},mQ="org.eclipse.emf.ecore.resource.impl",EEe="unspecified",qD="simple",QF="attribute",XAt="attributeWildcard",e$="element",wQ="elementWildcard",xd="collapse",yQ="itemType",t$="namespace",VD="##targetNamespace",kl="whiteSpace",SEe="wildcards",um="http://www.eclipse.org/emf/2003/XMLType",vQ="##any",Pk="uninitialized",WD="The multiplicity constraint is violated",n$="org.eclipse.emf.ecore.xml.type",ZAt="ProcessingInstruction",QAt="SimpleAnyType",e_t="XMLTypeDocumentRoot",Si="org.eclipse.emf.ecore.xml.type.impl",KD="INF",t_t="processing",n_t="ENTITIES_._base",TEe="minLength",AEe="ENTITY",r$="NCName",r_t="IDREFS_._base",_Ee="integer",EQ="token",SQ="pattern",i_t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",kEe="\\i\\c*",o_t="[\\i-[:]][\\c-[:]]*",s_t="nonPositiveInteger",YD="maxInclusive",xEe="NMTOKEN",a_t="NMTOKENS_._base",NEe="nonNegativeInteger",JD="minInclusive",u_t="normalizedString",c_t="unsignedByte",l_t="unsignedInt",d_t="18446744073709551615",f_t="unsignedShort",h_t="processingInstruction",Sg="org.eclipse.emf.ecore.xml.type.internal",jk=1114111,p_t="Internal Error: shorthands: \\u",fI="xml:isDigit",TQ="xml:isWord",AQ="xml:isSpace",_Q="xml:isNameChar",kQ="xml:isInitialNameChar",g_t="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",b_t="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",m_t="Private Use",xQ="ASSIGNED",NQ="\0ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ֏ۿ܀ݏހऀॿঀ૿ఀ౿ಀഀൿༀက႟ႠჿᄀᇿሀᎠ᐀ᙿ ᚠក᠀Ḁỿἀ ⁰₠⃐℀⅏⅐←⇿∀⋿⌀⏿␀⑀①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⼀⿰ 〿ゟ゠ヿㄯ㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒐가힣豈ffﭏﭐ﷿︠︯︰﹏﹐ﹰ\uFEFF\uFEFF",CEe="UNASSIGNED",Fk={3:1,122:1},w_t="org.eclipse.emf.ecore.xml.type.util",i$={3:1,4:1,5:1,377:1},IEe="org.eclipse.xtext.xbase.lib",y_t="Cannot add elements to a Range",v_t="Cannot set elements in a Range",E_t="Cannot remove elements from a Range",S_t="user.agent",h,o$,CQ;b.goog=b.goog||{},b.goog.global=b.goog.global||b,o$={},A(1,null,{},E),h.Fb=function(t){return Ent(this,t)},h.Gb=function(){return this.Pm},h.Hb=function(){return o0(this)},h.Ib=function(){var t;return Sb(nc(this))+"@"+(t=Ir(this)>>>0,t.toString(16))},h.equals=function(e){return this.Fb(e)},h.hashCode=function(){return this.Hb()},h.toString=function(){return this.Ib()};var T_t,A_t,__t;A(299,1,{299:1,2103:1},Tge),h.te=function(t){var r;return r=new Tge,r.i=4,t>1?r.c=Zat(this,t-1):r.c=this,r},h.ue=function(){return ep(this),this.b},h.ve=function(){return Sb(this)},h.we=function(){return ep(this),this.k},h.xe=function(){return(this.i&4)!=0},h.ye=function(){return(this.i&1)!=0},h.Ib=function(){return Dpe(this)},h.i=0;var Ci=x(js,"Object",1),REe=x(js,"Class",299);A(2075,1,hD),x(pD,"Optional",2075),A(1172,2075,hD,S),h.Fb=function(t){return t===this},h.Hb=function(){return 2040732332},h.Ib=function(){return"Optional.absent()"},h.Jb=function(t){return xn(t),jN(),IQ};var IQ;x(pD,"Absent",1172),A(634,1,{},lq),x(pD,"Joiner",634);var m3n=Hr(pD,"Predicate");A(584,1,{181:1,584:1,3:1,48:1},QWe),h.Mb=function(t){return tpt(this,t)},h.Lb=function(t){return tpt(this,t)},h.Fb=function(t){var r;return se(t,584)?(r=l(t,584),yme(this.a,r.a)):!1},h.Hb=function(){return Nge(this.a)+306654252},h.Ib=function(){return dyn(this.a)},x(pD,"Predicates/AndPredicate",584),A(416,2075,{416:1,3:1},w9),h.Fb=function(t){var r;return se(t,416)?(r=l(t,416),pr(this.a,r.a)):!1},h.Hb=function(){return 1502476572+Ir(this.a)},h.Ib=function(){return $Et+this.a+")"},h.Jb=function(t){return new w9(kP(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},x(pD,"Present",416),A(206,1,ok),h.Nb=function(t){oo(this,t)},h.Qb=function(){aQe()},x(gt,"UnmodifiableIterator",206),A(2055,206,sk),h.Qb=function(){aQe()},h.Rb=function(t){throw K(new Nn)},h.Wb=function(t){throw K(new Nn)},x(gt,"UnmodifiableListIterator",2055),A(394,2055,sk),h.Ob=function(){return this.b<this.c},h.Sb=function(){return this.b>0},h.Pb=function(){if(this.b>=this.c)throw K(new ys);return this.Xb(this.b++)},h.Tb=function(){return this.b},h.Ub=function(){if(this.b<=0)throw K(new ys);return this.Xb(--this.b)},h.Vb=function(){return this.b-1},h.b=0,h.c=0,x(gt,"AbstractIndexedListIterator",394),A(709,206,ok),h.Ob=function(){return gK(this)},h.Pb=function(){return xpe(this)},h.e=1,x(gt,"AbstractIterator",709),A(2063,1,{231:1}),h.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},h.Fb=function(t){return jK(this,t)},h.Hb=function(){return Ir(this.Zb())},h.dc=function(){return this.gc()==0},h.ec=function(){return _S(this)},h.Ib=function(){return bs(this.Zb())},x(gt,"AbstractMultimap",2063),A(737,2063,Qb),h.$b=function(){bj(this)},h._b=function(t){return TQe(this,t)},h.ac=function(){return new UA(this,this.c)},h.ic=function(t){return this.hc()},h.bc=function(){return new sE(this,this.c)},h.jc=function(){return this.mc(this.hc())},h.kc=function(){return new VZe(this)},h.lc=function(){return qY(this.c.vc().Lc(),new C,64,this.d)},h.cc=function(t){return wr(this,t)},h.fc=function(t){return I6(this,t)},h.gc=function(){return this.d},h.mc=function(t){return St(),new NA(t)},h.nc=function(){return new qZe(this)},h.oc=function(){return qY(this.c.Bc().Lc(),new k,64,this.d)},h.pc=function(t,r){return new ZP(this,t,r,null)},h.d=0,x(gt,"AbstractMapBasedMultimap",737),A(1678,737,Qb),h.hc=function(){return new Ra(this.a)},h.jc=function(){return St(),St(),No},h.cc=function(t){return l(wr(this,t),16)},h.fc=function(t){return l(I6(this,t),16)},h.Zb=function(){return RS(this)},h.Fb=function(t){return jK(this,t)},h.qc=function(t){return l(wr(this,t),16)},h.rc=function(t){return l(I6(this,t),16)},h.mc=function(t){return xP(l(t,16))},h.pc=function(t,r){return uct(this,t,l(r,16),null)},x(gt,"AbstractListMultimap",1678),A(743,1,Wi),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.c.Ob()||this.e.Ob()},h.Pb=function(){var t;return this.e.Ob()||(t=l(this.c.Pb(),45),this.b=t.jd(),this.a=l(t.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},h.Qb=function(){this.e.Qb(),l(wl(this.a),18).dc()&&this.c.Qb(),--this.d.d},x(gt,"AbstractMapBasedMultimap/Itr",743),A(1110,743,Wi,qZe),h.sc=function(t,r){return r},x(gt,"AbstractMapBasedMultimap/1",1110),A(1111,1,{},k),h.Kb=function(t){return l(t,18).Lc()},x(gt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1111),A(1112,743,Wi,VZe),h.sc=function(t,r){return new e0(t,r)},x(gt,"AbstractMapBasedMultimap/2",1112);var OEe=Hr(gn,"Map");A(2044,1,P0),h.wc=function(t){v6(this,t)},h.$b=function(){this.vc().$b()},h.tc=function(t){return xY(this,t)},h._b=function(t){return!!mbe(this,t,!1)},h.uc=function(t){var r,o,s;for(o=this.vc().Jc();o.Ob();)if(r=l(o.Pb(),45),s=r.kd(),be(t)===be(s)||t!=null&&pr(t,s))return!0;return!1},h.Fb=function(t){var r,o,s;if(t===this)return!0;if(!se(t,93)||(s=l(t,93),this.gc()!=s.gc()))return!1;for(o=s.vc().Jc();o.Ob();)if(r=l(o.Pb(),45),!this.tc(r))return!1;return!0},h.xc=function(t){return Es(mbe(this,t,!1))},h.Hb=function(){return vge(this.vc())},h.dc=function(){return this.gc()==0},h.ec=function(){return new Yh(this)},h.yc=function(t,r){throw K(new Yp("Put not supported on this map"))},h.zc=function(t){K3(this,t)},h.Ac=function(t){return Es(mbe(this,t,!0))},h.gc=function(){return this.vc().gc()},h.Ib=function(){return _bt(this)},h.Bc=function(){return new Jh(this)},x(gn,"AbstractMap",2044),A(2064,2044,P0),h.bc=function(){return new U9(this)},h.vc=function(){return Wot(this)},h.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},h.Bc=function(){var t;return t=this.i,t||(this.i=new vet(this))},x(gt,"Maps/ViewCachingAbstractMap",2064),A(398,2064,P0,UA),h.xc=function(t){return tfn(this,t)},h.Ac=function(t){return fpn(this,t)},h.$b=function(){this.d==this.e.c?this.e.$b():nP(new xfe(this))},h._b=function(t){return Vpt(this.d,t)},h.Dc=function(){return new eKe(this)},h.Cc=function(){return this.Dc()},h.Fb=function(t){return this===t||pr(this.d,t)},h.Hb=function(){return Ir(this.d)},h.ec=function(){return this.e.ec()},h.gc=function(){return this.d.gc()},h.Ib=function(){return bs(this.d)},x(gt,"AbstractMapBasedMultimap/AsMap",398);var nl=Hr(js,"Iterable");A(32,1,Ny),h.Ic=function(t){co(this,t)},h.Lc=function(){return new vt(this,0)},h.Mc=function(){return new yt(null,this.Lc())},h.Ec=function(t){throw K(new Yp("Add not supported on this collection"))},h.Fc=function(t){return bo(this,t)},h.$b=function(){fhe(this)},h.Gc=function(t){return py(this,t,!1)},h.Hc=function(t){return k6(this,t)},h.dc=function(){return this.gc()==0},h.Kc=function(t){return py(this,t,!0)},h.Nc=function(){return $fe(this)},h.Oc=function(t){return dC(this,t)},h.Ib=function(){return Qd(this)},x(gn,"AbstractCollection",32);var xl=Hr(gn,"Set");A(tf,32,wu),h.Lc=function(){return new vt(this,1)},h.Fb=function(t){return Bgt(this,t)},h.Hb=function(){return vge(this)},x(gn,"AbstractSet",tf),A(2047,tf,wu),x(gt,"Sets/ImprovedAbstractSet",2047),A(mp,2047,wu),h.$b=function(){this.Pc().$b()},h.Gc=function(t){return Egt(this,t)},h.dc=function(){return this.Pc().dc()},h.Kc=function(t){var r;return this.Gc(t)&&se(t,45)?(r=l(t,45),this.Pc().ec().Kc(r.jd())):!1},h.gc=function(){return this.Pc().gc()},x(gt,"Maps/EntrySet",mp),A(1108,mp,wu,eKe),h.Gc=function(t){return Yge(this.a.d.vc(),t)},h.Jc=function(){return new xfe(this.a)},h.Pc=function(){return this.a},h.Kc=function(t){var r;return Yge(this.a.d.vc(),t)?(r=l(wl(l(t,45)),45),zln(this.a.e,r.jd()),!0):!1},h.Lc=function(){return FO(this.a.d.vc().Lc(),new tKe(this.a))},x(gt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1108),A(1109,1,{},tKe),h.Kb=function(t){return Xct(this.a,l(t,45))},x(gt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1109),A(741,1,Wi,xfe),h.Nb=function(t){oo(this,t)},h.Pb=function(){var t;return t=l(this.b.Pb(),45),this.a=l(t.kd(),18),Xct(this.c,t)},h.Ob=function(){return this.b.Ob()},h.Qb=function(){JA(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},x(gt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",741),A(534,2047,wu,U9),h.$b=function(){this.b.$b()},h.Gc=function(t){return this.b._b(t)},h.Ic=function(t){xn(t),this.b.wc(new yKe(t))},h.dc=function(){return this.b.dc()},h.Jc=function(){return new FN(this.b.vc().Jc())},h.Kc=function(t){return this.b._b(t)?(this.b.Ac(t),!0):!1},h.gc=function(){return this.b.gc()},x(gt,"Maps/KeySet",534),A(333,534,wu,sE),h.$b=function(){var t;nP((t=this.b.vc().Jc(),new Qce(this,t)))},h.Hc=function(t){return this.b.ec().Hc(t)},h.Fb=function(t){return this===t||pr(this.b.ec(),t)},h.Hb=function(){return Ir(this.b.ec())},h.Jc=function(){var t;return t=this.b.vc().Jc(),new Qce(this,t)},h.Kc=function(t){var r,o;return o=0,r=l(this.b.Ac(t),18),r&&(o=r.gc(),r.$b(),this.a.d-=o),o>0},h.Lc=function(){return this.b.ec().Lc()},x(gt,"AbstractMapBasedMultimap/KeySet",333),A(742,1,Wi,Qce),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.c.Ob()},h.Pb=function(){return this.a=l(this.c.Pb(),45),this.a.jd()},h.Qb=function(){var t;JA(!!this.a),t=l(this.a.kd(),18),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},x(gt,"AbstractMapBasedMultimap/KeySet/1",742),A(492,398,{93:1,136:1},RO),h.bc=function(){return this.Qc()},h.ec=function(){return this.Sc()},h.Qc=function(){return new aO(this.c,this.Uc())},h.Rc=function(){return this.Uc().Rc()},h.Sc=function(){var t;return t=this.b,t||(this.b=this.Qc())},h.Tc=function(){return this.Uc().Tc()},h.Uc=function(){return l(this.d,136)},x(gt,"AbstractMapBasedMultimap/SortedAsMap",492),A(442,492,q0e,w3),h.bc=function(){return new BA(this.a,l(l(this.d,136),141))},h.Qc=function(){return new BA(this.a,l(l(this.d,136),141))},h.ec=function(){var t;return t=this.b,l(t||(this.b=new BA(this.a,l(l(this.d,136),141))),279)},h.Sc=function(){var t;return t=this.b,l(t||(this.b=new BA(this.a,l(l(this.d,136),141))),279)},h.Uc=function(){return l(l(this.d,136),141)},h.Vc=function(t){return l(l(this.d,136),141).Vc(t)},h.Wc=function(t){return l(l(this.d,136),141).Wc(t)},h.Xc=function(t,r){return new w3(this.a,l(l(this.d,136),141).Xc(t,r))},h.Yc=function(t){return l(l(this.d,136),141).Yc(t)},h.Zc=function(t){return l(l(this.d,136),141).Zc(t)},h.$c=function(t,r){return new w3(this.a,l(l(this.d,136),141).$c(t,r))},x(gt,"AbstractMapBasedMultimap/NavigableAsMap",442),A(491,333,BEt,aO),h.Lc=function(){return this.b.ec().Lc()},x(gt,"AbstractMapBasedMultimap/SortedKeySet",491),A(397,491,V0e,BA),x(gt,"AbstractMapBasedMultimap/NavigableKeySet",397),A(543,32,Ny,ZP),h.Ec=function(t){var r,o;return Fu(this),o=this.d.dc(),r=this.d.Ec(t),r&&(++this.f.d,o&&LO(this)),r},h.Fc=function(t){var r,o,s;return t.dc()?!1:(s=(Fu(this),this.d.gc()),r=this.d.Fc(t),r&&(o=this.d.gc(),this.f.d+=o-s,s==0&&LO(this)),r)},h.$b=function(){var t;t=(Fu(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,cP(this))},h.Gc=function(t){return Fu(this),this.d.Gc(t)},h.Hc=function(t){return Fu(this),this.d.Hc(t)},h.Fb=function(t){return t===this?!0:(Fu(this),pr(this.d,t))},h.Hb=function(){return Fu(this),Ir(this.d)},h.Jc=function(){return Fu(this),new pfe(this)},h.Kc=function(t){var r;return Fu(this),r=this.d.Kc(t),r&&(--this.f.d,cP(this)),r},h.gc=function(){return unt(this)},h.Lc=function(){return Fu(this),this.d.Lc()},h.Ib=function(){return Fu(this),bs(this.d)},x(gt,"AbstractMapBasedMultimap/WrappedCollection",543);var _c=Hr(gn,"List");A(739,543,{22:1,32:1,18:1,16:1},Bfe),h.gd=function(t){Ub(this,t)},h.Lc=function(){return Fu(this),this.d.Lc()},h._c=function(t,r){var o;Fu(this),o=this.d.dc(),l(this.d,16)._c(t,r),++this.a.d,o&&LO(this)},h.ad=function(t,r){var o,s,u;return r.dc()?!1:(u=(Fu(this),this.d.gc()),o=l(this.d,16).ad(t,r),o&&(s=this.d.gc(),this.a.d+=s-u,u==0&&LO(this)),o)},h.Xb=function(t){return Fu(this),l(this.d,16).Xb(t)},h.bd=function(t){return Fu(this),l(this.d,16).bd(t)},h.cd=function(){return Fu(this),new $nt(this)},h.dd=function(t){return Fu(this),new cat(this,t)},h.ed=function(t){var r;return Fu(this),r=l(this.d,16).ed(t),--this.a.d,cP(this),r},h.fd=function(t,r){return Fu(this),l(this.d,16).fd(t,r)},h.hd=function(t,r){return Fu(this),uct(this.a,this.e,l(this.d,16).hd(t,r),this.b?this.b:this)},x(gt,"AbstractMapBasedMultimap/WrappedList",739),A(1107,739,{22:1,32:1,18:1,16:1,59:1},krt),x(gt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1107),A(626,1,Wi,pfe),h.Nb=function(t){oo(this,t)},h.Ob=function(){return u_(this),this.b.Ob()},h.Pb=function(){return u_(this),this.b.Pb()},h.Qb=function(){lrt(this)},x(gt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",626),A(740,626,vh,$nt,cat),h.Qb=function(){lrt(this)},h.Rb=function(t){var r;r=unt(this.a)==0,(u_(this),l(this.b,130)).Rb(t),++this.a.a.d,r&&LO(this.a)},h.Sb=function(){return(u_(this),l(this.b,130)).Sb()},h.Tb=function(){return(u_(this),l(this.b,130)).Tb()},h.Ub=function(){return(u_(this),l(this.b,130)).Ub()},h.Vb=function(){return(u_(this),l(this.b,130)).Vb()},h.Wb=function(t){(u_(this),l(this.b,130)).Wb(t)},x(gt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",740),A(738,543,BEt,Ide),h.Lc=function(){return Fu(this),this.d.Lc()},x(gt,"AbstractMapBasedMultimap/WrappedSortedSet",738),A(1106,738,V0e,Rnt),x(gt,"AbstractMapBasedMultimap/WrappedNavigableSet",1106),A(1105,543,wu,Krt),h.Lc=function(){return Fu(this),this.d.Lc()},x(gt,"AbstractMapBasedMultimap/WrappedSet",1105),A(1114,1,{},C),h.Kb=function(t){return Kln(l(t,45))},x(gt,"AbstractMapBasedMultimap/lambda$1$Type",1114),A(1113,1,{},nKe),h.Kb=function(t){return new e0(this.a,t)},x(gt,"AbstractMapBasedMultimap/lambda$2$Type",1113);var cm=Hr(gn,"Map/Entry");A(359,1,VJ),h.Fb=function(t){var r;return se(t,45)?(r=l(t,45),tp(this.jd(),r.jd())&&tp(this.kd(),r.kd())):!1},h.Hb=function(){var t,r;return t=this.jd(),r=this.kd(),(t==null?0:Ir(t))^(r==null?0:Ir(r))},h.ld=function(t){throw K(new Nn)},h.Ib=function(){return this.jd()+"="+this.kd()},x(gt,UEt,359),A(2065,32,Ny),h.$b=function(){this.md().$b()},h.Gc=function(t){var r;return se(t,45)?(r=l(t,45),bcn(this.md(),r.jd(),r.kd())):!1},h.Kc=function(t){var r;return se(t,45)?(r=l(t,45),zut(this.md(),r.jd(),r.kd())):!1},h.gc=function(){return this.md().d},x(gt,"Multimaps/Entries",2065),A(744,2065,Ny,Fue),h.Jc=function(){return this.a.kc()},h.md=function(){return this.a},h.Lc=function(){return this.a.lc()},x(gt,"AbstractMultimap/Entries",744),A(745,744,wu,Dce),h.Lc=function(){return this.a.lc()},h.Fb=function(t){return jbe(this,t)},h.Hb=function(){return eht(this)},x(gt,"AbstractMultimap/EntrySet",745),A(746,32,Ny,$ue),h.$b=function(){this.a.$b()},h.Gc=function(t){return upn(this.a,t)},h.Jc=function(){return this.a.nc()},h.gc=function(){return this.a.d},h.Lc=function(){return this.a.oc()},x(gt,"AbstractMultimap/Values",746),A(2066,32,{841:1,22:1,32:1,18:1}),h.Ic=function(t){xn(t),uE(this).Ic(new xKe(t))},h.Lc=function(){var t;return t=uE(this).Lc(),qY(t,new H,64|t.wd()&1296,this.a.d)},h.Ec=function(t){return $ce(),!0},h.Fc=function(t){return xn(this),xn(t),se(t,544)?ycn(l(t,841)):!t.dc()&&sK(this,t.Jc())},h.Gc=function(t){var r;return r=l(hy(RS(this.a),t),18),(r?r.gc():0)>0},h.Fb=function(t){return cEn(this,t)},h.Hb=function(){return Ir(uE(this))},h.dc=function(){return uE(this).dc()},h.Kc=function(t){return qmt(this,t,1)>0},h.Ib=function(){return bs(uE(this))},x(gt,"AbstractMultiset",2066),A(2068,2047,wu),h.$b=function(){bj(this.a.a)},h.Gc=function(t){var r,o;return se(t,493)?(o=l(t,421),l(o.a.kd(),18).gc()<=0?!1:(r=dut(this.a,o.a.jd()),r==l(o.a.kd(),18).gc())):!1},h.Kc=function(t){var r,o,s,u;return se(t,493)&&(o=l(t,421),r=o.a.jd(),s=l(o.a.kd(),18).gc(),s!=0)?(u=this.a,ovn(u,r,s)):!1},x(gt,"Multisets/EntrySet",2068),A(1120,2068,wu,rKe),h.Jc=function(){return new XZe(Wot(RS(this.a.a)).Jc())},h.gc=function(){return RS(this.a.a).gc()},x(gt,"AbstractMultiset/EntrySet",1120),A(625,737,Qb),h.hc=function(){return this.nd()},h.jc=function(){return this.od()},h.cc=function(t){return this.pd(t)},h.fc=function(t){return this.qd(t)},h.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},h.od=function(){return St(),St(),d$},h.Fb=function(t){return jK(this,t)},h.pd=function(t){return l(wr(this,t),24)},h.qd=function(t){return l(I6(this,t),24)},h.mc=function(t){return St(),new MA(l(t,24))},h.pc=function(t,r){return new Krt(this,t,l(r,24))},x(gt,"AbstractSetMultimap",625),A(1706,625,Qb),h.hc=function(){return new Zp(this.b)},h.nd=function(){return new Zp(this.b)},h.jc=function(){return Zfe(new Zp(this.b))},h.od=function(){return Zfe(new Zp(this.b))},h.cc=function(t){return l(l(wr(this,t),24),85)},h.pd=function(t){return l(l(wr(this,t),24),85)},h.fc=function(t){return l(l(I6(this,t),24),85)},h.qd=function(t){return l(l(I6(this,t),24),85)},h.mc=function(t){return se(t,279)?Zfe(l(t,279)):(St(),new wde(l(t,85)))},h.Zb=function(){var t;return t=this.f,t||(this.f=se(this.c,141)?new w3(this,l(this.c,141)):se(this.c,136)?new RO(this,l(this.c,136)):new UA(this,this.c))},h.pc=function(t,r){return se(r,279)?new Rnt(this,t,l(r,279)):new Ide(this,t,l(r,85))},x(gt,"AbstractSortedSetMultimap",1706),A(1707,1706,Qb),h.Zb=function(){var t;return t=this.f,l(l(t||(this.f=se(this.c,141)?new w3(this,l(this.c,141)):se(this.c,136)?new RO(this,l(this.c,136)):new UA(this,this.c)),136),141)},h.ec=function(){var t;return t=this.i,l(l(t||(this.i=se(this.c,141)?new BA(this,l(this.c,141)):se(this.c,136)?new aO(this,l(this.c,136)):new sE(this,this.c)),85),279)},h.bc=function(){return se(this.c,141)?new BA(this,l(this.c,141)):se(this.c,136)?new aO(this,l(this.c,136)):new sE(this,this.c)},x(gt,"AbstractSortedKeySortedSetMultimap",1707),A(2088,1,{2025:1}),h.Fb=function(t){return Jmn(this,t)},h.Hb=function(){var t;return vge((t=this.g,t||(this.g=new DG(this))))},h.Ib=function(){var t;return _bt((t=this.f,t||(this.f=new cde(this))))},x(gt,"AbstractTable",2088),A(676,tf,wu,DG),h.$b=function(){uQe()},h.Gc=function(t){var r,o;return se(t,471)?(r=l(t,694),o=l(hy(vst(this.a),i1(r.c.e,r.b)),93),!!o&&Yge(o.vc(),new e0(i1(r.c.c,r.a),jS(r.c,r.b,r.a)))):!1},h.Jc=function(){return van(this.a)},h.Kc=function(t){var r,o;return se(t,471)?(r=l(t,694),o=l(hy(vst(this.a),i1(r.c.e,r.b)),93),!!o&&qpn(o.vc(),new e0(i1(r.c.c,r.a),jS(r.c,r.b,r.a)))):!1},h.gc=function(){return Sot(this.a)},h.Lc=function(){return Tcn(this.a)},x(gt,"AbstractTable/CellSet",676),A(2004,32,Ny,iKe),h.$b=function(){uQe()},h.Gc=function(t){return B0n(this.a,t)},h.Jc=function(){return Ean(this.a)},h.gc=function(){return Sot(this.a)},h.Lc=function(){return Fut(this.a)},x(gt,"AbstractTable/Values",2004),A(1679,1678,Qb),x(gt,"ArrayListMultimapGwtSerializationDependencies",1679),A(510,1679,Qb,cq,Ohe),h.hc=function(){return new Ra(this.a)},h.a=0,x(gt,"ArrayListMultimap",510),A(675,2088,{675:1,2025:1,3:1},Gmt),x(gt,"ArrayTable",675),A(2e3,394,sk,art),h.Xb=function(t){return new mge(this.a,t)},x(gt,"ArrayTable/1",2e3),A(2001,1,{},oKe),h.rd=function(t){return new mge(this.a,t)},x(gt,"ArrayTable/1methodref$getCell$Type",2001),A(2089,1,{694:1}),h.Fb=function(t){var r;return t===this?!0:se(t,471)?(r=l(t,694),tp(i1(this.c.e,this.b),i1(r.c.e,r.b))&&tp(i1(this.c.c,this.a),i1(r.c.c,r.a))&&tp(jS(this.c,this.b,this.a),jS(r.c,r.b,r.a))):!1},h.Hb=function(){return Pj(Z(X(Ci,1),Rt,1,5,[i1(this.c.e,this.b),i1(this.c.c,this.a),jS(this.c,this.b,this.a)]))},h.Ib=function(){return"("+i1(this.c.e,this.b)+","+i1(this.c.c,this.a)+")="+jS(this.c,this.b,this.a)},x(gt,"Tables/AbstractCell",2089),A(471,2089,{471:1,694:1},mge),h.a=0,h.b=0,h.d=0,x(gt,"ArrayTable/2",471),A(2003,1,{},sKe),h.rd=function(t){return tdt(this.a,t)},x(gt,"ArrayTable/2methodref$getValue$Type",2003),A(2002,394,sk,urt),h.Xb=function(t){return tdt(this.a,t)},x(gt,"ArrayTable/3",2002),A(2056,2044,P0),h.$b=function(){nP(this.kc())},h.vc=function(){return new SKe(this)},h.lc=function(){return new eat(this.kc(),this.gc())},x(gt,"Maps/IteratorBasedAbstractMap",2056),A(834,2056,P0),h.$b=function(){throw K(new Nn)},h._b=function(t){return AQe(this.c,t)},h.kc=function(){return new crt(this,this.c.b.c.gc())},h.lc=function(){return jV(this.c.b.c.gc(),16,new aKe(this))},h.xc=function(t){var r;return r=l(y3(this.c,t),15),r?this.td(r.a):null},h.dc=function(){return this.c.b.c.dc()},h.ec=function(){return VV(this.c)},h.yc=function(t,r){var o;if(o=l(y3(this.c,t),15),!o)throw K(new jt(this.sd()+" "+t+" not in "+VV(this.c)));return this.ud(o.a,r)},h.Ac=function(t){throw K(new Nn)},h.gc=function(){return this.c.b.c.gc()},x(gt,"ArrayTable/ArrayMap",834),A(1999,1,{},aKe),h.rd=function(t){return Est(this.a,t)},x(gt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1999),A(1997,359,VJ,tet),h.jd=function(){return Ptn(this.a,this.b)},h.kd=function(){return this.a.td(this.b)},h.ld=function(t){return this.a.ud(this.b,t)},h.b=0,x(gt,"ArrayTable/ArrayMap/1",1997),A(1998,394,sk,crt),h.Xb=function(t){return Est(this.a,t)},x(gt,"ArrayTable/ArrayMap/2",1998),A(1996,834,P0,lst),h.sd=function(){return"Column"},h.td=function(t){return jS(this.b,this.a,t)},h.ud=function(t,r){return $ht(this.b,this.a,t,r)},h.a=0,x(gt,"ArrayTable/Row",1996),A(835,834,P0,cde),h.td=function(t){return new lst(this.a,t)},h.yc=function(t,r){return l(r,93),oQt()},h.ud=function(t,r){return l(r,93),sQt()},h.sd=function(){return"Row"},x(gt,"ArrayTable/RowMap",835),A(1138,1,Tc,net),h.yd=function(t){return(this.a.wd()&-262&t)!=0},h.wd=function(){return this.a.wd()&-262},h.xd=function(){return this.a.xd()},h.Nb=function(t){this.a.Nb(new iet(t,this.b))},h.zd=function(t){return this.a.zd(new ret(t,this.b))},x(gt,"CollectSpliterators/1",1138),A(1139,1,tn,ret),h.Ad=function(t){this.a.Ad(this.b.Kb(t))},x(gt,"CollectSpliterators/1/lambda$0$Type",1139),A(1140,1,tn,iet),h.Ad=function(t){this.a.Ad(this.b.Kb(t))},x(gt,"CollectSpliterators/1/lambda$1$Type",1140),A(1135,1,Tc,Iit),h.yd=function(t){return((16464|this.b)&t)!=0},h.wd=function(){return 16464|this.b},h.xd=function(){return this.a.xd()},h.Nb=function(t){this.a.Oe(new set(t,this.c))},h.zd=function(t){return this.a.Pe(new oet(t,this.c))},h.b=0,x(gt,"CollectSpliterators/1WithCharacteristics",1135),A(1136,1,gD,oet),h.Bd=function(t){this.a.Ad(this.b.rd(t))},x(gt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1136),A(1137,1,gD,set),h.Bd=function(t){this.a.Ad(this.b.rd(t))},x(gt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1137),A(1131,1,Tc),h.yd=function(t){return(this.a&t)!=0},h.wd=function(){return this.a},h.xd=function(){return this.e&&(this.b=Qle(this.b,this.e.xd())),Qle(this.b,0)},h.Nb=function(t){this.e&&(this.e.Nb(t),this.e=null),this.c.Nb(new aet(this,t)),this.b=0},h.zd=function(t){for(;;){if(this.e&&this.e.zd(t))return c3(this.b,bD)&&(this.b=El(this.b,1)),!0;if(this.e=null,!this.c.zd(new pKe(this)))return!1}},h.a=0,h.b=0,x(gt,"CollectSpliterators/FlatMapSpliterator",1131),A(1133,1,tn,pKe),h.Ad=function(t){Nnn(this.a,t)},x(gt,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1133),A(1134,1,tn,aet),h.Ad=function(t){Qsn(this.a,this.b,t)},x(gt,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1134),A(1132,1131,Tc,cct),x(gt,"CollectSpliterators/FlatMapSpliteratorOfObject",1132),A(257,1,WJ),h.Dd=function(t){return this.Cd(l(t,257))},h.Cd=function(t){var r;return t==(nq(),OQ)?1:t==(tq(),RQ)?-1:(r=(Q8(),y6(this.a,t.a)),r!=0?r:(Lt(),se(this,517)==se(t,517)?0:se(this,517)?1:-1))},h.Gd=function(){return this.a},h.Fb=function(t){return z1e(this,t)},x(gt,"Cut",257),A(1810,257,WJ,GZe),h.Cd=function(t){return t==this?0:1},h.Ed=function(t){throw K(new bce)},h.Fd=function(t){t.a+="+∞)"},h.Gd=function(){throw K(new Xo(zEt))},h.Hb=function(){return Qp(),I1e(this)},h.Hd=function(t){return!1},h.Ib=function(){return"+∞"};var RQ;x(gt,"Cut/AboveAll",1810),A(517,257,{257:1,517:1,3:1,34:1},hrt),h.Ed=function(t){ga((t.a+="(",t),this.a)},h.Fd=function(t){Rb(ga(t,this.a),93)},h.Hb=function(){return~Ir(this.a)},h.Hd=function(t){return Q8(),y6(this.a,t)<0},h.Ib=function(){return"/"+this.a+"\\"},x(gt,"Cut/AboveValue",517),A(1809,257,WJ,zZe),h.Cd=function(t){return t==this?0:-1},h.Ed=function(t){t.a+="(-∞"},h.Fd=function(t){throw K(new bce)},h.Gd=function(){throw K(new Xo(zEt))},h.Hb=function(){return Qp(),I1e(this)},h.Hd=function(t){return!0},h.Ib=function(){return"-∞"};var OQ;x(gt,"Cut/BelowAll",1809),A(1811,257,WJ,prt),h.Ed=function(t){ga((t.a+="[",t),this.a)},h.Fd=function(t){Rb(ga(t,this.a),41)},h.Hb=function(){return Ir(this.a)},h.Hd=function(t){return Q8(),y6(this.a,t)<=0},h.Ib=function(){return"\\"+this.a+"/"},x(gt,"Cut/BelowValue",1811),A(539,1,Eh),h.Ic=function(t){co(this,t)},h.Ib=function(){return cgn(l(kP(this,"use Optional.orNull() instead of Optional.or(null)"),22).Jc())},x(gt,"FluentIterable",539),A(438,539,Eh,f3),h.Jc=function(){return new Ft(Gt(this.a.Jc(),new D))},x(gt,"FluentIterable/2",438),A(36,1,{},D),h.Kb=function(t){return l(t,22).Jc()},h.Fb=function(t){return this===t},x(gt,"FluentIterable/2/0methodref$iterator$Type",36),A(1051,539,Eh,ynt),h.Jc=function(){return hh(this)},x(gt,"FluentIterable/3",1051),A(721,394,sk,hde),h.Xb=function(t){return this.a[t].Jc()},x(gt,"FluentIterable/3/1",721),A(2049,1,{}),h.Ib=function(){return bs(this.Id().b)},x(gt,"ForwardingObject",2049),A(2050,2049,GEt),h.Id=function(){return this.Jd()},h.Ic=function(t){co(this,t)},h.Lc=function(){return new vt(this,0)},h.Mc=function(){return new yt(null,this.Lc())},h.Ec=function(t){return this.Jd(),CQe()},h.Fc=function(t){return this.Jd(),IQe()},h.$b=function(){this.Jd(),RQe()},h.Gc=function(t){return this.Jd().Gc(t)},h.Hc=function(t){return this.Jd().Hc(t)},h.dc=function(){return this.Jd().b.dc()},h.Jc=function(){return this.Jd().Jc()},h.Kc=function(t){return this.Jd(),OQe()},h.gc=function(){return this.Jd().b.gc()},h.Nc=function(){return this.Jd().Nc()},h.Oc=function(t){return this.Jd().Oc(t)},x(gt,"ForwardingCollection",2050),A(2057,32,W0e),h.Jc=function(){return this.Md()},h.Ec=function(t){throw K(new Nn)},h.Fc=function(t){throw K(new Nn)},h.Kd=function(){var t;return t=this.c,t||(this.c=this.Ld())},h.$b=function(){throw K(new Nn)},h.Gc=function(t){return t!=null&&py(this,t,!1)},h.Ld=function(){switch(this.gc()){case 0:return rP(),MQ;case 1:return new EV(xn(this.Md().Pb()));default:return new hfe(this,this.Nc())}},h.Kc=function(t){throw K(new Nn)},x(gt,"ImmutableCollection",2057),A(1271,2057,W0e,gKe),h.Jc=function(){return FS(new Gv(this.a.b.Jc()))},h.Gc=function(t){return t!=null&&zN(this.a,t)},h.Hc=function(t){return tle(this.a,t)},h.dc=function(){return this.a.b.dc()},h.Md=function(){return FS(new Gv(this.a.b.Jc()))},h.gc=function(){return this.a.b.gc()},h.Nc=function(){return this.a.b.Nc()},h.Oc=function(t){return nle(this.a,t)},h.Ib=function(){return bs(this.a.b)},x(gt,"ForwardingImmutableCollection",1271),A(312,2057,ak),h.Jc=function(){return this.Md()},h.cd=function(){return this.Nd(0)},h.dd=function(t){return this.Nd(t)},h.gd=function(t){Ub(this,t)},h.Lc=function(){return new vt(this,16)},h.hd=function(t,r){return this.Od(t,r)},h._c=function(t,r){throw K(new Nn)},h.ad=function(t,r){throw K(new Nn)},h.Kd=function(){return this},h.Fb=function(t){return Qvn(this,t)},h.Hb=function(){return mhn(this)},h.bd=function(t){return t==null?-1:Nbn(this,t)},h.Md=function(){return this.Nd(0)},h.Nd=function(t){return gV(this,t)},h.ed=function(t){throw K(new Nn)},h.fd=function(t,r){throw K(new Nn)},h.Od=function(t,r){var o;return zj((o=new yet(this),new If(o,t,r)))},x(gt,"ImmutableList",312),A(2084,312,ak),h.Jc=function(){return FS(this.Pd().Jc())},h.hd=function(t,r){return zj(this.Pd().hd(t,r))},h.Gc=function(t){return t!=null&&this.Pd().Gc(t)},h.Hc=function(t){return this.Pd().Hc(t)},h.Fb=function(t){return pr(this.Pd(),t)},h.Xb=function(t){return i1(this,t)},h.Hb=function(){return Ir(this.Pd())},h.bd=function(t){return this.Pd().bd(t)},h.dc=function(){return this.Pd().dc()},h.Md=function(){return FS(this.Pd().Jc())},h.gc=function(){return this.Pd().gc()},h.Od=function(t,r){return zj(this.Pd().hd(t,r))},h.Nc=function(){return this.Pd().Oc(me(Ci,Rt,1,this.Pd().gc(),5,1))},h.Oc=function(t){return this.Pd().Oc(t)},h.Ib=function(){return bs(this.Pd())},x(gt,"ForwardingImmutableList",2084),A(724,1,uk),h.vc=function(){return xb(this)},h.wc=function(t){v6(this,t)},h.ec=function(){return VV(this)},h.Bc=function(){return this.Td()},h.$b=function(){throw K(new Nn)},h._b=function(t){return this.xc(t)!=null},h.uc=function(t){return this.Td().Gc(t)},h.Rd=function(){return new lKe(this)},h.Sd=function(){return new dKe(this)},h.Fb=function(t){return cpn(this,t)},h.Hb=function(){return xb(this).Hb()},h.dc=function(){return this.gc()==0},h.yc=function(t,r){return aQt()},h.Ac=function(t){throw K(new Nn)},h.Ib=function(){return Lwn(this)},h.Td=function(){return this.e?this.e:this.e=this.Sd()},h.c=null,h.d=null,h.e=null,x(gt,"ImmutableMap",724),A(725,724,uk),h._b=function(t){return AQe(this,t)},h.uc=function(t){return Aet(this.b,t)},h.Qd=function(){return Tpt(new hKe(this))},h.Rd=function(){return Tpt(zst(this.b))},h.Sd=function(){return new gKe(Hst(this.b))},h.Fb=function(t){return _et(this.b,t)},h.xc=function(t){return y3(this,t)},h.Hb=function(){return Ir(this.b.c)},h.dc=function(){return this.b.c.dc()},h.gc=function(){return this.b.c.gc()},h.Ib=function(){return bs(this.b.c)},x(gt,"ForwardingImmutableMap",725),A(2051,2050,KJ),h.Id=function(){return this.Ud()},h.Jd=function(){return this.Ud()},h.Lc=function(){return new vt(this,1)},h.Fb=function(t){return t===this||this.Ud().Fb(t)},h.Hb=function(){return this.Ud().Hb()},x(gt,"ForwardingSet",2051),A(1066,2051,KJ,hKe),h.Id=function(){return o_(this.a.b)},h.Jd=function(){return o_(this.a.b)},h.Gc=function(t){if(se(t,45)&&l(t,45).jd()==null)return!1;try{return Tet(o_(this.a.b),t)}catch(r){if(r=ci(r),se(r,214))return!1;throw K(r)}},h.Ud=function(){return o_(this.a.b)},h.Oc=function(t){var r,o;return r=Iat(o_(this.a.b),t),o_(this.a.b).b.gc()<r.length&&(o=r,ii(o,o_(this.a.b).b.gc(),null)),r},x(gt,"ForwardingImmutableMap/1",1066),A(2058,2057,aT),h.Jc=function(){return this.Md()},h.Lc=function(){return new vt(this,1)},h.Fb=function(t){return jbe(this,t)},h.Hb=function(){return eht(this)},x(gt,"ImmutableSet",2058),A(716,2058,aT),h.Jc=function(){return FS(new Gv(this.a.b.Jc()))},h.Gc=function(t){return t!=null&&zN(this.a,t)},h.Hc=function(t){return tle(this.a,t)},h.Hb=function(){return Ir(this.a.b)},h.dc=function(){return this.a.b.dc()},h.Md=function(){return FS(new Gv(this.a.b.Jc()))},h.gc=function(){return this.a.b.gc()},h.Nc=function(){return this.a.b.Nc()},h.Oc=function(t){return nle(this.a,t)},h.Ib=function(){return bs(this.a.b)},x(gt,"ForwardingImmutableSet",716),A(2052,2051,qEt),h.Id=function(){return this.b},h.Jd=function(){return this.b},h.Ud=function(){return this.b},h.Lc=function(){return new t8(this)},x(gt,"ForwardingSortedSet",2052),A(535,2056,uk,u7),h.zc=function(t){K3(this,t)},h.Bc=function(){var t;return t=this.d,new cV(t||(this.d=new jG(this)))},h.$b=function(){e6(this)},h._b=function(t){return!!V3(this,t,On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15))))},h.uc=function(t){return uft(this,t)},h.kc=function(){return new wrt(this,this)},h.wc=function(t){Gat(this,t)},h.xc=function(t){return pE(this,t)},h.ec=function(){return new lV(this)},h.yc=function(t,r){return B7(this,t,r)},h.Ac=function(t){var r;return r=V3(this,t,On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15)))),r?(xE(this,r),r.e=null,r.c=null,r.i):null},h.gc=function(){return this.i},h.vd=function(){var t;return t=this.d,new cV(t||(this.d=new jG(this)))},h.f=0,h.g=0,h.i=0,x(gt,"HashBiMap",535),A(536,1,Wi),h.Nb=function(t){oo(this,t)},h.Ob=function(){return dct(this)},h.Pb=function(){var t;if(!dct(this))throw K(new ys);return t=l(wl(this.c),309),this.c=t.c,this.f=t,--this.d,this.Vd(t)},h.Qb=function(){if(this.e.g!=this.b)throw K(new $c);if(!this.f)throw K(new Xo(G0e));xE(this.e,this.f),this.b=this.e.g,this.f=null},h.b=0,h.d=0,h.f=null,x(gt,"HashBiMap/Itr",536),A(1016,536,Wi,wrt),h.Vd=function(t){return new uet(this,t)},x(gt,"HashBiMap/1",1016),A(1017,359,VJ,uet),h.jd=function(){return this.a.g},h.kd=function(){return this.a.i},h.ld=function(t){var r,o,s;return o=this.a.i,s=On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15))),s==this.a.f&&(be(t)===be(o)||t!=null&&pr(t,o))?t:(Bht(!W3(this.b.a,t,s),t),xE(this.b.a,this.a),r=new EP(this.a.g,this.a.a,t,s),J6(this.b.a,r,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=r),this.a=r,o)},x(gt,"HashBiMap/1/MapEntry",1017),A(247,359,{359:1,247:1,3:1,45:1},e0),h.jd=function(){return this.g},h.kd=function(){return this.i},h.ld=function(t){throw K(new Nn)},x(gt,"ImmutableEntry",247),A(309,247,{359:1,309:1,247:1,3:1,45:1},EP),h.a=0,h.f=0;var DQ=x(gt,"HashBiMap/BiEntry",309);A(616,2056,uk,jG),h.zc=function(t){K3(this,t)},h.Bc=function(){return new lV(this.a)},h.$b=function(){e6(this.a)},h._b=function(t){return uft(this.a,t)},h.kc=function(){return new yrt(this,this.a)},h.wc=function(t){xn(t),Gat(this.a,new bKe(t))},h.xc=function(t){return wj(this,t)},h.ec=function(){return new cV(this)},h.yc=function(t,r){return sAn(this.a,t,r)},h.Ac=function(t){var r;return r=W3(this.a,t,On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15)))),r?(xE(this.a,r),r.e=null,r.c=null,r.g):null},h.gc=function(){return this.a.i},h.vd=function(){return new lV(this.a)},x(gt,"HashBiMap/Inverse",616),A(1013,536,Wi,yrt),h.Vd=function(t){return new cet(this,t)},x(gt,"HashBiMap/Inverse/1",1013),A(1014,359,VJ,cet),h.jd=function(){return this.a.i},h.kd=function(){return this.a.g},h.ld=function(t){var r,o,s;return s=this.a.g,r=On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15))),r==this.a.a&&(be(t)===be(s)||t!=null&&pr(t,s))?t:(Bht(!V3(this.b.a.a,t,r),t),xE(this.b.a.a,this.a),o=new EP(t,r,this.a.i,this.a.f),this.a=o,J6(this.b.a.a,o,null),this.b.b=this.b.a.a.g,s)},x(gt,"HashBiMap/Inverse/1/InverseEntry",1014),A(617,534,wu,cV),h.Jc=function(){return new WZe(this.a.a)},h.Kc=function(t){var r;return r=W3(this.a.a,t,On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15)))),r?(xE(this.a.a,r),!0):!1},x(gt,"HashBiMap/Inverse/InverseKeySet",617),A(1012,536,Wi,WZe),h.Vd=function(t){return t.i},x(gt,"HashBiMap/Inverse/InverseKeySet/1",1012),A(1015,1,{},bKe),h.Wd=function(t,r){jZt(this.a,t,r)},x(gt,"HashBiMap/Inverse/lambda$0$Type",1015),A(615,534,wu,lV),h.Jc=function(){return new KZe(this.a)},h.Kc=function(t){var r;return r=V3(this.a,t,On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15)))),r?(xE(this.a,r),r.e=null,r.c=null,!0):!1},x(gt,"HashBiMap/KeySet",615),A(1011,536,Wi,KZe),h.Vd=function(t){return t.g},x(gt,"HashBiMap/KeySet/1",1011),A(1104,625,Qb),x(gt,"HashMultimapGwtSerializationDependencies",1104),A(274,1104,Qb,g0),h.hc=function(){return new $9(dy(this.a))},h.nd=function(){return new $9(dy(this.a))},h.a=2,x(gt,"HashMultimap",274),A(2076,312,ak),h.Gc=function(t){return this.Xd().Gc(t)},h.dc=function(){return this.Xd().dc()},h.gc=function(){return this.Xd().gc()},x(gt,"ImmutableAsList",2076),A(2009,725,uk),h.Td=function(){return new eS(this.a)},h.Bc=function(){return new eS(this.a)},h.vd=function(){return new eS(this.a)},x(gt,"ImmutableBiMap",2009),A(2054,1,{}),x(gt,"ImmutableCollection/Builder",2054),A(1027,716,aT,YZe),x(gt,"ImmutableEnumSet",1027),A(971,394,sk,Cit),h.Xb=function(t){return this.a.Xb(t)},x(gt,"ImmutableList/1",971),A(970,2054,{},rit),x(gt,"ImmutableList/Builder",970),A(620,206,ok,LG),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return l(this.a.Pb(),45).jd()},x(gt,"ImmutableMap/1",620),A(1046,1,{},R),h.Kb=function(t){return l(t,45).jd()},x(gt,"ImmutableMap/2methodref$getKey$Type",1046),A(1045,1,{},iit),x(gt,"ImmutableMap/Builder",1045),A(2077,2058,aT),h.Kd=function(){var t;return t=this.b,t||(this.b=new MG(this))},h.Ld=function(){return new hfe(this,dC(this,me(Ci,Rt,1,this.gc(),5,1)))},x(gt,"ImmutableSet/CachingAsList",2077),A(2078,2077,aT),h.Jc=function(){var t;return t=xb(this.a).Md(),new LG(t)},h.Ld=function(){return new MG(this)},h.Ic=function(t){var r,o;for(xn(t),o=this.gc(),r=0;r<o;r++)t.Ad(l(xb(this.a).Kd().Xb(r),45).jd())},h.Md=function(){var t;return t=this.b,gV(t||(this.b=new MG(this)),0)},h.Lc=function(){return jV(this.gc(),1296,new fKe(this))},x(gt,"IndexedImmutableSet",2078),A(1207,2078,aT,lKe),h.Jc=function(){var t;return t=xb(this.a).Md(),new LG(t)},h.Gc=function(t){return this.a._b(t)},h.Ic=function(t){xn(t),v6(this.a,new cKe(t))},h.Md=function(){var t;return t=xb(this.a).Md(),new LG(t)},h.gc=function(){return this.a.gc()},h.Lc=function(){return FO(xb(this.a).Lc(),new R)},x(gt,"ImmutableMapKeySet",1207),A(1208,1,{},cKe),h.Wd=function(t,r){this.a.Ad(t)},x(gt,"ImmutableMapKeySet/lambda$0$Type",1208),A(1204,2057,W0e,dKe),h.Jc=function(){return new MV(this)},h.Kd=function(){var t;return t=xb(this.a).Kd(),new pet(this,t)},h.Gc=function(t){return t!=null&&Ymn(new MV(this),t)},h.Md=function(){return new MV(this)},h.gc=function(){return this.a.gc()},h.Lc=function(){return FO(xb(this.a).Lc(),new M)},x(gt,"ImmutableMapValues",1204),A(1205,1,{},M),h.Kb=function(t){return l(t,45).kd()},x(gt,"ImmutableMapValues/0methodref$getValue$Type",1205),A(635,206,ok,MV),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return l(this.a.Pb(),45).kd()},x(gt,"ImmutableMapValues/1",635),A(1206,2076,ak,pet),h.Xd=function(){return this.a},h.Xb=function(t){return l(this.b.Xb(t),45).kd()},x(gt,"ImmutableMapValues/2",1206),A(1209,1,{},fKe),h.rd=function(t){return kst(this.a,t)},x(gt,"IndexedImmutableSet/0methodref$get$Type",1209),A(636,2076,ak,MG),h.Xd=function(){return this.a},h.Xb=function(t){return kst(this.a,t)},h.gc=function(){return this.a.a.gc()},x(gt,"IndexedImmutableSet/1",636),A(1047,539,Eh,sot),h.Ic=function(t){xn(t),this.b.Ic(new det(this.a,t))},h.Jc=function(){return Jle(this)},x(gt,"Iterables/4",1047),A(1048,1,tn,det),h.Ad=function(t){cen(this.b,this.a,t)},x(gt,"Iterables/4/lambda$0$Type",1048),A(1049,539,Eh,aot),h.Ic=function(t){xn(t),co(this.a,new het(t,this.b))},h.Jc=function(){return Gt(new en(this.a),this.b)},x(gt,"Iterables/5",1049),A(1050,1,tn,het),h.Ad=function(t){this.a.Ad(Cnt(t))},x(gt,"Iterables/5/lambda$0$Type",1050),A(1068,206,ok,mKe),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return this.a.Pb()},x(gt,"Iterators/1",1068),A(1069,709,ok,fet),h.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},x(gt,"Iterators/5",1069),A(486,1,Wi),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.b.Ob()},h.Pb=function(){return this.Yd(this.b.Pb())},h.Qb=function(){this.b.Qb()},x(gt,"TransformedIterator",486),A(1070,486,Wi,brt),h.Yd=function(t){return this.a.Kb(t)},x(gt,"Iterators/6",1070),A(1067,394,sk,uot),h.Xb=function(t){return this.a[t]};var k_t;x(gt,"Iterators/ArrayItr",1067),A(35,1,{35:1,51:1},Ft),h.Nb=function(t){oo(this,t)},h.Ob=function(){return an(this)},h.Pb=function(){return Qt(this)},h.Qb=function(){if(!this.c)throw K(new Xo(G0e));this.c.Qb(),this.c=null},x(gt,"Iterators/ConcatenatedIterator",35),A(23,1,{3:1,34:1,23:1}),h.Dd=function(t){return tQe(this,l(t,23))},h.Fb=function(t){return this===t},h.Hb=function(){return o0(this)},h.Ib=function(){return bV(this)},h.g=0;var bn=x(js,"Enum",23);A(541,23,{541:1,3:1,34:1,23:1,51:1},Qnt),h.Nb=function(t){oo(this,t)},h.Ob=function(){return!1},h.Pb=function(){throw K(new ys)},h.Qb=function(){JA(!1)};var LQ,x_t=fn(gt,"Iterators/EmptyModifiableIterator",541,bn,wsn,Ftn),N_t;A(727,206,ok,Hue),h.Ob=function(){return!this.a},h.Pb=function(){if(this.a)throw K(new ys);return this.a=!0,this.b},h.a=!1,x(gt,"Iterators/SingletonIterator",727),A(1894,625,Qb),x(gt,"LinkedHashMultimapGwtSerializationDependencies",1894),A(1895,1894,Qb,_pt),h.hc=function(){return new pV(dy(this.b))},h.$b=function(){bj(this),QR(this.a,this.a)},h.nd=function(){return new pV(dy(this.b))},h.ic=function(t){return new hpt(this,t,this.b)},h.kc=function(){return new ehe(this)},h.lc=function(){var t;return new vt((t=this.g,l(t||(this.g=new Dce(this)),24)),17)},h.ec=function(){var t;return t=this.i,t||(this.i=new sE(this,this.c))},h.nc=function(){return new Mce(new ehe(this))},h.oc=function(){var t;return FO(new vt((t=this.g,l(t||(this.g=new Dce(this)),24)),17),new B)},h.b=2,x(gt,"LinkedHashMultimap",1895),A(1898,1,{},B),h.Kb=function(t){return l(t,45).kd()},x(gt,"LinkedHashMultimap/0methodref$getValue$Type",1898),A(826,1,Wi,ehe),h.Nb=function(t){oo(this,t)},h.Pb=function(){return phn(this)},h.Ob=function(){return this.a!=this.b.a},h.Qb=function(){JA(!!this.c),zut(this.b,this.c.g,this.c.i),this.c=null},x(gt,"LinkedHashMultimap/1",826),A(229,247,{359:1,247:1,229:1,600:1,3:1,45:1},lhe),h.Zd=function(){return l(wl(this.f),600)},h.$d=function(t){this.c=t},h._d=function(t){this.f=t},h.d=0;var C_t=x(gt,"LinkedHashMultimap/ValueEntry",229);A(1896,2047,{600:1,22:1,32:1,18:1,24:1},hpt),h.Ec=function(t){var r,o,s,u,f;for(f=On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15))),r=f&this.b.length-1,u=this.b[r],o=u;o;o=o.a)if(o.d==f&&tp(o.i,t))return!1;return s=new lhe(this.c,t,f,u),hQe(this.d,s),s.f=this,this.d=s,QR(l(wl(this.g.a.b),229),s),QR(s,this.g.a),this.b[r]=s,++this.f,++this.e,Vmn(this),!0},h.$b=function(){var t,r;for(dO(this.b,null),this.f=0,t=this.a;t!=this;t=t.Zd())r=l(t,229),QR(l(wl(r.b),229),l(wl(r.e),229));this.a=this,this.d=this,++this.e},h.Gc=function(t){var r,o;for(o=On(mo(Sh,ph(On(mo(t==null?0:Ir(t),Th)),15))),r=this.b[o&this.b.length-1];r;r=r.a)if(r.d==o&&tp(r.i,t))return!0;return!1},h.Ic=function(t){var r;for(xn(t),r=this.a;r!=this;r=r.Zd())t.Ad(l(r,229).i)},h.Zd=function(){return this.a},h.Jc=function(){return new Pst(this)},h.Kc=function(t){return gwt(this,t)},h.$d=function(t){this.d=t},h._d=function(t){this.a=t},h.gc=function(){return this.f},h.e=0,h.f=0,x(gt,"LinkedHashMultimap/ValueSet",1896),A(1897,1,Wi,Pst),h.Nb=function(t){oo(this,t)},h.Ob=function(){return Cfe(this),this.b!=this.c},h.Pb=function(){var t,r;if(Cfe(this),this.b==this.c)throw K(new ys);return t=l(this.b,229),r=t.i,this.d=t,this.b=l(wl(t.f),600),r},h.Qb=function(){Cfe(this),JA(!!this.d),gwt(this.c,this.d.i),this.a=this.c.e,this.d=null},h.a=0,x(gt,"LinkedHashMultimap/ValueSet/1",1897),A(774,2063,Qb,bnt),h.Zb=function(){var t;return t=this.f,t||(this.f=new hle(this))},h.Fb=function(t){return jK(this,t)},h.cc=function(t){return new gq(this,t)},h.fc=function(t){return ppe(this,t)},h.$b=function(){fst(this)},h._b=function(t){return Eet(this,t)},h.ac=function(){return new hle(this)},h.bc=function(){return new EKe(this)},h.qc=function(t){return new gq(this,t)},h.dc=function(){return!this.a},h.rc=function(t){return ppe(this,t)},h.gc=function(){return this.d},h.c=0,h.d=0,x(gt,"LinkedListMultimap",774),A(56,32,ck),h.gd=function(t){Ub(this,t)},h.Lc=function(){return new vt(this,16)},h._c=function(t,r){throw K(new Yp("Add not supported on this list"))},h.Ec=function(t){return this._c(this.gc(),t),!0},h.ad=function(t,r){var o,s,u;for(Mt(r),o=!1,u=r.Jc();u.Ob();)s=u.Pb(),this._c(t++,s),o=!0;return o},h.$b=function(){this.ae(0,this.gc())},h.Fb=function(t){return yme(this,t)},h.Hb=function(){return Nge(this)},h.bd=function(t){return Oft(this,t)},h.Jc=function(){return new RN(this)},h.cd=function(){return this.dd(0)},h.dd=function(t){return new Ji(this,t)},h.ed=function(t){throw K(new Yp("Remove not supported on this list"))},h.ae=function(t,r){var o,s;for(s=this.dd(t),o=t;o<r;++o)s.Pb(),s.Qb()},h.fd=function(t,r){throw K(new Yp("Set not supported on this list"))},h.hd=function(t,r){return new If(this,t,r)},h.j=0,x(gn,"AbstractList",56),A(2041,56,ck),h._c=function(t,r){VA(this,t,r)},h.ad=function(t,r){return bpt(this,t,r)},h.Xb=function(t){return sa(this,t)},h.Jc=function(){return this.dd(0)},h.ed=function(t){return MY(this,t)},h.fd=function(t,r){var o,s;o=this.dd(t);try{return s=o.Pb(),o.Wb(r),s}catch(u){throw u=ci(u),se(u,113)?K(new Na("Can't set element "+t)):K(u)}},x(gn,"AbstractSequentialList",2041),A(643,2041,ck,gq),h.dd=function(t){return grt(this,t)},h.gc=function(){var t;return t=l(Ut(this.a.b,this.b),263),t?t.a:0},x(gt,"LinkedListMultimap/1",643),A(1292,2047,wu,EKe),h.Gc=function(t){return Eet(this.a,t)},h.Jc=function(){return new iht(this.a)},h.Kc=function(t){return!ppe(this.a,t).a.dc()},h.gc=function(){return GN(this.a.b)},x(gt,"LinkedListMultimap/1KeySetImpl",1292),A(1291,1,Wi,iht),h.Nb=function(t){oo(this,t)},h.Ob=function(){return Ife(this),!!this.c},h.Pb=function(){if(Ife(this),!this.c)throw K(new ys);this.a=this.c,pi(this.d,this.a.a);do this.c=this.c.b;while(this.c&&!pi(this.d,this.c.a));return this.a.a},h.Qb=function(){Ife(this),JA(!!this.a),nP(new nK(this.e,this.a.a)),this.a=null,this.b=this.e.c},h.b=0,x(gt,"LinkedListMultimap/DistinctKeyIterator",1291),A(263,1,{263:1},yhe),h.a=0,x(gt,"LinkedListMultimap/KeyList",263),A(501,359,{359:1,501:1,45:1},get),h.jd=function(){return this.a},h.kd=function(){return this.f},h.ld=function(t){var r;return r=this.f,this.f=t,r},x(gt,"LinkedListMultimap/Node",501),A(562,1,vh,nK,ymt),h.Nb=function(t){oo(this,t)},h.Rb=function(t){this.e=n0e(this.f,this.b,t,this.c),++this.d,this.a=null},h.Ob=function(){return!!this.c},h.Sb=function(){return!!this.e},h.Pb=function(){return Ope(this)},h.Tb=function(){return this.d},h.Ub=function(){return $dt(this)},h.Vb=function(){return this.d-1},h.Qb=function(){JA(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,XEn(this.f,this.a),this.a=null},h.Wb=function(t){dde(!!this.a),this.a.f=t},h.d=0,x(gt,"LinkedListMultimap/ValueForKeyIterator",562),A(1023,56,ck),h._c=function(t,r){this.a._c(t,r)},h.ad=function(t,r){return this.a.ad(t,r)},h.Gc=function(t){return this.a.Gc(t)},h.Xb=function(t){return this.a.Xb(t)},h.ed=function(t){return this.a.ed(t)},h.fd=function(t,r){return this.a.fd(t,r)},h.gc=function(){return this.a.gc()},x(gt,"Lists/AbstractListWrapper",1023),A(Tl,1023,WEt),x(gt,"Lists/RandomAccessListWrapper",Tl),A(1026,Tl,WEt,yet),h.dd=function(t){return this.a.dd(t)},x(gt,"Lists/1",1026),A(437,56,{437:1,22:1,32:1,56:1,18:1,16:1},ele),h._c=function(t,r){this.a._c(t_(this,t),r)},h.$b=function(){this.a.$b()},h.Xb=function(t){return this.a.Xb(Qfe(this,t))},h.Jc=function(){return yut(this,0)},h.dd=function(t){return yut(this,t)},h.ed=function(t){return this.a.ed(Qfe(this,t))},h.ae=function(t,r){(Jut(t,r,this.a.gc()),ic(this.a.hd(t_(this,r),t_(this,t)))).$b()},h.fd=function(t,r){return this.a.fd(Qfe(this,t),r)},h.gc=function(){return this.a.gc()},h.hd=function(t,r){return Jut(t,r,this.a.gc()),ic(this.a.hd(t_(this,r),t_(this,t)))},x(gt,"Lists/ReverseList",437),A(1022,437,{437:1,22:1,32:1,56:1,18:1,16:1,59:1},JZe),x(gt,"Lists/RandomAccessReverseList",1022),A(1025,1,vh,bet),h.Nb=function(t){oo(this,t)},h.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},h.Ob=function(){return this.c.Sb()},h.Sb=function(){return this.c.Ob()},h.Pb=function(){if(!this.c.Sb())throw K(new ys);return this.a=!0,this.c.Ub()},h.Tb=function(){return t_(this.b,this.c.Tb())},h.Ub=function(){if(!this.c.Ob())throw K(new ys);return this.a=!0,this.c.Pb()},h.Vb=function(){return t_(this.b,this.c.Tb())-1},h.Qb=function(){JA(this.a),this.c.Qb(),this.a=!1},h.Wb=function(t){dde(this.a),this.c.Wb(t)},h.a=!1,x(gt,"Lists/ReverseList/1",1025),A(436,486,Wi,FN),h.Yd=function(t){return e8(t)},x(gt,"Maps/1",436),A(708,486,Wi,Mce),h.Yd=function(t){return l(t,45).kd()},x(gt,"Maps/2",708),A(967,486,Wi,mrt),h.Yd=function(t){return new e0(t,_Qe(this.a,t))},x(gt,"Maps/3",967),A(964,mp,wu,SKe),h.Ic=function(t){zZt(this.a,t)},h.Jc=function(){return this.a.kc()},h.Pc=function(){return this.a},h.Lc=function(){return this.a.lc()},x(gt,"Maps/IteratorBasedAbstractMap/1",964),A(965,1,{},yKe),h.Wd=function(t,r){this.a.Ad(t)},x(gt,"Maps/KeySet/lambda$0$Type",965),A(963,32,Ny,vet),h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a.uc(t)},h.Ic=function(t){xn(t),this.a.wc(new vKe(t))},h.dc=function(){return this.a.dc()},h.Jc=function(){return new Mce(this.a.vc().Jc())},h.Kc=function(t){var r,o;try{return py(this,t,!0)}catch(s){if(s=ci(s),se(s,46)){for(o=this.a.vc().Jc();o.Ob();)if(r=l(o.Pb(),45),tp(t,r.kd()))return this.a.Ac(r.jd()),!0;return!1}else throw K(s)}},h.gc=function(){return this.a.gc()},x(gt,"Maps/Values",963),A(966,1,{},vKe),h.Wd=function(t,r){this.a.Ad(r)},x(gt,"Maps/Values/lambda$0$Type",966),A(747,2064,P0,hle),h.xc=function(t){return this.a._b(t)?this.a.cc(t):null},h.Ac=function(t){return this.a._b(t)?this.a.fc(t):null},h.$b=function(){this.a.$b()},h._b=function(t){return this.a._b(t)},h.Dc=function(){return new AKe(this)},h.Cc=function(){return this.Dc()},h.dc=function(){return this.a.dc()},h.ec=function(){return this.a.ec()},h.gc=function(){return this.a.ec().gc()},x(gt,"Multimaps/AsMap",747),A(1115,mp,wu,AKe),h.Jc=function(){return utn(this.a.a.ec(),new wKe(this))},h.Pc=function(){return this.a},h.Kc=function(t){var r;return Egt(this,t)?(r=l(wl(l(t,45)),45),QZt(this.a,r.jd()),!0):!1},x(gt,"Multimaps/AsMap/EntrySet",1115),A(1119,1,{},wKe),h.Kb=function(t){return _Qe(this,t)},h.Fb=function(t){return this===t},x(gt,"Multimaps/AsMap/EntrySet/lambda$0$Type",1119),A(544,2066,{544:1,841:1,22:1,32:1,18:1},_Ke),h.$b=function(){bj(this.a)},h.Gc=function(t){return TQe(this.a,t)},h.Ic=function(t){xn(t),co(N3(this.a),new TKe(t))},h.Jc=function(){return new FN(N3(this.a).a.kc())},h.gc=function(){return this.a.d},h.Lc=function(){return FO(N3(this.a).Lc(),new F)},x(gt,"Multimaps/Keys",544),A(1117,1,{},F),h.Kb=function(t){return l(t,45).jd()},x(gt,"Multimaps/Keys/0methodref$getKey$Type",1117),A(1116,486,Wi,XZe),h.Yd=function(t){return new kKe(l(t,45))},x(gt,"Multimaps/Keys/1",1116),A(2067,1,{421:1}),h.Fb=function(t){var r;return se(t,493)?(r=l(t,421),l(this.a.kd(),18).gc()==l(r.a.kd(),18).gc()&&tp(this.a.jd(),r.a.jd())):!1},h.Hb=function(){var t;return t=this.a.jd(),(t==null?0:Ir(t))^l(this.a.kd(),18).gc()},h.Ib=function(){var t,r;return r=b3(this.a.jd()),t=l(this.a.kd(),18).gc(),t==1?r:r+" x "+t},x(gt,"Multisets/AbstractEntry",2067),A(493,2067,{493:1,421:1},kKe),x(gt,"Multimaps/Keys/1/1",493),A(1118,1,tn,TKe),h.Ad=function(t){this.a.Ad(l(t,45).jd())},x(gt,"Multimaps/Keys/lambda$1$Type",1118),A(1121,1,tn,$),h.Ad=function(t){xon(l(t,421))},x(gt,"Multiset/lambda$0$Type",1121),A(748,1,tn,xKe),h.Ad=function(t){afn(this.a,l(t,421))},x(gt,"Multiset/lambda$1$Type",748),A(1122,1,{},P),x(gt,"Multisets/0methodref$add$Type",1122),A(749,1,{},H),h.Kb=function(t){return Ccn(l(t,421))},x(gt,"Multisets/lambda$1$Type",749),A(2085,1,hD),x(gt,"RangeGwtSerializationDependencies",2085),A(511,2085,{181:1,511:1,3:1,48:1},M1e),h.Lb=function(t){return Xot(this,l(t,34))},h.Mb=function(t){return Xot(this,l(t,34))},h.Fb=function(t){var r;return se(t,511)?(r=l(t,511),z1e(this.a,r.a)&&z1e(this.b,r.b)):!1},h.Hb=function(){return this.a.Hb()*31+this.b.Hb()},h.Ib=function(){return yct(this.a,this.b)},x(gt,"Range",511),A(649,2076,ak,hfe),h.dd=function(t){return gV(this.b,t)},h.Xd=function(){return this.a},h.Xb=function(t){return i1(this.b,t)},h.Nd=function(t){return gV(this.b,t)},x(gt,"RegularImmutableAsList",649),A(652,2084,ak,IW),h.Pd=function(){return this.a};var MQ;x(gt,"RegularImmutableList",652),A(540,725,uk,cle,lle);var I_t;x(gt,"RegularImmutableMap",540),A(726,716,aT,dle);var DEe;x(gt,"RegularImmutableSet",726),A(2053,tf,wu),h.Jc=function(){return new hhe(this.a,this.b)},h.Ec=function(t){throw K(new Nn)},h.Fc=function(t){throw K(new Nn)},h.$b=function(){throw K(new Nn)},h.Kc=function(t){throw K(new Nn)},x(gt,"Sets/SetView",2053),A(968,2053,wu,wet),h.Jc=function(){return new hhe(this.a,this.b)},h.Gc=function(t){return BV(this.a,t)&&this.b.Gc(t)},h.Hc=function(t){return k6(this.a,t)&&this.b.Hc(t)},h.dc=function(){return o1t(this.b,this.a)},h.gc=function(){return E6(this)},h.Mc=function(){return lr(new yt(null,new vt(this.a,1)),new NKe(this.b))},x(gt,"Sets/2",968),A(969,1,Ln,NKe),h.Mb=function(t){return this.a.Gc(t)},x(gt,"Sets/2/0methodref$contains$Type",969),A(710,709,ok,hhe),h.Yb=function(){for(var t;Zle(this.a);)if(t=F3(this.a),this.c.Gc(t))return t;return this.e=2,null},x(gt,"Sets/2/1",710),A(613,2052,{613:1,3:1,22:1,18:1,279:1,24:1,85:1},Fat),h.Id=function(){return this.b},h.Jd=function(){return this.b},h.Ud=function(){return this.b},h.Ic=function(t){this.a.Ic(t)},h.Mc=function(){return this.a.Mc()},x(gt,"Sets/UnmodifiableNavigableSet",613),A(2010,2009,uk,Gst),h.Td=function(){return new eS(this.a)},h.Bc=function(){return new eS(this.a)},h.vd=function(){return new eS(this.a)},x(gt,"SingletonImmutableBiMap",2010),A(653,2084,ak,EV),h.Pd=function(){return this.a},x(gt,"SingletonImmutableList",653),A(360,2058,aT,eS),h.Jc=function(){return new Hue(this.a)},h.Gc=function(t){return pr(this.a,t)},h.Md=function(){return new Hue(this.a)},h.gc=function(){return 1},x(gt,"SingletonImmutableSet",360),A(1129,1,{},_),h.Kb=function(t){return l(t,163)},x(gt,"Streams/lambda$0$Type",1129),A(1130,1,eF,CKe),h.be=function(){i0n(this.a)},x(gt,"Streams/lambda$1$Type",1130),A(1708,1707,Qb,vat),h.Zb=function(){var t;return t=this.f,l(l(t||(this.f=se(this.c,141)?new w3(this,l(this.c,141)):se(this.c,136)?new RO(this,l(this.c,136)):new UA(this,this.c)),136),141)},h.hc=function(){return new Zp(this.b)},h.nd=function(){return new Zp(this.b)},h.ec=function(){var t;return t=this.i,l(l(t||(this.i=se(this.c,141)?new BA(this,l(this.c,141)):se(this.c,136)?new aO(this,l(this.c,136)):new sE(this,this.c)),85),279)},h.ac=function(){return se(this.c,141)?new w3(this,l(this.c,141)):se(this.c,136)?new RO(this,l(this.c,136)):new UA(this,this.c)},h.ic=function(t){return t==null&&this.a.Le(t,t),new Zp(this.b)},x(gt,"TreeMultimap",1708),A(81,1,{3:1,81:1}),h.ce=function(t){return new Error(t)},h.de=function(){return this.e},h.ee=function(){var t,r,o;for(o=(this.k==null&&(this.k=me(PQ,Me,81,0,0,1)),this.k),r=me(Ci,Rt,1,o.length,5,1),t=0;t<o.length;t++)r[t]=o[t].e;return r},h.fe=function(){return this.f},h.ge=function(){return this.g},h.he=function(){KZt(this,wcn(this.ce(CP(this,this.g)))),eZe(this)},h.Ib=function(){return CP(this,this.ge())},h.e=KEt,h.i=!1,h.n=!0;var PQ=x(js,"Throwable",81);A(102,81,{3:1,102:1,81:1}),x(js,"Exception",102),A(63,102,wp,vb,vs),x(js,"RuntimeException",63),A(603,63,wp),x(js,"JsException",603),A(865,603,wp),x(wD,"JavaScriptExceptionBase",865),A(477,865,{477:1,3:1,102:1,63:1,81:1},Apt),h.ge=function(){return m0n(this),this.c},h.ie=function(){return be(this.b)===be(LEe)?null:this.b};var LEe;x(Y0e,"JavaScriptException",477);var R_t=x(Y0e,"JavaScriptObject$",0),jQ;A(2026,1,{}),x(Y0e,"Scheduler",2026);var s$=0,O_t=0,a$=-1;A(892,2026,{},Q);var MEe;x(wD,"SchedulerImpl",892);var FQ;A(2037,1,{}),x(wD,"StackTraceCreator/Collector",2037),A(866,2037,{},re),h.je=function(t){var r={},o=[];t[XJ]=o;for(var s=arguments.callee.caller;s;){var u=(c_(),s.name||(s.name=wfn(s.toString())));o.push(u);var f=":"+u,p=r[f];if(p){var m,y;for(m=0,y=p.length;m<y;m++)if(p[m]===s)return}(p||(r[f]=[])).push(s),s=s.caller}},h.ke=function(t){var r,o,s,u;for(s=(c_(),t&&t[XJ]?t[XJ]:[]),o=s.length,u=me(YEe,Me,325,o,0,1),r=0;r<o;r++)u[r]=new fW(s[r],null,-1);return u},x(wD,"StackTraceCreator/CollectorLegacy",866),A(2038,2037,{}),h.je=function(t){},h.le=function(t,r,o,s){return new fW(r,t+"@"+s,o<0?-1:o)},h.ke=function(t){var r,o,s,u,f,p;if(u=zbn(t),f=me(YEe,Me,325,0,0,1),r=0,s=u.length,s==0)return f;for(p=Xvt(this,u[0]),mt(p.d,JJ)||(f[r++]=p),o=1;o<s;o++)f[r++]=Xvt(this,u[o]);return f},x(wD,"StackTraceCreator/CollectorModern",2038),A(867,2038,{},ee),h.le=function(t,r,o,s){return new fW(r,t,-1)},x(wD,"StackTraceCreator/CollectorModernNoSourceMap",867),A(1055,1,{}),x(X0e,XEt,1055),A(622,1055,{622:1},Sst);var PEe;x(bX,XEt,622),A(2080,1,{}),x(X0e,ZEt,2080),A(2081,2080,{}),x(bX,ZEt,2081),A(1101,1,{},ae);var hI;x(bX,"LocaleInfo",1101),A(2006,1,{},he),h.a=0,x(bX,"TimeZone",2006),A(1268,2081,{},de),x("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1268),A(439,1,{439:1},Qit),h.a=!1,h.b=0,x(X0e,"DateTimeFormat/PatternPart",439),A(208,1,QEt,z9,Sge,$de),h.Dd=function(t){return pcn(this,l(t,208))},h.Fb=function(t){return se(t,208)&&u3(Gs(this.q.getTime()),Gs(l(t,208).q.getTime()))},h.Hb=function(){var t;return t=Gs(this.q.getTime()),On(RW(t,Cb(t,32)))},h.Ib=function(){var t,r,o;return o=-this.q.getTimezoneOffset(),t=(o>=0?"+":"")+(o/60|0),r=C8(b.Math.abs(o)%60),(Fbt(),q_t)[this.q.getDay()]+" "+V_t[this.q.getMonth()]+" "+C8(this.q.getDate())+" "+C8(this.q.getHours())+":"+C8(this.q.getMinutes())+":"+C8(this.q.getSeconds())+" GMT"+t+r+" "+this.q.getFullYear()};var u$=x(gn,"Date",208);A(1994,208,QEt,ibt),h.a=!1,h.b=0,h.c=0,h.d=0,h.e=0,h.f=0,h.g=!1,h.i=0,h.j=0,h.k=0,h.n=0,h.o=0,h.p=0,x("com.google.gwt.i18n.shared.impl","DateRecord",1994),A(2043,1,{}),h.ne=function(){return null},h.oe=function(){return null},h.pe=function(){return null},h.qe=function(){return null},h.re=function(){return null},x(cT,"JSONValue",2043),A(142,2043,{142:1},yb,Bue),h.Fb=function(t){return se(t,142)?Mhe(this.a,l(t,142).a):!1},h.me=function(){return xZt},h.Hb=function(){return vhe(this.a)},h.ne=function(){return this},h.Ib=function(){var t,r,o;for(o=new fc("["),r=0,t=this.a.length;r<t;r++)r>0&&(o.a+=","),ga(o,sy(this,r));return o.a+="]",o.a},x(cT,"JSONArray",142),A(482,2043,{482:1},Uue),h.me=function(){return NZt},h.oe=function(){return this},h.Ib=function(){return Lt(),""+this.a},h.a=!1;var D_t,L_t;x(cT,"JSONBoolean",482),A(990,63,wp,ZZe),x(cT,"JSONException",990),A(1028,2043,{},ve),h.me=function(){return OZt},h.Ib=function(){return tu};var M_t;x(cT,"JSONNull",1028),A(266,2043,{266:1},y9),h.Fb=function(t){return se(t,266)?this.a==l(t,266).a:!1},h.me=function(){return CZt},h.Hb=function(){return gS(this.a)},h.pe=function(){return this},h.Ib=function(){return this.a+""},h.a=0,x(cT,"JSONNumber",266),A(150,2043,{150:1},oS,KR),h.Fb=function(t){return se(t,150)?Mhe(this.a,l(t,150).a):!1},h.me=function(){return IZt},h.Hb=function(){return vhe(this.a)},h.qe=function(){return this},h.Ib=function(){var t,r,o,s,u,f,p;for(p=new fc("{"),t=!0,f=wK(this,me(Ye,Me,2,0,6,1)),o=f,s=0,u=o.length;s<u;++s)r=o[s],t?t=!1:p.a+=Ma,zn(p,o0t(r)),p.a+=":",ga(p,rp(this,r));return p.a+="}",p.a},x(cT,"JSONObject",150),A(601,tf,wu,bq),h.Gc=function(t){return zi(t)&&pQt(this.a,In(t))},h.Jc=function(){return new RN(new Ds(this.b))},h.gc=function(){return this.b.length},x(cT,"JSONObject/1",601);var $Q;A(213,2043,{213:1},Zw),h.Fb=function(t){return se(t,213)?mt(this.a,l(t,213).a):!1},h.me=function(){return RZt},h.Hb=function(){return cg(this.a)},h.re=function(){return this},h.Ib=function(){return o0t(this.a)},x(cT,"JSONString",213);var O1,jEe,P_t,FEe,$Ee;A(2039,1,{524:1}),x(Z0e,"OutputStream",2039),A(2040,2039,{524:1}),x(Z0e,"FilterOutputStream",2040),A(868,2040,{524:1},fe),x(Z0e,"PrintStream",868),A(423,1,{475:1}),h.Ib=function(){return this.a},x(js,"AbstractStringBuilder",423),A(530,63,wp,M9),x(js,"ArithmeticException",530),A(99,63,nF,mce,Na),x(js,"IndexOutOfBoundsException",99),A(650,99,nF,oZe,Uce),x(js,"ArrayIndexOutOfBoundsException",650),A(529,63,wp,WG,oQe),x(js,"ArrayStoreException",529),A(298,81,e2t,sq),x(js,"Error",298),A(202,298,e2t,bce,Qhe),x(js,"AssertionError",202),T_t={3:1,476:1,34:1};var D1,$k,Yr=x(js,"Boolean",476);A(245,1,{3:1,245:1});var BEe;x(js,"Number",245),A(224,245,{3:1,224:1,34:1,245:1},LKe),h.Dd=function(t){return dQt(this,l(t,224))},h.se=function(){return this.a},h.Fb=function(t){return se(t,224)&&l(t,224).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return""+this.a},h.a=0;var yT=x(js,"Byte",224),UEe;A(183,1,{3:1,183:1,34:1},Yue),h.Dd=function(t){return fQt(this,l(t,183))},h.Fb=function(t){return se(t,183)&&l(t,183).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return String.fromCharCode(this.a)},h.a=0;var HEe,pI=x(js,"Character",183),zEe;A(214,63,{3:1,214:1,102:1,63:1,81:1},tZe,LA),x(js,"ClassCastException",214),A_t={3:1,34:1,347:1,245:1};var fi=x(js,"Double",347);A(165,245,{3:1,34:1,165:1,245:1},XR,yce),h.Dd=function(t){return Sen(this,l(t,165))},h.se=function(){return this.a},h.Fb=function(t){return se(t,165)&&Ait(this.a,l(t,165).a)},h.Hb=function(){return po(this.a)},h.Ib=function(){return""+this.a},h.a=0;var Bk=x(js,"Float",165);A(33,63,{3:1,102:1,33:1,63:1,81:1},eO,jt,Ept),x(js,"IllegalArgumentException",33),A(73,63,wp,lu,Xo),x(js,"IllegalStateException",73),A(15,245,{3:1,34:1,15:1,245:1},Jue),h.Dd=function(t){return Vle(this,l(t,15))},h.se=function(){return this.a},h.Fb=function(t){return se(t,15)&&l(t,15).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return""+this.a},h.a=0;var Ti=x(js,"Integer",15),GEe,j_t;A(192,245,{3:1,34:1,192:1,245:1},Xue),h.Dd=function(t){return Ten(this,l(t,192))},h.se=function(){return jb(this.a)},h.Fb=function(t){return se(t,192)&&u3(l(t,192).a,this.a)},h.Hb=function(){return ynn(this.a)},h.Ib=function(){return""+T3(this.a)},h.a=0;var K0=x(js,"Long",192),qEe;A(2119,1,{}),A(1891,63,wp,sQe),x(js,"NegativeArraySizeException",1891),A(174,603,{3:1,102:1,174:1,63:1,81:1},tS,sS),h.ce=function(t){return new TypeError(t)},x(js,"NullPointerException",174);var VEe,BQ,F_t,WEe;A(133,33,{3:1,102:1,33:1,133:1,63:1,81:1},kf),x(js,"NumberFormatException",133),A(193,245,{3:1,34:1,245:1,193:1},Kue),h.Dd=function(t){return hQt(this,l(t,193))},h.se=function(){return this.a},h.Fb=function(t){return se(t,193)&&l(t,193).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return""+this.a},h.a=0;var Y0=x(js,"Short",193),KEe;A(325,1,{3:1,325:1},fW),h.Fb=function(t){var r;return se(t,325)?(r=l(t,325),this.c==r.c&&this.d==r.d&&this.a==r.a&&this.b==r.b):!1},h.Hb=function(){return Pj(Z(X(Ci,1),Rt,1,5,[Re(this.c),this.a,this.d,this.b]))},h.Ib=function(){return this.a+"."+this.d+"("+(this.b!=null?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},h.c=0;var YEe=x(js,"StackTraceElement",325);__t={3:1,475:1,34:1,2:1};var Ye=x(js,K0e,2);A(112,423,{475:1},Jp,UN,ml),x(js,"StringBuffer",112),A(106,423,{475:1},Zg,uS,fc),x(js,"StringBuilder",106),A(698,99,nF,Bce),x(js,"StringIndexOutOfBoundsException",698),A(2124,1,{});var $_t;A(46,63,{3:1,102:1,63:1,81:1,46:1},Nn,Yp),x(js,"UnsupportedOperationException",46),A(249,245,{3:1,34:1,245:1,249:1},M6,Jce),h.Dd=function(t){return zyt(this,l(t,249))},h.se=function(){return yy(wvt(this))},h.Fb=function(t){var r;return this===t?!0:se(t,249)?(r=l(t,249),this.e==r.e&&zyt(this,r)==0):!1},h.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=Gs(this.f),this.b=On(Gi(t,-1)),this.b=33*this.b+On(Gi(a0(t,32),-1)),this.b=17*this.b+po(this.e),this.b):(this.b=17*Dpt(this.c)+po(this.e),this.b)},h.Ib=function(){return wvt(this)},h.a=0,h.b=0,h.d=0,h.e=0,h.f=0;var B_t,lm,JEe,XEe,ZEe,QEe,e2e,t2e,UQ=x("java.math","BigDecimal",249);A(92,245,{3:1,34:1,245:1,92:1},op,Wut,Ib,Ggt,o1),h.Dd=function(t){return Pgt(this,l(t,92))},h.se=function(){return yy(zJ(this,0))},h.Fb=function(t){return p1e(this,t)},h.Hb=function(){return Dpt(this)},h.Ib=function(){return zJ(this,0)},h.b=-2,h.c=0,h.d=0,h.e=0;var U_t,c$,H_t,HQ,l$,gI,zE=x("java.math","BigInteger",92),z_t,G_t,vT,bI;A(487,2044,P0),h.$b=function(){Zs(this)},h._b=function(t){return ba(this,t)},h.uc=function(t){return mpt(this,t,this.i)||mpt(this,t,this.f)},h.vc=function(){return new Ow(this)},h.xc=function(t){return Ut(this,t)},h.yc=function(t,r){return Yn(this,t,r)},h.Ac=function(t){return PS(this,t)},h.gc=function(){return GN(this)},h.g=0,x(gn,"AbstractHashMap",487),A(307,tf,wu,Ow),h.$b=function(){this.a.$b()},h.Gc=function(t){return Xut(this,t)},h.Jc=function(){return new ly(this.a)},h.Kc=function(t){var r;return Xut(this,t)?(r=l(t,45).jd(),this.a.Ac(r),!0):!1},h.gc=function(){return this.a.gc()},x(gn,"AbstractHashMap/EntrySet",307),A(308,1,Wi,ly),h.Nb=function(t){oo(this,t)},h.Pb=function(){return gE(this)},h.Ob=function(){return this.b},h.Qb=function(){xdt(this)},h.b=!1,h.d=0,x(gn,"AbstractHashMap/EntrySetIterator",308),A(422,1,Wi,RN),h.Nb=function(t){oo(this,t)},h.Ob=function(){return Sq(this)},h.Pb=function(){return bhe(this)},h.Qb=function(){Lu(this)},h.b=0,h.c=-1,x(gn,"AbstractList/IteratorImpl",422),A(97,422,vh,Ji),h.Qb=function(){Lu(this)},h.Rb=function(t){qw(this,t)},h.Sb=function(){return this.b>0},h.Tb=function(){return this.b},h.Ub=function(){return un(this.b>0),this.a.Xb(this.c=--this.b)},h.Vb=function(){return this.b-1},h.Wb=function(t){Uw(this.c!=-1),this.a.fd(this.c,t)},x(gn,"AbstractList/ListIteratorImpl",97),A(217,56,ck,If),h._c=function(t,r){ny(t,this.b),this.c._c(this.a+t,r),++this.b},h.Xb=function(t){return at(t,this.b),this.c.Xb(this.a+t)},h.ed=function(t){var r;return at(t,this.b),r=this.c.ed(this.a+t),--this.b,r},h.fd=function(t,r){return at(t,this.b),this.c.fd(this.a+t,r)},h.gc=function(){return this.b},h.a=0,h.b=0,x(gn,"AbstractList/SubList",217),A(234,tf,wu,Yh),h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a._b(t)},h.Jc=function(){var t;return t=this.a.vc().Jc(),new E9(t)},h.Kc=function(t){return this.a._b(t)?(this.a.Ac(t),!0):!1},h.gc=function(){return this.a.gc()},x(gn,"AbstractMap/1",234),A(533,1,Wi,E9),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.a.Ob()},h.Pb=function(){var t;return t=l(this.a.Pb(),45),t.jd()},h.Qb=function(){this.a.Qb()},x(gn,"AbstractMap/1/1",533),A(232,32,Ny,Jh),h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a.uc(t)},h.Jc=function(){var t;return t=this.a.vc().Jc(),new Dw(t)},h.gc=function(){return this.a.gc()},x(gn,"AbstractMap/2",232),A(305,1,Wi,Dw),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.a.Ob()},h.Pb=function(){var t;return t=l(this.a.Pb(),45),t.kd()},h.Qb=function(){this.a.Qb()},x(gn,"AbstractMap/2/1",305),A(483,1,{483:1,45:1}),h.Fb=function(t){var r;return se(t,45)?(r=l(t,45),ia(this.d,r.jd())&&ia(this.e,r.kd())):!1},h.jd=function(){return this.d},h.kd=function(){return this.e},h.Hb=function(){return nE(this.d)^nE(this.e)},h.ld=function(t){return Hde(this,t)},h.Ib=function(){return this.d+"="+this.e},x(gn,"AbstractMap/AbstractEntry",483),A(392,483,{483:1,392:1,45:1},Q9),x(gn,"AbstractMap/SimpleEntry",392),A(2061,1,wX),h.Fb=function(t){var r;return se(t,45)?(r=l(t,45),ia(this.jd(),r.jd())&&ia(this.kd(),r.kd())):!1},h.Hb=function(){return nE(this.jd())^nE(this.kd())},h.Ib=function(){return this.jd()+"="+this.kd()},x(gn,UEt,2061),A(2069,2044,q0e),h.Vc=function(t){return hq(this.Ce(t))},h.tc=function(t){return Jct(this,t)},h._b=function(t){return Ude(this,t)},h.vc=function(){return new HG(this)},h.Rc=function(){return dst(this.Ee())},h.Wc=function(t){return hq(this.Fe(t))},h.xc=function(t){var r;return r=t,Es(this.De(r))},h.Yc=function(t){return hq(this.Ge(t))},h.ec=function(){return new MKe(this)},h.Tc=function(){return dst(this.He())},h.Zc=function(t){return hq(this.Ie(t))},x(gn,"AbstractNavigableMap",2069),A(627,tf,wu,HG),h.Gc=function(t){return se(t,45)&&Jct(this.b,l(t,45))},h.Jc=function(){return this.b.Be()},h.Kc=function(t){var r;return se(t,45)?(r=l(t,45),this.b.Je(r)):!1},h.gc=function(){return this.b.gc()},x(gn,"AbstractNavigableMap/EntrySet",627),A(1127,tf,V0e,MKe),h.Lc=function(){return new t8(this)},h.$b=function(){this.a.$b()},h.Gc=function(t){return Ude(this.a,t)},h.Jc=function(){var t;return t=this.a.vc().b.Be(),new PKe(t)},h.Kc=function(t){return Ude(this.a,t)?(this.a.Ac(t),!0):!1},h.gc=function(){return this.a.gc()},x(gn,"AbstractNavigableMap/NavigableKeySet",1127),A(1128,1,Wi,PKe),h.Nb=function(t){oo(this,t)},h.Ob=function(){return Sq(this.a.a)},h.Pb=function(){var t;return t=Crt(this.a),t.jd()},h.Qb=function(){Lit(this.a)},x(gn,"AbstractNavigableMap/NavigableKeySet/1",1128),A(2082,32,Ny),h.Ec=function(t){return AS(q_(this,t),dk),!0},h.Fc=function(t){return Mt(t),BO(t!=this,"Can't add a queue to itself"),bo(this,t)},h.$b=function(){for(;aK(this)!=null;);},x(gn,"AbstractQueue",2082),A(315,32,{4:1,22:1,32:1,18:1},iE,tct),h.Ec=function(t){return zhe(this,t),!0},h.$b=function(){Yhe(this)},h.Gc=function(t){return Lht(new R3(this),t)},h.dc=function(){return BN(this)},h.Jc=function(){return new R3(this)},h.Kc=function(t){return aun(new R3(this),t)},h.gc=function(){return this.c-this.b&this.a.length-1},h.Lc=function(){return new vt(this,272)},h.Oc=function(t){var r;return r=this.c-this.b&this.a.length-1,t.length<r&&(t=j9(new Array(r),t)),Yft(this,t,r),t.length>r&&ii(t,r,null),t},h.b=0,h.c=0,x(gn,"ArrayDeque",315),A(451,1,Wi,R3),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.a!=this.b},h.Pb=function(){return Fj(this)},h.Qb=function(){Dft(this)},h.a=0,h.b=0,h.c=-1,x(gn,"ArrayDeque/IteratorImpl",451),A(13,56,r2t,Pe,Ra,Tu),h._c=function(t,r){kb(this,t,r)},h.Ec=function(t){return je(this,t)},h.ad=function(t,r){return $ge(this,t,r)},h.Fc=function(t){return li(this,t)},h.$b=function(){Lw(this.c,0)},h.Gc=function(t){return As(this,t,0)!=-1},h.Ic=function(t){Oa(this,t)},h.Xb=function(t){return He(this,t)},h.bd=function(t){return As(this,t,0)},h.dc=function(){return this.c.length==0},h.Jc=function(){return new V(this)},h.ed=function(t){return og(this,t)},h.Kc=function(t){return Xa(this,t)},h.ae=function(t,r){mut(this,t,r)},h.fd=function(t,r){return tc(this,t,r)},h.gc=function(){return this.c.length},h.gd=function(t){_i(this,t)},h.Nc=function(){return X8(this.c)},h.Oc=function(t){return Yd(this,t)};var w3n=x(gn,"ArrayList",13);A(7,1,Wi,V),h.Nb=function(t){oo(this,t)},h.Ob=function(){return Ss(this)},h.Pb=function(){return q(this)},h.Qb=function(){k3(this)},h.a=0,h.b=-1,x(gn,"ArrayList/1",7),A(2091,b.Function,{},De),h.Ke=function(t,r){return yr(t,r)},A(124,56,i2t,Ds),h.Gc=function(t){return Oft(this,t)!=-1},h.Ic=function(t){var r,o,s,u;for(Mt(t),o=this.a,s=0,u=o.length;s<u;++s)r=o[s],t.Ad(r)},h.Xb=function(t){return Not(this,t)},h.fd=function(t,r){var o;return o=(at(t,this.a.length),this.a[t]),ii(this.a,t,r),o},h.gc=function(){return this.a.length},h.gd=function(t){$V(this.a,this.a.length,t)},h.Nc=function(){return Xgt(this,me(Ci,Rt,1,this.a.length,5,1))},h.Oc=function(t){return Xgt(this,t)},x(gn,"Arrays/ArrayList",124);var No,kh,d$;A(945,56,i2t,$e),h.Gc=function(t){return!1},h.Xb=function(t){return qle(t)},h.Jc=function(){return St(),HA(),Uk},h.cd=function(){return St(),HA(),Uk},h.gc=function(){return 0},x(gn,"Collections/EmptyList",945),A(946,1,vh,Te),h.Nb=function(t){oo(this,t)},h.Rb=function(t){throw K(new Nn)},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Pb=function(){throw K(new ys)},h.Tb=function(){return 0},h.Ub=function(){throw K(new ys)},h.Vb=function(){return-1},h.Qb=function(){throw K(new lu)},h.Wb=function(t){throw K(new lu)};var Uk;x(gn,"Collections/EmptyListIterator",946),A(948,2044,uk,ke),h._b=function(t){return!1},h.uc=function(t){return!1},h.vc=function(){return St(),d$},h.xc=function(t){return null},h.ec=function(){return St(),d$},h.gc=function(){return 0},h.Bc=function(){return St(),No},x(gn,"Collections/EmptyMap",948),A(947,tf,aT,Se),h.Gc=function(t){return!1},h.Jc=function(){return St(),HA(),Uk},h.gc=function(){return 0},x(gn,"Collections/EmptySet",947),A(604,56,{3:1,22:1,32:1,56:1,18:1,16:1},UG),h.Gc=function(t){return ia(this.a,t)},h.Xb=function(t){return at(t,1),this.a},h.gc=function(){return 1},x(gn,"Collections/SingletonList",604),A(379,1,GEt,NA),h.Ic=function(t){co(this,t)},h.Lc=function(){return new vt(this,0)},h.Mc=function(){return new yt(null,this.Lc())},h.Ec=function(t){return CQe()},h.Fc=function(t){return IQe()},h.$b=function(){RQe()},h.Gc=function(t){return zN(this,t)},h.Hc=function(t){return tle(this,t)},h.dc=function(){return this.b.dc()},h.Jc=function(){return new Gv(this.b.Jc())},h.Kc=function(t){return OQe()},h.gc=function(){return this.b.gc()},h.Nc=function(){return this.b.Nc()},h.Oc=function(t){return nle(this,t)},h.Ib=function(){return bs(this.b)},x(gn,"Collections/UnmodifiableCollection",379),A(326,1,Wi,Gv),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.b.Ob()},h.Pb=function(){return this.b.Pb()},h.Qb=function(){DQe()},x(gn,"Collections/UnmodifiableCollectionIterator",326),A(532,379,o2t,j8),h.Lc=function(){return new vt(this,16)},h._c=function(t,r){throw K(new Nn)},h.ad=function(t,r){throw K(new Nn)},h.Fb=function(t){return pr(this.a,t)},h.Xb=function(t){return this.a.Xb(t)},h.Hb=function(){return Ir(this.a)},h.bd=function(t){return this.a.bd(t)},h.dc=function(){return this.a.dc()},h.cd=function(){return new mde(this.a.dd(0))},h.dd=function(t){return new mde(this.a.dd(t))},h.ed=function(t){throw K(new Nn)},h.fd=function(t,r){throw K(new Nn)},h.gd=function(t){throw K(new Nn)},h.hd=function(t,r){return new j8(this.a.hd(t,r))},x(gn,"Collections/UnmodifiableList",532),A(701,326,vh,mde),h.Qb=function(){DQe()},h.Rb=function(t){throw K(new Nn)},h.Sb=function(){return this.a.Sb()},h.Tb=function(){return this.a.Tb()},h.Ub=function(){return this.a.Ub()},h.Vb=function(){return this.a.Vb()},h.Wb=function(t){throw K(new Nn)},x(gn,"Collections/UnmodifiableListIterator",701),A(605,1,P0,zG),h.wc=function(t){v6(this,t)},h.$b=function(){throw K(new Nn)},h._b=function(t){return this.c._b(t)},h.uc=function(t){return Aet(this,t)},h.vc=function(){return o_(this)},h.Fb=function(t){return _et(this,t)},h.xc=function(t){return this.c.xc(t)},h.Hb=function(){return Ir(this.c)},h.dc=function(){return this.c.dc()},h.ec=function(){return zst(this)},h.yc=function(t,r){throw K(new Nn)},h.Ac=function(t){throw K(new Nn)},h.gc=function(){return this.c.gc()},h.Ib=function(){return bs(this.c)},h.Bc=function(){return Hst(this)},x(gn,"Collections/UnmodifiableMap",605),A(391,379,KJ,MA),h.Lc=function(){return new vt(this,1)},h.Fb=function(t){return pr(this.b,t)},h.Hb=function(){return Ir(this.b)},x(gn,"Collections/UnmodifiableSet",391),A(949,391,KJ,cQe),h.Gc=function(t){return Tet(this,t)},h.Hc=function(t){return this.b.Hc(t)},h.Jc=function(){var t;return t=this.b.Jc(),new jKe(t)},h.Nc=function(){var t;return t=this.b.Nc(),Tct(t,t.length),t},h.Oc=function(t){return Iat(this,t)},x(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet",949),A(950,1,Wi,jKe),h.Nb=function(t){oo(this,t)},h.Pb=function(){return new Zue(l(this.a.Pb(),45))},h.Ob=function(){return this.a.Ob()},h.Qb=function(){throw K(new Nn)},x(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",950),A(699,1,wX,Zue),h.Fb=function(t){return this.a.Fb(t)},h.jd=function(){return this.a.jd()},h.kd=function(){return this.a.kd()},h.Hb=function(){return this.a.Hb()},h.ld=function(t){throw K(new Nn)},h.Ib=function(){return bs(this.a)},x(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",699),A(606,532,{22:1,18:1,16:1,59:1},dq),x(gn,"Collections/UnmodifiableRandomAccessList",606),A(700,391,qEt,wde),h.Lc=function(){return new t8(this)},h.Fb=function(t){return pr(this.a,t)},h.Hb=function(){return Ir(this.a)},x(gn,"Collections/UnmodifiableSortedSet",700),A(850,1,yX,Je),h.Le=function(t,r){var o;return o=Act(l(t,12),l(r,12)),o!=0?o:Dyt(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(gn,"Comparator/lambda$0$Type",850);var n2e,zQ,r2e;A(763,1,yX,bt),h.Le=function(t,r){return Lon(l(t,34),l(r,34))},h.Fb=function(t){return this===t},h.Me=function(){return f0(),r2e},x(gn,"Comparators/NaturalOrderComparator",763),A(1203,1,yX,qe),h.Le=function(t,r){return Mon(l(t,34),l(r,34))},h.Fb=function(t){return this===t},h.Me=function(){return f0(),zQ},x(gn,"Comparators/ReverseNaturalOrderComparator",1203),A(55,1,yX,Mn),h.Fb=function(t){return this===t},h.Le=function(t,r){return this.a.Le(r,t)},h.Me=function(){return this.a},x(gn,"Comparators/ReversedComparator",55),A(179,63,wp,$c),x(gn,"ConcurrentModificationException",179);var q_t,V_t;A(1364,1,SD,_t),h.Ne=function(t){kgt(this,t)},h.Ib=function(){return"DoubleSummaryStatistics[count = "+T3(this.a)+", avg = "+(vq(this.a,0)?upe(this)/jb(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+upe(this)+"]"},h.a=0,h.b=Oi,h.c=Kr,h.d=0,h.e=0,h.f=0,x(gn,"DoubleSummaryStatistics",1364),A(1864,63,wp,nZe),x(gn,"EmptyStackException",1864),A(453,2044,P0,sC),h.yc=function(t,r){return Bde(this,t,r)},h.$b=function(){Lst(this)},h._b=function(t){return Uet(this,t)},h.uc=function(t){var r,o;for(o=new lS(this.a);o.a<o.c.a.length;)if(r=F3(o),ia(t,this.b[r.g]))return!0;return!1},h.vc=function(){return new $Ke(this)},h.xc=function(t){return Go(this,t)},h.Ac=function(t){return Dhe(this,t)},h.gc=function(){return this.a.c},x(gn,"EnumMap",453),A(1304,tf,wu,$Ke),h.$b=function(){Lst(this.a)},h.Gc=function(t){return Zut(this,t)},h.Jc=function(){return new xot(this.a)},h.Kc=function(t){var r;return Zut(this,t)?(r=l(t,45).jd(),Dhe(this.a,r),!0):!1},h.gc=function(){return this.a.a.c},x(gn,"EnumMap/EntrySet",1304),A(1305,1,Wi,xot),h.Nb=function(t){oo(this,t)},h.Pb=function(){return this.b=F3(this.a),new zet(this.c,this.b)},h.Ob=function(){return Zle(this.a)},h.Qb=function(){Uw(!!this.b),Dhe(this.c,this.b),this.b=null},x(gn,"EnumMap/EntrySetIterator",1305),A(1306,2061,wX,zet),h.jd=function(){return this.a},h.kd=function(){return this.b.b[this.a.g]},h.ld=function(t){return Nfe(this.b.b,this.a.g,t)},x(gn,"EnumMap/MapEntry",1306),A(185,tf,{22:1,32:1,18:1,185:1,24:1});var W_t=x(gn,"EnumSet",185);A(167,185,{22:1,32:1,18:1,185:1,167:1,24:1},Hc),h.Ec=function(t){return Jl(this,l(t,23))},h.Gc=function(t){return BV(this,t)},h.Jc=function(){return new lS(this)},h.Kc=function(t){return $ot(this,t)},h.gc=function(){return this.c},h.c=0,x(gn,"EnumSet/EnumSetImpl",167),A(357,1,Wi,lS),h.Nb=function(t){oo(this,t)},h.Pb=function(){return F3(this)},h.Ob=function(){return Zle(this)},h.Qb=function(){Uw(this.b!=-1),ii(this.c.b,this.b,null),--this.c.c,this.b=-1},h.a=-1,h.b=-1,x(gn,"EnumSet/EnumSetImpl/IteratorImpl",357),A(44,487,DE,hn,cS,Ant),h.ze=function(t,r){return be(t)===be(r)||t!=null&&pr(t,r)},h.Ae=function(t){var r;return t==null?0:(r=Ir(t),r|0)},x(gn,"HashMap",44),A(47,tf,Q0e,hi,$9,Ww),h.Ec=function(t){return pi(this,t)},h.$b=function(){this.a.$b()},h.Gc=function(t){return bl(this,t)},h.dc=function(){return this.a.gc()==0},h.Jc=function(){return this.a.ec().Jc()},h.Kc=function(t){return sde(this,t)},h.gc=function(){return this.a.gc()};var y3n=x(gn,"HashSet",47);A(1884,1,gD,At),h.Bd=function(t){Sht(this,t)},h.Ib=function(){return"IntSummaryStatistics[count = "+T3(this.a)+", avg = "+(vq(this.a,0)?jb(this.d)/jb(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+T3(this.d)+"]"},h.a=0,h.b=Zi,h.c=sr,h.d=0,x(gn,"IntSummaryStatistics",1884),A(1054,1,Eh,_nt),h.Ic=function(t){co(this,t)},h.Jc=function(){return new wpe(this)},h.c=0,x(gn,"InternalHashCodeMap",1054),A(723,1,Wi,wpe),h.Nb=function(t){oo(this,t)},h.Pb=function(){return this.d=this.a[this.c++],this.d},h.Ob=function(){var t;return this.c<this.a.length?!0:(t=this.b.next(),t.done?!1:(this.a=t.value[1],this.c=0,!0))},h.Qb=function(){fme(this.e,this.d.jd()),this.c!=0&&--this.c},h.c=0,h.d=null,x(gn,"InternalHashCodeMap/1",723);var K_t;A(1052,1,Eh,knt),h.Ic=function(t){co(this,t)},h.Jc=function(){return new Zhe(this)},h.c=0,h.d=0,x(gn,"InternalStringMap",1052),A(722,1,Wi,Zhe),h.Nb=function(t){oo(this,t)},h.Pb=function(){return this.c=this.a,this.a=this.b.next(),new jit(this.d,this.c,this.d.d)},h.Ob=function(){return!this.a.done},h.Qb=function(){_ht(this.d,this.c.value[0])},x(gn,"InternalStringMap/1",722),A(1053,2061,wX,jit),h.jd=function(){return this.b.value[0]},h.kd=function(){return this.a.d!=this.c?XN(this.a,this.b.value[0]):this.b.value[1]},h.ld=function(t){return A0(this.a,this.b.value[0],t)},h.c=0,x(gn,"InternalStringMap/2",1053),A(226,44,DE,d1,mpe),h.$b=function(){sit(this)},h._b=function(t){return Het(this,t)},h.uc=function(t){var r;for(r=this.d.a;r!=this.d;){if(ia(r.e,t))return!0;r=r.a}return!1},h.vc=function(){return new ece(this)},h.xc=function(t){return Wd(this,t)},h.yc=function(t,r){return Kb(this,t,r)},h.Ac=function(t){return kdt(this,t)},h.gc=function(){return GN(this.e)},h.c=!1,x(gn,"LinkedHashMap",226),A(395,392,{483:1,392:1,395:1,45:1},Rrt,gfe),x(gn,"LinkedHashMap/ChainEntry",395),A(711,tf,wu,ece),h.$b=function(){sit(this.a)},h.Gc=function(t){return Qut(this,t)},h.Jc=function(){return new the(this)},h.Kc=function(t){var r;return Qut(this,t)?(r=l(t,45).jd(),kdt(this.a,r),!0):!1},h.gc=function(){return GN(this.a.e)},x(gn,"LinkedHashMap/EntrySet",711),A(712,1,Wi,the),h.Nb=function(t){oo(this,t)},h.Pb=function(){return Idt(this)},h.Ob=function(){return this.c!=this.d.a.d},h.Qb=function(){Uw(!!this.a),NV(this.d.a.e.g,this.b),Afe(this.a),PS(this.d.a.e,this.a.d),this.b=this.d.a.e.g,this.a=null},h.b=0,x(gn,"LinkedHashMap/EntrySet/EntryIterator",712),A(184,47,Q0e,uh,pV,Ofe);var v3n=x(gn,"LinkedHashSet",184);A(66,2041,{3:1,4:1,22:1,32:1,56:1,18:1,66:1,16:1},Sr,kV),h.Ec=function(t){return Gn(this,t)},h.$b=function(){ec(this)},h.dd=function(t){return An(this,t)},h.gc=function(){return this.b},h.b=0;var E3n=x(gn,"LinkedList",66);A(972,1,vh,$it),h.Nb=function(t){oo(this,t)},h.Rb=function(t){mP(this,t)},h.Ob=function(){return rO(this)},h.Sb=function(){return this.b.b!=this.d.a},h.Pb=function(){return Sn(this)},h.Tb=function(){return this.a},h.Ub=function(){return But(this)},h.Vb=function(){return this.a-1},h.Qb=function(){cK(this)},h.Wb=function(t){Uw(!!this.c),this.c.c=t},h.a=0,h.c=null,x(gn,"LinkedList/ListIteratorImpl",972),A(614,1,{},ft),x(gn,"LinkedList/Node",614),A(2036,1,{});var i2e,Y_t;x(gn,"Locale",2036),A(863,2036,{},Kt),h.Ib=function(){return""},x(gn,"Locale/1",863),A(864,2036,{},kt),h.Ib=function(){return"unknown"},x(gn,"Locale/4",864),A(113,63,{3:1,102:1,63:1,81:1,113:1},ys,Vst),x(gn,"NoSuchElementException",113),A(461,1,{461:1},rq),h.Fb=function(t){var r;return t===this?!0:se(t,461)?(r=l(t,461),ia(this.a,r.a)):!1},h.Hb=function(){return nE(this.a)},h.Ib=function(){return this.a!=null?$Et+b3(this.a)+")":"Optional.empty()"};var o2e;x(gn,"Optional",461),A(405,1,{405:1},mnt,mV),h.Fb=function(t){var r;return t===this?!0:se(t,405)?(r=l(t,405),this.a==r.a&&yr(this.b,r.b)==0):!1},h.Hb=function(){return this.a?po(this.b):0},h.Ib=function(){return this.a?"OptionalDouble.of("+(""+this.b)+")":"OptionalDouble.empty()"},h.a=!1,h.b=0;var GQ;x(gn,"OptionalDouble",405),A(514,1,{514:1},wnt,Lrt),h.Fb=function(t){var r;return t===this?!0:se(t,514)?(r=l(t,514),this.a==r.a&&na(this.b,r.b)==0):!1},h.Hb=function(){return this.a?this.b:0},h.Ib=function(){return this.a?"OptionalInt.of("+(""+this.b)+")":"OptionalInt.empty()"},h.a=!1,h.b=0;var J_t;x(gn,"OptionalInt",514),A(500,2082,Ny,hP),h.Fc=function(t){return K1e(this,t)},h.$b=function(){Lw(this.b.c,0)},h.Gc=function(t){return(t==null?-1:As(this.b,t,0))!=-1},h.Jc=function(){return new FKe(this)},h.Kc=function(t){return Kft(this,t)},h.gc=function(){return this.b.c.length},h.Lc=function(){return new vt(this,256)},h.Nc=function(){return X8(this.b.c)},h.Oc=function(t){return Yd(this.b,t)},x(gn,"PriorityQueue",500),A(1272,1,Wi,FKe),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.a<this.c.b.c.length},h.Pb=function(){return un(this.a<this.c.b.c.length),this.b=this.a++,He(this.c.b,this.b)},h.Qb=function(){Uw(this.b!=-1),bK(this.c,this.a=this.b),this.b=-1},h.a=0,h.b=-1,x(gn,"PriorityQueue/1",1272),A(237,1,{237:1},eY,qP),h.a=0,h.b=0;var s2e,a2e,S3n=0;x(gn,"Random",237),A(27,1,Tc,vt,Xw,eat),h.yd=function(t){return(this.a&t)!=0},h.wd=function(){return this.a},h.xd=function(){return Ufe(this),this.c},h.Nb=function(t){Ufe(this),this.d.Nb(t)},h.zd=function(t){return Jdt(this,t)},h.a=0,h.c=0,x(gn,"Spliterators/IteratorSpliterator",27),A(484,27,Tc,t8),x(gn,"SortedSet/1",484),A(607,1,SD,tce),h.Ne=function(t){this.a.Ad(t)},x(gn,"Spliterator/OfDouble/0methodref$accept$Type",607),A(608,1,SD,nce),h.Ne=function(t){this.a.Ad(t)},x(gn,"Spliterator/OfDouble/1methodref$accept$Type",608),A(609,1,gD,rce),h.Bd=function(t){this.a.Ad(Re(t))},x(gn,"Spliterator/OfInt/2methodref$accept$Type",609),A(610,1,gD,ice),h.Bd=function(t){this.a.Ad(Re(t))},x(gn,"Spliterator/OfInt/3methodref$accept$Type",610),A(623,1,Tc),h.Nb=function(t){Wce(this,t)},h.yd=function(t){return(this.d&t)!=0},h.wd=function(){return this.d},h.xd=function(){return this.e},h.d=0,h.e=0,x(gn,"Spliterators/BaseSpliterator",623),A(731,623,Tc),h.Oe=function(t){Wv(this,t)},h.Nb=function(t){se(t,191)?Wv(this,l(t,191)):Wv(this,new nce(t))},h.zd=function(t){return se(t,191)?this.Pe(l(t,191)):this.Pe(new tce(t))},x(gn,"Spliterators/AbstractDoubleSpliterator",731),A(730,623,Tc),h.Oe=function(t){Wv(this,t)},h.Nb=function(t){se(t,204)?Wv(this,l(t,204)):Wv(this,new ice(t))},h.zd=function(t){return se(t,204)?this.Pe(l(t,204)):this.Pe(new rce(t))},x(gn,"Spliterators/AbstractIntSpliterator",730),A(489,623,Tc),x(gn,"Spliterators/AbstractSpliterator",489),A(702,1,Tc),h.Nb=function(t){Wce(this,t)},h.yd=function(t){return(this.b&t)!=0},h.wd=function(){return this.b},h.xd=function(){return this.d-this.c},h.b=0,h.c=0,h.d=0,x(gn,"Spliterators/BaseArraySpliterator",702),A(952,702,Tc,pot),h.Qe=function(t,r){cQt(this,l(t,42),r)},h.Nb=function(t){uW(this,t)},h.zd=function(t){return XP(this,t)},x(gn,"Spliterators/ArraySpliterator",952),A(703,702,Tc,xit),h.Qe=function(t,r){lQt(this,l(t,191),r)},h.Oe=function(t){uW(this,t)},h.Nb=function(t){se(t,191)?uW(this,l(t,191)):uW(this,new nce(t))},h.Pe=function(t){return XP(this,t)},h.zd=function(t){return se(t,191)?XP(this,l(t,191)):XP(this,new tce(t))},x(gn,"Spliterators/DoubleArraySpliterator",703),A(2045,1,Tc),h.Nb=function(t){Wce(this,t)},h.yd=function(t){return(16448&t)!=0},h.wd=function(){return 16448},h.xd=function(){return 0};var X_t;x(gn,"Spliterators/EmptySpliterator",2045),A(951,2045,Tc,It),h.Oe=function(t){jue(t)},h.Nb=function(t){se(t,204)?jue(l(t,204)):jue(new ice(t))},h.Pe=function(t){return fle(t)},h.zd=function(t){return se(t,204)?fle(l(t,204)):fle(new rce(t))},x(gn,"Spliterators/EmptySpliterator/OfInt",951),A(581,56,s2t,I9),h._c=function(t,r){e_(t,this.a.c.length+1),kb(this.a,t,r)},h.Ec=function(t){return je(this.a,t)},h.ad=function(t,r){return e_(t,this.a.c.length+1),$ge(this.a,t,r)},h.Fc=function(t){return li(this.a,t)},h.$b=function(){Lw(this.a.c,0)},h.Gc=function(t){return As(this.a,t,0)!=-1},h.Hc=function(t){return k6(this.a,t)},h.Ic=function(t){Oa(this.a,t)},h.Xb=function(t){return e_(t,this.a.c.length),He(this.a,t)},h.bd=function(t){return As(this.a,t,0)},h.dc=function(){return this.a.c.length==0},h.Jc=function(){return new V(this.a)},h.ed=function(t){return e_(t,this.a.c.length),og(this.a,t)},h.ae=function(t,r){mut(this.a,t,r)},h.fd=function(t,r){return e_(t,this.a.c.length),tc(this.a,t,r)},h.gc=function(){return this.a.c.length},h.gd=function(t){_i(this.a,t)},h.hd=function(t,r){return new If(this.a,t,r)},h.Nc=function(){return X8(this.a.c)},h.Oc=function(t){return Yd(this.a,t)},h.Ib=function(){return Qd(this.a)},x(gn,"Vector",581),A(582,581,s2t,R9),x(gn,"Stack",582),A(215,1,{215:1},zb),h.Ib=function(){return $ut(this)},x(gn,"StringJoiner",215),A(545,2069,{3:1,93:1,141:1,136:1},xet,KV),h.$b=function(){QZe(this)},h.Be=function(){return new Vut(this)},h.vc=function(){return new _rt(this)},h.Ce=function(t){return F_(this,t,!0)},h.De=function(t){return fpt(this,t)},h.Ee=function(){return kpe(this)},h.Fe=function(t){return F6(this,t,!0)},h.Ge=function(t){return F_(this,t,!1)},h.He=function(){return ndt(this)},h.Ie=function(t){return F6(this,t,!1)},h.Xc=function(t,r){return but(this,t,r)},h.yc=function(t,r){return Zht(this,t,r)},h.Ac=function(t){return jat(this,t)},h.Je=function(t){return gpe(this,t)},h.gc=function(){return this.c},h.$c=function(t,r){return gut(this,t,r)},h.c=0,x(gn,"TreeMap",545),A(546,1,Wi,Vut,vK),h.Nb=function(t){oo(this,t)},h.Pb=function(){return Crt(this)},h.Ob=function(){return Sq(this.a)},h.Qb=function(){Lit(this)},x(gn,"TreeMap/EntryIterator",546),A(1123,627,wu,_rt),h.$b=function(){QZe(this.a)},x(gn,"TreeMap/EntrySet",1123),A(443,392,{483:1,392:1,45:1,443:1},JW),h.b=!1;var T3n=x(gn,"TreeMap/Node",443);A(628,1,{},Xt),h.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},h.a=!1,h.b=!1,h.c=!1,x(gn,"TreeMap/State",628),A(629,2069,q0e,JY),h.Be=function(){return new vK(this.c,this.f,this.b,this.a,this.e,this.d)},h.vc=function(){return new HG(this)},h.Ce=function(t){return K8(this,F_(this.c,t,!0))},h.De=function(t){return K8(this,fpt(this.c,t))},h.Ee=function(){var t;return this.f.Re()?this.a?t=F_(this.c,this.b,!0):t=F_(this.c,this.b,!1):t=kpe(this.c),t&&vP(this,t.d)?t:null},h.Fe=function(t){return K8(this,F6(this.c,t,!0))},h.Ge=function(t){return K8(this,F_(this.c,t,!1))},h.He=function(){var t;return this.f.Se()?this.d?t=F6(this.c,this.e,!0):t=F6(this.c,this.e,!1):t=ndt(this.c),t&&vP(this,t.d)?t:null},h.Ie=function(t){return K8(this,F6(this.c,t,!1))},h.Xc=function(t,r){if(this.f.Se()&&this.c.a.Le(t,this.e)>0)throw K(new jt(nwe+t+" greater than "+this.e));return this.f.Re()?Pat(this.c,this.b,this.a,t,r):but(this.c,t,r)},h.yc=function(t,r){if(!LY(this.c,this.f,t,this.b,this.a,this.e,this.d))throw K(new jt(t+" outside the range "+this.b+" to "+this.e));return Zht(this.c,t,r)},h.Ac=function(t){var r;return r=t,LY(this.c,this.f,r,this.b,this.a,this.e,this.d)?jat(this.c,r):null},h.Je=function(t){return vP(this,t.jd())&&gpe(this.c,t)},h.gc=function(){var t,r,o;if(this.f.Re()?this.a?r=F_(this.c,this.b,!0):r=F_(this.c,this.b,!1):r=kpe(this.c),!(r&&vP(this,r.d)&&r))return 0;for(t=0,o=new vK(this.c,this.f,this.b,this.a,this.e,this.d);Sq(o.a);o.b=l(bhe(o.a),45))++t;return t},h.$c=function(t,r){if(this.f.Re()&&this.c.a.Le(t,this.b)<0)throw K(new jt(nwe+t+a2t+this.b));return this.f.Se()?Pat(this.c,t,r,this.e,this.d):gut(this.c,t,r)},h.a=!1,h.d=!1,x(gn,"TreeMap/SubMap",629),A(310,23,SX,n8),h.Re=function(){return!1},h.Se=function(){return!1};var qQ,VQ,WQ,KQ,f$=fn(gn,"TreeMap/SubMapType",310,bn,Dcn,Wnn);A(1124,310,SX,Ont),h.Se=function(){return!0},fn(gn,"TreeMap/SubMapType/1",1124,f$,null,null),A(1125,310,SX,Gnt),h.Re=function(){return!0},h.Se=function(){return!0},fn(gn,"TreeMap/SubMapType/2",1125,f$,null,null),A(1126,310,SX,Dnt),h.Re=function(){return!0},fn(gn,"TreeMap/SubMapType/3",1126,f$,null,null);var Z_t;A(143,tf,{3:1,22:1,32:1,18:1,279:1,24:1,85:1,143:1},YG,yde,Zp,CA),h.Lc=function(){return new t8(this)},h.Ec=function(t){return zO(this,t)},h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a._b(t)},h.Jc=function(){return this.a.ec().Jc()},h.Kc=function(t){return fV(this,t)},h.gc=function(){return this.a.gc()};var A3n=x(gn,"TreeSet",143);A(1063,1,{},BKe),h.Te=function(t,r){return fnn(this.a,t,r)},x(TX,"BinaryOperator/lambda$0$Type",1063),A(1064,1,{},UKe),h.Te=function(t,r){return hnn(this.a,t,r)},x(TX,"BinaryOperator/lambda$1$Type",1064),A(944,1,{},tr),h.Kb=function(t){return t},x(TX,"Function/lambda$0$Type",944),A(390,1,Ln,IA),h.Mb=function(t){return!this.a.Mb(t)},x(TX,"Predicate/lambda$2$Type",390),A(574,1,{574:1});var Q_t=x(BC,"Handler",574);A(2086,1,hD),h.ve=function(){return"DUMMY"},h.Ib=function(){return this.ve()};var u2e;x(BC,"Level",2086),A(1689,2086,hD,Zn),h.ve=function(){return"INFO"},x(BC,"Level/LevelInfo",1689),A(1841,1,{},sZe);var YQ;x(BC,"LogManager",1841),A(1883,1,hD,Bit),h.b=null,x(BC,"LogRecord",1883),A(515,1,{515:1},BW),h.e=!1;var ekt=!1,tkt=!1,sf=!1,nkt=!1,rkt=!1;x(BC,"Logger",515),A(827,574,{574:1},Dr),x(BC,"SimpleConsoleLogHandler",827),A(132,23,{3:1,34:1,23:1,132:1},Tq);var c2e,nu,l2e,ru=fn(jo,"Collector/Characteristics",132,bn,mun,Knn),ikt;A(753,1,{},Kfe),x(jo,"CollectorImpl",753),A(1061,1,{},Bn),h.Te=function(t,r){return zpn(l(t,215),l(r,215))},x(jo,"Collectors/10methodref$merge$Type",1061),A(1062,1,{},Xs),h.Kb=function(t){return $ut(l(t,215))},x(jo,"Collectors/11methodref$toString$Type",1062),A(153,1,{},as),h.Wd=function(t,r){l(t,18).Ec(r)},x(jo,"Collectors/20methodref$add$Type",153),A(155,1,{},Jo),h.Ve=function(){return new Pe},x(jo,"Collectors/21methodref$ctor$Type",155),A(1060,1,{},xa),h.Wd=function(t,r){sp(l(t,215),l(r,475))},x(jo,"Collectors/9methodref$add$Type",1060),A(1059,1,{},eot),h.Ve=function(){return new zb(this.a,this.b,this.c)},x(jo,"Collectors/lambda$15$Type",1059),A(154,1,{},xi),h.Te=function(t,r){return GQt(l(t,18),l(r,18))},x(jo,"Collectors/lambda$45$Type",154),A(542,1,{}),h.Ye=function(){I3(this)},h.d=!1,x(jo,"TerminatableStream",542),A(775,542,rwe,Ode),h.Ye=function(){I3(this)},x(jo,"DoubleStreamImpl",775),A(1309,731,Tc,tot),h.Pe=function(t){return vbn(this,l(t,191))},h.a=null,x(jo,"DoubleStreamImpl/2",1309),A(1310,1,SD,HKe),h.Ne=function(t){Fen(this.a,t)},x(jo,"DoubleStreamImpl/2/lambda$0$Type",1310),A(1307,1,SD,zKe),h.Ne=function(t){jen(this.a,t)},x(jo,"DoubleStreamImpl/lambda$0$Type",1307),A(1308,1,SD,GKe),h.Ne=function(t){kgt(this.a,t)},x(jo,"DoubleStreamImpl/lambda$2$Type",1308),A(1363,730,Tc,Zct),h.Pe=function(t){return Acn(this,l(t,204))},h.a=0,h.b=0,h.c=0,x(jo,"IntStream/5",1363),A(800,542,rwe,Dde),h.Ye=function(){I3(this)},h.Ze=function(){return u1(this),this.a},x(jo,"IntStreamImpl",800),A(801,542,rwe,rle),h.Ye=function(){I3(this)},h.Ze=function(){return u1(this),ode(),X_t},x(jo,"IntStreamImpl/Empty",801),A(1668,1,gD,qKe),h.Bd=function(t){Sht(this.a,t)},x(jo,"IntStreamImpl/lambda$4$Type",1668);var _3n=Hr(jo,"Stream");A(28,542,{524:1,684:1,840:1},yt),h.Ye=function(){I3(this)};var ET;x(jo,"StreamImpl",28),A(1083,489,Tc,Nit),h.zd=function(t){for(;Edn(this);){if(this.a.zd(t))return!0;I3(this.b),this.b=null,this.a=null}return!1},x(jo,"StreamImpl/1",1083),A(1084,1,tn,VKe),h.Ad=function(t){ron(this.a,l(t,840))},x(jo,"StreamImpl/1/lambda$0$Type",1084),A(1085,1,Ln,WKe),h.Mb=function(t){return pi(this.a,t)},x(jo,"StreamImpl/1methodref$add$Type",1085),A(1086,489,Tc,dat),h.zd=function(t){var r;return this.a||(r=new Pe,this.b.a.Nb(new KKe(r)),St(),_i(r,this.c),this.a=new vt(r,16)),Jdt(this.a,t)},h.a=null,x(jo,"StreamImpl/5",1086),A(1087,1,tn,KKe),h.Ad=function(t){je(this.a,t)},x(jo,"StreamImpl/5/2methodref$add$Type",1087),A(732,489,Tc,Tpe),h.zd=function(t){for(this.b=!1;!this.b&&this.c.zd(new Get(this,t)););return this.b},h.b=!1,x(jo,"StreamImpl/FilterSpliterator",732),A(1077,1,tn,Get),h.Ad=function(t){Xon(this.a,this.b,t)},x(jo,"StreamImpl/FilterSpliterator/lambda$0$Type",1077),A(1072,731,Tc,alt),h.Pe=function(t){return Inn(this,l(t,191))},x(jo,"StreamImpl/MapToDoubleSpliterator",1072),A(1076,1,tn,qet),h.Ad=function(t){sen(this.a,this.b,t)},x(jo,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1076),A(1071,730,Tc,ult),h.Pe=function(t){return Rnn(this,l(t,204))},x(jo,"StreamImpl/MapToIntSpliterator",1071),A(1075,1,tn,Vet),h.Ad=function(t){aen(this.a,this.b,t)},x(jo,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1075),A(729,489,Tc,lpe),h.zd=function(t){return kit(this,t)},x(jo,"StreamImpl/MapToObjSpliterator",729),A(1074,1,tn,Wet),h.Ad=function(t){uen(this.a,this.b,t)},x(jo,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1074),A(1073,489,Tc,jft),h.zd=function(t){for(;vq(this.b,0);){if(!this.a.zd(new Qr))return!1;this.b=El(this.b,1)}return this.a.zd(t)},h.b=0,x(jo,"StreamImpl/SkipSpliterator",1073),A(1078,1,tn,Qr),h.Ad=function(t){},x(jo,"StreamImpl/SkipSpliterator/lambda$0$Type",1078),A(624,1,tn,Hi),h.Ad=function(t){IKe(this,t)},x(jo,"StreamImpl/ValueConsumer",624),A(1079,1,tn,ai),h.Ad=function(t){Tb()},x(jo,"StreamImpl/lambda$0$Type",1079),A(1080,1,tn,jc),h.Ad=function(t){Tb()},x(jo,"StreamImpl/lambda$1$Type",1080),A(1081,1,{},YKe),h.Te=function(t,r){return Qnn(this.a,t,r)},x(jo,"StreamImpl/lambda$4$Type",1081),A(1082,1,tn,Ket),h.Ad=function(t){Ann(this.b,this.a,t)},x(jo,"StreamImpl/lambda$5$Type",1082),A(1088,1,tn,JKe),h.Ad=function(t){Ehn(this.a,l(t,376))},x(jo,"TerminatableStream/lambda$0$Type",1088),A(2121,1,{}),A(1993,1,{},Ui),x("javaemul.internal","ConsoleLogger",1993);var k3n=0;A(2113,1,{}),A(1817,1,tn,gb),h.Ad=function(t){l(t,322)},x(fk,"BowyerWatsonTriangulation/lambda$0$Type",1817),A(1818,1,tn,XKe),h.Ad=function(t){bo(this.a,l(t,322).e)},x(fk,"BowyerWatsonTriangulation/lambda$1$Type",1818),A(1819,1,tn,Yg),h.Ad=function(t){l(t,180)},x(fk,"BowyerWatsonTriangulation/lambda$2$Type",1819),A(1814,1,Un,ZKe),h.Le=function(t,r){return hln(this.a,l(t,180),l(r,180))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(fk,"NaiveMinST/lambda$0$Type",1814),A(401,1,{},RA),x(fk,"NodeMicroLayout",401),A(180,1,{180:1},dS),h.Fb=function(t){var r;return se(t,180)?(r=l(t,180),ia(this.a,r.a)&&ia(this.b,r.b)||ia(this.a,r.b)&&ia(this.b,r.a)):!1},h.Hb=function(){return nE(this.a)+nE(this.b)};var x3n=x(fk,"TEdge",180);A(322,1,{322:1},m0e),h.Fb=function(t){var r;return se(t,322)?(r=l(t,322),ij(this,r.a)&&ij(this,r.b)&&ij(this,r.c)):!1},h.Hb=function(){return nE(this.a)+nE(this.b)+nE(this.c)},x(fk,"TTriangle",322),A(227,1,{227:1},R8),x(fk,"Tree",227),A(1195,1,{},aut),x(l2t,"Scanline",1195);var okt=Hr(l2t,d2t);A(1745,1,{},Xdt),x(Ah,"CGraph",1745),A(321,1,{321:1},Wat),h.b=0,h.c=0,h.d=0,h.g=0,h.i=0,h.k=Oi,x(Ah,"CGroup",321),A(821,1,{},Ece),x(Ah,"CGroup/CGroupBuilder",821),A(60,1,{60:1},cit),h.Ib=function(){var t;return this.j?In(this.j.Kb(this)):(ep(h$),h$.o+"@"+(t=o0(this)>>>0,t.toString(16)))},h.f=0,h.i=Oi;var h$=x(Ah,"CNode",60);A(820,1,{},Sce),x(Ah,"CNode/CNodeBuilder",820);var skt;A(1568,1,{},qh),h.df=function(t,r){return 0},h.ef=function(t,r){return 0},x(Ah,h2t,1568),A(1847,1,{},bb),h.af=function(t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G;for(v=Kr,s=new V(t.a.b);s.a<s.c.c.length;)r=l(q(s),60),v=b.Math.min(v,r.a.j.d.c+r.b.a);for(L=new Sr,p=new V(t.a.a);p.a<p.c.c.length;)f=l(q(p),321),f.k=v,f.g==0&&Wr(L,f,L.c.b,L.c);for(;L.b!=0;){for(f=l(L.b==0?null:(un(L.b!=0),Vc(L,L.a.a)),321),u=f.j.d.c,I=f.a.a.ec().Jc();I.Ob();)T=l(I.Pb(),60),G=f.k+T.b.a,!kpn(t,f,t.d)||T.d.c<G?T.i=G:T.i=T.d.c;for(u-=f.j.i,f.b+=u,t.d==(vi(),cs)||t.d==ff?f.c+=u:f.c-=u,N=f.a.a.ec().Jc();N.Ob();)for(T=l(N.Pb(),60),y=T.c.Jc();y.Ob();)m=l(y.Pb(),60),Zh(t.d)?U=t.g.df(T,m):U=t.g.ef(T,m),m.a.k=b.Math.max(m.a.k,T.i+T.d.b+U-m.b.a),Eat(t,m,t.d)&&(m.a.k=b.Math.max(m.a.k,m.d.c-m.b.a)),--m.a.g,m.a.g==0&&Gn(L,m.a)}for(o=new V(t.a.b);o.a<o.c.c.length;)r=l(q(o),60),r.d.c=r.i},x(Ah,"LongestPathCompaction",1847),A(1743,1,{},e0t),h.e=!1;var akt,ukt,ckt,JQ=x(Ah,b2t,1743);A(1744,1,tn,QKe),h.Ad=function(t){Dhn(this.a,l(t,49))},x(Ah,m2t,1744),A(1848,1,{},Vp),h.bf=function(t){var r,o,s,u,f,p,m;for(o=new V(t.a.b);o.a<o.c.c.length;)r=l(q(o),60),r.c.$b();for(u=new V(t.a.b);u.a<u.c.c.length;)for(s=l(q(u),60),p=new V(t.a.b);p.a<p.c.c.length;)f=l(q(p),60),s!=f&&(s.a&&s.a==f.a||(Zh(t.d)?m=t.g.ef(s,f):m=t.g.df(s,f),(f.d.c>s.d.c||s.d.c==f.d.c&&s.d.b<f.d.b)&&o1n(f.d.d+f.d.a+m,s.d.d)&&_1e(f.d.d,s.d.d+s.d.a+m)&&s.c.Ec(f)))},x(Ah,"QuadraticConstraintCalculation",1848),A(520,1,{520:1},VG),h.a=!1,h.b=!1,h.c=!1,h.d=!1,x(Ah,w2t,520),A(811,1,{},Dfe),h.bf=function(t){this.c=t,Y6(this,new Y2)},x(Ah,y2t,811),A(1771,1,{690:1},Aat),h._e=function(t){myn(this,l(t,466))},x(Ah,v2t,1771),A(1772,1,Un,Rw),h.Le=function(t,r){return ean(l(t,60),l(r,60))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ah,E2t,1772),A(466,1,{466:1},ble),h.a=!1,x(Ah,S2t,466),A(1773,1,Un,Vh),h.Le=function(t,r){return Dmn(l(t,466),l(r,466))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ah,T2t,1773),A(1774,1,Bf,Y2),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},x(Ah,"ScanlineConstraintCalculator/lambda$1$Type",1774),A(220,1,{220:1},Jg),h.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},h.a=1,h.b=0,h.c=0,h.f=!1,h.g=0;var lkt=x(UC,"NEdge",220);A(186,1,{},gl),x(UC,"NEdge/NEdgeBuilder",186),A(658,1,{},KG),x(UC,"NGraph",658),A(126,1,{126:1},flt),h.c=-1,h.d=0,h.e=0,h.i=-1,h.j=!1;var d2e=x(UC,"NNode",126);A(802,1,o2t,vce),h.Ic=function(t){co(this,t)},h.gd=function(t){Ub(this,t)},h.Lc=function(){return new vt(this,16)},h.Mc=function(){return new yt(null,new vt(this,16))},h._c=function(t,r){++this.b,kb(this.a,t,r)},h.Ec=function(t){return P8(this,t)},h.ad=function(t,r){return++this.b,$ge(this.a,t,r)},h.Fc=function(t){return++this.b,li(this.a,t)},h.$b=function(){++this.b,Lw(this.a.c,0)},h.Gc=function(t){return As(this.a,t,0)!=-1},h.Hc=function(t){return k6(this.a,t)},h.Xb=function(t){return He(this.a,t)},h.bd=function(t){return As(this.a,t,0)},h.dc=function(){return this.a.c.length==0},h.Jc=function(){return FS(new V(this.a))},h.cd=function(){throw K(new Nn)},h.dd=function(t){throw K(new Nn)},h.ed=function(t){return++this.b,og(this.a,t)},h.Kc=function(t){return bde(this,t)},h.fd=function(t,r){return++this.b,tc(this.a,t,r)},h.gc=function(){return this.a.c.length},h.hd=function(t,r){return new If(this.a,t,r)},h.Nc=function(){return X8(this.a.c)},h.Oc=function(t){return Yd(this.a,t)},h.b=0,x(UC,"NNode/ChangeAwareArrayList",802),A(276,1,{},Eb),x(UC,"NNode/NNodeBuilder",276),A(1677,1,{},mb),h.a=!1,h.f=sr,h.j=0,x(UC,"NetworkSimplex",1677),A(1290,1,tn,eYe),h.Ad=function(t){D0e(this.a,l(t,692),!0,!1)},x(A2t,"NodeLabelAndSizeCalculator/lambda$0$Type",1290),A(561,1,{},S9),h.b=!0,h.c=!0,h.d=!0,h.e=!0,x(A2t,"NodeMarginCalculator",561),A(219,1,{219:1}),h.j=!1,h.k=!1;var dkt=x(tm,"Cell",219);A(129,219,{129:1,219:1},uit),h.ff=function(){return Z8(this)},h.gf=function(){var t;return t=this.n,this.a.a+t.b+t.c},x(tm,"AtomicCell",129),A(240,23,{3:1,34:1,23:1,240:1},Aq);var $s,ja,Bs,Py=fn(tm,"ContainerArea",240,bn,wun,Ynn),fkt;A(338,219,_2t),x(tm,"ContainerCell",338),A(1516,338,_2t,Agt),h.ff=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].ff()):t=f1e(this,D1t(this,!0)),t>0?t+this.n.d+this.n.a:0},h.gf=function(){var t,r,o,s,u;if(u=0,this.e)this.b?u=this.b.a:this.a[1][1]&&(u=this.a[1][1].gf());else if(this.g)u=f1e(this,PY(this,null,!0));else for(r=(Sd(),Z(X(Py,1),Ce,240,0,[$s,ja,Bs])),o=0,s=r.length;o<s;++o)t=r[o],u=b.Math.max(u,f1e(this,PY(this,t,!0)));return u>0?u+this.n.b+this.n.c:0},h.hf=function(){var t,r,o,s,u;if(this.g)for(t=PY(this,null,!1),o=(Sd(),Z(X(Py,1),Ce,240,0,[$s,ja,Bs])),s=0,u=o.length;s<u;++s)r=o[s],_wt(this,r,t);else for(o=(Sd(),Z(X(Py,1),Ce,240,0,[$s,ja,Bs])),s=0,u=o.length;s<u;++s)r=o[s],t=PY(this,r,!1),_wt(this,r,t)},h.jf=function(){var t,r,o,s;r=this.i,t=this.n,s=D1t(this,!1),spe(this,(Sd(),$s),r.d+t.d,s),spe(this,Bs,r.d+r.a-t.a-s[2],s),o=r.a-t.d-t.a,s[0]>0&&(s[0]+=this.d,o-=s[0]),s[2]>0&&(s[2]+=this.d,o-=s[2]),this.c.a=b.Math.max(0,o),this.c.d=r.d+t.d+(this.c.a-o)/2,s[1]=b.Math.max(s[1],o),spe(this,ja,r.d+t.d+s[0]-(s[1]-o)/2,s)},h.b=null,h.d=0,h.e=!1,h.f=!1,h.g=!1;var XQ=0,p$=0;x(tm,"GridContainerCell",1516),A(464,23,{3:1,34:1,23:1,464:1},_q);var L1,Vf,nd,hkt=fn(tm,"HorizontalLabelAlignment",464,bn,yun,Jnn),pkt;A(319,219,{219:1,319:1},Bat,Zdt,Rat),h.ff=function(){return lot(this)},h.gf=function(){return _fe(this)},h.a=0,h.c=!1;var N3n=x(tm,"LabelCell",319);A(256,338,{219:1,338:1,256:1},cC),h.ff=function(){return wC(this)},h.gf=function(){return yC(this)},h.hf=function(){TJ(this)},h.jf=function(){AJ(this)},h.b=0,h.c=0,h.d=!1,x(tm,"StripContainerCell",256),A(1672,1,Ln,Xg),h.Mb=function(t){return nQt(l(t,219))},x(tm,"StripContainerCell/lambda$0$Type",1672),A(1673,1,{},kN),h.We=function(t){return l(t,219).gf()},x(tm,"StripContainerCell/lambda$1$Type",1673),A(1674,1,Ln,xN),h.Mb=function(t){return rQt(l(t,219))},x(tm,"StripContainerCell/lambda$2$Type",1674),A(1675,1,{},Wp),h.We=function(t){return l(t,219).ff()},x(tm,"StripContainerCell/lambda$3$Type",1675),A(465,23,{3:1,34:1,23:1,465:1},kq);var rd,M1,Nd,gkt=fn(tm,"VerticalLabelAlignment",465,bn,vun,Xnn),bkt;A(794,1,{},M0e),h.c=0,h.d=0,h.k=0,h.s=0,h.t=0,h.v=!1,h.w=0,h.D=!1,h.F=!1,x(oF,"NodeContext",794),A(1514,1,Un,HR),h.Le=function(t,r){return Tnt(l(t,64),l(r,64))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(oF,"NodeContext/0methodref$comparePortSides$Type",1514),A(1515,1,Un,kA),h.Le=function(t,r){return rwn(l(t,116),l(r,116))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(oF,"NodeContext/1methodref$comparePortContexts$Type",1515),A(169,23,{3:1,34:1,23:1,169:1},Kc);var mkt,wkt,ykt,vkt,Ekt,Skt,Tkt,Akt,_kt,kkt,xkt,Nkt,Ckt,Ikt,Rkt,Okt,Dkt,Lkt,Mkt,Pkt,jkt,ZQ,Fkt=fn(oF,"NodeLabelLocation",169,bn,hY,Znn),$kt;A(116,1,{116:1},a0t),h.a=!1,x(oF,"PortContext",116),A(1519,1,tn,zR),h.Ad=function(t){HQe(l(t,319))},x(AD,k2t,1519),A(1520,1,Ln,GR),h.Mb=function(t){return!!l(t,116).c},x(AD,x2t,1520),A(1521,1,tn,NN),h.Ad=function(t){HQe(l(t,116).c)},x(AD,"LabelPlacer/lambda$2$Type",1521);var f2e;A(1518,1,tn,CN),h.Ad=function(t){Gw(),MZt(l(t,116))},x(AD,"NodeLabelAndSizeUtilities/lambda$0$Type",1518),A(795,1,tn,ife),h.Ad=function(t){YQt(this.b,this.c,this.a,l(t,190))},h.a=!1,h.c=!1,x(AD,"NodeLabelCellCreator/lambda$0$Type",795),A(1517,1,tn,tYe),h.Ad=function(t){$Zt(this.a,l(t,190))},x(AD,"PortContextCreator/lambda$0$Type",1517);var g$;A(1889,1,{},ho),x(pk,"GreedyRectangleStripOverlapRemover",1889),A(1890,1,Un,Fc),h.Le=function(t,r){return Ntn(l(t,228),l(r,228))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(pk,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1890),A(1843,1,{},dZe),h.a=5,h.e=0,x(pk,"RectangleStripOverlapRemover",1843),A(1844,1,Un,Fl),h.Le=function(t,r){return Ctn(l(t,228),l(r,228))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(pk,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1844),A(1846,1,Un,Tf),h.Le=function(t,r){return fsn(l(t,228),l(r,228))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(pk,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1846),A(414,23,{3:1,34:1,23:1,414:1},r8);var XD,QQ,eee,ZD,Bkt=fn(pk,"RectangleStripOverlapRemover/OverlapRemovalDirection",414,bn,Ocn,trn),Ukt;A(228,1,{228:1},zV),x(pk,"RectangleStripOverlapRemover/RectangleNode",228),A(1845,1,tn,nYe),h.Ad=function(t){Rbn(this.a,l(t,228))},x(pk,"RectangleStripOverlapRemover/lambda$1$Type",1845);var Hkt=!1,mI,h2e;A(1815,1,tn,J2),h.Ad=function(t){yvt(l(t,227))},x(hT,"DepthFirstCompaction/0methodref$compactTree$Type",1815),A(817,1,tn,oce),h.Ad=function(t){Bsn(this.a,l(t,227))},x(hT,"DepthFirstCompaction/lambda$1$Type",817),A(1816,1,tn,Fit),h.Ad=function(t){y1n(this.a,this.b,this.c,l(t,227))},x(hT,"DepthFirstCompaction/lambda$2$Type",1816);var wI,p2e;A(68,1,{68:1},cut),x(hT,"Node",68),A(1191,1,{},Hnt),x(hT,"ScanlineOverlapCheck",1191),A(1192,1,{690:1},kat),h._e=function(t){wnn(this,l(t,445))},x(hT,"ScanlineOverlapCheck/OverlapsScanlineHandler",1192),A(1193,1,Un,pl),h.Le=function(t,r){return rgn(l(t,68),l(r,68))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(hT,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1193),A(445,1,{445:1},mle),h.a=!1,x(hT,"ScanlineOverlapCheck/Timestamp",445),A(1194,1,Un,sh),h.Le=function(t,r){return Lmn(l(t,445),l(r,445))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(hT,"ScanlineOverlapCheck/lambda$0$Type",1194),A(549,1,{},qm),x("org.eclipse.elk.alg.common.utils","SVGImage",549),A(755,1,{},ah),x(NX,lwe,755),A(1176,1,Un,Wh),h.Le=function(t,r){return cvn(l(t,238),l(r,238))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(NX,I2t,1176),A(1177,1,tn,Yet),h.Ad=function(t){Sun(this.b,this.a,l(t,254))},x(NX,dwe,1177),A(207,1,nm),x(LE,"AbstractLayoutProvider",207),A(733,207,nm,Tce),h.kf=function(t,r){X0t(this,t,r)},x(NX,"ForceLayoutProvider",733);var C3n=Hr(_D,R2t);A(151,1,{3:1,105:1,151:1},X2),h.of=function(t,r){return x6(this,t,r)},h.lf=function(){return Iot(this)},h.mf=function(t){return j(this,t)},h.nf=function(t){return gr(this,t)},x(_D,"MapPropertyHolder",151),A(314,151,{3:1,314:1,105:1,151:1}),x(kD,"FParticle",314),A(254,314,{3:1,254:1,314:1,105:1,151:1},mst),h.Ib=function(){var t;return this.a?(t=As(this.a.a,this,0),t>=0?"b"+t+"["+PW(this.a)+"]":"b["+PW(this.a)+"]"):"b_"+o0(this)},x(kD,"FBendpoint",254),A(292,151,{3:1,292:1,105:1,151:1},lit),h.Ib=function(){return PW(this)},x(kD,"FEdge",292),A(238,151,{3:1,238:1,105:1,151:1},KP);var I3n=x(kD,"FGraph",238);A(448,314,{3:1,448:1,314:1,105:1,151:1},Ect),h.Ib=function(){return this.b==null||this.b.length==0?"l["+PW(this.a)+"]":"l_"+this.b},x(kD,"FLabel",448),A(156,314,{3:1,156:1,314:1,105:1,151:1},znt),h.Ib=function(){return Lhe(this)},h.a=0,x(kD,"FNode",156),A(2079,1,{}),h.qf=function(t){d0e(this,t)},h.rf=function(){R1t(this)},h.d=0,x(fwe,"AbstractForceModel",2079),A(638,2079,{638:1},Eht),h.pf=function(t,r){var o,s,u,f,p;return Tvt(this.f,t,r),u=Ri(So(r.d),t.d),p=b.Math.sqrt(u.a*u.a+u.b*u.b),s=b.Math.max(0,p-C3(t.e)/2-C3(r.e)/2),o=Xmt(this.e,t,r),o>0?f=-osn(s,this.c)*o:f=ztn(s,this.b)*l(j(t,(ed(),ST)),15).a,Qh(u,f/p),u},h.qf=function(t){d0e(this,t),this.a=l(j(t,(ed(),m$)),15).a,this.c=ue(ce(j(t,w$))),this.b=ue(ce(j(t,nee)))},h.sf=function(t){return t<this.a},h.a=0,h.b=0,h.c=0,x(fwe,"EadesModel",638),A(639,2079,{639:1},yot),h.pf=function(t,r){var o,s,u,f,p;return Tvt(this.f,t,r),u=Ri(So(r.d),t.d),p=b.Math.sqrt(u.a*u.a+u.b*u.b),s=b.Math.max(0,p-C3(t.e)/2-C3(r.e)/2),f=Htn(s,this.a)*l(j(t,(ed(),ST)),15).a,o=Xmt(this.e,t,r),o>0&&(f-=ZZt(s,this.a)*o),Qh(u,f*this.b/p),u},h.qf=function(t){var r,o,s,u,f,p,m;for(d0e(this,t),this.b=ue(ce(j(t,(ed(),ree)))),this.c=this.b/l(j(t,m$),15).a,s=t.e.c.length,f=0,u=0,m=new V(t.e);m.a<m.c.c.length;)p=l(q(m),156),f+=p.e.a,u+=p.e.b;r=f*u,o=ue(ce(j(t,w$)))*nf,this.a=b.Math.sqrt(r/(2*s))*o},h.rf=function(){R1t(this),this.b-=this.c},h.sf=function(t){return this.b>0},h.a=0,h.b=0,h.c=0,x(fwe,"FruchtermanReingoldModel",639);var GE=Hr(xs,"ILayoutMetaDataProvider");A(852,1,td,tWe),h.tf=function(t){st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,sF),""),"Force Model"),"Determines the model for force calculation."),g2e),(A1(),$r)),b2e),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,hwe),""),"Iterations"),"The number of iterations on the force model."),Re(300)),wo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,pwe),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Re(0)),wo),Ti),ct(Rd)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,CX),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Uf),Qi),fi),ct(xt)))),zr(t,CX,sF,Ykt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,IX),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Qi),fi),ct(xt)))),zr(t,IX,sF,Vkt),hEt((new rWe,t))};var zkt,Gkt,g2e,qkt,Vkt,Wkt,Kkt,Ykt;x(zC,"ForceMetaDataProvider",852),A(429,23,{3:1,34:1,23:1,429:1},gle);var tee,b$,b2e=fn(zC,"ForceModelStrategy",429,bn,Van,rrn),Jkt;A(993,1,td,rWe),h.tf=function(t){hEt(t)};var Xkt,Zkt,m2e,m$,w2e,Qkt,ext,txt,nxt,y2e,rxt,v2e,E2e,ixt,ST,oxt,nee,S2e,sxt,axt,w$,ree,uxt,cxt,lxt,T2e,dxt;x(zC,"ForceOptions",993),A(994,1,{},Vm),h.uf=function(){var t;return t=new Tce,t},h.vf=function(t){},x(zC,"ForceOptions/ForceFactory",994);var QD,yI,TT,y$;A(853,1,td,iWe),h.tf=function(t){st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,bwe),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Lt(),!1)),(A1(),Ai)),Yr),ct((Jd(),ri))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,mwe),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Qi),fi),Ar(xt,Z(X(cf,1),Ce,161,0,[Rd]))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,wwe),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),A2e),$r),R2e),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,ywe),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Uf),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,vwe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Re(sr)),wo),Ti),ct(xt)))),Bvt((new oWe,t))};var fxt,hxt,A2e,pxt,gxt,bxt;x(zC,"StressMetaDataProvider",853),A(997,1,td,oWe),h.tf=function(t){Bvt(t)};var v$,_2e,k2e,x2e,N2e,C2e,mxt,wxt,yxt,vxt,I2e,Ext;x(zC,"StressOptions",997),A(998,1,{},e9),h.uf=function(){var t;return t=new dit,t},h.vf=function(t){},x(zC,"StressOptions/StressFactory",998),A(1091,207,nm,dit),h.kf=function(t,r){var o,s,u,f,p;for(r.Tg(P2t,1),Ke(We(ye(t,(H6(),N2e))))?Ke(We(ye(t,I2e)))||D3((o=new RA((t1(),new Kp(t))),o)):X0t(new Tce,t,r.dh(1)),u=Wht(t),s=Kyt(this.a,u),p=s.Jc();p.Ob();)f=l(p.Pb(),238),!(f.e.c.length<=1)&&(j_n(this.b,f),oEn(this.b),Oa(f.d,new Zz));u=lEt(s),yEt(u),r.Ug()},x(cF,"StressLayoutProvider",1091),A(1092,1,tn,Zz),h.Ad=function(t){v0e(l(t,448))},x(cF,"StressLayoutProvider/lambda$0$Type",1092),A(995,1,{},iZe),h.c=0,h.e=0,h.g=0,x(cF,"StressMajorization",995),A(385,23,{3:1,34:1,23:1,385:1},xq);var iee,oee,see,R2e=fn(cF,"StressMajorization/Dimension",385,bn,Tun,irn),Sxt;A(996,1,Un,rYe),h.Le=function(t,r){return Lnn(this.a,l(t,156),l(r,156))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(cF,"StressMajorization/lambda$0$Type",996),A(1173,1,{},Tut),x(bT,"ElkLayered",1173),A(1174,1,tn,iYe),h.Ad=function(t){Vyn(this.a,l(t,37))},x(bT,"ElkLayered/lambda$0$Type",1174),A(1175,1,tn,oYe),h.Ad=function(t){Dnn(this.a,l(t,37))},x(bT,"ElkLayered/lambda$1$Type",1175),A(1258,1,{},qnt);var Txt,Axt,_xt;x(bT,"GraphConfigurator",1258),A(764,1,tn,sce),h.Ad=function(t){Jbt(this.a,l(t,9))},x(bT,"GraphConfigurator/lambda$0$Type",764),A(765,1,{},t9),h.Kb=function(t){return rbe(),new yt(null,new vt(l(t,26).a,16))},x(bT,"GraphConfigurator/lambda$1$Type",765),A(766,1,tn,ace),h.Ad=function(t){Jbt(this.a,l(t,9))},x(bT,"GraphConfigurator/lambda$2$Type",766),A(1090,207,nm,aZe),h.kf=function(t,r){var o;o=g_n(new hZe,t),be(ye(t,(Be(),Vy)))===be((fp(),Cg))?lgn(this.a,o,r):tEn(this.a,o,r),r.Zg()||rEt(new nWe,o)},x(bT,"LayeredLayoutProvider",1090),A(364,23,{3:1,34:1,23:1,364:1},fO);var id,xh,la,da,$o,O2e=fn(bT,"LayeredPhases",364,bn,Cln,orn),kxt;A(1700,1,{},Pft),h.i=0;var xxt;x(DD,"ComponentsToCGraphTransformer",1700);var Nxt;A(1701,1,{},Qz),h.wf=function(t,r){return b.Math.min(t.a!=null?ue(t.a):t.c.i,r.a!=null?ue(r.a):r.c.i)},h.xf=function(t,r){return b.Math.min(t.a!=null?ue(t.a):t.c.i,r.a!=null?ue(r.a):r.c.i)},x(DD,"ComponentsToCGraphTransformer/1",1701),A(84,1,{84:1}),h.i=0,h.k=!0,h.o=Oi;var aee=x(qC,"CNode",84);A(463,84,{463:1,84:1},vde,O1e),h.Ib=function(){return""},x(DD,"ComponentsToCGraphTransformer/CRectNode",463),A(1669,1,{},eG);var uee,cee;x(DD,"OneDimensionalComponentsCompaction",1669),A(1670,1,{},n9),h.Kb=function(t){return fun(l(t,49))},h.Fb=function(t){return this===t},x(DD,"OneDimensionalComponentsCompaction/lambda$0$Type",1670),A(1671,1,{},r9),h.Kb=function(t){return ggn(l(t,49))},h.Fb=function(t){return this===t},x(DD,"OneDimensionalComponentsCompaction/lambda$1$Type",1671),A(1703,1,{},Tst),x(qC,"CGraph",1703),A(197,1,{197:1},lY),h.b=0,h.c=0,h.e=0,h.g=!0,h.i=Oi,x(qC,"CGroup",197),A(1702,1,{},o9),h.wf=function(t,r){return b.Math.max(t.a!=null?ue(t.a):t.c.i,r.a!=null?ue(r.a):r.c.i)},h.xf=function(t,r){return b.Math.max(t.a!=null?ue(t.a):t.c.i,r.a!=null?ue(r.a):r.c.i)},x(qC,h2t,1702),A(1704,1,{},Qmt),h.d=!1;var Cxt,lee=x(qC,b2t,1704);A(1705,1,{},sG),h.Kb=function(t){return ile(),Lt(),l(l(t,49).a,84).d.e!=0},h.Fb=function(t){return this===t},x(qC,m2t,1705),A(825,1,{},Rfe),h.a=!1,h.b=!1,h.c=!1,h.d=!1,x(qC,w2t,825),A(1885,1,{},Uot),x(lF,y2t,1885);var eL=Hr(rm,d2t);A(1886,1,{378:1},_at),h._e=function(t){lSn(this,l(t,468))},x(lF,v2t,1886),A(1887,1,Un,aG),h.Le=function(t,r){return tan(l(t,84),l(r,84))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(lF,E2t,1887),A(468,1,{468:1},wle),h.a=!1,x(lF,S2t,468),A(1888,1,Un,uG),h.Le=function(t,r){return Mmn(l(t,468),l(r,468))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(lF,T2t,1888),A(148,1,{148:1},GA,Efe),h.Fb=function(t){var r;return t==null||R3n!=nc(t)?!1:(r=l(t,148),ia(this.c,r.c)&&ia(this.d,r.d))},h.Hb=function(){return Pj(Z(X(Ci,1),Rt,1,5,[this.c,this.d]))},h.Ib=function(){return"("+this.c+Ma+this.d+(this.a?"cx":"")+this.b+")"},h.a=!0,h.c=0,h.d=0;var R3n=x(rm,"Point",148);A(413,23,{3:1,34:1,23:1,413:1},i8);var J0,jy,qE,Fy,Ixt=fn(rm,"Point/Quadrant",413,bn,Rcn,nrn),Rxt;A(1691,1,{},uZe),h.b=null,h.c=null,h.d=null,h.e=null,h.f=null;var Oxt,Dxt,Lxt,Mxt,Pxt;x(rm,"RectilinearConvexHull",1691),A(576,1,{378:1},r7),h._e=function(t){kdn(this,l(t,148))},h.b=0;var D2e;x(rm,"RectilinearConvexHull/MaximalElementsEventHandler",576),A(1693,1,Un,tG),h.Le=function(t,r){return nan(ce(t),ce(r))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(rm,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1693),A(1692,1,{378:1},Gdt),h._e=function(t){k2n(this,l(t,148))},h.a=0,h.b=null,h.c=null,h.d=null,h.e=null,x(rm,"RectilinearConvexHull/RectangleEventHandler",1692),A(1694,1,Un,nG),h.Le=function(t,r){return icn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(rm,"RectilinearConvexHull/lambda$0$Type",1694),A(1695,1,Un,i9),h.Le=function(t,r){return ocn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(rm,"RectilinearConvexHull/lambda$1$Type",1695),A(1696,1,Un,rG),h.Le=function(t,r){return acn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(rm,"RectilinearConvexHull/lambda$2$Type",1696),A(1697,1,Un,iG),h.Le=function(t,r){return scn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(rm,"RectilinearConvexHull/lambda$3$Type",1697),A(1698,1,Un,oG),h.Le=function(t,r){return wwn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(rm,"RectilinearConvexHull/lambda$4$Type",1698),A(1699,1,{},uut),x(rm,"Scanline",1699),A(2083,1,{}),x(rf,"AbstractGraphPlacer",2083),A(337,1,{337:1},Mrt),h.Df=function(t){return this.Ef(t)?(wt(this.b,l(j(t,(Ie(),Tp)),24),t),!0):!1},h.Ef=function(t){var r,o,s,u;for(r=l(j(t,(Ie(),Tp)),24),u=l(wr(Tr,r),24),s=u.Jc();s.Ob();)if(o=l(s.Pb(),24),!l(wr(this.b,o),16).dc())return!1;return!0};var Tr;x(rf,"ComponentGroup",337),A(773,2083,{},Ace),h.Ff=function(t){var r,o;for(o=new V(this.a);o.a<o.c.c.length;)if(r=l(q(o),337),r.Df(t))return;je(this.a,new Mrt(t))},h.Cf=function(t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U;if(this.a.c.length=0,r.a.c.length=0,t.dc()){r.f.a=0,r.f.b=0;return}for(p=l(t.Xb(0),37),qs(r,p),u=t.Jc();u.Ob();)s=l(u.Pb(),37),this.Ff(s);for(U=new to,f=ue(ce(j(p,(Be(),wL)))),v=new V(this.a);v.a<v.c.c.length;)m=l(q(v),337),T=vEt(m,f),sg(yP(m.b),U.a,U.b),U.a+=T.a,U.b+=T.b;if(r.f.a=U.a-f,r.f.b=U.b-f,Ke(We(j(p,sB)))&&be(j(p,_p))===be((hp(),vx))){for(L=t.Jc();L.Ob();)N=l(L.Pb(),37),Q_(N,N.c.a,N.c.b);for(o=new qR,$0e(o,t,f),I=t.Jc();I.Ob();)N=l(I.Pb(),37),br(wd(N.c),o.e);br(wd(r.f),o.a)}for(y=new V(this.a);y.a<y.c.c.length;)m=l(q(y),337),Spe(r,yP(m.b))},x(rf,"ComponentGroupGraphPlacer",773),A(1288,773,{},AZe),h.Ff=function(t){Upt(this,t)},h.Cf=function(t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le;if(this.a.c.length=0,r.a.c.length=0,t.dc()){r.f.a=0,r.f.b=0;return}for(p=l(t.Xb(0),37),qs(r,p),u=t.Jc();u.Ob();)s=l(u.Pb(),37),Upt(this,s);for(le=new to,oe=new to,G=new to,U=new to,f=ue(ce(j(p,(Be(),wL)))),v=new V(this.a);v.a<v.c.c.length;){if(m=l(q(v),337),Zh(l(j(r,(_n(),Em)),87))){for(G.a=le.a,ne=new FN(N3(iW(m.b).a).a.kc());ne.b.Ob();)if(J=l(e8(ne.b.Pb()),24),J.Gc((Ue(),Vt))){G.a=oe.a;break}}else if(eE(l(j(r,Em),87))){for(G.b=le.b,ne=new FN(N3(iW(m.b).a).a.kc());ne.b.Ob();)if(J=l(e8(ne.b.Pb()),24),J.Gc((Ue(),Wt))){G.b=oe.b;break}}if(T=vEt(l(m,572),f),sg(yP(m.b),G.a,G.b),Zh(l(j(r,Em),87))){for(oe.a=G.a+T.a,U.a=b.Math.max(U.a,oe.a),ne=new FN(N3(iW(m.b).a).a.kc());ne.b.Ob();)if(J=l(e8(ne.b.Pb()),24),J.Gc((Ue(),dn))){le.a=G.a+T.a;break}oe.b=G.b+T.b,G.b=oe.b,U.b=b.Math.max(U.b,G.b)}else if(eE(l(j(r,Em),87))){for(oe.b=G.b+T.b,U.b=b.Math.max(U.b,oe.b),ne=new FN(N3(iW(m.b).a).a.kc());ne.b.Ob();)if(J=l(e8(ne.b.Pb()),24),J.Gc((Ue(),Zt))){le.b=G.b+T.b;break}oe.a=G.a+T.a,G.a=oe.a,U.a=b.Math.max(U.a,G.a)}}if(r.f.a=U.a-f,r.f.b=U.b-f,Ke(We(j(p,sB)))&&be(j(p,_p))===be((hp(),vx))){for(L=t.Jc();L.Ob();)N=l(L.Pb(),37),Q_(N,N.c.a,N.c.b);for(o=new qR,$0e(o,t,f),I=t.Jc();I.Ob();)N=l(I.Pb(),37),br(wd(N.c),o.e);br(wd(r.f),o.a)}for(y=new V(this.a);y.a<y.c.c.length;)m=l(q(y),337),Spe(r,yP(m.b))},x(rf,"ComponentGroupModelOrderGraphPlacer",1288),A(384,23,{3:1,34:1,23:1,384:1},o8);var dee,L2e,fee,vI,M2e=fn(rf,"ComponentOrderingStrategy",384,bn,Lcn,srn),jxt;A(655,1,{},qR),x(rf,"ComponentsCompactor",655),A(1511,13,r2t,elt),h.Ec=function(t){return pC(this,l(t,148))},x(rf,"ComponentsCompactor/Hullpoints",1511),A(1508,1,{847:1},l1t),h.a=!1,x(rf,"ComponentsCompactor/InternalComponent",1508),A(1507,1,Eh,lZe),h.Ic=function(t){co(this,t)},h.Jc=function(){return new V(this.a)},x(rf,"ComponentsCompactor/InternalConnectedComponents",1507),A(1510,1,{598:1},r0t),h.zf=function(){return null},h.Af=function(){return this.a},h.yf=function(){return pY(this.d)},h.Bf=function(){return this.b},x(rf,"ComponentsCompactor/InternalExternalExtension",1510),A(1509,1,{598:1},fZe),h.Af=function(){return this.a},h.yf=function(){return pY(this.d)},h.zf=function(){return this.c},h.Bf=function(){return this.b},x(rf,"ComponentsCompactor/InternalUnionExternalExtension",1509),A(1513,1,{},kwt),x(rf,"ComponentsCompactor/OuterSegments",1513),A(1512,1,{},cZe),x(rf,"ComponentsCompactor/Segments",1512),A(1259,1,{},hlt),x(rf,lwe,1259),A(1260,1,Un,cG),h.Le=function(t,r){return ccn(l(t,37),l(r,37))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(rf,"ComponentsProcessor/lambda$0$Type",1260),A(572,337,{337:1,572:1},Qct),h.Df=function(t){return Dge(this,t)},h.Ef=function(t){return awt(this,t)};var Wn;x(rf,"ModelOrderComponentGroup",572),A(1286,2083,{},lG),h.Cf=function(t,r){var o,s,u,f,p,m,y,v,T,N,I;if(t.gc()==1){N=l(t.Xb(0),37),N!=r&&(r.a.c.length=0,hyt(r,N,0,0),qs(r,N),ghe(r.d,N.d),r.f.a=N.f.a,r.f.b=N.f.b);return}else if(t.dc()){r.a.c.length=0,r.f.a=0,r.f.b=0;return}for(this.Hf(t,r),u=l(t.Xb(0),37),r.a.c.length=0,qs(r,u),v=0,I=0,p=t.Jc();p.Ob();)f=l(p.Pb(),37),T=f.f,v=b.Math.max(v,T.a),I+=T.a*T.b;if(v=b.Math.max(v,b.Math.sqrt(I)*ue(ce(j(r,(Be(),oB))))),s=ue(ce(j(r,wL))),this.Gf(t,r,v,s),Ke(We(j(u,sB)))){for(o=new qR,$0e(o,t,s),y=t.Jc();y.Ob();)m=l(y.Pb(),37),br(wd(m.c),o.e);br(wd(r.f),o.a)}Spe(r,t)},h.Gf=function(t,r,o,s){var u,f,p,m,y,v,T,N;for(T=0,N=0,m=0,u=s,p=t.Jc();p.Ob();)f=l(p.Pb(),37),v=f.f,T+v.a>o&&(T=0,N+=m+s,m=0),y=f.c,Q_(f,T+y.a,N+y.b),wd(y),u=b.Math.max(u,T+v.a),m=b.Math.max(m,v.b),T+=v.a+s;r.f.a=u,r.f.b=N+m},h.Hf=function(t,r){var o,s,u,f,p;if(be(j(r,(Be(),LI)))===be((WS(),vI))){for(s=t.Jc();s.Ob();){for(o=l(s.Pb(),37),p=0,f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),p+=l(j(u,pIt),15).a;o.p=p}St(),t.gd(new fG)}},x(rf,"SimpleRowGraphPlacer",1286),A(1289,1286,{},dG),h.Gf=function(t,r,o,s){var u,f,p,m,y,v,T,N,I,L;for(I=0,L=0,m=0,u=s,y=null,N=0,p=t.Jc();p.Ob();)f=l(p.Pb(),37),T=f.f,(I+T.a>o&&!l(j(f,(Ie(),Tp)),24).Gc((Ue(),Vt))||y&&l(j(y,(Ie(),Tp)),24).Gc((Ue(),Zt))||l(j(f,(Ie(),Tp)),24).Gc((Ue(),Wt)))&&(I=N,L+=m+s,m=0),v=f.c,l(j(f,(Ie(),Tp)),24).Gc((Ue(),Vt))&&(I=u+s),Q_(f,I+v.a,L+v.b),u=b.Math.max(u,I+T.a),l(j(f,Tp),24).Gc(dn)&&(N=b.Math.max(N,I+T.a+s)),wd(v),m=b.Math.max(m,T.b),I+=T.a+s,y=f;r.f.a=u,r.f.b=L+m},h.Hf=function(t,r){},x(rf,"ModelOrderRowGraphPlacer",1289),A(1287,1,Un,fG),h.Le=function(t,r){return yhn(l(t,37),l(r,37))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(rf,"SimpleRowGraphPlacer/1",1287);var Fxt;A(1257,1,Bf,s9),h.Lb=function(t){var r;return r=l(j(l(t,253).b,(Be(),rs)),79),!!r&&r.b!=0},h.Fb=function(t){return this===t},h.Mb=function(t){var r;return r=l(j(l(t,253).b,(Be(),rs)),79),!!r&&r.b!=0},x(dF,"CompoundGraphPostprocessor/1",1257),A(1256,1,_r,pZe),h.If=function(t,r){h1t(this,l(t,37),r)},x(dF,"CompoundGraphPreprocessor",1256),A(447,1,{447:1},ngt),h.c=!1,x(dF,"CompoundGraphPreprocessor/ExternalPort",447),A(253,1,{253:1},V8),h.Ib=function(){return bV(this.c)+":"+Wmt(this.b)},x(dF,"CrossHierarchyEdge",253),A(771,1,Un,uce),h.Le=function(t,r){return smn(this,l(t,253),l(r,253))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(dF,"CrossHierarchyEdgeComparator",771),A(248,151,{3:1,248:1,105:1,151:1}),h.p=0,x(ca,"LGraphElement",248),A(17,248,{3:1,17:1,248:1,105:1,151:1},h0),h.Ib=function(){return Wmt(this)};var Hk=x(ca,"LEdge",17);A(37,248,{3:1,22:1,37:1,248:1,105:1,151:1},qpe),h.Ic=function(t){co(this,t)},h.Jc=function(){return new V(this.b)},h.Ib=function(){return this.b.c.length==0?"G-unlayered"+Qd(this.a):this.a.c.length==0?"G-layered"+Qd(this.b):"G[layerless"+Qd(this.a)+", layers"+Qd(this.b)+"]"};var $xt=x(ca,"LGraph",37),Bxt;A(662,1,{}),h.Jf=function(){return this.e.n},h.mf=function(t){return j(this.e,t)},h.Kf=function(){return this.e.o},h.Lf=function(){return this.e.p},h.nf=function(t){return gr(this.e,t)},h.Mf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},h.Nf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},h.Of=function(t){this.e.p=t},x(ca,"LGraphAdapters/AbstractLShapeAdapter",662),A(467,1,{845:1},ON),h.Pf=function(){var t,r;if(!this.b)for(this.b=ch(this.a.b.c.length),r=new V(this.a.b);r.a<r.c.c.length;)t=l(q(r),70),je(this.b,new T9(t));return this.b},h.b=null,x(ca,"LGraphAdapters/LEdgeAdapter",467),A(661,1,{},dW),h.Qf=function(){var t,r,o,s,u,f;if(!this.b){for(this.b=new Pe,s=new V(this.a.b);s.a<s.c.c.length;)for(o=l(q(s),26),f=new V(o.a);f.a<f.c.c.length;)if(u=l(q(f),9),this.c.Mb(u)&&(je(this.b,new q8(this,u,this.e)),this.d)){if(gr(u,(Ie(),DT)))for(r=l(j(u,DT),16).Jc();r.Ob();)t=l(r.Pb(),9),je(this.b,new q8(this,t,!1));if(gr(u,kT))for(r=l(j(u,kT),16).Jc();r.Ob();)t=l(r.Pb(),9),je(this.b,new q8(this,t,!1))}}return this.b},h.Jf=function(){throw K(new Yp($2t))},h.mf=function(t){return j(this.a,t)},h.Kf=function(){return this.a.f},h.Lf=function(){return this.a.p},h.nf=function(t){return gr(this.a,t)},h.Mf=function(t){throw K(new Yp($2t))},h.Nf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},h.Of=function(t){this.a.p=t},h.b=null,h.d=!1,h.e=!1,x(ca,"LGraphAdapters/LGraphAdapter",661),A(578,662,{190:1},T9),x(ca,"LGraphAdapters/LLabelAdapter",578),A(577,662,{692:1},q8),h.Rf=function(){return this.b},h.Sf=function(){return St(),St(),No},h.Pf=function(){var t,r;if(!this.a)for(this.a=ch(l(this.e,9).b.c.length),r=new V(l(this.e,9).b);r.a<r.c.c.length;)t=l(q(r),70),je(this.a,new T9(t));return this.a},h.Tf=function(){var t;return t=l(this.e,9).d,new zde(t.d,t.c,t.a,t.b)},h.Uf=function(){return St(),St(),No},h.Vf=function(){var t,r;if(!this.c)for(this.c=ch(l(this.e,9).j.c.length),r=new V(l(this.e,9).j);r.a<r.c.c.length;)t=l(q(r),12),je(this.c,new Jet(t,this.d));return this.c},h.Wf=function(){return Ke(We(j(l(this.e,9),(Ie(),iTe))))},h.Xf=function(t){l(this.e,9).d.b=t.b,l(this.e,9).d.d=t.d,l(this.e,9).d.c=t.c,l(this.e,9).d.a=t.a},h.Yf=function(t){l(this.e,9).f.b=t.b,l(this.e,9).f.d=t.d,l(this.e,9).f.c=t.c,l(this.e,9).f.a=t.a},h.Zf=function(){rfn(this,(qN(),Bxt))},h.a=null,h.b=null,h.c=null,h.d=!1,x(ca,"LGraphAdapters/LNodeAdapter",577),A(1775,662,{844:1},Jet),h.Sf=function(){var t,r,o,s,u,f,p,m;if(this.d&&l(this.e,12).i.k==(Ht(),Aa))return St(),St(),No;if(!this.a){for(this.a=new Pe,o=new V(l(this.e,12).e);o.a<o.c.c.length;)t=l(q(o),17),je(this.a,new ON(t));if(this.d&&(s=l(j(l(this.e,12),(Ie(),Nu)),9),s))for(r=new Ft(Gt(si(s).a.Jc(),new D));an(r);)t=l(Qt(r),17),je(this.a,new ON(t));if(gr(l(this.e,12).i,(Ie(),nw))&&(p=l(j(l(this.e,12).i,nw),339),m=l(Wd(p.e,this.e),114),m))for(f=new V(m.b);f.a<f.c.c.length;)u=l(q(f),342),je(this.a,new ON(u.a))}return this.a},h.Pf=function(){var t,r;if(!this.b)for(this.b=ch(l(this.e,12).f.c.length),r=new V(l(this.e,12).f);r.a<r.c.c.length;)t=l(q(r),70),je(this.b,new T9(t));return this.b},h.Uf=function(){var t,r,o,s,u,f,p,m;if(this.d&&l(this.e,12).i.k==(Ht(),Aa))return St(),St(),No;if(!this.c){for(this.c=new Pe,o=new V(l(this.e,12).g);o.a<o.c.c.length;)t=l(q(o),17),je(this.c,new ON(t));if(this.d&&(s=l(j(l(this.e,12),(Ie(),Nu)),9),s))for(r=new Ft(Gt(Rr(s).a.Jc(),new D));an(r);)t=l(Qt(r),17),je(this.c,new ON(t));if(gr(l(this.e,12).i,(Ie(),nw))&&(p=l(j(l(this.e,12).i,nw),339),m=l(Wd(p.e,this.e),114),m))for(f=new V(m.e);f.a<f.c.c.length;)u=l(q(f),342),je(this.c,new ON(u.a))}return this.c},h.$f=function(){return l(this.e,12).j},h._f=function(){return Ke(We(j(l(this.e,12),(Ie(),dL))))},h.a=null,h.b=null,h.c=null,h.d=!1,x(ca,"LGraphAdapters/LPortAdapter",1775),A(1776,1,Un,hG),h.Le=function(t,r){return $Sn(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ca,"LGraphAdapters/PortComparator",1776),A(812,1,Ln,a9),h.Mb=function(t){return l(t,9),qN(),!0},x(ca,"LGraphAdapters/lambda$0$Type",812),A(400,248,{3:1,248:1,400:1,105:1,151:1}),x(ca,"LShape",400),A(70,400,{3:1,248:1,70:1,400:1,105:1,151:1},gQe,ede),h.Ib=function(){var t;return t=kon(this),t==null?"label":"l_"+t},x(ca,"LLabel",70),A(216,1,{3:1,4:1,216:1,419:1}),h.Fb=function(t){var r;return se(t,216)?(r=l(t,216),this.d==r.d&&this.a==r.a&&this.b==r.b&&this.c==r.c):!1},h.Hb=function(){var t,r;return t=gS(this.b)<<16,t|=gS(this.a)&Ei,r=gS(this.c)<<16,r|=gS(this.d)&Ei,t^r},h.ag=function(t){var r,o,s,u,f,p,m,y,v,T,N;for(f=0;f<t.length&&Npt((Yt(f,t.length),t.charCodeAt(f)),U2t);)++f;for(r=t.length;r>0&&Npt((Yt(r-1,t.length),t.charCodeAt(r-1)),H2t);)--r;if(f<r){T=ky((no(f,r,t.length),t.substr(f,r-f)),",|;");try{for(m=T,y=0,v=m.length;y<v;++y){if(p=m[y],u=ky(p,"="),u.length!=2)throw K(new jt("Expecting a list of key-value pairs."));s=vy(u[0]),N=yy(vy(u[1])),mt(s,"top")?this.d=N:mt(s,"left")?this.b=N:mt(s,"bottom")?this.a=N:mt(s,"right")&&(this.c=N)}}catch(I){throw I=ci(I),se(I,133)?(o=I,K(new jt(z2t+o))):K(I)}}},h.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},h.a=0,h.b=0,h.c=0,h.d=0,x(LD,"Spacing",216),A(125,216,G2t,MN,Int,zde,IV);var P2e=x(LD,"ElkMargin",125);A(656,125,G2t,JG),x(ca,"LMargin",656),A(9,400,{3:1,248:1,9:1,400:1,105:1,151:1},Xd),h.Ib=function(){return s1t(this)},h.i=!1;var Nh=x(ca,"LNode",9);A(252,23,{3:1,34:1,23:1,252:1},fS);var af,mi,ta,gi,EI,Xr,Aa,tL,hee=fn(ca,"LNode/NodeType",252,bn,Wdn,ern),Uxt;A(769,1,Ln,u9),h.Mb=function(t){return Ke(We(j(l(t,70),(Be(),i2))))},x(ca,"LNode/lambda$0$Type",769),A(100,216,q2t,rS,Ab,sfe);var j2e=x(LD,"ElkPadding",100);A(772,100,q2t,kce),x(ca,"LPadding",772),A(12,400,{3:1,248:1,12:1,400:1,105:1,151:1},aa),h.Ib=function(){var t,r,o;return t=new Zg,zn((t.a+="p_",t),f7(this)),this.i&&zn(ga((t.a+="[",t),this.i),"]"),this.e.c.length==1&&this.g.c.length==0&&l(He(this.e,0),17).c!=this&&(r=l(He(this.e,0),17).c,zn((t.a+=" << ",t),f7(r)),zn(ga((t.a+="[",t),r.i),"]")),this.e.c.length==0&&this.g.c.length==1&&l(He(this.g,0),17).d!=this&&(o=l(He(this.g,0),17).d,zn((t.a+=" >> ",t),f7(o)),zn(ga((t.a+="[",t),o.i),"]")),t.a},h.c=!0,h.d=!1;var F2e,$2e,B2e,U2e,H2e,z2e,Hxt=x(ca,"LPort",12);A(404,1,Eh,OA),h.Ic=function(t){co(this,t)},h.Jc=function(){var t;return t=new V(this.a.e),new sYe(t)},x(ca,"LPort/1",404),A(1285,1,Wi,sYe),h.Nb=function(t){oo(this,t)},h.Pb=function(){return l(q(this.a),17).c},h.Ob=function(){return Ss(this.a)},h.Qb=function(){k3(this.a)},x(ca,"LPort/1/1",1285),A(366,1,Eh,Q2),h.Ic=function(t){co(this,t)},h.Jc=function(){var t;return t=new V(this.a.g),new cce(t)},x(ca,"LPort/2",366),A(770,1,Wi,cce),h.Nb=function(t){oo(this,t)},h.Pb=function(){return l(q(this.a),17).d},h.Ob=function(){return Ss(this.a)},h.Qb=function(){k3(this.a)},x(ca,"LPort/2/1",770),A(1278,1,Eh,Xet),h.Ic=function(t){co(this,t)},h.Jc=function(){return new Vd(this)},x(ca,"LPort/CombineIter",1278),A(210,1,Wi,Vd),h.Nb=function(t){oo(this,t)},h.Qb=function(){kQe()},h.Ob=function(){return m3(this)},h.Pb=function(){return Ss(this.a)?q(this.a):q(this.b)},x(ca,"LPort/CombineIter/1",210),A(1279,1,Bf,pG),h.Lb=function(t){return nst(t)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).g.c.length!=0},x(ca,"LPort/lambda$0$Type",1279),A(1280,1,Bf,gG),h.Lb=function(t){return rst(t)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).e.c.length!=0},x(ca,"LPort/lambda$1$Type",1280),A(1281,1,Bf,bG),h.Lb=function(t){return bu(),l(t,12).j==(Ue(),Vt)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).j==(Ue(),Vt)},x(ca,"LPort/lambda$2$Type",1281),A(1282,1,Bf,mG),h.Lb=function(t){return bu(),l(t,12).j==(Ue(),Zt)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).j==(Ue(),Zt)},x(ca,"LPort/lambda$3$Type",1282),A(1283,1,Bf,wG),h.Lb=function(t){return bu(),l(t,12).j==(Ue(),dn)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).j==(Ue(),dn)},x(ca,"LPort/lambda$4$Type",1283),A(1284,1,Bf,IN),h.Lb=function(t){return bu(),l(t,12).j==(Ue(),Wt)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).j==(Ue(),Wt)},x(ca,"LPort/lambda$5$Type",1284),A(26,248,{3:1,22:1,248:1,26:1,105:1,151:1},ra),h.Ic=function(t){co(this,t)},h.Jc=function(){return new V(this.a)},h.Ib=function(){return"L_"+As(this.b.b,this,0)+Qd(this.a)},x(ca,"Layer",26),A(1676,1,{},Klt),h.b=0,x(ca,"Tarjan",1676),A(1294,1,{},hZe),x(vg,V2t,1294),A(1298,1,{},yG),h.Kb=function(t){return Vo(l(t,83))},x(vg,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1298),A(1301,1,{},c9),h.Kb=function(t){return Vo(l(t,83))},x(vg,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1301),A(1295,1,tn,aYe),h.Ad=function(t){l0t(this.a,l(t,127))},x(vg,dwe,1295),A(1296,1,tn,uYe),h.Ad=function(t){l0t(this.a,l(t,127))},x(vg,W2t,1296),A(1297,1,{},vG),h.Kb=function(t){return new yt(null,new vt(s_(l(t,74)),16))},x(vg,K2t,1297),A(1299,1,Ln,cYe),h.Mb=function(t){return Men(this.a,l(t,19))},x(vg,Y2t,1299),A(1300,1,{},EG),h.Kb=function(t){return new yt(null,new vt(Gsn(l(t,74)),16))},x(vg,"ElkGraphImporter/lambda$5$Type",1300),A(1302,1,Ln,lYe),h.Mb=function(t){return Pen(this.a,l(t,19))},x(vg,"ElkGraphImporter/lambda$7$Type",1302),A(1303,1,Ln,VR),h.Mb=function(t){return fan(l(t,74))},x(vg,"ElkGraphImporter/lambda$8$Type",1303),A(1273,1,{},nWe);var zxt;x(vg,"ElkGraphLayoutTransferrer",1273),A(1274,1,Ln,dYe),h.Mb=function(t){return jnn(this.a,l(t,17))},x(vg,"ElkGraphLayoutTransferrer/lambda$0$Type",1274),A(1275,1,tn,fYe),h.Ad=function(t){lO(),je(this.a,l(t,17))},x(vg,"ElkGraphLayoutTransferrer/lambda$1$Type",1275),A(1276,1,Ln,hYe),h.Mb=function(t){return mnn(this.a,l(t,17))},x(vg,"ElkGraphLayoutTransferrer/lambda$2$Type",1276),A(1277,1,tn,pYe),h.Ad=function(t){lO(),je(this.a,l(t,17))},x(vg,"ElkGraphLayoutTransferrer/lambda$3$Type",1277),A(813,1,{},Vde),x(Jt,"BiLinkedHashMultiMap",813),A(1528,1,_r,SG),h.If=function(t,r){Bfn(l(t,37),r)},x(Jt,"CommentNodeMarginCalculator",1528),A(1529,1,{},TG),h.Kb=function(t){return new yt(null,new vt(l(t,26).a,16))},x(Jt,"CommentNodeMarginCalculator/lambda$0$Type",1529),A(1530,1,tn,l9),h.Ad=function(t){f_n(l(t,9))},x(Jt,"CommentNodeMarginCalculator/lambda$1$Type",1530),A(1531,1,_r,H7e),h.If=function(t,r){mSn(l(t,37),r)},x(Jt,"CommentPostprocessor",1531),A(1532,1,_r,z7e),h.If=function(t,r){Bxn(l(t,37),r)},x(Jt,"CommentPreprocessor",1532),A(1533,1,_r,G7e),h.If=function(t,r){I2n(l(t,37),r)},x(Jt,"ConstraintsPostprocessor",1533),A(1534,1,_r,q7e),h.If=function(t,r){Shn(l(t,37),r)},x(Jt,"EdgeAndLayerConstraintEdgeReverser",1534),A(1535,1,_r,V7e),h.If=function(t,r){Bgn(l(t,37),r)},x(Jt,"EndLabelPostprocessor",1535),A(1536,1,{},W7e),h.Kb=function(t){return new yt(null,new vt(l(t,26).a,16))},x(Jt,"EndLabelPostprocessor/lambda$0$Type",1536),A(1537,1,Ln,K7e),h.Mb=function(t){return Aln(l(t,9))},x(Jt,"EndLabelPostprocessor/lambda$1$Type",1537),A(1538,1,tn,Y7e),h.Ad=function(t){Pmn(l(t,9))},x(Jt,"EndLabelPostprocessor/lambda$2$Type",1538),A(1539,1,_r,J7e),h.If=function(t,r){yyn(l(t,37),r)},x(Jt,"EndLabelPreprocessor",1539),A(1540,1,{},X7e),h.Kb=function(t){return new yt(null,new vt(l(t,26).a,16))},x(Jt,"EndLabelPreprocessor/lambda$0$Type",1540),A(1541,1,tn,Uit),h.Ad=function(t){JQt(this.a,this.b,this.c,l(t,9))},h.a=0,h.b=0,h.c=!1,x(Jt,"EndLabelPreprocessor/lambda$1$Type",1541),A(1542,1,Ln,Z7e),h.Mb=function(t){return be(j(l(t,70),(Be(),Kf)))===be((Kd(),yx))},x(Jt,"EndLabelPreprocessor/lambda$2$Type",1542),A(1543,1,tn,gYe),h.Ad=function(t){Gn(this.a,l(t,70))},x(Jt,"EndLabelPreprocessor/lambda$3$Type",1543),A(1544,1,Ln,Q7e),h.Mb=function(t){return be(j(l(t,70),(Be(),Kf)))===be((Kd(),dv))},x(Jt,"EndLabelPreprocessor/lambda$4$Type",1544),A(1545,1,tn,bYe),h.Ad=function(t){Gn(this.a,l(t,70))},x(Jt,"EndLabelPreprocessor/lambda$5$Type",1545),A(1593,1,_r,aWe),h.If=function(t,r){Ypn(l(t,37),r)};var Gxt;x(Jt,"EndLabelSorter",1593),A(1594,1,Un,eFe),h.Le=function(t,r){return x1n(l(t,458),l(r,458))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"EndLabelSorter/1",1594),A(458,1,{458:1},bat),x(Jt,"EndLabelSorter/LabelGroup",458),A(1595,1,{},tFe),h.Kb=function(t){return cO(),new yt(null,new vt(l(t,26).a,16))},x(Jt,"EndLabelSorter/lambda$0$Type",1595),A(1596,1,Ln,nFe),h.Mb=function(t){return cO(),l(t,9).k==(Ht(),Xr)},x(Jt,"EndLabelSorter/lambda$1$Type",1596),A(1597,1,tn,rFe),h.Ad=function(t){Own(l(t,9))},x(Jt,"EndLabelSorter/lambda$2$Type",1597),A(1598,1,Ln,iFe),h.Mb=function(t){return cO(),be(j(l(t,70),(Be(),Kf)))===be((Kd(),dv))},x(Jt,"EndLabelSorter/lambda$3$Type",1598),A(1599,1,Ln,oFe),h.Mb=function(t){return cO(),be(j(l(t,70),(Be(),Kf)))===be((Kd(),yx))},x(Jt,"EndLabelSorter/lambda$4$Type",1599),A(1546,1,_r,sFe),h.If=function(t,r){C_n(this,l(t,37))},h.b=0,h.c=0,x(Jt,"FinalSplineBendpointsCalculator",1546),A(1547,1,{},aFe),h.Kb=function(t){return new yt(null,new vt(l(t,26).a,16))},x(Jt,"FinalSplineBendpointsCalculator/lambda$0$Type",1547),A(1548,1,{},uFe),h.Kb=function(t){return new yt(null,new Xw(new Ft(Gt(Rr(l(t,9)).a.Jc(),new D))))},x(Jt,"FinalSplineBendpointsCalculator/lambda$1$Type",1548),A(1549,1,Ln,cFe),h.Mb=function(t){return!lo(l(t,17))},x(Jt,"FinalSplineBendpointsCalculator/lambda$2$Type",1549),A(1550,1,Ln,lFe),h.Mb=function(t){return gr(l(t,17),(Ie(),fm))},x(Jt,"FinalSplineBendpointsCalculator/lambda$3$Type",1550),A(1551,1,tn,mYe),h.Ad=function(t){MTn(this.a,l(t,134))},x(Jt,"FinalSplineBendpointsCalculator/lambda$4$Type",1551),A(1552,1,tn,dFe),h.Ad=function(t){mC(l(t,17).a)},x(Jt,"FinalSplineBendpointsCalculator/lambda$5$Type",1552),A(797,1,_r,lce),h.If=function(t,r){Skn(this,l(t,37),r)},x(Jt,"GraphTransformer",797),A(506,23,{3:1,34:1,23:1,506:1},yle);var pee,nL,qxt=fn(Jt,"GraphTransformer/Mode",506,bn,Wan,arn),Vxt;A(1553,1,_r,fFe),h.If=function(t,r){zEn(l(t,37),r)},x(Jt,"HierarchicalNodeResizingProcessor",1553),A(1554,1,_r,hFe),h.If=function(t,r){kfn(l(t,37),r)},x(Jt,"HierarchicalPortConstraintProcessor",1554),A(1555,1,Un,pFe),h.Le=function(t,r){return z1n(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"HierarchicalPortConstraintProcessor/NodeComparator",1555),A(1556,1,_r,gFe),h.If=function(t,r){NAn(l(t,37),r)},x(Jt,"HierarchicalPortDummySizeProcessor",1556),A(1557,1,_r,bFe),h.If=function(t,r){USn(this,l(t,37),r)},h.a=0,x(Jt,"HierarchicalPortOrthogonalEdgeRouter",1557),A(1558,1,Un,mFe),h.Le=function(t,r){return xtn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"HierarchicalPortOrthogonalEdgeRouter/1",1558),A(1559,1,Un,wFe),h.Le=function(t,r){return vdn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"HierarchicalPortOrthogonalEdgeRouter/2",1559),A(1560,1,_r,yFe),h.If=function(t,r){gwn(l(t,37),r)},x(Jt,"HierarchicalPortPositionProcessor",1560),A(1561,1,_r,sWe),h.If=function(t,r){TNn(this,l(t,37))},h.a=0,h.c=0;var E$,S$;x(Jt,"HighDegreeNodeLayeringProcessor",1561),A(573,1,{573:1},vFe),h.b=-1,h.d=-1,x(Jt,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",573),A(1562,1,{},EFe),h.Kb=function(t){return jO(),si(l(t,9))},h.Fb=function(t){return this===t},x(Jt,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1562),A(1563,1,{},SFe),h.Kb=function(t){return jO(),Rr(l(t,9))},h.Fb=function(t){return this===t},x(Jt,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1563),A(1569,1,_r,TFe),h.If=function(t,r){yAn(this,l(t,37),r)},x(Jt,"HyperedgeDummyMerger",1569),A(798,1,{},cfe),h.a=!1,h.b=!1,h.c=!1,x(Jt,"HyperedgeDummyMerger/MergeState",798),A(1570,1,{},AFe),h.Kb=function(t){return new yt(null,new vt(l(t,26).a,16))},x(Jt,"HyperedgeDummyMerger/lambda$0$Type",1570),A(1571,1,{},_Fe),h.Kb=function(t){return new yt(null,new vt(l(t,9).j,16))},x(Jt,"HyperedgeDummyMerger/lambda$1$Type",1571),A(1572,1,tn,kFe),h.Ad=function(t){l(t,12).p=-1},x(Jt,"HyperedgeDummyMerger/lambda$2$Type",1572),A(1573,1,_r,xFe),h.If=function(t,r){wAn(l(t,37),r)},x(Jt,"HypernodesProcessor",1573),A(1574,1,_r,NFe),h.If=function(t,r){xAn(l(t,37),r)},x(Jt,"InLayerConstraintProcessor",1574),A(1575,1,_r,CFe),h.If=function(t,r){Xfn(l(t,37),r)},x(Jt,"InnermostNodeMarginCalculator",1575),A(1576,1,_r,IFe),h.If=function(t,r){Pxn(this,l(t,37))},h.a=Oi,h.b=Oi,h.c=Kr,h.d=Kr;var O3n=x(Jt,"InteractiveExternalPortPositioner",1576);A(1577,1,{},RFe),h.Kb=function(t){return l(t,17).d.i},h.Fb=function(t){return this===t},x(Jt,"InteractiveExternalPortPositioner/lambda$0$Type",1577),A(1578,1,{},wYe),h.Kb=function(t){return Itn(this.a,ce(t))},h.Fb=function(t){return this===t},x(Jt,"InteractiveExternalPortPositioner/lambda$1$Type",1578),A(1579,1,{},OFe),h.Kb=function(t){return l(t,17).c.i},h.Fb=function(t){return this===t},x(Jt,"InteractiveExternalPortPositioner/lambda$2$Type",1579),A(1580,1,{},yYe),h.Kb=function(t){return Rtn(this.a,ce(t))},h.Fb=function(t){return this===t},x(Jt,"InteractiveExternalPortPositioner/lambda$3$Type",1580),A(1581,1,{},vYe),h.Kb=function(t){return knn(this.a,ce(t))},h.Fb=function(t){return this===t},x(Jt,"InteractiveExternalPortPositioner/lambda$4$Type",1581),A(1582,1,{},EYe),h.Kb=function(t){return xnn(this.a,ce(t))},h.Fb=function(t){return this===t},x(Jt,"InteractiveExternalPortPositioner/lambda$5$Type",1582),A(80,23,{3:1,34:1,23:1,80:1,177:1},bi),h.bg=function(){switch(this.g){case 15:return new QBe;case 22:return new eUe;case 48:return new nUe;case 29:case 36:return new zFe;case 33:return new SG;case 43:return new H7e;case 1:return new z7e;case 42:return new G7e;case 57:return new lce((v_(),nL));case 0:return new lce((v_(),pee));case 2:return new q7e;case 55:return new V7e;case 34:return new J7e;case 52:return new sFe;case 56:return new fFe;case 13:return new hFe;case 39:return new gFe;case 45:return new bFe;case 41:return new yFe;case 9:return new sWe;case 50:return new Art;case 38:return new TFe;case 44:return new xFe;case 28:return new NFe;case 31:return new CFe;case 3:return new IFe;case 18:return new DFe;case 30:return new LFe;case 5:return new uWe;case 51:return new FFe;case 35:return new cWe;case 37:return new GFe;case 53:return new aWe;case 11:return new qFe;case 7:return new lWe;case 40:return new VFe;case 46:return new WFe;case 16:return new KFe;case 10:return new dtt;case 49:return new ZFe;case 21:return new QFe;case 23:return new L9((Vb(),KI));case 8:return new t$e;case 12:return new r$e;case 4:return new i$e;case 19:return new dWe;case 17:return new p$e;case 54:return new g$e;case 6:return new x$e;case 25:return new mZe;case 26:return new ZBe;case 47:return new v$e;case 32:return new git;case 14:return new M$e;case 27:return new oUe;case 20:return new B$e;case 24:return new L9((Vb(),NB));default:throw K(new jt(LX+(this.f!=null?this.f:""+this.g)))}};var G2e,q2e,V2e,W2e,K2e,Y2e,J2e,X2e,Z2e,Q2e,eSe,VE,T$,A$,tSe,nSe,rSe,iSe,oSe,sSe,aSe,SI,uSe,cSe,lSe,dSe,fSe,gee,_$,k$,hSe,x$,N$,C$,zk,$y,By,pSe,I$,R$,gSe,O$,D$,bSe,mSe,wSe,ySe,L$,bee,AT,M$,P$,j$,F$,vSe,ESe,SSe,TSe,D3n=fn(Jt,MX,80,bn,lwt,urn),Wxt;A(1583,1,_r,DFe),h.If=function(t,r){Dxn(l(t,37),r)},x(Jt,"InvertedPortProcessor",1583),A(1584,1,_r,LFe),h.If=function(t,r){CTn(l(t,37),r)},x(Jt,"LabelAndNodeSizeProcessor",1584),A(1585,1,Ln,MFe),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},x(Jt,"LabelAndNodeSizeProcessor/lambda$0$Type",1585),A(1586,1,Ln,PFe),h.Mb=function(t){return l(t,9).k==(Ht(),mi)},x(Jt,"LabelAndNodeSizeProcessor/lambda$1$Type",1586),A(1587,1,tn,Wit),h.Ad=function(t){XQt(this.b,this.a,this.c,l(t,9))},h.a=!1,h.c=!1,x(Jt,"LabelAndNodeSizeProcessor/lambda$2$Type",1587),A(1588,1,_r,uWe),h.If=function(t,r){dxn(l(t,37),r)};var Kxt;x(Jt,"LabelDummyInserter",1588),A(1589,1,Bf,jFe),h.Lb=function(t){return be(j(l(t,70),(Be(),Kf)))===be((Kd(),wx))},h.Fb=function(t){return this===t},h.Mb=function(t){return be(j(l(t,70),(Be(),Kf)))===be((Kd(),wx))},x(Jt,"LabelDummyInserter/1",1589),A(1590,1,_r,FFe),h.If=function(t,r){Xkn(l(t,37),r)},x(Jt,"LabelDummyRemover",1590),A(1591,1,Ln,$Fe),h.Mb=function(t){return Ke(We(j(l(t,70),(Be(),i2))))},x(Jt,"LabelDummyRemover/lambda$0$Type",1591),A(1344,1,_r,cWe),h.If=function(t,r){qkn(this,l(t,37),r)},h.a=null;var mee;x(Jt,"LabelDummySwitcher",1344),A(295,1,{295:1},syt),h.c=0,h.d=null,h.f=0,x(Jt,"LabelDummySwitcher/LabelDummyInfo",295),A(1345,1,{},BFe),h.Kb=function(t){return US(),new yt(null,new vt(l(t,26).a,16))},x(Jt,"LabelDummySwitcher/lambda$0$Type",1345),A(1346,1,Ln,UFe),h.Mb=function(t){return US(),l(t,9).k==(Ht(),ta)},x(Jt,"LabelDummySwitcher/lambda$1$Type",1346),A(1347,1,{},SYe),h.Kb=function(t){return bnn(this.a,l(t,9))},x(Jt,"LabelDummySwitcher/lambda$2$Type",1347),A(1348,1,tn,TYe),h.Ad=function(t){Tsn(this.a,l(t,295))},x(Jt,"LabelDummySwitcher/lambda$3$Type",1348),A(1349,1,Un,HFe),h.Le=function(t,r){return Qon(l(t,295),l(r,295))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"LabelDummySwitcher/lambda$4$Type",1349),A(796,1,_r,zFe),h.If=function(t,r){Zln(l(t,37),r)},x(Jt,"LabelManagementProcessor",796),A(1592,1,_r,GFe),h.If=function(t,r){sSn(l(t,37),r)},x(Jt,"LabelSideSelector",1592),A(1600,1,_r,qFe),h.If=function(t,r){WAn(l(t,37),r)},x(Jt,"LayerConstraintPostprocessor",1600),A(1601,1,_r,lWe),h.If=function(t,r){Bvn(l(t,37),r)};var ASe;x(Jt,"LayerConstraintPreprocessor",1601),A(368,23,{3:1,34:1,23:1,368:1},s8);var rL,$$,B$,wee,Yxt=fn(Jt,"LayerConstraintPreprocessor/HiddenNodeConnections",368,bn,Mcn,crn),Jxt;A(1602,1,_r,VFe),h.If=function(t,r){lkn(l(t,37),r)},x(Jt,"LayerSizeAndGraphHeightCalculator",1602),A(1603,1,_r,WFe),h.If=function(t,r){GEn(l(t,37),r)},x(Jt,"LongEdgeJoiner",1603),A(1604,1,_r,KFe),h.If=function(t,r){U_n(l(t,37),r)},x(Jt,"LongEdgeSplitter",1604),A(1605,1,_r,dtt),h.If=function(t,r){_xn(this,l(t,37),r)},h.e=0,h.f=0,h.j=0,h.k=0,h.n=0,h.o=0;var Xxt,Zxt;x(Jt,"NodePromotion",1605),A(1606,1,Un,YFe),h.Le=function(t,r){return opn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"NodePromotion/1",1606),A(1607,1,Un,JFe),h.Le=function(t,r){return ipn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"NodePromotion/2",1607),A(1608,1,{},XFe),h.Kb=function(t){return l(t,49),W8(),Lt(),!0},h.Fb=function(t){return this===t},x(Jt,"NodePromotion/lambda$0$Type",1608),A(1609,1,{},AYe),h.Kb=function(t){return oun(this.a,l(t,49))},h.Fb=function(t){return this===t},h.a=0,x(Jt,"NodePromotion/lambda$1$Type",1609),A(1610,1,{},_Ye),h.Kb=function(t){return sun(this.a,l(t,49))},h.Fb=function(t){return this===t},h.a=0,x(Jt,"NodePromotion/lambda$2$Type",1610),A(1611,1,_r,ZFe),h.If=function(t,r){pNn(l(t,37),r)},x(Jt,"NorthSouthPortPostprocessor",1611),A(1612,1,_r,QFe),h.If=function(t,r){vNn(l(t,37),r)},x(Jt,"NorthSouthPortPreprocessor",1612),A(1613,1,Un,e$e),h.Le=function(t,r){return Thn(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"NorthSouthPortPreprocessor/lambda$0$Type",1613),A(1614,1,_r,t$e),h.If=function(t,r){uAn(l(t,37),r)},x(Jt,"PartitionMidprocessor",1614),A(1615,1,Ln,n$e),h.Mb=function(t){return gr(l(t,9),(Be(),Ky))},x(Jt,"PartitionMidprocessor/lambda$0$Type",1615),A(1616,1,tn,kYe),h.Ad=function(t){dan(this.a,l(t,9))},x(Jt,"PartitionMidprocessor/lambda$1$Type",1616),A(1617,1,_r,r$e),h.If=function(t,r){d2n(l(t,37),r)},x(Jt,"PartitionPostprocessor",1617),A(1618,1,_r,i$e),h.If=function(t,r){pTn(l(t,37),r)},x(Jt,"PartitionPreprocessor",1618),A(1619,1,Ln,o$e),h.Mb=function(t){return gr(l(t,9),(Be(),Ky))},x(Jt,"PartitionPreprocessor/lambda$0$Type",1619),A(1620,1,Ln,s$e),h.Mb=function(t){return gr(l(t,9),(Be(),Ky))},x(Jt,"PartitionPreprocessor/lambda$1$Type",1620),A(1621,1,{},a$e),h.Kb=function(t){return new yt(null,new Xw(new Ft(Gt(Rr(l(t,9)).a.Jc(),new D))))},x(Jt,"PartitionPreprocessor/lambda$2$Type",1621),A(1622,1,Ln,xYe),h.Mb=function(t){return PQt(this.a,l(t,17))},x(Jt,"PartitionPreprocessor/lambda$3$Type",1622),A(1623,1,tn,u$e),h.Ad=function(t){Mhn(l(t,17))},x(Jt,"PartitionPreprocessor/lambda$4$Type",1623),A(1624,1,Ln,NYe),h.Mb=function(t){return Ssn(this.a,l(t,9))},h.a=0,x(Jt,"PartitionPreprocessor/lambda$5$Type",1624),A(1625,1,_r,dWe),h.If=function(t,r){HTn(l(t,37),r)};var _Se,Qxt,eNt,tNt,kSe,xSe;x(Jt,"PortListSorter",1625),A(1626,1,{},c$e),h.Kb=function(t){return x_(),l(t,12).e},x(Jt,"PortListSorter/lambda$0$Type",1626),A(1627,1,{},l$e),h.Kb=function(t){return x_(),l(t,12).g},x(Jt,"PortListSorter/lambda$1$Type",1627),A(1628,1,Un,d$e),h.Le=function(t,r){return Act(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"PortListSorter/lambda$2$Type",1628),A(1629,1,Un,f$e),h.Le=function(t,r){return Zbn(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"PortListSorter/lambda$3$Type",1629),A(1630,1,Un,h$e),h.Le=function(t,r){return Dyt(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"PortListSorter/lambda$4$Type",1630),A(1631,1,_r,p$e),h.If=function(t,r){Kvn(l(t,37),r)},x(Jt,"PortSideProcessor",1631),A(1632,1,_r,g$e),h.If=function(t,r){eTn(l(t,37),r)},x(Jt,"ReversedEdgeRestorer",1632),A(1637,1,_r,mZe),h.If=function(t,r){Lbn(this,l(t,37),r)},x(Jt,"SelfLoopPortRestorer",1637),A(1638,1,{},b$e),h.Kb=function(t){return new yt(null,new vt(l(t,26).a,16))},x(Jt,"SelfLoopPortRestorer/lambda$0$Type",1638),A(1639,1,Ln,m$e),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},x(Jt,"SelfLoopPortRestorer/lambda$1$Type",1639),A(1640,1,Ln,w$e),h.Mb=function(t){return gr(l(t,9),(Ie(),nw))},x(Jt,"SelfLoopPortRestorer/lambda$2$Type",1640),A(1641,1,{},y$e),h.Kb=function(t){return l(j(l(t,9),(Ie(),nw)),339)},x(Jt,"SelfLoopPortRestorer/lambda$3$Type",1641),A(1642,1,tn,CYe),h.Ad=function(t){Vwn(this.a,l(t,339))},x(Jt,"SelfLoopPortRestorer/lambda$4$Type",1642),A(799,1,tn,vue),h.Ad=function(t){iyn(l(t,108))},x(Jt,"SelfLoopPortRestorer/lambda$5$Type",799),A(1644,1,_r,v$e),h.If=function(t,r){V1n(l(t,37),r)},x(Jt,"SelfLoopPostProcessor",1644),A(1645,1,{},E$e),h.Kb=function(t){return new yt(null,new vt(l(t,26).a,16))},x(Jt,"SelfLoopPostProcessor/lambda$0$Type",1645),A(1646,1,Ln,S$e),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},x(Jt,"SelfLoopPostProcessor/lambda$1$Type",1646),A(1647,1,Ln,T$e),h.Mb=function(t){return gr(l(t,9),(Ie(),nw))},x(Jt,"SelfLoopPostProcessor/lambda$2$Type",1647),A(1648,1,tn,A$e),h.Ad=function(t){Qmn(l(t,9))},x(Jt,"SelfLoopPostProcessor/lambda$3$Type",1648),A(1649,1,{},_$e),h.Kb=function(t){return new yt(null,new vt(l(t,108).f,1))},x(Jt,"SelfLoopPostProcessor/lambda$4$Type",1649),A(1650,1,tn,IYe),h.Ad=function(t){Icn(this.a,l(t,342))},x(Jt,"SelfLoopPostProcessor/lambda$5$Type",1650),A(1651,1,Ln,k$e),h.Mb=function(t){return!!l(t,108).i},x(Jt,"SelfLoopPostProcessor/lambda$6$Type",1651),A(1652,1,tn,RYe),h.Ad=function(t){XZt(this.a,l(t,108))},x(Jt,"SelfLoopPostProcessor/lambda$7$Type",1652),A(1633,1,_r,x$e),h.If=function(t,r){NEn(l(t,37),r)},x(Jt,"SelfLoopPreProcessor",1633),A(1634,1,{},N$e),h.Kb=function(t){return new yt(null,new vt(l(t,108).f,1))},x(Jt,"SelfLoopPreProcessor/lambda$0$Type",1634),A(1635,1,{},C$e),h.Kb=function(t){return l(t,342).a},x(Jt,"SelfLoopPreProcessor/lambda$1$Type",1635),A(1636,1,tn,I$e),h.Ad=function(t){ctn(l(t,17))},x(Jt,"SelfLoopPreProcessor/lambda$2$Type",1636),A(1653,1,_r,git),h.If=function(t,r){Cwn(this,l(t,37),r)},x(Jt,"SelfLoopRouter",1653),A(1654,1,{},R$e),h.Kb=function(t){return new yt(null,new vt(l(t,26).a,16))},x(Jt,"SelfLoopRouter/lambda$0$Type",1654),A(1655,1,Ln,O$e),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},x(Jt,"SelfLoopRouter/lambda$1$Type",1655),A(1656,1,Ln,D$e),h.Mb=function(t){return gr(l(t,9),(Ie(),nw))},x(Jt,"SelfLoopRouter/lambda$2$Type",1656),A(1657,1,{},L$e),h.Kb=function(t){return l(j(l(t,9),(Ie(),nw)),339)},x(Jt,"SelfLoopRouter/lambda$3$Type",1657),A(1658,1,tn,Zet),h.Ad=function(t){oan(this.a,this.b,l(t,339))},x(Jt,"SelfLoopRouter/lambda$4$Type",1658),A(1659,1,_r,M$e),h.If=function(t,r){W2n(l(t,37),r)},x(Jt,"SemiInteractiveCrossMinProcessor",1659),A(1660,1,Ln,P$e),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},x(Jt,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1660),A(1661,1,Ln,j$e),h.Mb=function(t){return Iot(l(t,9))._b((Be(),Xy))},x(Jt,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1661),A(1662,1,Un,F$e),h.Le=function(t,r){return Ffn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Jt,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1662),A(1663,1,{},$$e),h.Te=function(t,r){return lan(l(t,9),l(r,9))},x(Jt,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1663),A(1665,1,_r,B$e),h.If=function(t,r){Nkn(l(t,37),r)},x(Jt,"SortByInputModelProcessor",1665),A(1666,1,Ln,U$e),h.Mb=function(t){return l(t,12).g.c.length!=0},x(Jt,"SortByInputModelProcessor/lambda$0$Type",1666),A(1667,1,tn,OYe),h.Ad=function(t){cyn(this.a,l(t,12))},x(Jt,"SortByInputModelProcessor/lambda$1$Type",1667),A(1746,811,{},Xft),h.bf=function(t){var r,o,s,u;switch(this.c=t,this.a.g){case 2:r=new Pe,ei(lr(new yt(null,new vt(this.c.a.b,16)),new tBe),new rtt(this,r)),Y6(this,new z$e),Oa(r,new G$e),r.c.length=0,ei(lr(new yt(null,new vt(this.c.a.b,16)),new q$e),new LYe(r)),Y6(this,new V$e),Oa(r,new W$e),r.c.length=0,o=Bnt(TK(Qw(new yt(null,new vt(this.c.a.b,16)),new MYe(this))),new K$e),ei(new yt(null,new vt(this.c.a.a,16)),new ett(o,r)),Y6(this,new J$e),Oa(r,new X$e),r.c.length=0;break;case 3:s=new Pe,Y6(this,new H$e),u=Bnt(TK(Qw(new yt(null,new vt(this.c.a.b,16)),new DYe(this))),new Y$e),ei(lr(new yt(null,new vt(this.c.a.b,16)),new Z$e),new ntt(u,s)),Y6(this,new Q$e),Oa(s,new eBe),s.c.length=0;break;default:throw K(new rZe)}},h.b=0,x(di,"EdgeAwareScanlineConstraintCalculation",1746),A(1747,1,Bf,H$e),h.Lb=function(t){return se(l(t,60).g,157)},h.Fb=function(t){return this===t},h.Mb=function(t){return se(l(t,60).g,157)},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1747),A(1748,1,{},DYe),h.We=function(t){return Pyn(this.a,l(t,60))},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1748),A(1756,1,eF,Qet),h.be=function(){hC(this.a,this.b,-1)},h.b=0,x(di,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1756),A(1758,1,Bf,z$e),h.Lb=function(t){return se(l(t,60).g,157)},h.Fb=function(t){return this===t},h.Mb=function(t){return se(l(t,60).g,157)},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1758),A(1759,1,tn,G$e),h.Ad=function(t){l(t,376).be()},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1759),A(1760,1,Ln,q$e),h.Mb=function(t){return se(l(t,60).g,9)},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1760),A(1762,1,tn,LYe),h.Ad=function(t){vgn(this.a,l(t,60))},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1762),A(1761,1,eF,stt),h.be=function(){hC(this.b,this.a,-1)},h.a=0,x(di,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1761),A(1763,1,Bf,V$e),h.Lb=function(t){return se(l(t,60).g,9)},h.Fb=function(t){return this===t},h.Mb=function(t){return se(l(t,60).g,9)},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1763),A(1764,1,tn,W$e),h.Ad=function(t){l(t,376).be()},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1764),A(1765,1,{},MYe),h.We=function(t){return jyn(this.a,l(t,60))},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1765),A(1766,1,{},K$e),h.Ue=function(){return 0},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1766),A(1749,1,{},Y$e),h.Ue=function(){return 0},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1749),A(1768,1,tn,ett),h.Ad=function(t){zon(this.a,this.b,l(t,321))},h.a=0,x(di,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1768),A(1767,1,eF,ttt),h.be=function(){O0t(this.a,this.b,-1)},h.b=0,x(di,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1767),A(1769,1,Bf,J$e),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1769),A(1770,1,tn,X$e),h.Ad=function(t){l(t,376).be()},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1770),A(1750,1,Ln,Z$e),h.Mb=function(t){return se(l(t,60).g,9)},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1750),A(1752,1,tn,ntt),h.Ad=function(t){Gon(this.a,this.b,l(t,60))},h.a=0,x(di,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1752),A(1751,1,eF,att),h.be=function(){hC(this.b,this.a,-1)},h.a=0,x(di,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1751),A(1753,1,Bf,Q$e),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1753),A(1754,1,tn,eBe),h.Ad=function(t){l(t,376).be()},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1754),A(1755,1,Ln,tBe),h.Mb=function(t){return se(l(t,60).g,157)},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1755),A(1757,1,tn,rtt),h.Ad=function(t){ofn(this.a,this.b,l(t,60))},x(di,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1757),A(1564,1,_r,Art),h.If=function(t,r){G_n(this,l(t,37),r)};var nNt;x(di,"HorizontalGraphCompactor",1564),A(1565,1,{},PYe),h.df=function(t,r){var o,s,u;return Npe(t,r)||(o=lE(t),s=lE(r),o&&o.k==(Ht(),mi)||s&&s.k==(Ht(),mi))?0:(u=l(j(this.a.a,(Ie(),t2)),317),Ltn(u,o?o.k:(Ht(),gi),s?s.k:(Ht(),gi)))},h.ef=function(t,r){var o,s,u;return Npe(t,r)?1:(o=lE(t),s=lE(r),u=l(j(this.a.a,(Ie(),t2)),317),Ede(u,o?o.k:(Ht(),gi),s?s.k:(Ht(),gi)))},x(di,"HorizontalGraphCompactor/1",1565),A(1566,1,{},nBe),h.cf=function(t,r){return VN(),t.a.i==0},x(di,"HorizontalGraphCompactor/lambda$0$Type",1566),A(1567,1,{},jYe),h.cf=function(t,r){return han(this.a,t,r)},x(di,"HorizontalGraphCompactor/lambda$1$Type",1567),A(1713,1,{},Cdt);var rNt,iNt;x(di,"LGraphToCGraphTransformer",1713),A(1721,1,Ln,rBe),h.Mb=function(t){return t!=null},x(di,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1721),A(1714,1,{},iBe),h.Kb=function(t){return hc(),bs(j(l(l(t,60).g,9),(Ie(),mr)))},x(di,"LGraphToCGraphTransformer/lambda$0$Type",1714),A(1715,1,{},oBe),h.Kb=function(t){return hc(),Gpt(l(l(t,60).g,157))},x(di,"LGraphToCGraphTransformer/lambda$1$Type",1715),A(1724,1,Ln,sBe),h.Mb=function(t){return hc(),se(l(t,60).g,9)},x(di,"LGraphToCGraphTransformer/lambda$10$Type",1724),A(1725,1,tn,aBe),h.Ad=function(t){uan(l(t,60))},x(di,"LGraphToCGraphTransformer/lambda$11$Type",1725),A(1726,1,Ln,uBe),h.Mb=function(t){return hc(),se(l(t,60).g,157)},x(di,"LGraphToCGraphTransformer/lambda$12$Type",1726),A(1730,1,tn,cBe),h.Ad=function(t){Fpn(l(t,60))},x(di,"LGraphToCGraphTransformer/lambda$13$Type",1730),A(1727,1,tn,FYe),h.Ad=function(t){Ien(this.a,l(t,8))},h.a=0,x(di,"LGraphToCGraphTransformer/lambda$14$Type",1727),A(1728,1,tn,$Ye),h.Ad=function(t){Oen(this.a,l(t,120))},h.a=0,x(di,"LGraphToCGraphTransformer/lambda$15$Type",1728),A(1729,1,tn,BYe),h.Ad=function(t){Ren(this.a,l(t,8))},h.a=0,x(di,"LGraphToCGraphTransformer/lambda$16$Type",1729),A(1731,1,{},lBe),h.Kb=function(t){return hc(),new yt(null,new Xw(new Ft(Gt(Rr(l(t,9)).a.Jc(),new D))))},x(di,"LGraphToCGraphTransformer/lambda$17$Type",1731),A(1732,1,Ln,dBe),h.Mb=function(t){return hc(),lo(l(t,17))},x(di,"LGraphToCGraphTransformer/lambda$18$Type",1732),A(1733,1,tn,UYe),h.Ad=function(t){Mdn(this.a,l(t,17))},x(di,"LGraphToCGraphTransformer/lambda$19$Type",1733),A(1717,1,tn,HYe),h.Ad=function(t){lcn(this.a,l(t,157))},x(di,"LGraphToCGraphTransformer/lambda$2$Type",1717),A(1734,1,{},fBe),h.Kb=function(t){return hc(),new yt(null,new vt(l(t,26).a,16))},x(di,"LGraphToCGraphTransformer/lambda$20$Type",1734),A(1735,1,{},hBe),h.Kb=function(t){return hc(),new yt(null,new Xw(new Ft(Gt(Rr(l(t,9)).a.Jc(),new D))))},x(di,"LGraphToCGraphTransformer/lambda$21$Type",1735),A(1736,1,{},pBe),h.Kb=function(t){return hc(),l(j(l(t,17),(Ie(),fm)),16)},x(di,"LGraphToCGraphTransformer/lambda$22$Type",1736),A(1737,1,Ln,gBe),h.Mb=function(t){return Mtn(l(t,16))},x(di,"LGraphToCGraphTransformer/lambda$23$Type",1737),A(1738,1,tn,zYe),h.Ad=function(t){Fyn(this.a,l(t,16))},x(di,"LGraphToCGraphTransformer/lambda$24$Type",1738),A(1739,1,{},bBe),h.Kb=function(t){return hc(),new yt(null,new Xw(new Ft(Gt(Rr(l(t,9)).a.Jc(),new D))))},x(di,"LGraphToCGraphTransformer/lambda$25$Type",1739),A(1740,1,Ln,mBe),h.Mb=function(t){return hc(),lo(l(t,17))},x(di,"LGraphToCGraphTransformer/lambda$26$Type",1740),A(1742,1,tn,GYe),h.Ad=function(t){Nfn(this.a,l(t,17))},x(di,"LGraphToCGraphTransformer/lambda$27$Type",1742),A(1741,1,tn,qYe),h.Ad=function(t){SQt(this.a,l(t,70))},h.a=0,x(di,"LGraphToCGraphTransformer/lambda$28$Type",1741),A(1716,1,tn,itt),h.Ad=function(t){cln(this.a,this.b,l(t,157))},x(di,"LGraphToCGraphTransformer/lambda$3$Type",1716),A(1718,1,{},wBe),h.Kb=function(t){return hc(),new yt(null,new vt(l(t,26).a,16))},x(di,"LGraphToCGraphTransformer/lambda$4$Type",1718),A(1719,1,{},yBe),h.Kb=function(t){return hc(),new yt(null,new Xw(new Ft(Gt(Rr(l(t,9)).a.Jc(),new D))))},x(di,"LGraphToCGraphTransformer/lambda$5$Type",1719),A(1720,1,{},vBe),h.Kb=function(t){return hc(),l(j(l(t,17),(Ie(),fm)),16)},x(di,"LGraphToCGraphTransformer/lambda$6$Type",1720),A(1722,1,tn,VYe),h.Ad=function(t){Yyn(this.a,l(t,16))},x(di,"LGraphToCGraphTransformer/lambda$8$Type",1722),A(1723,1,tn,ott),h.Ad=function(t){ntn(this.a,this.b,l(t,157))},x(di,"LGraphToCGraphTransformer/lambda$9$Type",1723),A(1712,1,{},EBe),h.af=function(t){var r,o,s,u,f;for(this.a=t,this.d=new KG,this.c=me(d2e,Rt,126,this.a.a.a.c.length,0,1),this.b=0,o=new V(this.a.a.a);o.a<o.c.c.length;)r=l(q(o),321),r.d=this.b,f=i0(uO(new Eb,r),this.d),this.c[this.b]=f,++this.b;for(axn(this),iNn(this),c2n(this),yJ(CV(this.d),new iS),u=new V(this.a.a.b);u.a<u.c.c.length;)s=l(q(u),60),s.d.c=this.c[s.a.d].e+s.b.a},h.b=0,x(di,"NetworkSimplexCompaction",1712),A(157,1,{34:1,157:1},IC),h.Dd=function(t){return Hdn(this,l(t,157))},h.Ib=function(){return Gpt(this)},x(di,"VerticalSegment",157),A(833,1,{},vbe),h.c=0,h.e=0,h.i=0,x(VC,"BetweenLayerEdgeTwoNodeCrossingsCounter",833),A(674,1,{674:1},dht),h.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},h.b=0,h.c=0,h.f=0,x(VC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",674),A(296,1,{34:1,296:1},Drt),h.Dd=function(t){return bon(this,l(t,296))},h.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},h.a=0,h.b=0,h.c=0,x(VC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",296),A(2005,1,{},amt),h.b=0,h.e=!1,x(VC,"CrossingMatrixFiller",2005);var oNt=Hr(_h,"IInitializable");A(1863,1,WC,utt),h.eg=function(t,r,o,s,u,f){},h.gg=function(t,r,o){},h.cg=function(){return this.c!=(Vb(),KI)},h.dg=function(){this.e=me(Rn,Xn,30,this.d,15,1)},h.fg=function(t,r){r[t][0].c.p=t},h.hg=function(t,r,o,s){++this.d},h.ig=function(){return!0},h.jg=function(t,r,o,s){return Lpt(this,t,r,o),kln(this,r)},h.kg=function(t,r){var o;return o=NQt(r,t.length),Lpt(this,t,o,r),Vht(this,o)},h.d=0,x(VC,"GreedySwitchHeuristic",1863),A(2008,1,{},Pot),h.b=0,h.d=0,x(VC,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",2008),A(1995,1,{},Gwt),h.a=!1,x(VC,"SwitchDecider",1995),A(108,1,{108:1},wmt),h.a=null,h.c=null,h.i=null,x(mT,"SelfHyperLoop",108),A(1992,1,{},Wgt),h.c=0,h.e=0,x(mT,"SelfHyperLoopLabels",1992),A(418,23,{3:1,34:1,23:1,418:1},a8);var Uy,Gk,qk,yee,sNt=fn(mT,"SelfHyperLoopLabels/Alignment",418,bn,Pcn,lrn),aNt;A(342,1,{342:1},dlt),x(mT,"SelfLoopEdge",342),A(339,1,{339:1},Kgt),h.a=!1,x(mT,"SelfLoopHolder",339),A(1777,1,Ln,SBe),h.Mb=function(t){return lo(l(t,17))},x(mT,"SelfLoopHolder/lambda$0$Type",1777),A(114,1,{114:1},e1t),h.a=!1,h.c=!1,x(mT,"SelfLoopPort",114),A(1849,1,Ln,TBe),h.Mb=function(t){return lo(l(t,17))},x(mT,"SelfLoopPort/lambda$0$Type",1849),A(372,23,{3:1,34:1,23:1,372:1},hO);var U$,iL,H$,z$,G$,uNt=fn(mT,"SelfLoopType",372,bn,Rln,drn),cNt;A(1785,1,{},fWe);var lNt,dNt,fNt,hNt;x(Ac,"PortRestorer",1785),A(369,23,{3:1,34:1,23:1,369:1},Nq);var X0,P1,Z0,vee=fn(Ac,"PortRestorer/PortSideArea",369,bn,$un,prn),pNt;A(1786,1,{},ABe),h.Kb=function(t){return S1(),l(t,16).Mc()},x(Ac,"PortRestorer/lambda$0$Type",1786),A(1787,1,tn,_Be),h.Ad=function(t){S1(),l(t,114).c=!1},x(Ac,"PortRestorer/lambda$1$Type",1787),A(1796,1,Ln,kBe),h.Mb=function(t){return S1(),l(t,12).j==(Ue(),Wt)},x(Ac,"PortRestorer/lambda$10$Type",1796),A(1797,1,{},xBe),h.Kb=function(t){return S1(),l(t,114).d},x(Ac,"PortRestorer/lambda$11$Type",1797),A(1798,1,tn,WYe),h.Ad=function(t){TQt(this.a,l(t,12))},x(Ac,"PortRestorer/lambda$12$Type",1798),A(1788,1,tn,KYe),h.Ad=function(t){Jtn(this.a,l(t,108))},x(Ac,"PortRestorer/lambda$2$Type",1788),A(1789,1,Un,NBe),h.Le=function(t,r){return pfn(l(t,114),l(r,114))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ac,"PortRestorer/lambda$3$Type",1789),A(1790,1,Ln,CBe),h.Mb=function(t){return S1(),l(t,114).c},x(Ac,"PortRestorer/lambda$4$Type",1790),A(1791,1,Ln,IBe),h.Mb=function(t){return uhn(l(t,12))},x(Ac,"PortRestorer/lambda$5$Type",1791),A(1792,1,Ln,RBe),h.Mb=function(t){return S1(),l(t,12).j==(Ue(),Vt)},x(Ac,"PortRestorer/lambda$6$Type",1792),A(1793,1,Ln,OBe),h.Mb=function(t){return S1(),l(t,12).j==(Ue(),Zt)},x(Ac,"PortRestorer/lambda$7$Type",1793),A(1794,1,Ln,DBe),h.Mb=function(t){return Qcn(l(t,12))},x(Ac,"PortRestorer/lambda$8$Type",1794),A(1795,1,Ln,LBe),h.Mb=function(t){return S1(),l(t,12).j==(Ue(),dn)},x(Ac,"PortRestorer/lambda$9$Type",1795),A(277,23,{3:1,34:1,23:1,277:1},IS);var Eee,See,Tee,Aee,_ee,kee,xee,Nee,NSe=fn(Ac,"PortSideAssigner/Target",277,bn,Kdn,grn),gNt;A(1778,1,{},MBe),h.Kb=function(t){return lr(new yt(null,new vt(l(t,108).j,16)),new Eue)},x(Ac,"PortSideAssigner/lambda$1$Type",1778),A(1779,1,{},PBe),h.Kb=function(t){return l(t,114).d},x(Ac,"PortSideAssigner/lambda$2$Type",1779),A(1780,1,tn,jBe),h.Ad=function(t){Ni(l(t,12),(Ue(),Vt))},x(Ac,"PortSideAssigner/lambda$3$Type",1780),A(1781,1,{},FBe),h.Kb=function(t){return l(t,114).d},x(Ac,"PortSideAssigner/lambda$4$Type",1781),A(1782,1,tn,YYe),h.Ad=function(t){PZt(this.a,l(t,12))},x(Ac,"PortSideAssigner/lambda$5$Type",1782),A(1783,1,Un,$Be),h.Le=function(t,r){return Rsn(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ac,"PortSideAssigner/lambda$6$Type",1783),A(1784,1,Un,BBe),h.Le=function(t,r){return lon(l(t,114),l(r,114))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ac,"PortSideAssigner/lambda$7$Type",1784),A(814,1,Ln,Eue),h.Mb=function(t){return l(t,114).c},x(Ac,"PortSideAssigner/lambda$8$Type",814),A(2087,1,{}),x(C1,"AbstractSelfLoopRouter",2087),A(1803,1,Un,UBe),h.Le=function(t,r){return Mnn(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(C1,k2t,1803),A(1804,1,Un,HBe),h.Le=function(t,r){return Pnn(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(C1,x2t,1804),A(1850,2087,{},zBe),h.lg=function(t,r,o){return o},x(C1,"OrthogonalSelfLoopRouter",1850),A(1852,1,tn,ctt),h.Ad=function(t){R1e(this.b,this.a,l(t,8))},x(C1,"OrthogonalSelfLoopRouter/lambda$0$Type",1852),A(1851,1850,{},GBe),h.lg=function(t,r,o){var s,u;return s=t.c.d,VA(o,0,br(So(s.n),s.a)),u=t.d.d,Gn(o,br(So(u.n),u.a)),rAn(o)},x(C1,"PolylineSelfLoopRouter",1851),A(1799,1,{},bWe),h.a=null;var WE;x(C1,"RoutingDirector",1799),A(1800,1,Un,qBe),h.Le=function(t,r){return aon(l(t,114),l(r,114))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(C1,"RoutingDirector/lambda$0$Type",1800),A(1801,1,{},VBe),h.Kb=function(t){return V9(),l(t,108).j},x(C1,"RoutingDirector/lambda$1$Type",1801),A(1802,1,tn,WBe),h.Ad=function(t){V9(),l(t,16).gd(WE)},x(C1,"RoutingDirector/lambda$2$Type",1802),A(1805,1,{},KBe),x(C1,"RoutingSlotAssigner",1805),A(1806,1,Ln,JYe),h.Mb=function(t){return fen(this.a,l(t,108))},x(C1,"RoutingSlotAssigner/lambda$0$Type",1806),A(1807,1,Un,XYe),h.Le=function(t,r){return Con(this.a,l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(C1,"RoutingSlotAssigner/lambda$1$Type",1807),A(1853,1850,{},YBe),h.lg=function(t,r,o){var s,u,f,p;return s=ue(ce(n7(t.b.g.b,(Be(),o2)))),p=new Prt(Z(X($i,1),Me,8,0,[(f=t.c.d,br(new Eo(f.n),f.a))])),DEn(t,r,o,p,s),Gn(p,(u=t.d.d,br(new Eo(u.n),u.a))),E1t(new w0e(p))},x(C1,"SplineSelfLoopRouter",1853),A(516,1,Un,hge,Qst),h.Le=function(t,r){return dD(this,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},h.a=!1,x(fF,"ModelOrderNodeComparator",516),A(1808,1,Ln,JBe),h.Mb=function(t){return l(t,12).e.c.length!=0},x(fF,"ModelOrderNodeComparator/lambda$0$Type",1808),A(579,1,Ln,d9),h.Mb=function(t){return l(t,12).e.c.length!=0},x(fF,"ModelOrderNodeComparator/lambda$1$Type",579),A(580,1,Ln,f9),h.Mb=function(t){return l(t,12).g.c.length!=0},x(fF,"ModelOrderNodeComparator/lambda$2$Type",580),A(663,1,Un,sgt,Ape),h.Le=function(t,r){return tst(this,t,r)},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},h.c=!1,x(fF,"ModelOrderPortComparator",663),A(1643,1,_r,ZBe),h.If=function(t,r){HNn(l(t,37))},x("org.eclipse.elk.alg.layered.intermediate.unzipping","AlternatingLayerUnzipper",1643),A(809,1,{},Sue),h.mg=function(t,r){var o,s,u,f;for(u=nmt(r),o=new Pe,f=r.f/u,s=1;s<u;++s)je(o,Re(On(Gs(b.Math.round(s*f)))));return o},h.ng=function(){return!1},x(Hf,"ARDCutIndexHeuristic",809),A(1522,1,_r,QBe),h.If=function(t,r){ETn(l(t,37),r)},x(Hf,"BreakingPointInserter",1522),A(318,1,{318:1},Whe),h.Ib=function(){var t;return t=new Zg,t.a+="BPInfo[",t.a+=`
|
||
start=`,ga(t,this.i),t.a+=`
|
||
end=`,ga(t,this.a),t.a+=`
|
||
nodeStartEdge=`,ga(t,this.e),t.a+=`
|
||
startEndEdge=`,ga(t,this.j),t.a+=`
|
||
originalEdge=`,ga(t,this.f),t.a+=`
|
||
startInLayerDummy=`,ga(t,this.k),t.a+=`
|
||
startInLayerEdge=`,ga(t,this.n),t.a+=`
|
||
endInLayerDummy=`,ga(t,this.b),t.a+=`
|
||
endInLayerEdge=`,ga(t,this.c),t.a},x(Hf,"BreakingPointInserter/BPInfo",318),A(657,1,{657:1},aJe),h.a=!1,h.b=0,h.c=0,x(Hf,"BreakingPointInserter/Cut",657),A(1523,1,_r,eUe),h.If=function(t,r){FEn(l(t,37),r)},x(Hf,"BreakingPointProcessor",1523),A(1524,1,Ln,XBe),h.Mb=function(t){return Wdt(l(t,9))},x(Hf,"BreakingPointProcessor/0methodref$isEnd$Type",1524),A(1525,1,Ln,tUe),h.Mb=function(t){return Kdt(l(t,9))},x(Hf,"BreakingPointProcessor/1methodref$isStart$Type",1525),A(1526,1,_r,nUe),h.If=function(t,r){a2n(this,l(t,37),r)},x(Hf,"BreakingPointRemover",1526),A(1527,1,tn,rUe),h.Ad=function(t){l(t,134).k=!0},x(Hf,"BreakingPointRemover/lambda$0$Type",1527),A(805,1,{},bme),h.b=0,h.e=0,h.f=0,h.j=0,x(Hf,"GraphStats",805),A(806,1,{},Tue),h.Te=function(t,r){return b.Math.max(ue(ce(t)),ue(ce(r)))},x(Hf,"GraphStats/0methodref$max$Type",806),A(807,1,{},Aue),h.Te=function(t,r){return b.Math.max(ue(ce(t)),ue(ce(r)))},x(Hf,"GraphStats/2methodref$max$Type",807),A(1709,1,{},iUe),h.Te=function(t,r){return Jrn(ce(t),ce(r))},x(Hf,"GraphStats/lambda$1$Type",1709),A(1710,1,{},ZYe),h.Kb=function(t){return Qgt(this.a,l(t,26))},x(Hf,"GraphStats/lambda$2$Type",1710),A(1711,1,{},QYe),h.Kb=function(t){return rwt(this.a,l(t,26))},x(Hf,"GraphStats/lambda$6$Type",1711),A(808,1,{},_ue),h.mg=function(t,r){var o;return o=l(j(t,(Be(),MAe)),16),o||(St(),St(),No)},h.ng=function(){return!1},x(Hf,"ICutIndexCalculator/ManualCutIndexCalculator",808),A(810,1,{},kue),h.mg=function(t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee;for(Ee=(r.n==null&&k1t(r),r.n),y=(r.d==null&&k1t(r),r.d),le=me(Ki,Wo,30,Ee.length,15,1),le[0]=Ee[0],ne=Ee[0],v=1;v<Ee.length;v++)le[v]=le[v-1]+Ee[v],ne+=Ee[v];for(u=nmt(r)-1,p=l(j(t,(Be(),PAe)),15).a,s=Oi,o=new Pe,I=b.Math.max(0,u-p);I<=b.Math.min(r.f-1,u+p);I++){if(G=ne/(I+1),J=0,T=1,f=new Pe,oe=Oi,N=0,m=0,U=y[0],I==0)oe=ne,m=(r.g==null&&(r.g=oht(r,new Aue)),ue(r.g));else{for(;T<r.f;)le[T-1]-J>=G&&(je(f,Re(T)),oe=b.Math.max(oe,le[T-1]-N),m+=U,J+=le[T-1]-J,N=le[T-1],U=y[T]),U=b.Math.max(U,y[T]),++T;m+=U}L=b.Math.min(1/oe,1/r.b/m),L>s&&(s=L,o=f)}return o},h.ng=function(){return!1},x(Hf,"MSDCutIndexHeuristic",810),A(1664,1,_r,oUe),h.If=function(t,r){KAn(l(t,37),r)},x(Hf,"SingleEdgeGraphWrapper",1664),A(233,23,{3:1,34:1,23:1,233:1},QN);var KE,Vk,Wk,Hy,TI,YE,Kk=fn(Fs,"CenterEdgeLabelPlacementStrategy",233,bn,ldn,hrn),bNt;A(427,23,{3:1,34:1,23:1,427:1},vle);var CSe,Cee,ISe=fn(Fs,"ConstraintCalculationStrategy",427,bn,Ian,frn),mNt;A(302,23,{3:1,34:1,23:1,302:1,173:1,177:1},u8),h.bg=function(){return H0t(this)},h.og=function(){return H0t(this)};var oL,AI,RSe,OSe,DSe=fn(Fs,"CrossingMinimizationStrategy",302,bn,Bcn,brn),wNt;A(351,23,{3:1,34:1,23:1,351:1},Cq);var LSe,Iee,q$,MSe=fn(Fs,"CuttingStrategy",351,bn,xun,mrn),yNt;A(268,23,{3:1,34:1,23:1,268:1,173:1,177:1},Kv),h.bg=function(){return Wwt(this)},h.og=function(){return Wwt(this)};var Ree,PSe,Oee,Dee,Lee,Mee,Pee,jee,sL,jSe=fn(Fs,"CycleBreakingStrategy",268,bn,Efn,wrn),vNt;A(424,23,{3:1,34:1,23:1,424:1},Ele);var V$,FSe,$Se=fn(Fs,"DirectionCongruency",424,bn,Ran,yrn),ENt;A(452,23,{3:1,34:1,23:1,452:1},Iq);var Yk,Fee,JE,SNt=fn(Fs,"EdgeConstraint",452,bn,Nun,vrn),TNt;A(286,23,{3:1,34:1,23:1,286:1},e3);var $ee,Bee,Uee,Hee,W$,zee,BSe=fn(Fs,"EdgeLabelSideSelection",286,bn,adn,Ern),ANt;A(479,23,{3:1,34:1,23:1,479:1},Sle);var K$,USe,HSe=fn(Fs,"EdgeStraighteningStrategy",479,bn,Oan,Srn),_Nt;A(284,23,{3:1,34:1,23:1,284:1},t3);var Gee,zSe,GSe,Y$,qSe,VSe,WSe=fn(Fs,"FixedAlignment",284,bn,udn,Trn),kNt;A(285,23,{3:1,34:1,23:1,285:1},n3);var KSe,YSe,JSe,XSe,_I,ZSe,QSe=fn(Fs,"GraphCompactionStrategy",285,bn,cdn,Arn),xNt;A(262,23,{3:1,34:1,23:1,262:1},jw);var Jk,J$,Xk,rl,kI,X$,Zk,XE,Z$,xI,qee=fn(Fs,"GraphProperties",262,bn,Hfn,_rn),NNt;A(303,23,{3:1,34:1,23:1,303:1},Rq);var aL,Vee,Wee,Kee=fn(Fs,"GreedySwitchType",303,bn,kun,krn),CNt;A(330,23,{3:1,34:1,23:1,330:1},Oq);var zy,eTe,uL,Yee=fn(Fs,"GroupOrderStrategy",330,bn,Aun,xrn),INt;A(316,23,{3:1,34:1,23:1,316:1},Dq);var _T,cL,ZE,RNt=fn(Fs,"InLayerConstraint",316,bn,_un,Nrn),ONt;A(425,23,{3:1,34:1,23:1,425:1},Tle);var Jee,tTe,nTe=fn(Fs,"InteractiveReferencePoint",425,bn,xan,Crn),DNt,rTe,kT,Q0,lL,Q$,iTe,oTe,eB,sTe,xT,tB,NI,NT,Tp,Xee,nB,Us,aTe,j1,_a,Zee,Qee,dL,dm,ew,CT,uTe,LNt,IT,fL,Gy,Cd,Nl,ete,QE,F1,Nr,mr,cTe,lTe,dTe,fTe,hTe,tte,rB,Nu,tw,nte,RT,CI,Tg,e2,nw,t2,n2,Qk,fm,pTe,rte,ite,II,OT,iB,DT,r2;A(166,23,{3:1,34:1,23:1,166:1},pO);var RI,Ap,OI,hm,hL,gTe=fn(Fs,"LayerConstraint",166,bn,Mln,Irn),MNt;A(428,23,{3:1,34:1,23:1,428:1},Ale);var ote,ste,bTe=fn(Fs,"LayerUnzippingStrategy",428,bn,Nan,Rrn),PNt;A(851,1,td,mWe),h.tf=function(t){st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Twe),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),CTe),(A1(),$r)),$Se),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Awe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Lt(),!1)),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,hF),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),MTe),$r),nTe),ct(xt)))),zr(t,hF,MD,B3t),zr(t,hF,KC,$3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,_we),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,kwe),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),Ai),Yr),ct(xt)))),st(t,new Ze(AQt(it(rt(ot(pt(Qe(nt(et(tt(new Xe,xwe),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),Ai),Yr),ct(Ng)),Z(X(Ye,1),Me,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Nwe),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),VTe),$r),r_e),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Cwe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Re(7)),wo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Iwe),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Rwe),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,MD),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),NTe),$r),jSe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,PD),bZ),"Node Layering Strategy"),"Strategy for node layering."),FTe),$r),qAe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Owe),bZ),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),PTe),$r),gTe),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Dwe),bZ),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Lwe),bZ),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Re(-1)),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,FX),sSt),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Re(4)),wo),Ti),ct(xt)))),zr(t,FX,PD,W3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,$X),sSt),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Re(2)),wo),Ti),ct(xt)))),zr(t,$X,PD,Y3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,BX),aSt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),jTe),$r),e_e),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,UX),aSt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Re(0)),wo),Ti),ct(xt)))),zr(t,UX,BX,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,HX),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Re(sr)),wo),Ti),ct(xt)))),zr(t,HX,PD,H3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,KC),Tk),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),xTe),$r),DSe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Mwe),Tk),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,zX),Tk),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Qi),fi),ct(xt)))),zr(t,zX,kF,f3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,GX),Tk),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),Ai),Yr),ct(xt)))),zr(t,GX,KC,w3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Pwe),Tk),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),BT),Ye),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,jwe),Tk),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),BT),Ye),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Fwe),Tk),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,$we),Tk),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Re(-1)),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Bwe),uSt),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Re(40)),wo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,qX),uSt),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),kTe),$r),Kee),ct(xt)))),zr(t,qX,KC,l3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,pF),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),_Te),$r),Kee),ct(xt)))),zr(t,pF,KC,a3t),zr(t,pF,kF,u3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,PE),cSt),"Node Placement Strategy"),"Strategy for node placement."),qTe),$r),YAe),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,gF),cSt),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),Ai),Yr),ct(xt)))),zr(t,gF,PE,fCt),zr(t,gF,PE,hCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,VX),lSt),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),HTe),$r),HSe),ct(xt)))),zr(t,VX,PE,uCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,WX),lSt),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),zTe),$r),WSe),ct(xt)))),zr(t,WX,PE,lCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,KX),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Qi),fi),ct(xt)))),zr(t,KX,PE,gCt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,YX),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),$r),Dte),ct(ri)))),zr(t,YX,PE,yCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,JX),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),GTe),$r),Dte),ct(xt)))),zr(t,JX,PE,wCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Uwe),dSt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),OTe),$r),s_e),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Hwe),dSt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),DTe),$r),a_e),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,bF),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),LTe),$r),c_e),ct(xt)))),zr(t,bF,FD,C3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,mF),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Qi),fi),ct(xt)))),zr(t,mF,FD,R3t),zr(t,mF,bF,O3t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,XX),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),Qi),fi),ct(xt)))),zr(t,XX,FD,_3t),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,zwe),of),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Gwe),of),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,qwe),of),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Vwe),of),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Wwe),oye),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Re(0)),wo),Ti),ct(Rd)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Kwe),oye),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Re(0)),wo),Ti),ct(Rd)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Ywe),oye),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Re(0)),wo),Ti),ct(Rd)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,ZX),sye),"Connected Components Compaction"),"Tries to further compact components (disconnected sub-graphs)."),!1),Ai),Yr),ct(xt)))),zr(t,ZX,GC,!0),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Jwe),fSt),"Post Compaction Strategy"),hSt),wTe),$r),QSe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Xwe),fSt),"Post Compaction Constraint Calculation"),hSt),mTe),$r),ISe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,wF),aye),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,QX),aye),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Re(16)),wo),Ti),ct(xt)))),zr(t,QX,wF,!0),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,eZ),aye),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Re(5)),wo),Ti),ct(xt)))),zr(t,eZ,wF,!0),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,vp),uye),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),YTe),$r),h_e),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,yF),uye),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),Qi),fi),ct(xt)))),zr(t,yF,vp,OCt),zr(t,yF,vp,DCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,vF),uye),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),Qi),fi),ct(xt)))),zr(t,vF,vp,MCt),zr(t,vF,vp,PCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,YC),pSt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),KTe),$r),MSe),ct(xt)))),zr(t,YC,vp,HCt),zr(t,YC,vp,zCt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,tZ),pSt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),lf),_c),ct(xt)))),zr(t,tZ,YC,FCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,nZ),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),WTe),wo),Ti),ct(xt)))),zr(t,nZ,YC,BCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,EF),gSt),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),JTe),$r),f_e),ct(xt)))),zr(t,EF,vp,tIt),zr(t,EF,vp,nIt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,SF),gSt),"Valid Indices for Wrapping"),null),lf),_c),ct(xt)))),zr(t,SF,vp,ZCt),zr(t,SF,vp,QCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,TF),cye),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),Ai),Yr),ct(xt)))),zr(t,TF,vp,WCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,AF),cye),"Distance Penalty When Improving Cuts"),null),2),Qi),fi),ct(xt)))),zr(t,AF,vp,qCt),zr(t,AF,TF,!0),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,rZ),cye),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),Ai),Yr),ct(xt)))),zr(t,rZ,vp,YCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,iZ),mZ),"Layer Unzipping Strategy"),"The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'."),UTe),$r),bTe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,oZ),mZ),"Minimize Edge Length Heuristic"),"Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer."),!1),Ai),Yr),ct(ri)))),zr(t,oZ,sZ,tCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,sZ),mZ),"Unzipping Layer Split"),"Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen."),$Te),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,aZ),mZ),"Reset Alternation on Long Edges"),"If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer."),BTe),Ai),Yr),ct(ri)))),zr(t,aZ,iZ,rCt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Zwe),wZ),"Edge Label Side Selection"),"Method to decide on edge label sides."),RTe),$r),BSe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Qwe),wZ),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),ITe),$r),Kk),Ar(xt,Z(X(cf,1),Ce,161,0,[kp]))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,_F),JC),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),ATe),$r),n_e),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,eye),JC),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,jD),JC),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,uZ),JC),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),yTe),$r),M2e),ct(xt)))),zr(t,uZ,GC,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,tye),JC),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),TTe),$r),WAe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,cZ),JC),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),Qi),fi),ct(xt)))),zr(t,cZ,_F,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,lZ),JC),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),Qi),fi),ct(xt)))),zr(t,lZ,_F,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,dZ),Ak),lye),"Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),Re(0)),wo),Ti),ct(ri)))),zr(t,dZ,jD,!1),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,fZ),Ak),lye),"Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),Re(0)),wo),Ti),Ar(ri,Z(X(cf,1),Ce,161,0,[Rd,Ng]))))),zr(t,fZ,jD,!1),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,hZ),Ak),lye),"Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),Re(0)),wo),Ti),Ar(ri,Z(X(cf,1),Ce,161,0,[Rd,Ng]))))),zr(t,hZ,jD,!1),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,nye),Ak),"Cycle Breaking Group Ordering Strategy"),"Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering."),vTe),$r),Yee),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,pZ),Ak),"Cycle Breaking Preferred Source Id"),"The model order group id for which should be preferred as a source if possible."),wo),Ti),ct(xt)))),zr(t,pZ,MD,VNt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,gZ),Ak),"Cycle Breaking Preferred Target Id"),"The model order group id for which should be preferred as a target if possible."),wo),Ti),ct(xt)))),zr(t,gZ,MD,KNt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,rye),Ak),"Crossing Minimization Group Ordering Strategy"),"Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering."),STe),$r),Yee),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,iye),Ak),"Crossing Minimization Enforced Group Orders"),"Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order."),ETe),lf),_c),ct(xt)))),MEt((new _We,t))};var jNt,FNt,$Nt,mTe,BNt,wTe,UNt,yTe,HNt,zNt,GNt,vTe,qNt,VNt,WNt,KNt,YNt,ETe,JNt,STe,XNt,ZNt,QNt,e3t,TTe,t3t,n3t,r3t,ATe,i3t,o3t,s3t,_Te,a3t,u3t,c3t,kTe,l3t,d3t,f3t,h3t,p3t,g3t,b3t,m3t,w3t,y3t,xTe,v3t,NTe,E3t,CTe,S3t,ITe,T3t,RTe,A3t,_3t,k3t,OTe,x3t,DTe,N3t,LTe,C3t,I3t,R3t,O3t,D3t,L3t,M3t,P3t,j3t,F3t,MTe,$3t,B3t,U3t,H3t,z3t,G3t,PTe,q3t,V3t,W3t,K3t,Y3t,J3t,X3t,jTe,Z3t,FTe,Q3t,$Te,eCt,tCt,nCt,BTe,rCt,iCt,UTe,oCt,sCt,aCt,HTe,uCt,cCt,zTe,lCt,dCt,fCt,hCt,pCt,gCt,bCt,mCt,GTe,wCt,yCt,vCt,qTe,ECt,VTe,SCt,TCt,ACt,_Ct,kCt,xCt,NCt,CCt,ICt,RCt,OCt,DCt,LCt,MCt,PCt,jCt,FCt,$Ct,WTe,BCt,UCt,KTe,HCt,zCt,GCt,qCt,VCt,WCt,KCt,YCt,JCt,YTe,XCt,ZCt,QCt,eIt,JTe,tIt,nIt;x(Fs,"LayeredMetaDataProvider",851),A(991,1,td,_We),h.tf=function(t){MEt(t)};var Wf,ate,oB,DI,sB,XTe,aB,LI,pL,ute,LT,ZTe,QTe,eAe,MI,rIt,PI,qy,cte,uB,lte,Ch,dte,ex,tAe,gL,fte,nAe,iIt,oIt,sIt,cB,hte,jI,MT,aIt,kc,rAe,iAe,lB,i2,Kf,dB,_p,oAe,sAe,aAe,pte,gte,uAe,Ag,bte,cAe,Vy,lAe,dAe,fAe,fB,Wy,pm,hAe,pAe,rs,gAe,uIt,Ns,FI,bAe,mAe,wAe,bL,hB,pB,mte,wte,yAe,gB,vAe,EAe,bB,rw,SAe,yte,$I,TAe,iw,BI,mB,gm,vte,tx,wB,bm,AAe,_Ae,kAe,Ky,xAe,cIt,lIt,dIt,fIt,ow,Yy,Zr,_g,hIt,Jy,NAe,nx,CAe,Xy,pIt,rx,IAe,PT,gIt,bIt,mL,Ete,RAe,wL,od,Zy,o2,mm,$1,yB,Qy,Ste,ix,ox,wm,ev,Tte,yL,UI,HI,mIt,wIt,yIt,OAe,vIt,Ate,DAe,LAe,MAe,PAe,_te,jAe,FAe,$Ae,BAe,kte,vB;x(Fs,"LayeredOptions",991),A(992,1,{},sUe),h.uf=function(){var t;return t=new aZe,t},h.vf=function(t){},x(Fs,"LayeredOptions/LayeredFactory",992),A(1357,1,{}),h.a=0;var EIt;x(Vs,"ElkSpacings/AbstractSpacingsBuilder",1357),A(785,1357,{},l1e);var EB,SIt;x(Fs,"LayeredSpacings/LayeredSpacingsBuilder",785),A(269,23,{3:1,34:1,23:1,269:1,173:1,177:1},Yv),h.bg=function(){return zwt(this)},h.og=function(){return zwt(this)};var xte,Nte,Cte,UAe,HAe,zAe,SB,Ite,GAe,qAe=fn(Fs,"LayeringStrategy",269,bn,Sfn,Prn),TIt;A(353,23,{3:1,34:1,23:1,353:1},Lq);var Rte,VAe,TB,WAe=fn(Fs,"LongEdgeOrderingStrategy",353,bn,Dun,Drn),AIt;A(205,23,{3:1,34:1,23:1,205:1},c8);var s2,a2,AB,Ote,Dte=fn(Fs,"NodeFlexibility",205,bn,Fcn,Orn),_It;A(329,23,{3:1,34:1,23:1,329:1,173:1,177:1},gO),h.bg=function(){return tmt(this)},h.og=function(){return tmt(this)};var zI,Lte,Mte,GI,KAe,YAe=fn(Fs,"NodePlacementStrategy",329,bn,Lln,Lrn),kIt;A(246,23,{3:1,34:1,23:1,246:1},Fw);var JAe,sx,qI,vL,XAe,ZAe,EL,QAe,_B,kB,e_e=fn(Fs,"NodePromotionStrategy",246,bn,Ufn,Mrn),xIt;A(270,23,{3:1,34:1,23:1,270:1},l8);var t_e,B1,Pte,jte,n_e=fn(Fs,"OrderingStrategy",270,bn,$cn,jrn),NIt;A(426,23,{3:1,34:1,23:1,426:1},_le);var Fte,$te,r_e=fn(Fs,"PortSortingStrategy",426,bn,Can,Frn),CIt;A(455,23,{3:1,34:1,23:1,455:1},Mq);var Cu,Fa,VI,IIt=fn(Fs,"PortType",455,bn,Cun,$rn),RIt;A(382,23,{3:1,34:1,23:1,382:1},Pq);var i_e,Bte,o_e,s_e=fn(Fs,"SelfLoopDistributionStrategy",382,bn,Iun,Brn),OIt;A(349,23,{3:1,34:1,23:1,349:1},jq);var Ute,SL,Hte,a_e=fn(Fs,"SelfLoopOrderingStrategy",349,bn,Run,Urn),DIt;A(317,1,{317:1},Ivt),x(Fs,"Spacings",317),A(350,23,{3:1,34:1,23:1,350:1},Fq);var zte,u_e,WI,c_e=fn(Fs,"SplineRoutingMode",350,bn,Oun,Hrn),LIt;A(352,23,{3:1,34:1,23:1,352:1},$q);var Gte,l_e,d_e,f_e=fn(Fs,"ValidifyStrategy",352,bn,Lun,zrn),MIt;A(383,23,{3:1,34:1,23:1,383:1},Bq);var tv,qte,ax,h_e=fn(Fs,"WrappingStrategy",383,bn,Mun,Grn),PIt;A(1373,1,Fi,SWe),h.pg=function(t){return l(t,37),jIt},h.If=function(t,r){Okn(this,l(t,37),r)};var jIt;x(U0,"BFSNodeOrderCycleBreaker",1373),A(1371,1,Fi,EWe),h.pg=function(t){return l(t,37),FIt},h.If=function(t,r){x_n(this,l(t,37),r)};var FIt;x(U0,"DFSNodeOrderCycleBreaker",1371),A(1372,1,tn,Hit),h.Ad=function(t){xTn(this.a,this.c,this.b,l(t,17))},h.b=!1,x(U0,"DFSNodeOrderCycleBreaker/lambda$0$Type",1372),A(1365,1,Fi,TWe),h.pg=function(t){return l(t,37),$It},h.If=function(t,r){k_n(this,l(t,37),r)};var $It;x(U0,"DepthFirstCycleBreaker",1365),A(786,1,Fi,Lfe),h.pg=function(t){return l(t,37),BIt},h.If=function(t,r){KNn(this,l(t,37),r)},h.qg=function(t){return l(He(t,s7(this.e,t.c.length)),9)};var BIt;x(U0,"GreedyCycleBreaker",786),A(1368,786,Fi,Ptt),h.qg=function(t){var r,o,s,u,f,p,m,y,v;for(v=null,s=sr,y=b.Math.max(this.b.a.c.length,l(j(this.b,(Ie(),F1)),15).a),r=y*l(j(this.b,lL),15).a,u=new WR,o=be(j(this.b,(Be(),LT)))===be((g1(),zy)),m=new V(t);m.a<m.c.c.length;)p=l(q(m),9),gr(p,Nr)&&(f=o?nT(u,p,r,y):QS(u,p,y),s>f&&(s=f,v=p));return v||l(He(t,s7(this.e,t.c.length)),9)},x(U0,"GreedyModelOrderCycleBreaker",1368),A(509,1,{},WR),h.a=0,h.b=0,x(U0,"GroupModelOrderCalculator",509),A(1366,1,Fi,yWe),h.pg=function(t){return l(t,37),UIt},h.If=function(t,r){Q_n(this,l(t,37),r)};var UIt;x(U0,"InteractiveCycleBreaker",1366),A(1367,1,Fi,wWe),h.pg=function(t){return l(t,37),HIt},h.If=function(t,r){tkn(l(t,37),r)};var HIt;x(U0,"ModelOrderCycleBreaker",1367),A(787,1,Fi),h.pg=function(t){return l(t,37),zIt},h.If=function(t,r){UAn(this,l(t,37),r)},h.rg=function(t,r){var o,s,u,f,p,m,y,v,T,N;for(p=0;p<this.d.b;p++){for(m=null,o=new WR,y=Zi,N=l(sa(this.d,p),24).Jc();N.Ob();)T=l(N.Pb(),9),f=be(j(this.a,(Be(),LT)))===be((g1(),zy)),m?(v=f?nT(o,T,r,t):QS(o,T,t),y<v&&(m=T,y=v)):(m=T,y=f?nT(o,T,r,t):QS(o,T,t));for(u=new Ft(Gt(Rr(m).a.Jc(),new D));an(u);)s=l(Qt(u),17),l(sa(this.d,p),24).Gc(s.d.i)&&je(this.c,s)}};var zIt;x(U0,"SCCModelOrderCycleBreaker",787),A(1370,787,Fi,jtt),h.rg=function(t,r){var o,s,u,f,p,m,y,v,T,N,I,L;for(p=0;p<this.d.b;p++)if(!(l(sa(this.d,p),24).gc()<=1)){for(y=null,m=null,N=sr,T=Zi,f=be(j(this.a,(Be(),LT)))===be((g1(),zy)),o=new WR,L=l(sa(this.d,p),24).Jc();L.Ob();)I=l(L.Pb(),9),!y||!m?(y=I,N=f?nT(o,I,r,t):QS(o,I,t),m=I,T=N):(v=f?nT(o,I,r,t):QS(o,I,t),N>v&&(y=I,N=v),T<v&&(m=I,T=v));if(be(j(y,qy))===be(j(this.a,ZTe)))for(u=new Ft(Gt(si(y).a.Jc(),new D));an(u);)s=l(Qt(u),17),l(sa(this.d,p),24).Gc(s.c.i)&&je(this.c,s);else if(be(j(m,qy))===be(j(this.a,QTe)))for(u=new Ft(Gt(Rr(m).a.Jc(),new D));an(u);)s=l(Qt(u),17),l(sa(this.d,p),24).Gc(s.c.i)&&je(this.c,s);else if(yd(new Ft(Gt(si(y).a.Jc(),new D)))>yd(new Ft(Gt(Rr(m).a.Jc(),new D))))for(u=new Ft(Gt(si(y).a.Jc(),new D));an(u);)s=l(Qt(u),17),l(sa(this.d,p),24).Gc(s.c.i)&&je(this.c,s);else for(u=new Ft(Gt(Rr(m).a.Jc(),new D));an(u);)s=l(Qt(u),17),l(sa(this.d,p),24).Gc(s.d.i)&&je(this.c,s)}},x(U0,"SCCNodeTypeCycleBreaker",1370),A(1369,787,Fi,Ftt),h.rg=function(t,r){var o,s,u,f,p,m,y,v,T,N,I,L;for(p=0;p<this.d.b;p++)if(!(l(sa(this.d,p),24).gc()<=1)){for(y=null,m=null,N=sr,T=Zi,f=be(j(this.a,(Be(),LT)))===be((g1(),zy)),o=new WR,L=l(sa(this.d,p),24).Jc();L.Ob();)I=l(L.Pb(),9),!y||!m?(y=I,N=f?nT(o,I,r,t):QS(o,I,t),m=I,T=N):(v=f?nT(o,I,r,t):QS(o,I,t),N>v&&(y=I,N=v),T<v&&(m=I,T=v));if(yd(new Ft(Gt(si(y).a.Jc(),new D)))>yd(new Ft(Gt(Rr(m).a.Jc(),new D))))for(u=new Ft(Gt(si(y).a.Jc(),new D));an(u);)s=l(Qt(u),17),l(sa(this.d,p),24).Gc(s.c.i)&&je(this.c,s);else for(u=new Ft(Gt(Rr(m).a.Jc(),new D));an(u);)s=l(Qt(u),17),l(sa(this.d,p),24).Gc(s.d.i)&&je(this.c,s)}},x(U0,"SCConnectivity",1369),A(1385,1,Fi,vWe),h.pg=function(t){return l(t,37),GIt},h.If=function(t,r){Zxn(this,l(t,37),r)};var GIt;x(Ep,"BreadthFirstModelOrderLayerer",1385),A(1386,1,Un,aUe),h.Le=function(t,r){return Ryn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ep,"BreadthFirstModelOrderLayerer/lambda$0$Type",1386),A(1376,1,Fi,Met),h.pg=function(t){return l(t,37),qIt},h.If=function(t,r){QNn(this,l(t,37),r)};var qIt;x(Ep,"CoffmanGrahamLayerer",1376),A(1377,1,Un,eJe),h.Le=function(t,r){return U2n(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ep,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1377),A(1378,1,Un,tJe),h.Le=function(t,r){return Hon(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ep,"CoffmanGrahamLayerer/lambda$1$Type",1378),A(1387,1,Fi,hWe),h.pg=function(t){return l(t,37),VIt},h.If=function(t,r){$Nn(this,l(t,37),r)},h.c=0,h.e=0;var VIt;x(Ep,"DepthFirstModelOrderLayerer",1387),A(1388,1,Un,uUe),h.Le=function(t,r){return Oyn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ep,"DepthFirstModelOrderLayerer/lambda$0$Type",1388),A(1379,1,Fi,cUe),h.pg=function(t){return l(t,37),Fn(Fn(Fn(new ui,(Vi(),id),(Xi(),gee)),xh,By),la,$y)},h.If=function(t,r){cNn(l(t,37),r)},x(Ep,"InteractiveLayerer",1379),A(571,1,{571:1},gZe),h.a=0,h.c=0,x(Ep,"InteractiveLayerer/LayerSpan",571),A(1375,1,Fi,pWe),h.pg=function(t){return l(t,37),WIt},h.If=function(t,r){M2n(this,l(t,37),r)};var WIt;x(Ep,"LongestPathLayerer",1375),A(1384,1,Fi,gWe),h.pg=function(t){return l(t,37),KIt},h.If=function(t,r){nSn(this,l(t,37),r)};var KIt;x(Ep,"LongestPathSourceLayerer",1384),A(1382,1,Fi,xWe),h.pg=function(t){return l(t,37),Fn(Fn(Fn(new ui,(Vi(),id),(Xi(),VE)),xh,By),la,$y)},h.If=function(t,r){yNn(this,l(t,37),r)},h.a=0,h.b=0,h.d=0;var p_e,g_e;x(Ep,"MinWidthLayerer",1382),A(1383,1,Un,nJe),h.Le=function(t,r){return hhn(this,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ep,"MinWidthLayerer/MinOutgoingEdgesComparator",1383),A(1374,1,Fi,kWe),h.pg=function(t){return l(t,37),YIt},h.If=function(t,r){Mkn(this,l(t,37),r)};var YIt;x(Ep,"NetworkSimplexLayerer",1374),A(1380,1,Fi,fit),h.pg=function(t){return l(t,37),Fn(Fn(Fn(new ui,(Vi(),id),(Xi(),VE)),xh,By),la,$y)},h.If=function(t,r){Exn(this,l(t,37),r)},h.d=0,h.f=0,h.g=0,h.i=0,h.s=0,h.t=0,h.u=0,x(Ep,"StretchWidthLayerer",1380),A(1381,1,Un,gUe),h.Le=function(t,r){return Yln(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ep,"StretchWidthLayerer/1",1381),A(411,1,Vye),h.eg=function(t,r,o,s,u,f){},h.tg=function(t,r,o){return vyt(this,t,r,o)},h.dg=function(){this.g=me(vv,ySt,30,this.d,15,1),this.f=me(vv,ySt,30,this.d,15,1)},h.fg=function(t,r){this.e[t]=me(Rn,Xn,30,r[t].length,15,1)},h.gg=function(t,r,o){var s;s=o[t][r],s.p=r,this.e[t][r]=r},h.hg=function(t,r,o,s){l(He(s[t][r].j,o),12).p=this.d++},h.b=0,h.c=0,h.d=0,x(qa,"AbstractBarycenterPortDistributor",411),A(1680,1,Un,rJe),h.Le=function(t,r){return N1n(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(qa,"AbstractBarycenterPortDistributor/lambda$0$Type",1680),A(823,1,WC,Uhe),h.eg=function(t,r,o,s,u,f){},h.gg=function(t,r,o){},h.hg=function(t,r,o,s){},h.cg=function(){return!1},h.dg=function(){this.c=this.e.a,this.g=this.f.g},h.fg=function(t,r){r[t][0].c.p=t},h.ig=function(){return!1},h.ug=function(t,r,o,s){o?obt(this,t):(dbt(this,t,s),Uvt(this,t,r)),t.c.length>1&&(Ke(We(j(ji((at(0,t.c.length),l(t.c[0],9))),(Be(),ex))))?U0t(t,this.d,l(this,667)):(St(),_i(t,this.d)),kht(this.e,t))},h.jg=function(t,r,o,s){var u,f,p,m,y,v,T;for(r!=Oot(o,t.length)&&(f=t[r-(o?1:-1)],hpe(this.f,f,o?(Lo(),Fa):(Lo(),Cu))),u=t[r][0],T=!s||u.k==(Ht(),mi),v=Wl(t[r]),this.ug(v,T,!1,o),p=0,y=new V(v);y.a<y.c.c.length;)m=l(q(y),9),t[r][p++]=m;return!1},h.kg=function(t,r){var o,s,u,f,p;for(p=Oot(r,t.length),f=Wl(t[p]),this.ug(f,!1,!0,r),o=0,u=new V(f);u.a<u.c.c.length;)s=l(q(u),9),t[p][o++]=s;return!1},x(qa,"BarycenterHeuristic",823),A(665,1,{665:1},sJe),h.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},h.b=0,h.d=0,h.e=!1;var JIt=x(qa,"BarycenterHeuristic/BarycenterState",665);A(1859,1,Un,iJe),h.Le=function(t,r){return S0n(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(qa,"BarycenterHeuristic/lambda$0$Type",1859),A(822,1,WC,Ebe),h.dg=function(){},h.eg=function(t,r,o,s,u,f){},h.hg=function(t,r,o,s){},h.fg=function(t,r){this.a[t]=me(JIt,{3:1,4:1,5:1,2096:1},665,r[t].length,0,1),this.b[t]=me(XIt,{3:1,4:1,5:1,2097:1},242,r[t].length,0,1)},h.gg=function(t,r,o){Hgt(this,o[t][r],!0)},h.c=!1,x(qa,"ForsterConstraintResolver",822),A(242,1,{242:1},fat,Cvt),h.Ib=function(){var t,r;for(r=new Zg,r.a+="[",t=0;t<this.d.length;t++)zn(r,s1t(this.d[t])),Hd(this.g,this.d[0]).a!=null&&zn(zn((r.a+="<",r),wen(Hd(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(r.a+=Ma);return(r.a+="]",r).a},h.a=0,h.c=0,h.f=0;var XIt=x(qa,"ForsterConstraintResolver/ConstraintGroup",242);A(1854,1,tn,oJe),h.Ad=function(t){Hgt(this.a,l(t,9),!1)},x(qa,"ForsterConstraintResolver/lambda$0$Type",1854),A(221,1,{221:1,223:1},Fvt),h.eg=function(t,r,o,s,u,f){},h.fg=function(t,r){},h.dg=function(){this.r=me(Rn,Xn,30,this.n,15,1)},h.gg=function(t,r,o){var s,u;u=o[t][r],s=u.e,s&&je(this.b,s)},h.hg=function(t,r,o,s){++this.n},h.Ib=function(){return zvt(this.e,new hi)},h.g=!1,h.i=!1,h.n=0,h.s=!1,x(qa,"GraphInfoHolder",221),A(1892,1,WC,_Ue),h.eg=function(t,r,o,s,u,f){},h.fg=function(t,r){},h.hg=function(t,r,o,s){},h.tg=function(t,r,o){return o&&r>0?TW(this.a,t[r-1],t[r]):!o&&r<t.length-1?TW(this.a,t[r],t[r+1]):mK(this.a,t[r],o?(Ue(),Wt):(Ue(),Zt)),BEn(this,t,r,o)},h.dg=function(){this.d=me(Rn,Xn,30,this.c,15,1),this.a=new PO(this.d)},h.gg=function(t,r,o){var s;s=o[t][r],this.c+=s.j.c.length},h.c=0,x(qa,"GreedyPortDistributor",1892),A(1393,1,Fi,NWe),h.pg=function(t){return Cpn(l(t,37))},h.If=function(t,r){exn(l(t,37),r)};var ZIt;x(qa,"InteractiveCrossingMinimizer",1393),A(1394,1,Un,uJe),h.Le=function(t,r){return t0n(this,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(qa,"InteractiveCrossingMinimizer/1",1394),A(456,1,{456:1,86:1,43:1},L9),h.pg=function(t){var r;return l(t,37),r=I8(QIt),Fn(r,(Vi(),la),(Xi(),L$)),r},h.If=function(t,r){iAn(this,l(t,37),r)},h.e=0;var QIt;x(qa,"LayerSweepCrossingMinimizer",456),A(1390,1,tn,cJe),h.Ad=function(t){YAn(this.a,l(t,221))},x(qa,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1390),A(1391,1,tn,lJe),h.Ad=function(t){Tpn(this.a,l(t,221))},x(qa,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1391),A(1392,1,tn,dJe),h.Ad=function(t){svt(this.a,l(t,221))},x(qa,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1392),A(409,23,{3:1,34:1,23:1,409:1},d8);var TL,xB,KI,NB,e4t=fn(qa,"LayerSweepCrossingMinimizer/CrossMinType",409,bn,jcn,qrn),t4t;A(1389,1,Ln,dUe),h.Mb=function(t){return dge(),l(t,26).a.c.length==0},x(qa,"LayerSweepCrossingMinimizer/lambda$0$Type",1389),A(1856,1,WC,Vat),h.dg=function(){},h.eg=function(t,r,o,s,u,f){},h.hg=function(t,r,o,s){},h.fg=function(t,r){r[t][0].c.p=t,this.b[t]=me(n4t,{3:1,4:1,5:1,2022:1},666,r[t].length,0,1)},h.gg=function(t,r,o){var s;s=o[t][r],s.p=r,ii(this.b[t],r,new lUe)},x(qa,"LayerSweepTypeDecider",1856),A(666,1,{666:1},lUe),h.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},h.a=0,h.b=0,h.c=0;var n4t=x(qa,"LayerSweepTypeDecider/NodeInfo",666);A(1857,1,Bf,fUe),h.Lb=function(t){return m3(new Vd(l(t,12).b))},h.Fb=function(t){return this===t},h.Mb=function(t){return m3(new Vd(l(t,12).b))},x(qa,"LayerSweepTypeDecider/lambda$0$Type",1857),A(1858,1,Bf,hUe),h.Lb=function(t){return m3(new Vd(l(t,12).b))},h.Fb=function(t){return this===t},h.Mb=function(t){return m3(new Vd(l(t,12).b))},x(qa,"LayerSweepTypeDecider/lambda$1$Type",1858),A(1893,411,Vye,pQe),h.sg=function(t,r,o){var s,u,f,p,m,y,v,T,N;switch(v=this.g,o.g){case 1:{for(s=0,u=0,y=new V(t.j);y.a<y.c.c.length;)p=l(q(y),12),p.e.c.length!=0&&(++s,p.j==(Ue(),Vt)&&++u);for(f=r+u,N=r+s,m=k0(t,(Lo(),Cu)).Jc();m.Ob();)p=l(m.Pb(),12),p.j==(Ue(),Vt)?(v[p.p]=f,--f):(v[p.p]=N,--N);return s}case 2:{for(T=0,m=k0(t,(Lo(),Fa)).Jc();m.Ob();)p=l(m.Pb(),12),++T,v[p.p]=r+T;return T}default:throw K(new eO)}},x(qa,"LayerTotalPortDistributor",1893),A(1861,1,WC,mat),h.dg=function(){},h.eg=function(t,r,o,s,u,f){},h.fg=function(t,r){},h.gg=function(t,r,o){},h.hg=function(t,r,o,s){},h.cg=function(){return!1},h.ig=function(){return!0},h.jg=function(t,r,o,s){var u,f,p,m;for(u=Wl(t[r]),$kn(this,u,o?r-1:r+1),St(),_i(u,this.b),f=0,m=new V(u);m.a<m.c.c.length;)p=l(q(m),9),t[r][f++]=p;return!1},h.kg=function(t,r){var o,s,u,f,p,m;for(o=r?0:b.Math.max(0,t.length-1),s=Wl(t[o]),m=new V(s);m.a<m.c.c.length;)f=l(q(m),9),Ae(f,(Ie(),r2),qV(this.a));for(St(),_i(s,this.b),u=0,p=new V(s);p.a<p.c.c.length;)f=l(q(p),9),t[o][u++]=f,Ae(f,(Ie(),r2),u);return!1},x(qa,"MedianHeuristic",1861),A(1862,1,Un,pUe),h.Le=function(t,r){return Cvn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(qa,"MedianHeuristic/lambda$0$Type",1862),A(667,823,{667:1,223:1},Jft),h.ug=function(t,r,o,s){o?obt(this,t):(dbt(this,t,s),Uvt(this,t,r)),t.c.length>1&&(Ke(We(j(ji((at(0,t.c.length),l(t.c[0],9))),(Be(),ex))))?U0t(t,this.d,this):(St(),_i(t,this.d)),Ke(We(j(ji((at(0,t.c.length),l(t.c[0],9))),ex)))||kht(this.e,t))},x(qa,"ModelOrderBarycenterHeuristic",667),A(1860,1,Un,fJe),h.Le=function(t,r){return b_n(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(qa,"ModelOrderBarycenterHeuristic/lambda$0$Type",1860),A(1395,1,Fi,RWe),h.pg=function(t){var r;return l(t,37),r=I8(r4t),Fn(r,(Vi(),la),(Xi(),L$)),r},h.If=function(t,r){ran((l(t,37),r))};var r4t;x(qa,"NoCrossingMinimizer",1395),A(803,411,Vye,Vce),h.sg=function(t,r,o){var s,u,f,p,m,y,v,T,N,I,L;switch(N=this.g,o.g){case 1:{for(u=0,f=0,T=new V(t.j);T.a<T.c.c.length;)y=l(q(T),12),y.e.c.length!=0&&(++u,y.j==(Ue(),Vt)&&++f);for(s=1/(u+1),p=r+f*s,L=r+1-s,v=k0(t,(Lo(),Cu)).Jc();v.Ob();)y=l(v.Pb(),12),y.j==(Ue(),Vt)?(N[y.p]=p,p-=s):(N[y.p]=L,L-=s);break}case 2:{for(m=0,T=new V(t.j);T.a<T.c.c.length;)y=l(q(T),12),y.g.c.length==0||++m;for(s=1/(m+1),I=r+s,v=k0(t,(Lo(),Fa)).Jc();v.Ob();)y=l(v.Pb(),12),N[y.p]=I,I+=s;break}default:throw K(new jt("Port type is undefined"))}return 1},x(qa,"NodeRelativePortDistributor",803),A(815,1,{},Qot,Gbt),x(qa,"SweepCopy",815),A(1855,1,WC,_gt),h.fg=function(t,r){},h.dg=function(){var t;t=me(Rn,Xn,30,this.f,15,1),this.d=new vJe(t),this.a=new PO(t)},h.eg=function(t,r,o,s,u,f){var p;p=l(He(f[t][r].j,o),12),u.c==p&&u.c.i.c==u.d.i.c&&++this.e[t]},h.gg=function(t,r,o){var s;s=o[t][r],this.c[t]=this.c[t]|s.k==(Ht(),Aa)},h.hg=function(t,r,o,s){var u;u=l(He(s[t][r].j,o),12),u.p=this.f++,u.g.c.length+u.e.c.length>1&&(u.j==(Ue(),Zt)?this.b[t]=!0:u.j==Wt&&t>0&&(this.b[t-1]=!0))},h.f=0,x(_h,"AllCrossingsCounter",1855),A(590,1,{},kj),h.b=0,h.d=0,x(_h,"BinaryIndexedTree",590),A(523,1,{},PO);var b_e,CB;x(_h,"CrossingsCounter",523),A(1929,1,Un,hJe),h.Le=function(t,r){return Ion(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(_h,"CrossingsCounter/lambda$0$Type",1929),A(1930,1,Un,pJe),h.Le=function(t,r){return Ron(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(_h,"CrossingsCounter/lambda$1$Type",1930),A(1931,1,Un,gJe),h.Le=function(t,r){return Oon(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(_h,"CrossingsCounter/lambda$2$Type",1931),A(1932,1,Un,bJe),h.Le=function(t,r){return Don(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(_h,"CrossingsCounter/lambda$3$Type",1932),A(1933,1,tn,mJe),h.Ad=function(t){Odn(this.a,l(t,12))},x(_h,"CrossingsCounter/lambda$4$Type",1933),A(1934,1,Ln,wJe),h.Mb=function(t){return hen(this.a,l(t,12))},x(_h,"CrossingsCounter/lambda$5$Type",1934),A(1935,1,tn,yJe),h.Ad=function(t){$tt(this,t)},x(_h,"CrossingsCounter/lambda$6$Type",1935),A(1936,1,tn,gtt),h.Ad=function(t){var r;XA(),l1(this.b,(r=this.a,l(t,12),r))},x(_h,"CrossingsCounter/lambda$7$Type",1936),A(831,1,Bf,xue),h.Lb=function(t){return XA(),gr(l(t,12),(Ie(),Nu))},h.Fb=function(t){return this===t},h.Mb=function(t){return XA(),gr(l(t,12),(Ie(),Nu))},x(_h,"CrossingsCounter/lambda$8$Type",831),A(1928,1,{},vJe),x(_h,"HyperedgeCrossingsCounter",1928),A(470,1,{34:1,470:1},pit),h.Dd=function(t){return f1n(this,l(t,470))},h.b=0,h.c=0,h.e=0,h.f=0;var L3n=x(_h,"HyperedgeCrossingsCounter/Hyperedge",470);A(371,1,{34:1,371:1},TP),h.Dd=function(t){return dEn(this,l(t,371))},h.b=0,h.c=0;var i4t=x(_h,"HyperedgeCrossingsCounter/HyperedgeCorner",371);A(522,23,{3:1,34:1,23:1,522:1},Nle);var YI,JI,o4t=fn(_h,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",522,bn,Pan,Vrn),s4t;A(1397,1,Fi,LWe),h.pg=function(t){return l(j(l(t,37),(Ie(),_a)),24).Gc((Mo(),rl))?a4t:null},h.If=function(t,r){$mn(this,l(t,37),r)};var a4t;x(Fo,"InteractiveNodePlacer",1397),A(1398,1,Fi,MWe),h.pg=function(t){return l(j(l(t,37),(Ie(),_a)),24).Gc((Mo(),rl))?u4t:null},h.If=function(t,r){Sbn(this,l(t,37),r)};var u4t,IB,RB;x(Fo,"LinearSegmentsNodePlacer",1398),A(264,1,{34:1,264:1},_ce),h.Dd=function(t){return kQt(this,l(t,264))},h.Fb=function(t){var r;return se(t,264)?(r=l(t,264),this.b==r.b):!1},h.Hb=function(){return this.b},h.Ib=function(){return"ls"+Qd(this.e)},h.a=0,h.b=0,h.c=-1,h.d=-1,h.g=0;var c4t=x(Fo,"LinearSegmentsNodePlacer/LinearSegment",264);A(1400,1,Fi,Jot),h.pg=function(t){return l(j(l(t,37),(Ie(),_a)),24).Gc((Mo(),rl))?l4t:null},h.If=function(t,r){BNn(this,l(t,37),r)},h.b=0,h.g=0;var l4t;x(Fo,"NetworkSimplexPlacer",1400),A(1419,1,Un,mUe),h.Le=function(t,r){return na(l(t,15).a,l(r,15).a)},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Fo,"NetworkSimplexPlacer/0methodref$compare$Type",1419),A(1421,1,Un,wUe),h.Le=function(t,r){return na(l(t,15).a,l(r,15).a)},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Fo,"NetworkSimplexPlacer/1methodref$compare$Type",1421),A(651,1,{651:1},ftt);var M3n=x(Fo,"NetworkSimplexPlacer/EdgeRep",651);A(410,1,{410:1},phe),h.b=!1;var P3n=x(Fo,"NetworkSimplexPlacer/NodeRep",410);A(504,13,{3:1,4:1,22:1,32:1,56:1,13:1,18:1,16:1,59:1,504:1},TZe),x(Fo,"NetworkSimplexPlacer/Path",504),A(1401,1,{},yUe),h.Kb=function(t){return l(t,17).d.i.k},x(Fo,"NetworkSimplexPlacer/Path/lambda$0$Type",1401),A(1402,1,Ln,bUe),h.Mb=function(t){return l(t,252)==(Ht(),gi)},x(Fo,"NetworkSimplexPlacer/Path/lambda$1$Type",1402),A(1403,1,{},vUe),h.Kb=function(t){return l(t,17).d.i},x(Fo,"NetworkSimplexPlacer/Path/lambda$2$Type",1403),A(1404,1,Ln,EJe),h.Mb=function(t){return Xrt(Sgt(l(t,9)))},x(Fo,"NetworkSimplexPlacer/Path/lambda$3$Type",1404),A(1405,1,Ln,EUe),h.Mb=function(t){return mon(l(t,12))},x(Fo,"NetworkSimplexPlacer/lambda$0$Type",1405),A(1406,1,tn,htt),h.Ad=function(t){rtn(this.a,this.b,l(t,12))},x(Fo,"NetworkSimplexPlacer/lambda$1$Type",1406),A(1415,1,tn,SJe),h.Ad=function(t){Xyn(this.a,l(t,17))},x(Fo,"NetworkSimplexPlacer/lambda$10$Type",1415),A(1416,1,{},SUe),h.Kb=function(t){return gc(),new yt(null,new vt(l(t,26).a,16))},x(Fo,"NetworkSimplexPlacer/lambda$11$Type",1416),A(1417,1,tn,TJe),h.Ad=function(t){LSn(this.a,l(t,9))},x(Fo,"NetworkSimplexPlacer/lambda$12$Type",1417),A(1418,1,{},TUe),h.Kb=function(t){return gc(),Re(l(t,126).e)},x(Fo,"NetworkSimplexPlacer/lambda$13$Type",1418),A(1420,1,{},AUe),h.Kb=function(t){return gc(),Re(l(t,126).e)},x(Fo,"NetworkSimplexPlacer/lambda$15$Type",1420),A(1422,1,Ln,kUe),h.Mb=function(t){return gc(),l(t,410).c.k==(Ht(),Xr)},x(Fo,"NetworkSimplexPlacer/lambda$17$Type",1422),A(1423,1,Ln,xUe),h.Mb=function(t){return gc(),l(t,410).c.j.c.length>1},x(Fo,"NetworkSimplexPlacer/lambda$18$Type",1423),A(1424,1,tn,Xst),h.Ad=function(t){Mgn(this.c,this.b,this.d,this.a,l(t,410))},h.c=0,h.d=0,x(Fo,"NetworkSimplexPlacer/lambda$19$Type",1424),A(1407,1,{},NUe),h.Kb=function(t){return gc(),new yt(null,new vt(l(t,26).a,16))},x(Fo,"NetworkSimplexPlacer/lambda$2$Type",1407),A(1425,1,tn,AJe),h.Ad=function(t){atn(this.a,l(t,12))},h.a=0,x(Fo,"NetworkSimplexPlacer/lambda$20$Type",1425),A(1426,1,{},CUe),h.Kb=function(t){return gc(),new yt(null,new vt(l(t,26).a,16))},x(Fo,"NetworkSimplexPlacer/lambda$21$Type",1426),A(1427,1,tn,_Je),h.Ad=function(t){ptn(this.a,l(t,9))},x(Fo,"NetworkSimplexPlacer/lambda$22$Type",1427),A(1428,1,Ln,IUe),h.Mb=function(t){return Xrt(t)},x(Fo,"NetworkSimplexPlacer/lambda$23$Type",1428),A(1429,1,{},RUe),h.Kb=function(t){return gc(),new yt(null,new vt(l(t,26).a,16))},x(Fo,"NetworkSimplexPlacer/lambda$24$Type",1429),A(1430,1,Ln,kJe),h.Mb=function(t){return Een(this.a,l(t,9))},x(Fo,"NetworkSimplexPlacer/lambda$25$Type",1430),A(1431,1,tn,ptt),h.Ad=function(t){Qwn(this.a,this.b,l(t,9))},x(Fo,"NetworkSimplexPlacer/lambda$26$Type",1431),A(1432,1,Ln,OUe),h.Mb=function(t){return gc(),!lo(l(t,17))},x(Fo,"NetworkSimplexPlacer/lambda$27$Type",1432),A(1433,1,Ln,DUe),h.Mb=function(t){return gc(),!lo(l(t,17))},x(Fo,"NetworkSimplexPlacer/lambda$28$Type",1433),A(1434,1,{},xJe),h.Te=function(t,r){return stn(this.a,l(t,26),l(r,26))},x(Fo,"NetworkSimplexPlacer/lambda$29$Type",1434),A(1408,1,{},LUe),h.Kb=function(t){return gc(),new yt(null,new Xw(new Ft(Gt(Rr(l(t,9)).a.Jc(),new D))))},x(Fo,"NetworkSimplexPlacer/lambda$3$Type",1408),A(1409,1,Ln,MUe),h.Mb=function(t){return gc(),Ecn(l(t,17))},x(Fo,"NetworkSimplexPlacer/lambda$4$Type",1409),A(1410,1,tn,NJe),h.Ad=function(t){GAn(this.a,l(t,17))},x(Fo,"NetworkSimplexPlacer/lambda$5$Type",1410),A(1411,1,{},PUe),h.Kb=function(t){return gc(),new yt(null,new vt(l(t,26).a,16))},x(Fo,"NetworkSimplexPlacer/lambda$6$Type",1411),A(1412,1,Ln,jUe),h.Mb=function(t){return gc(),l(t,9).k==(Ht(),Xr)},x(Fo,"NetworkSimplexPlacer/lambda$7$Type",1412),A(1413,1,{},FUe),h.Kb=function(t){return gc(),new yt(null,new Xw(new Ft(Gt(Df(l(t,9)).a.Jc(),new D))))},x(Fo,"NetworkSimplexPlacer/lambda$8$Type",1413),A(1414,1,Ln,$Ue),h.Mb=function(t){return gc(),gon(l(t,17))},x(Fo,"NetworkSimplexPlacer/lambda$9$Type",1414),A(1396,1,Fi,AWe),h.pg=function(t){return l(j(l(t,37),(Ie(),_a)),24).Gc((Mo(),rl))?d4t:null},h.If=function(t,r){T_n(l(t,37),r)};var d4t;x(Fo,"SimpleNodePlacer",1396),A(188,1,{188:1},NE),h.Ib=function(){var t;return t="",this.c==(Cf(),sw)?t+=fT:this.c==kg&&(t+=dT),this.o==(zd(),ym)?t+=xX:this.o==uf?t+="UP":t+="BALANCED",t},x(I1,"BKAlignedLayout",188),A(513,23,{3:1,34:1,23:1,513:1},kle);var kg,sw,f4t=fn(I1,"BKAlignedLayout/HDirection",513,bn,Lan,Wrn),h4t;A(512,23,{3:1,34:1,23:1,512:1},xle);var ym,uf,p4t=fn(I1,"BKAlignedLayout/VDirection",512,bn,Dan,Krn),g4t;A(1681,1,{},btt),x(I1,"BKAligner",1681),A(1684,1,{},K1t),x(I1,"BKCompactor",1684),A(659,1,{659:1},BUe),h.a=0,x(I1,"BKCompactor/ClassEdge",659),A(459,1,{459:1},bZe),h.a=null,h.b=0,x(I1,"BKCompactor/ClassNode",459),A(1399,1,Fi,Mtt),h.pg=function(t){return l(j(l(t,37),(Ie(),_a)),24).Gc((Mo(),rl))?b4t:null},h.If=function(t,r){r3n(this,l(t,37),r)},h.d=!1;var b4t;x(I1,"BKNodePlacer",1399),A(1682,1,{},UUe),h.d=0,x(I1,"NeighborhoodInformation",1682),A(1683,1,Un,CJe),h.Le=function(t,r){return Vdn(this,l(t,49),l(r,49))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(I1,"NeighborhoodInformation/NeighborComparator",1683),A(816,1,{}),x(I1,"ThresholdStrategy",816),A(1812,816,{},wZe),h.vg=function(t,r,o){return this.a.o==(zd(),uf)?Kr:Oi},h.wg=function(){},x(I1,"ThresholdStrategy/NullThresholdStrategy",1812),A(583,1,{583:1},vtt),h.c=!1,h.d=!1,x(I1,"ThresholdStrategy/Postprocessable",583),A(1813,816,{},yZe),h.vg=function(t,r,o){var s,u,f;return u=r==o,s=this.a.a[o.p]==r,u||s?(f=t,this.a.c==(Cf(),sw)?(u&&(f=CJ(this,r,!0)),!isNaN(f)&&!isFinite(f)&&s&&(f=CJ(this,o,!1))):(u&&(f=CJ(this,r,!0)),!isNaN(f)&&!isFinite(f)&&s&&(f=CJ(this,o,!1))),f):t},h.wg=function(){for(var t,r,o,s,u;this.d.b!=0;)u=l(Mat(this.d),583),s=Pyt(this,u),s.a&&(t=s.a,o=Ke(this.a.f[this.a.g[u.b.p].p]),!(!o&&!lo(t)&&t.c.i.c==t.d.i.c)&&(r=M0t(this,u),r||xnt(this.e,u)));for(;this.e.a.c.length!=0;)M0t(this,l(jge(this.e),583))},x(I1,"ThresholdStrategy/SimpleThresholdStrategy",1813),A(642,1,{642:1,173:1,177:1},HUe),h.bg=function(){return Tht(this)},h.og=function(){return Tht(this)};var Vte;x(kZ,"EdgeRouterFactory",642),A(1462,1,Fi,PWe),h.pg=function(t){return dSn(l(t,37))},h.If=function(t,r){O_n(l(t,37),r)};var m4t,w4t,y4t,v4t,E4t,m_e,S4t,T4t;x(kZ,"OrthogonalEdgeRouter",1462),A(1455,1,Fi,Ltt),h.pg=function(t){return Kmn(l(t,37))},h.If=function(t,r){nNn(this,l(t,37),r)};var A4t,_4t,k4t,x4t,AL,N4t;x(kZ,"PolylineEdgeRouter",1455),A(1456,1,Bf,GUe),h.Lb=function(t){return pge(l(t,9))},h.Fb=function(t){return this===t},h.Mb=function(t){return pge(l(t,9))},x(kZ,"PolylineEdgeRouter/1",1456),A(1868,1,Ln,qUe),h.Mb=function(t){return l(t,135).c==(vd(),U1)},x(kd,"HyperEdgeCycleDetector/lambda$0$Type",1868),A(1869,1,{},VUe),h.Xe=function(t){return l(t,135).d},x(kd,"HyperEdgeCycleDetector/lambda$1$Type",1869),A(1870,1,Ln,WUe),h.Mb=function(t){return l(t,135).c==(vd(),U1)},x(kd,"HyperEdgeCycleDetector/lambda$2$Type",1870),A(1871,1,{},KUe),h.Xe=function(t){return l(t,135).d},x(kd,"HyperEdgeCycleDetector/lambda$3$Type",1871),A(1872,1,{},YUe),h.Xe=function(t){return l(t,135).d},x(kd,"HyperEdgeCycleDetector/lambda$4$Type",1872),A(1873,1,{},zUe),h.Xe=function(t){return l(t,135).d},x(kd,"HyperEdgeCycleDetector/lambda$5$Type",1873),A(117,1,{34:1,117:1},T6),h.Dd=function(t){return _Qt(this,l(t,117))},h.Fb=function(t){var r;return se(t,117)?(r=l(t,117),this.g==r.g):!1},h.Hb=function(){return this.g},h.Ib=function(){var t,r,o,s;for(t=new fc("{"),s=new V(this.n);s.a<s.c.c.length;)o=l(q(s),12),r=U6(o.i),r==null&&(r="n"+Dit(o.i)),t.a+=""+r,s.a<s.c.c.length&&(t.a+=",");return t.a+="}",t.a},h.a=0,h.b=0,h.c=NaN,h.d=0,h.g=0,h.i=0,h.o=0,h.s=NaN,x(kd,"HyperEdgeSegment",117),A(135,1,{135:1},Lb),h.Ib=function(){return this.a+"->"+this.b+" ("+Gtn(this.c)+")"},h.d=0,x(kd,"HyperEdgeSegmentDependency",135),A(519,23,{3:1,34:1,23:1,519:1},Cle);var U1,nv,C4t=fn(kd,"HyperEdgeSegmentDependency/DependencyType",519,bn,Man,Yrn),I4t;A(1874,1,{},IJe),x(kd,"HyperEdgeSegmentSplitter",1874),A(1875,1,{},bQe),h.a=0,h.b=0,x(kd,"HyperEdgeSegmentSplitter/AreaRating",1875),A(341,1,{341:1},RV),h.a=0,h.b=0,h.c=0,x(kd,"HyperEdgeSegmentSplitter/FreeArea",341),A(1876,1,Un,JUe),h.Le=function(t,r){return Unn(l(t,117),l(r,117))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(kd,"HyperEdgeSegmentSplitter/lambda$0$Type",1876),A(1877,1,tn,Zst),h.Ad=function(t){lln(this.a,this.d,this.c,this.b,l(t,117))},h.b=0,x(kd,"HyperEdgeSegmentSplitter/lambda$1$Type",1877),A(1878,1,{},XUe),h.Kb=function(t){return new yt(null,new vt(l(t,117).e,16))},x(kd,"HyperEdgeSegmentSplitter/lambda$2$Type",1878),A(1879,1,{},ZUe),h.Kb=function(t){return new yt(null,new vt(l(t,117).j,16))},x(kd,"HyperEdgeSegmentSplitter/lambda$3$Type",1879),A(1880,1,{},QUe),h.We=function(t){return ue(ce(t))},x(kd,"HyperEdgeSegmentSplitter/lambda$4$Type",1880),A(660,1,{},nW),h.a=0,h.b=0,h.c=0,x(kd,"OrthogonalRoutingGenerator",660),A(1685,1,{},eHe),h.Kb=function(t){return new yt(null,new vt(l(t,117).e,16))},x(kd,"OrthogonalRoutingGenerator/lambda$0$Type",1685),A(1686,1,{},tHe),h.Kb=function(t){return new yt(null,new vt(l(t,117).j,16))},x(kd,"OrthogonalRoutingGenerator/lambda$1$Type",1686),A(668,1,{}),x(xZ,"BaseRoutingDirectionStrategy",668),A(1866,668,{},vZe),h.xg=function(t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G;if(!(t.r&&!t.q))for(T=r+t.o*o,v=new V(t.n);v.a<v.c.c.length;)for(y=l(q(v),12),N=_s(Z(X($i,1),Me,8,0,[y.i.n,y.n,y.a])).a,m=new V(y.g);m.a<m.c.c.length;)p=l(q(m),17),lo(p)||(U=p.d,G=_s(Z(X($i,1),Me,8,0,[U.i.n,U.n,U.a])).a,b.Math.abs(N-G)>Uf&&(f=T,u=t,s=new Le(N,f),Gn(p.a,s),D0(this,p,u,s,!1),I=t.r,I&&(L=ue(ce(sa(I.e,0))),s=new Le(L,f),Gn(p.a,s),D0(this,p,u,s,!1),f=r+I.o*o,u=I,s=new Le(L,f),Gn(p.a,s),D0(this,p,u,s,!1)),s=new Le(G,f),Gn(p.a,s),D0(this,p,u,s,!1)))},h.yg=function(t){return t.i.n.a+t.n.a+t.a.a},h.zg=function(){return Ue(),dn},h.Ag=function(){return Ue(),Vt},x(xZ,"NorthToSouthRoutingStrategy",1866),A(1867,668,{},EZe),h.xg=function(t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G;if(!(t.r&&!t.q))for(T=r-t.o*o,v=new V(t.n);v.a<v.c.c.length;)for(y=l(q(v),12),N=_s(Z(X($i,1),Me,8,0,[y.i.n,y.n,y.a])).a,m=new V(y.g);m.a<m.c.c.length;)p=l(q(m),17),lo(p)||(U=p.d,G=_s(Z(X($i,1),Me,8,0,[U.i.n,U.n,U.a])).a,b.Math.abs(N-G)>Uf&&(f=T,u=t,s=new Le(N,f),Gn(p.a,s),D0(this,p,u,s,!1),I=t.r,I&&(L=ue(ce(sa(I.e,0))),s=new Le(L,f),Gn(p.a,s),D0(this,p,u,s,!1),f=r-I.o*o,u=I,s=new Le(L,f),Gn(p.a,s),D0(this,p,u,s,!1)),s=new Le(G,f),Gn(p.a,s),D0(this,p,u,s,!1)))},h.yg=function(t){return t.i.n.a+t.n.a+t.a.a},h.zg=function(){return Ue(),Vt},h.Ag=function(){return Ue(),dn},x(xZ,"SouthToNorthRoutingStrategy",1867),A(1865,668,{},SZe),h.xg=function(t,r,o){var s,u,f,p,m,y,v,T,N,I,L,U,G;if(!(t.r&&!t.q))for(T=r+t.o*o,v=new V(t.n);v.a<v.c.c.length;)for(y=l(q(v),12),N=_s(Z(X($i,1),Me,8,0,[y.i.n,y.n,y.a])).b,m=new V(y.g);m.a<m.c.c.length;)p=l(q(m),17),lo(p)||(U=p.d,G=_s(Z(X($i,1),Me,8,0,[U.i.n,U.n,U.a])).b,b.Math.abs(N-G)>Uf&&(f=T,u=t,s=new Le(f,N),Gn(p.a,s),D0(this,p,u,s,!0),I=t.r,I&&(L=ue(ce(sa(I.e,0))),s=new Le(f,L),Gn(p.a,s),D0(this,p,u,s,!0),f=r+I.o*o,u=I,s=new Le(f,L),Gn(p.a,s),D0(this,p,u,s,!0)),s=new Le(f,G),Gn(p.a,s),D0(this,p,u,s,!0)))},h.yg=function(t){return t.i.n.b+t.n.b+t.a.b},h.zg=function(){return Ue(),Zt},h.Ag=function(){return Ue(),Wt},x(xZ,"WestToEastRoutingStrategy",1865),A(819,1,{},w0e),h.Ib=function(){return Qd(this.a)},h.b=0,h.c=!1,h.d=!1,h.f=0,x(Oy,"NubSpline",819),A(415,1,{415:1},wwt,Dat),x(Oy,"NubSpline/PolarCP",415),A(1457,1,Fi,F1t),h.pg=function(t){return L0n(l(t,37))},h.If=function(t,r){SNn(this,l(t,37),r)};var R4t,O4t,D4t,L4t,M4t;x(Oy,"SplineEdgeRouter",1457),A(275,1,{275:1},YP),h.Ib=function(){return this.a+" ->("+this.c+") "+this.b},h.c=0,x(Oy,"SplineEdgeRouter/Dependency",275),A(457,23,{3:1,34:1,23:1,457:1},Ile);var H1,u2,P4t=fn(Oy,"SplineEdgeRouter/SideToProcess",457,bn,jan,Xrn),j4t;A(1458,1,Ln,nHe),h.Mb=function(t){return _C(),!l(t,134).o},x(Oy,"SplineEdgeRouter/lambda$0$Type",1458),A(1459,1,{},rHe),h.Xe=function(t){return _C(),l(t,134).v+1},x(Oy,"SplineEdgeRouter/lambda$1$Type",1459),A(1460,1,tn,mtt),h.Ad=function(t){von(this.a,this.b,l(t,49))},x(Oy,"SplineEdgeRouter/lambda$2$Type",1460),A(1461,1,tn,wtt),h.Ad=function(t){Eon(this.a,this.b,l(t,49))},x(Oy,"SplineEdgeRouter/lambda$3$Type",1461),A(134,1,{34:1,134:1},Amt,A0e),h.Dd=function(t){return xQt(this,l(t,134))},h.b=0,h.e=!1,h.f=0,h.g=0,h.j=!1,h.k=!1,h.n=0,h.o=!1,h.p=!1,h.q=!1,h.s=0,h.u=0,h.v=0,h.F=0,x(Oy,"SplineSegment",134),A(460,1,{460:1},iHe),h.a=0,h.b=!1,h.c=!1,h.d=!1,h.e=!1,h.f=0,x(Oy,"SplineSegment/EdgeInformation",460),A(1179,1,{},oHe),x(Sp,lwe,1179),A(1180,1,Un,sHe),h.Le=function(t,r){return lvn(l(t,121),l(r,121))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Sp,I2t,1180),A(1178,1,{},LQe),x(Sp,"MrTree",1178),A(402,23,{3:1,34:1,23:1,402:1,173:1,177:1},f8),h.bg=function(){return Kmt(this)},h.og=function(){return Kmt(this)};var OB,XI,ZI,QI,w_e=fn(Sp,"TreeLayoutPhases",402,bn,Gcn,Zrn),F4t;A(1093,207,nm,bit),h.kf=function(t,r){var o,s,u,f,p,m,y,v;for(Ke(We(ye(t,(Ps(),z_e))))||D3((o=new RA((t1(),new Kp(t))),o)),p=r.dh(IZ),p.Tg("build tGraph",1),m=(y=new n6,qs(y,t),Ae(y,(xr(),t4),t),v=new hn,YTn(t,y,v),fAn(t,y,v),y),p.Ug(),p=r.dh(IZ),p.Tg("Split graph",1),f=tAn(this.a,m),p.Ug(),u=new V(f);u.a<u.c.c.length;)s=l(q(u),121),Nmn(this.b,s,r.dh(.5999999940395355/f.c.length));p=r.dh(IZ),p.Tg("Pack components",1),m=i3n(f),p.Ug(),p=r.dh(IZ),p.Tg("Apply layout results",1),zkn(m),p.Ug()},x(Sp,"TreeLayoutProvider",1093),A(1829,1,Eh,uHe),h.Ic=function(t){co(this,t)},h.Jc=function(){return St(),HA(),Uk},x(Sp,"TreeUtil/1",1829),A(1830,1,Eh,cHe),h.Ic=function(t){co(this,t)},h.Jc=function(){return St(),HA(),Uk},x(Sp,"TreeUtil/2",1830),A(1820,1,Ln,lHe),h.Mb=function(t){return Ke(We(j(l(t,41),(xr(),z1))))},x(Sp,"TreeUtil/lambda$0$Type",1820),A(1826,1,Ln,RJe),h.Mb=function(t){return this.a.Gc(l(t,41))},x(Sp,"TreeUtil/lambda$10$Type",1826),A(1827,1,{},OJe),h.Kb=function(t){return rln(this.a,l(t,41))},x(Sp,"TreeUtil/lambda$11$Type",1827),A(1828,1,Ln,ytt),h.Mb=function(t){return Bdn(this.a,this.b,l(t,41))},x(Sp,"TreeUtil/lambda$12$Type",1828),A(1821,1,Ln,DJe),h.Mb=function(t){return hgn(this.a,l(t,65))},x(Sp,"TreeUtil/lambda$3$Type",1821),A(1822,1,Un,aHe),h.Le=function(t,r){return znn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Sp,"TreeUtil/lambda$4$Type",1822),A(1823,1,Ln,LJe),h.Mb=function(t){return pgn(this.a,l(t,65))},x(Sp,"TreeUtil/lambda$7$Type",1823),A(1824,1,Un,dHe),h.Le=function(t,r){return Hnn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Sp,"TreeUtil/lambda$8$Type",1824),A(1825,1,{},fHe),h.Kb=function(t){return l(t,65).b},x(Sp,"TreeUtil/lambda$9$Type",1825),A(497,151,{3:1,497:1,105:1,151:1}),h.g=0,x(XC,"TGraphElement",497),A(65,497,{3:1,65:1,497:1,105:1,151:1},mhe),h.Ib=function(){return this.b&&this.c?Pb(this.b)+"->"+Pb(this.c):"e_"+Ir(this)},x(XC,"TEdge",65),A(121,151,{3:1,121:1,105:1,151:1},n6),h.Ib=function(){var t,r,o,s,u;for(u=null,s=An(this.b,0);s.b!=s.d.c;)o=l(Sn(s),41),u+=(o.c==null||o.c.length==0?"n_"+o.g:"n_"+o.c)+`
|
||
`;for(r=An(this.a,0);r.b!=r.d.c;)t=l(Sn(r),65),u+=(t.b&&t.c?Pb(t.b)+"->"+Pb(t.c):"e_"+Ir(t))+`
|
||
`;return u};var j3n=x(XC,"TGraph",121);A(640,497,{3:1,497:1,640:1,105:1,151:1}),x(XC,"TShape",640),A(41,640,{3:1,497:1,41:1,640:1,105:1,151:1},MK),h.Ib=function(){return Pb(this)};var DB=x(XC,"TNode",41);A(239,1,Eh,Xh),h.Ic=function(t){co(this,t)},h.Jc=function(){var t;return t=An(this.a.d,0),new qv(t)},x(XC,"TNode/2",239),A(335,1,Wi,qv),h.Nb=function(t){oo(this,t)},h.Pb=function(){return l(Sn(this.a),65).c},h.Ob=function(){return rO(this.a)},h.Qb=function(){cK(this.a)},x(XC,"TNode/2/1",335),A(1910,1,_r,hHe),h.If=function(t,r){ZNn(this,l(t,121),r)},x(Ta,"CompactionProcessor",1910),A(1911,1,Un,MJe),h.Le=function(t,r){return dhn(this.a,l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ta,"CompactionProcessor/lambda$0$Type",1911),A(1912,1,Ln,Ett),h.Mb=function(t){return Aan(this.b,this.a,l(t,49))},h.a=0,h.b=0,x(Ta,"CompactionProcessor/lambda$1$Type",1912),A(1921,1,Un,pHe),h.Le=function(t,r){return hsn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ta,"CompactionProcessor/lambda$10$Type",1921),A(1922,1,Un,gHe),h.Le=function(t,r){return Otn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ta,"CompactionProcessor/lambda$11$Type",1922),A(1923,1,Un,bHe),h.Le=function(t,r){return psn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ta,"CompactionProcessor/lambda$12$Type",1923),A(1913,1,Ln,PJe),h.Mb=function(t){return wtn(this.a,l(t,49))},h.a=0,x(Ta,"CompactionProcessor/lambda$2$Type",1913),A(1914,1,Ln,jJe),h.Mb=function(t){return ytn(this.a,l(t,49))},h.a=0,x(Ta,"CompactionProcessor/lambda$3$Type",1914),A(1915,1,Ln,mHe),h.Mb=function(t){return l(t,41).c.indexOf(RF)==-1},x(Ta,"CompactionProcessor/lambda$4$Type",1915),A(1916,1,{},FJe),h.Kb=function(t){return Scn(this.a,l(t,41))},h.a=0,x(Ta,"CompactionProcessor/lambda$5$Type",1916),A(1917,1,{},$Je),h.Kb=function(t){return Rdn(this.a,l(t,41))},h.a=0,x(Ta,"CompactionProcessor/lambda$6$Type",1917),A(1918,1,Un,BJe),h.Le=function(t,r){return Bln(this.a,l(t,243),l(r,243))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ta,"CompactionProcessor/lambda$7$Type",1918),A(1919,1,Un,UJe),h.Le=function(t,r){return Uln(this.a,l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ta,"CompactionProcessor/lambda$8$Type",1919),A(1920,1,Un,wHe),h.Le=function(t,r){return Dtn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Ta,"CompactionProcessor/lambda$9$Type",1920),A(1908,1,_r,yHe),h.If=function(t,r){qSn(l(t,121),r)},x(Ta,"DirectionProcessor",1908),A(x1,1,_r,hit),h.If=function(t,r){dAn(this,l(t,121),r)},x(Ta,"FanProcessor",x1),A(1263,1,_r,vHe),h.If=function(t,r){Fwt(l(t,121),r)},x(Ta,"GraphBoundsProcessor",1263),A(1264,1,{},EHe),h.We=function(t){return l(t,41).e.a},x(Ta,"GraphBoundsProcessor/lambda$0$Type",1264),A(1265,1,{},SHe),h.We=function(t){return l(t,41).e.b},x(Ta,"GraphBoundsProcessor/lambda$1$Type",1265),A(1266,1,{},THe),h.We=function(t){return QQt(l(t,41))},x(Ta,"GraphBoundsProcessor/lambda$2$Type",1266),A(1267,1,{},AHe),h.We=function(t){return een(l(t,41))},x(Ta,"GraphBoundsProcessor/lambda$3$Type",1267),A(265,23,{3:1,34:1,23:1,265:1,177:1},n0),h.bg=function(){switch(this.g){case 0:return new $Ze;case 1:return new hit;case 2:return new FZe;case 3:return new CHe;case 4:return new kHe;case 8:return new _He;case 5:return new yHe;case 6:return new RHe;case 7:return new hHe;case 9:return new vHe;case 10:return new OHe;default:throw K(new jt(LX+(this.f!=null?this.f:""+this.g)))}};var y_e,v_e,E_e,S_e,T_e,A_e,__e,k_e,x_e,N_e,Wte,F3n=fn(Ta,MX,265,bn,wht,Qrn),$4t;A(1907,1,_r,_He),h.If=function(t,r){Jxn(l(t,121),r)},x(Ta,"LevelCoordinatesProcessor",1907),A(1905,1,_r,kHe),h.If=function(t,r){g2n(this,l(t,121),r)},h.a=0,x(Ta,"LevelHeightProcessor",1905),A(1906,1,Eh,xHe),h.Ic=function(t){co(this,t)},h.Jc=function(){return St(),HA(),Uk},x(Ta,"LevelHeightProcessor/1",1906),A(1901,1,_r,FZe),h.If=function(t,r){NSn(this,l(t,121),r)},x(Ta,"LevelProcessor",1901),A(1902,1,Ln,NHe),h.Mb=function(t){return Ke(We(j(l(t,41),(xr(),z1))))},x(Ta,"LevelProcessor/lambda$0$Type",1902),A(1903,1,_r,CHe),h.If=function(t,r){vyn(this,l(t,121),r)},h.a=0,x(Ta,"NeighborsProcessor",1903),A(1904,1,Eh,IHe),h.Ic=function(t){co(this,t)},h.Jc=function(){return St(),HA(),Uk},x(Ta,"NeighborsProcessor/1",1904),A(1909,1,_r,RHe),h.If=function(t,r){cAn(this,l(t,121),r)},h.a=0,x(Ta,"NodePositionProcessor",1909),A(1899,1,_r,$Ze),h.If=function(t,r){J_n(this,l(t,121),r)},x(Ta,"RootProcessor",1899),A(1924,1,_r,OHe),h.If=function(t,r){ibn(l(t,121),r)},x(Ta,"Untreeifyer",1924),A(386,23,{3:1,34:1,23:1,386:1},Hq);var _L,Kte,C_e,I_e=fn(BD,"EdgeRoutingMode",386,bn,Pun,ein),B4t,kL,ux,Yte,R_e,O_e,Jte,Xte,D_e,Zte,L_e,Qte,e4,ene,LB,MB,sd,Id,cx,t4,n4,xg,M_e,U4t,tne,z1,xL,NL;A(854,1,td,jWe),h.tf=function(t){st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Yye),""),NSt),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Lt(),!1)),(A1(),Ai)),Yr),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Jye),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Xye),""),"Tree Level"),"The index for the tree level the node is in"),Re(0)),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Zye),""),NSt),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),Re(-1)),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Qye),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),F_e),$r),J_e),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,eve),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),P_e),$r),I_e),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,tve),""),"Search Order"),"Which search order to use when computing a spanning tree."),j_e),$r),Z_e),ct(xt)))),pEt((new FWe,t))};var H4t,z4t,G4t,P_e,q4t,V4t,j_e,W4t,K4t,F_e;x(BD,"MrTreeMetaDataProvider",854),A(999,1,td,FWe),h.tf=function(t){pEt(t)};var Y4t,$_e,B_e,aw,U_e,H_e,nne,J4t,X4t,Z4t,Q4t,eRt,tRt,nRt,z_e,G_e,q_e,rRt,c2,PB,V_e,iRt,W_e,rne,oRt,sRt,aRt,K_e,uRt,Yf,Y_e;x(BD,"MrTreeOptions",999),A(wg,1,{},DHe),h.uf=function(){var t;return t=new bit,t},h.vf=function(t){},x(BD,"MrTreeOptions/MrtreeFactory",wg),A(354,23,{3:1,34:1,23:1,354:1},h8);var ine,jB,one,sne,J_e=fn(BD,"OrderWeighting",354,bn,Ucn,tin),cRt;A(430,23,{3:1,34:1,23:1,430:1},Rle);var X_e,ane,Z_e=fn(BD,"TreeifyingOrder",430,bn,Fan,nin),lRt;A(1463,1,Fi,CWe),h.pg=function(t){return l(t,121),dRt},h.If=function(t,r){Kfn(this,l(t,121),r)};var dRt;x("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1463),A(1464,1,Fi,IWe),h.pg=function(t){return l(t,121),fRt},h.If=function(t,r){OSn(this,l(t,121),r)};var fRt;x(_k,"NodeOrderer",1464),A(1471,1,{},UXt),h.rd=function(t){return mot(t)},x(_k,"NodeOrderer/0methodref$lambda$6$Type",1471),A(1465,1,Ln,BHe),h.Mb=function(t){return $S(),Ke(We(j(l(t,41),(xr(),z1))))},x(_k,"NodeOrderer/lambda$0$Type",1465),A(1466,1,Ln,UHe),h.Mb=function(t){return $S(),l(j(l(t,41),(Ps(),c2)),15).a<0},x(_k,"NodeOrderer/lambda$1$Type",1466),A(1467,1,Ln,zJe),h.Mb=function(t){return Cfn(this.a,l(t,41))},x(_k,"NodeOrderer/lambda$2$Type",1467),A(1468,1,Ln,HJe),h.Mb=function(t){return vcn(this.a,l(t,41))},x(_k,"NodeOrderer/lambda$3$Type",1468),A(1469,1,Un,HHe),h.Le=function(t,r){return Xdn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(_k,"NodeOrderer/lambda$4$Type",1469),A(1470,1,Ln,zHe),h.Mb=function(t){return $S(),l(j(l(t,41),(xr(),Xte)),15).a!=0},x(_k,"NodeOrderer/lambda$5$Type",1470),A(1472,1,Fi,UWe),h.pg=function(t){return l(t,121),hRt},h.If=function(t,r){FTn(this,l(t,121),r)},h.b=0;var hRt;x("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1472),A(1473,1,Fi,HWe),h.pg=function(t){return l(t,121),pRt},h.If=function(t,r){yTn(l(t,121),r)};var pRt,$3n=x(ac,"EdgeRouter",1473);A(1475,1,Un,MHe),h.Le=function(t,r){return na(l(t,15).a,l(r,15).a)},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/0methodref$compare$Type",1475),A(1480,1,{},PHe),h.We=function(t){return ue(ce(t))},x(ac,"EdgeRouter/1methodref$doubleValue$Type",1480),A(1482,1,Un,jHe),h.Le=function(t,r){return yr(ue(ce(t)),ue(ce(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/2methodref$compare$Type",1482),A(1484,1,Un,FHe),h.Le=function(t,r){return yr(ue(ce(t)),ue(ce(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/3methodref$compare$Type",1484),A(1486,1,{},LHe),h.We=function(t){return ue(ce(t))},x(ac,"EdgeRouter/4methodref$doubleValue$Type",1486),A(1488,1,Un,$He),h.Le=function(t,r){return yr(ue(ce(t)),ue(ce(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/5methodref$compare$Type",1488),A(1490,1,Un,GHe),h.Le=function(t,r){return yr(ue(ce(t)),ue(ce(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/6methodref$compare$Type",1490),A(1474,1,{},qHe),h.Kb=function(t){return cp(),l(j(l(t,41),(Ps(),Yf)),15)},x(ac,"EdgeRouter/lambda$0$Type",1474),A(1485,1,{},VHe),h.Kb=function(t){return qtn(l(t,41))},x(ac,"EdgeRouter/lambda$11$Type",1485),A(1487,1,{},Ttt),h.Kb=function(t){return won(this.b,this.a,l(t,41))},h.a=0,h.b=0,x(ac,"EdgeRouter/lambda$13$Type",1487),A(1489,1,{},Stt),h.Kb=function(t){return Vtn(this.b,this.a,l(t,41))},h.a=0,h.b=0,x(ac,"EdgeRouter/lambda$15$Type",1489),A(1491,1,Un,WHe),h.Le=function(t,r){return P1n(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/lambda$17$Type",1491),A(1492,1,Un,KHe),h.Le=function(t,r){return j1n(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/lambda$18$Type",1492),A(1493,1,Un,YHe),h.Le=function(t,r){return $1n(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/lambda$19$Type",1493),A(1476,1,Ln,GJe),h.Mb=function(t){return iun(this.a,l(t,41))},h.a=0,x(ac,"EdgeRouter/lambda$2$Type",1476),A(1494,1,Un,JHe),h.Le=function(t,r){return F1n(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/lambda$20$Type",1494),A(1477,1,Un,XHe),h.Le=function(t,r){return uon(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/lambda$3$Type",1477),A(1478,1,Un,ZHe),h.Le=function(t,r){return con(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"EdgeRouter/lambda$4$Type",1478),A(1479,1,{},QHe),h.Kb=function(t){return Ytn(l(t,41))},x(ac,"EdgeRouter/lambda$5$Type",1479),A(1481,1,{},Att),h.Kb=function(t){return yon(this.b,this.a,l(t,41))},h.a=0,h.b=0,x(ac,"EdgeRouter/lambda$7$Type",1481),A(1483,1,{},_tt),h.Kb=function(t){return Ktn(this.b,this.a,l(t,41))},h.a=0,h.b=0,x(ac,"EdgeRouter/lambda$9$Type",1483),A(669,1,{669:1},x1t),h.e=0,h.f=!1,h.g=!1,x(ac,"MultiLevelEdgeNodeNodeGap",669),A(1881,1,Un,eze),h.Le=function(t,r){return gun(l(t,243),l(r,243))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1881),A(1882,1,Un,tze),h.Le=function(t,r){return bun(l(t,243),l(r,243))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(ac,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1882);var l2;A(490,23,{3:1,34:1,23:1,490:1,173:1,177:1},Ole),h.bg=function(){return ggt(this)},h.og=function(){return ggt(this)};var FB,d2,Q_e=fn(rve,"RadialLayoutPhases",490,bn,$an,rin),gRt;A(1094,207,nm,MQe),h.kf=function(t,r){var o,s,u,f,p,m;if(o=pwt(this,t),r.Tg("Radial layout",o.c.length),Ke(We(ye(t,(T1(),lke))))||D3((s=new RA((t1(),new Kp(t))),s)),m=j0n(t),Vn(t,(aE(),l2),m),!m)throw K(new jt(ISt));for(u=ue(ce(ye(t,UB))),u==0&&(u=Bmt(t)),Vn(t,UB,u),p=new V(pwt(this,t));p.a<p.c.c.length;)f=l(q(p),43),f.If(t,r.dh(1));r.Ug()},x(rve,"RadialLayoutProvider",1094),A(548,1,Un,B9),h.Le=function(t,r){return uTn(this.a,this.b,l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},h.a=0,h.b=0,x(rve,"RadialUtil/lambda$0$Type",548),A(1361,1,_r,nze),h.If=function(t,r){eNn(l(t,19),r)},x(ove,"CalculateGraphSize",1361),A(1362,1,_r,rze),h.If=function(t,r){y_n(l(t,19))},x(ove,"EdgeAngleCalculator",1362),A(365,23,{3:1,34:1,23:1,365:1,177:1},mO),h.bg=function(){switch(this.g){case 0:return new cze;case 1:return new ize;case 2:return new lze;case 3:return new nze;case 4:return new rze;default:throw K(new jt(LX+(this.f!=null?this.f:""+this.g)))}};var une,cne,lne,dne,fne,bRt=fn(ove,MX,365,bn,Iln,iin),mRt;A(648,1,{}),h.e=1,h.g=0,x(RZ,"AbstractRadiusExtensionCompaction",648),A(1832,648,{},Wrt),h.Bg=function(t){var r,o,s,u,f,p,m,y,v;for(this.c=l(ye(t,(aE(),l2)),19),iZt(this,this.c),this.d=wY(l(ye(t,(T1(),CL)),304)),y=l(ye(t,pne),15),y&&RKe(this,y.a),m=ce(ye(t,(_n(),Od))),Wue(this,(Mt(m),m)),v=Ty(this.c),this.d&&this.d.Fg(v),ATn(this,v),p=new Ds(Z(X(En,1),OSt,19,0,[this.c])),o=0;o<2;o++)for(r=0;r<v.c.length;r++)u=new Ds(Z(X(En,1),OSt,19,0,[(at(r,v.c.length),l(v.c[r],19))])),f=r<v.c.length-1?(at(r+1,v.c.length),l(v.c[r+1],19)):(at(0,v.c.length),l(v.c[0],19)),s=r==0?l(He(v,v.c.length-1),19):(at(r-1,v.c.length),l(v.c[r-1],19)),Dbt(this,(at(r,v.c.length),l(v.c[r],19),p),s,f,u)},x(RZ,"AnnulusWedgeCompaction",1832),A(1359,1,_r,ize),h.If=function(t,r){Wfn(l(t,19),r)},x(RZ,"GeneralCompactor",1359),A(1831,648,{},oze),h.Bg=function(t){var r,o,s,u;o=l(ye(t,(aE(),l2)),19),this.f=o,this.b=wY(l(ye(t,(T1(),CL)),304)),u=l(ye(t,pne),15),u&&RKe(this,u.a),s=ce(ye(t,(_n(),Od))),Wue(this,(Mt(s),s)),r=Ty(o),this.b&&this.b.Fg(r),gmt(this,r)},h.a=0,x(RZ,"RadialCompaction",1831),A(1840,1,{},sze),h.Cg=function(t){var r,o,s,u,f,p;for(this.a=t,r=0,p=Ty(t),s=0,f=new V(p);f.a<f.c.c.length;)for(u=l(q(f),19),++s,o=s;o<p.c.length;o++)BAn(this,u,(at(o,p.c.length),l(p.c[o],19)))&&(r+=1);return r},x(sve,"CrossingMinimizationPosition",1840),A(1838,1,{},aze),h.Cg=function(t){var r,o,s,u,f,p,m,y,v,T,N,I,L;for(s=0,o=new Ft(Gt(gp(t).a.Jc(),new D));an(o);)r=l(Qt(o),74),m=Vo(l(ie((!r.c&&(r.c=new Et(pn,r,5,8)),r.c),0),83)),v=m.i+m.g/2,T=m.j+m.f/2,u=t.i+t.g/2,f=t.j+t.f/2,N=new to,N.a=v-u,N.b=T-f,p=new Le(N.a,N.b),z_(p,t.g,t.f),N.a-=p.a,N.b-=p.b,u=v-N.a,f=T-N.b,y=new Le(N.a,N.b),z_(y,m.g,m.f),N.a-=y.a,N.b-=y.b,v=u+N.a,T=f+N.b,I=v-u,L=T-f,s+=b.Math.sqrt(I*I+L*L);return s},x(sve,"EdgeLengthOptimization",1838),A(1839,1,{},uze),h.Cg=function(t){var r,o,s,u,f,p,m,y,v,T,N;for(s=0,o=new Ft(Gt(gp(t).a.Jc(),new D));an(o);)r=l(Qt(o),74),m=Vo(l(ie((!r.c&&(r.c=new Et(pn,r,5,8)),r.c),0),83)),y=m.i+m.g/2,v=m.j+m.f/2,u=l(ye(m,(_n(),HT)),8),f=t.i+u.a+t.g/2,p=t.j+u.b+t.f,T=y-f,N=v-p,s+=b.Math.sqrt(T*T+N*N);return s},x(sve,"EdgeLengthPositionOptimization",1839),A(1358,648,_r,cze),h.If=function(t,r){Lyn(this,l(t,19),r)},x("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1358),A(1360,1,_r,lze),h.If=function(t,r){tsn(l(t,19),r)},x("org.eclipse.elk.alg.radial.intermediate.rotation","GeneralRotator",1360),A(431,23,{3:1,34:1,23:1,431:1},Dle);var eke,hne,tke=fn(ZC,"AnnulusWedgeCriteria",431,bn,Ban,oin),wRt;A(387,23,{3:1,34:1,23:1,387:1},zq);var $B,nke,rke,ike=fn(ZC,DSt,387,bn,jun,sin),yRt;A(855,1,td,OWe),h.tf=function(t){st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,ave),""),"Center On Root"),"Centers the layout on the root of the tree i.e. so that the central node is also the center node of the final layout. This introduces additional whitespace."),(Lt(),!1)),(A1(),Ai)),Yr),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,uve),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),Re(0)),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,cve),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,LF),""),"Rotate"),"The rotate option determines whether a rotation of the layout should be performed."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,DZ),""),LSt),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),oke),$r),ike),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,LZ),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),Re(1)),wo),Ti),ct(xt)))),zr(t,LZ,DZ,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,lve),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),ake),$r),Ske),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,dve),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),uke),$r),tke),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,fve),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),ske),$r),yke),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,MZ),pve),"Target Angle"),"The angle in radians that the layout should be rotated to after layout."),0),Qi),fi),ct(xt)))),zr(t,MZ,LF,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,PZ),pve),"Additional Wedge Space"),"If set to true, modifies the target angle by rotating further such that space is left for an edge to pass in between the nodes. This option should only be used in conjunction with top-down layout."),!1),Ai),Yr),ct(xt)))),zr(t,PZ,LF,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,hve),pve),"Outgoing Edge Angles"),"Calculate the required angle of connected nodes to leave space for an incoming edge. This option should only be used in conjunction with top-down layout."),!1),Ai),Yr),ct(xt)))),aEt((new DWe,t))};var vRt,ERt,SRt,oke,TRt,ske,ARt,_Rt,kRt,xRt,NRt,CRt,IRt,ake,RRt,uke;x(ZC,"RadialMetaDataProvider",855),A(1001,1,td,DWe),h.tf=function(t){aEt(t)};var cke,pne,gne,ORt,DRt,LRt,MRt,lke,dke,BB,PRt,jRt,UB,fke,hke,pke,bne,CL,FRt,gke;x(ZC,"RadialOptions",1001),A(1002,1,{},dze),h.uf=function(){var t;return t=new MQe,t},h.vf=function(t){},x(ZC,"RadialOptions/RadialFactory",1002),A(355,23,{3:1,34:1,23:1,355:1},p8);var bke,mke,wke,mne,yke=fn(ZC,"RadialTranslationStrategy",355,bn,Hcn,ain),$Rt;A(304,23,{3:1,34:1,23:1,304:1},Gq);var vke,wne,Eke,Ske=fn(ZC,"SortingStrategy",304,bn,Gun,uin),BRt;A(1448,1,Fi,fze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){evn(this,l(t,19),r)},h.c=0,x("org.eclipse.elk.alg.radial.p1position","EadesRadial",1448),A(1836,1,{},hze),h.Dg=function(t){return c1t(t)},x(MSt,"AnnulusWedgeByLeafs",1836),A(1837,1,{},pze),h.Dg=function(t){return Abt(this,t)},x(MSt,"AnnulusWedgeByNodeSpace",1837),A(1449,1,Fi,gze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){bgn(this,l(t,19),r)},x("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1449),A(818,1,{},Oce),h.Eg=function(t){},h.Fg=function(t){ZXe(this,t)},x(gve,"IDSorter",818),A(1835,1,Un,bze),h.Le=function(t,r){return Vfn(l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(gve,"IDSorter/lambda$0$Type",1835),A(1834,1,{},rht),h.Eg=function(t){Kut(this,t)},h.Fg=function(t){var r;t.dc()||(this.e||(r=Dot(l(t.Xb(0),19)),Kut(this,r)),ZXe(this.e,t))},x(gve,"PolarCoordinateSorter",1834),A(441,23,{3:1,34:1,23:1,441:1},qq);var r4,HB,yne,Tke=fn($St,"RectPackingLayoutPhases",441,bn,zun,cin),URt;A(1098,207,nm,PQe),h.kf=function(t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;if(r.Tg("Rectangle Packing",1),N=l(ye(t,(ef(),s4)),100),y=Ke(We(ye(t,lOt))),T=ue(ce(ye(t,a4))),dt=Ke(We(ye(t,jke))),le=(!t.a&&(t.a=new xe(En,t,10,11)),t.a),Ke(We(ye(t,xne)))||D3((u=new RA((t1(),new Kp(t))),u)),lt=!1,dt&&le.i>=3)for(we=l(ie(le,0),19),Ge=l(ie(le,1),19),f=0;f+2<le.i;)if(Ee=we,we=Ge,Ge=l(ie(le,f+2),19),Ee.f>=we.f+Ge.f+T||Ge.f>=Ee.f+we.f+T){lt=!0;break}else++f;else lt=!0;if(!lt){for(I=le.i,m=new en(le);m.e!=m.i.gc();)p=l(rn(m),19),Vn(p,(_n(),BL),Re(I)),--I;Vyt(t,new iS),r.Ug();return}for(o=(O3(this.a),pc(this.a,(Jj(),r4),l(ye(t,Uke),173)),pc(this.a,HB,l(ye(t,Mke),173)),pc(this.a,yne,l(ye(t,Fke),173)),Yle(this.a,(Ct=new ui,Fn(Ct,r4,(v7(),Sne)),Fn(Ct,HB,Ene),Ke(We(ye(t,Dke)))&&Fn(Ct,r4,Tne),Ke(We(ye(t,Oke)))&&Fn(Ct,r4,vne),Ct)),MC(this.a,t)),v=1/o.c.length,U=new V(o);U.a<U.c.c.length;){if(L=l(q(U),43),r.Zg())return;L.If(t,r.dh(v))}for(J=0,G=0,oe=new en(le);oe.e!=oe.i.gc();)ne=l(rn(oe),19),J=b.Math.max(J,ne.i+ne.g),G=b.Math.max(G,ne.j+ne.f);Kbe(t,new Le(ue(ce(ye(t,(yh(),jT)))),ue(ce(ye(t,lx)))),new Le(J,G)),bhn(le,N),y||L0(t,ue(ce(ye(t,jT)))+(N.b+N.c),ue(ce(ye(t,lx)))+(N.d+N.a),!1,!0),Ke(We(ye(t,xne)))||D3((s=new RA((t1(),new Kp(t))),s)),r.Ug()},x($St,"RectPackingLayoutProvider",1098),A(1496,1,_r,mze),h.If=function(t,r){v_n(l(t,19),r)},x(QC,"InteractiveNodeReorderer",1496),A(1497,1,Un,wze),h.Le=function(t,r){return epn(l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(QC,"InteractiveNodeReorderer/lambda$0$Type",1497),A(406,23,{3:1,34:1,23:1,406:1,177:1},g8),h.bg=function(){switch(this.g){case 0:return new Sze;case 1:return new mze;case 2:return new vze;case 3:return new yze}return null};var vne,Ene,Sne,Tne,HRt=fn(QC,MX,406,bn,zcn,lin),zRt;A(1499,1,_r,yze),h.If=function(t,r){Qgn(l(t,19),r)},x(QC,"MinSizePostProcessor",1499),A(1498,1,_r,vze),h.If=function(t,r){n2n(l(t,19),r)},x(QC,"MinSizePreProcessor",1498),A(1688,1,Un,Eze),h.Le=function(t,r){return Cen(l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(QC,"NodeSizeComparator",1688),A(1495,1,_r,Sze),h.If=function(t,r){kcn(l(t,19))},x(QC,"NodeSizeReorderer",1495);var i4,lx,jT,GRt,qRt,zB,Ane,_ne,o4,GB,rv;A(388,23,{3:1,34:1,23:1,388:1},Vq);var Ake,_ke,kne,kke=fn(jZ,"OptimizationGoal",388,bn,Fun,din),VRt;A(857,1,td,BWe),h.tf=function(t){st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,bve),""),"Try box layout first"),"Whether one should check whether the regions are stackable to see whether box layout would do the job. For example, nodes with the same height are not stackable inside a row. Therefore, box layout will perform better and faster."),(Lt(),!1)),(A1(),Ai)),Yr),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,mve),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),Re(-1)),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,wve),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),Re(-1)),wo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,yve),""),"In new Row"),"If set to true this node begins in a new row. Consequently this node cannot be moved in a previous layer during compaction. Width approximation does does not take this into account."),!1),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,vve),""),"Order nodes by height"),"If set to true the nodes will be sorted by their height before computing the layout. The largest node will be in the first position."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Eve),FZ),"Width Approximation Strategy"),"Strategy for finding an initial width of the drawing."),Ike),$r),Gke),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Sve),FZ),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Tve),FZ),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),Cke),$r),kke),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Ave),FZ),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),!0),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,_ve),"packing"),BSt),"Strategy for finding an initial placement on nodes."),xke),$r),Wke),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,kve),USt),"Row Height Reevaluation"),"During the compaction step the height of a row is normally not changed. If this options is set, the blocks of other rows might be added if they exceed the row height. If this is the case the whole row has to be packed again to be optimal regarding the new row height. This option should, therefore, be used with care since it might be computation heavy."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,xve),USt),"Compaction iterations"),"Defines the number of compaction iterations. E.g. if set to 2 the width is initially approximated, then the drawing is compacted and based on the resulting drawing the target width is decreased or increased and a second compaction step is executed and the result compared to the first one. The best run is used based on the scale measure."),Re(1)),wo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Nve),"whiteSpaceElimination"),"White Space Approximation Strategy"),"Strategy for expanding nodes such that whitespace in the parent is eliminated."),Nke),$r),Jke),ct(xt)))),TEt((new $We,t))};var WRt,KRt,YRt,JRt,XRt,ZRt,QRt,xke,eOt,tOt,Nke,nOt,rOt,Cke,iOt,Ike,oOt;x(jZ,"RectPackingMetaDataProvider",857),A(1007,1,td,$We),h.tf=function(t){TEt(t)};var qB,sOt,Rke,IL,Oke,aOt,RL,uOt,cOt,lOt,dOt,fOt,xne,Dke,Lke,Nne,Mke,s4,Pke,hOt,a4,jke,Fke,$ke,Bke,Uke,Cne;x(jZ,"RectPackingOptions",1007),A(1008,1,{},Tze),h.uf=function(){var t;return t=new PQe,t},h.vf=function(t){},x(jZ,"RectPackingOptions/RectpackingFactory",1008),A(1687,1,{},Vit),h.a=0,h.c=!1,x(kk,"AreaApproximation",1687);var Hke=Hr(kk,"BestCandidateFilter");A(671,1,{527:1},AG),h.Gg=function(t,r,o){var s,u,f,p,m,y;for(y=new Pe,f=Kr,m=new V(t);m.a<m.c.c.length;)p=l(q(m),241),f=b.Math.min(f,(p.c+(o.b+o.c))*(p.b+(o.d+o.a)));for(u=new V(t);u.a<u.c.c.length;)s=l(q(u),241),(s.c+(o.b+o.c))*(s.b+(o.d+o.a))==f&&Ot(y.c,s);return y},x(kk,"AreaFilter",671),A(672,1,{527:1},_G),h.Gg=function(t,r,o){var s,u,f,p,m,y;for(m=new Pe,y=Kr,p=new V(t);p.a<p.c.c.length;)f=l(q(p),241),y=b.Math.min(y,b.Math.abs((f.c+(o.b+o.c))/(f.b+(o.d+o.a))-r));for(u=new V(t);u.a<u.c.c.length;)s=l(q(u),241),b.Math.abs((s.c+(o.b+o.c))/(s.b+(o.d+o.a))-r)==y&&Ot(m.c,s);return m},x(kk,"AspectRatioFilter",672),A(1441,1,Fi,Aze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){uSn(l(t,19),r)},x(kk,"GreedyWidthApproximator",1441),A(670,1,{527:1},kG),h.Gg=function(t,r,o){var s,u,f,p,m,y;for(y=new Pe,f=Oi,m=new V(t);m.a<m.c.c.length;)p=l(q(m),241),f=b.Math.max(f,iP(p.c+(o.b+o.c),p.b+(o.d+o.a),p.a));for(u=new V(t);u.a<u.c.c.length;)s=l(q(u),241),iP(s.c+(o.b+o.c),s.b+(o.d+o.a),s.a)==f&&Ot(y.c,s);return y},x(kk,"ScaleMeasureFilter",670),A(1442,1,Fi,_ze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){tvn(l(t,19),r)},x(kk,"TargetWidthWidthApproximator",1442),A(481,23,{3:1,34:1,23:1,481:1,173:1,177:1},Lle),h.bg=function(){return Lbt(this)},h.og=function(){return Lbt(this)};var Ine,zke,Gke=fn(kk,"WidthApproximationStrategy",481,bn,Han,yin),pOt;A(1443,1,Fi,kze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){lNn(this,l(t,19),r)},x(MF,"Compactor",1443),A(1445,1,Fi,xze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){H2n(l(t,19),r)},x(MF,"NoPlacement",1445),A(434,23,{3:1,34:1,23:1,434:1,173:1,177:1},Wq),h.bg=function(){return Bpt(this)},h.og=function(){return Bpt(this)};var Rne,qke,Vke,Wke=fn(MF,"PackingStrategy",434,bn,Uun,vin),gOt;A(804,1,{},$le),h.a=0,h.b=0,h.c=0,h.d=Kr,h.e=0,h.f=Kr,x(MF,"RowFillingAndCompaction",804),A(1444,1,Fi,Nze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){_kn(l(t,19),r)},x(MF,"SimplePlacement",1444),A(1446,1,Fi,Cze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){this.Hg(l(t,19),r)},h.Hg=function(t,r){D0t(t,r)},x(Cve,"EqualWhitespaceEliminator",1446),A(1447,1446,Fi,Ize),h.Hg=function(t,r){var o,s,u,f,p;r.Tg("To Aspect Ratio Whitesapce Eliminator",1),p=ue(ce(ye(t,(yh(),jT)))),f=ue(ce(ye(t,lx))),u=ue(ce(ye(t,(ef(),qB)))),o=ue(ce(ye(t,i4))),s=p/f,s<u?(p=f*u,Vn(t,jT,p)):(o+=p/u-f,Vn(t,i4,o),Vn(t,lx,f+o)),D0t(t,r),r.Ug()},x(Cve,"ToAspectratioNodeExpander",1447),A(435,23,{3:1,34:1,23:1,435:1,173:1,177:1},Kq),h.bg=function(){return Dht(this)},h.og=function(){return Dht(this)};var Kke,One,Yke,Jke=fn(Cve,"WhiteSpaceEliminationStrategy",435,bn,Bun,Ein),bOt;A(175,1,{175:1},PK),h.a=0,h.c=!1,h.d=0,h.e=0,h.f=0,h.g=0,h.i=0,h.k=!1,h.o=Kr,h.p=Kr,h.r=0,h.s=0,h.t=0,x(UD,"Block",175),A(211,1,{211:1},DP),h.a=0,h.b=0,h.d=0,h.e=0,h.f=0,x(UD,"BlockRow",211),A(320,1,{320:1},The),h.b=0,h.c=0,h.d=0,h.e=0,h.f=0,x(UD,"BlockStack",320),A(241,1,{241:1},kfe,x1e),h.a=0,h.b=0,h.c=0,h.d=0,h.e=0,h.g=0;var B3n=x(UD,"DrawingData",241);A(370,23,{3:1,34:1,23:1,370:1},wO);var FT,f2,u4,c4,OL,mOt=fn(UD,"DrawingDataDescriptor",370,bn,Oln,hin),wOt;A(189,1,{189:1},jhe),h.b=0,h.c=0,h.e=0,h.f=0,x(UD,"RectRow",189),A(757,1,{},Gge),h.j=0,x(Dy,V2t,757),A(1186,1,{},Rze),h.$e=function(t){return f1(t.a,t.b)},x(Dy,dwe,1186),A(1187,1,{},qJe),h.$e=function(t){return Hln(this.a,t)},x(Dy,W2t,1187),A(1188,1,{},VJe),h.$e=function(t){return G1n(this.a,t)},x(Dy,K2t,1188),A(1189,1,{},WJe),h.$e=function(t){return Hhn(this.a,t)},x(Dy,"ElkGraphImporter/lambda$3$Type",1189),A(1190,1,{},KJe),h.$e=function(t){return mvn(this.a,t)},x(Dy,Y2t,1190),A(1095,207,nm,jQe),h.kf=function(t,r){var o,s,u,f,p,m,y,v,T,N,I,L;for(Gc(t,(W6(),JB))&&(L=In(ye(t,(TY(),mxe))),f=Xme(G3(),L),f&&(p=l(KO(f.f),207),p.kf(t,r.dh(1)))),Vn(t,$ne,(r6(),YB)),Vn(t,Bne,(K6(),Fne)),Vn(t,Une,(A6(),XB)),m=l(ye(t,(TY(),pxe)),15).a,r.Tg("Overlap removal",1),Ke(We(ye(t,FOt))),y=new hi,v=new YJe(y),s=new Gge,o=SEt(s,t),T=!0,u=0;u<m&&T;){if(Ke(We(ye(t,gxe)))){if(y.a.$b(),wyn(new Hnt(v),o.i),y.a.gc()==0)break;o.e=y}for(O3(this.b),pc(this.b,(D6(),VB),(WN(),DL)),pc(this.b,WB,o.g),pc(this.b,KB,(K9(),Mne)),this.a=MC(this.b,o),I=new V(this.a);I.a<I.c.c.length;)N=l(q(I),43),N.If(o,r.dh(1));Umn(s,o),T=Ke(We(j(o,(E_(),p2e)))),++u}Lvt(s,o),r.Ug()},x(Dy,"OverlapRemovalLayoutProvider",1095),A(1096,1,{},YJe),x(Dy,"OverlapRemovalLayoutProvider/lambda$0$Type",1096),A(440,23,{3:1,34:1,23:1,440:1},Yq);var VB,WB,KB,Dne=fn(Dy,"SPOrEPhases",440,bn,Hun,gin),yOt;A(1196,1,{},FQe),x(Dy,"ShrinkTree",1196),A(1097,207,nm,HZe),h.kf=function(t,r){var o,s,u,f,p;Gc(t,(W6(),JB))&&(p=In(ye(t,JB)),u=Xme(G3(),p),u&&(f=l(KO(u.f),207),f.kf(t,r.dh(1)))),s=new Gge,o=SEt(s,t),qEn(this.a,o,r.dh(1)),Lvt(s,o)},x(Dy,"ShrinkTreeLayoutProvider",1097),A(311,151,{3:1,311:1,105:1,151:1},$at),h.c=!1,x("org.eclipse.elk.alg.spore.graph","Graph",311),A(480,23,{3:1,34:1,23:1,480:1,173:1,177:1},Pet),h.bg=function(){return apt(this)},h.og=function(){return apt(this)};var Lne,Xke=fn(Ly,DSt,480,bn,Ysn,pin),vOt;A(550,23,{3:1,34:1,23:1,550:1,173:1,177:1},Ort),h.bg=function(){return new Nue},h.og=function(){return new Nue};var Mne,EOt=fn(Ly,"OverlapRemovalStrategy",550,bn,Ksn,bin),SOt;A(433,23,{3:1,34:1,23:1,433:1},Mle);var YB,Pne,Zke=fn(Ly,"RootSelection",433,bn,Uan,min),TOt;A(331,23,{3:1,34:1,23:1,331:1},yO);var Qke,jne,Fne,exe,txe,nxe=fn(Ly,"SpanningTreeCostFunction",331,bn,Dln,win),AOt;A(1005,1,td,zWe),h.tf=function(t){fvt(t)};var rxe,ixe,_Ot,kOt,oxe,sxe,$ne,Bne,Une,xOt,NOt,JB;x(Ly,"SporeCompactionOptions",1005),A(1006,1,{},Oze),h.uf=function(){var t;return t=new HZe,t},h.vf=function(t){},x(Ly,"SporeCompactionOptions/SporeCompactionFactory",1006),A(856,1,td,GWe),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,$Z),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(A1(),BT)),Ye),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,HZ),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),fxe),$r),wxe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Ive),zZ),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),lxe),$r),vxe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Rve),zZ),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),cxe),$r),nxe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,BZ),zZ),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),BT),Ye),ct(xt)))),zr(t,BZ,UZ,LOt),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,UZ),zZ),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),uxe),$r),Zke),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Ove),sye),BSt),"This option defines how the compaction is applied."),axe),$r),Xke),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Dve),sye),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(Lt(),!1)),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Lve),zSt),"Upper limit for iterations of overlap removal"),null),Re(64)),wo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Mve),zSt),"Whether to run a supplementary scanline overlap check."),null),!0),Ai),Yr),ct(xt)))),pyt((new qWe,t)),fvt((new zWe,t))};var COt,axe,IOt,ROt,OOt,DOt,LOt,MOt,uxe,POt,cxe,jOt,lxe,dxe,fxe,hxe;x(Ly,"SporeMetaDataProvider",856),A(1003,1,td,qWe),h.tf=function(t){pyt(t)};var FOt,pxe,gxe,bxe,$Ot,mxe;x(Ly,"SporeOverlapRemovalOptions",1003),A(1004,1,{},Dze),h.uf=function(){var t;return t=new jQe,t},h.vf=function(t){},x(Ly,"SporeOverlapRemovalOptions/SporeOverlapFactory",1004),A(531,23,{3:1,34:1,23:1,531:1,173:1,177:1},jst),h.bg=function(){return upt(this)},h.og=function(){return upt(this)};var DL,wxe=fn(Ly,"StructureExtractionStrategy",531,bn,Jsn,Sin),BOt;A(432,23,{3:1,34:1,23:1,432:1,173:1,177:1},Ple),h.bg=function(){return bgt(this)},h.og=function(){return bgt(this)};var yxe,XB,vxe=fn(Ly,"TreeConstructionStrategy",432,bn,zan,Tin),UOt;A(1435,1,Fi,$ze),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){Gmn(l(t,311),r)},x(GSt,"DelaunayTriangulationPhase",1435),A(1436,1,tn,JJe),h.Ad=function(t){je(this.a,l(t,68).a)},x(GSt,"DelaunayTriangulationPhase/lambda$0$Type",1436),A(788,1,Fi,Rce),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){this.Ig(l(t,311),r)},h.Ig=function(t,r){var o,s,u;r.Tg("Minimum spanning tree construction",1),t.d?s=t.d.a:s=l(He(t.i,0),68).a,Ke(We(j(t,(E_(),wI))))?u=LJ(t.e,s,(o=t.b,o)):u=LJ(t.e,s,t.b),Uht(this,u,t),r.Ug()},x(GZ,"MinSTPhase",788),A(1438,788,Fi,kZe),h.Ig=function(t,r){var o,s,u,f;r.Tg("Maximum spanning tree construction",1),o=new XJe(t),t.d?u=t.d.c:u=l(He(t.i,0),68).c,Ke(We(j(t,(E_(),wI))))?f=LJ(t.e,u,(s=o,s)):f=LJ(t.e,u,o),Uht(this,f,t),r.Ug()},x(GZ,"MaxSTPhase",1438),A(1439,1,{},XJe),h.$e=function(t){return ben(this.a,t)},x(GZ,"MaxSTPhase/lambda$0$Type",1439),A(1437,1,tn,ZJe),h.Ad=function(t){ttn(this.a,l(t,68))},x(GZ,"MinSTPhase/lambda$0$Type",1437),A(790,1,Fi,Nue),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){nwn(this,l(t,311),r)},h.a=!1,x(qZ,"GrowTreePhase",790),A(791,1,tn,afe),h.Ad=function(t){Ohn(this.a,this.b,this.c,l(t,227))},x(qZ,"GrowTreePhase/lambda$0$Type",791),A(1440,1,Fi,Bze),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){pbn(this,l(t,311),r)},x(qZ,"ShrinkTreeCompactionPhase",1440),A(789,1,tn,ufe),h.Ad=function(t){Fvn(this.a,this.b,this.c,l(t,227))},x(qZ,"ShrinkTreeCompactionPhase/lambda$0$Type",789),A(389,23,{3:1,34:1,23:1,389:1},jle);var Exe,Hne,Sxe=fn(Pve,"EdgeRoutingStrategy",389,bn,qan,Ain),HOt,uw,vm,dx,zne,fx,zOt,LL,Jf,iv,l4;A(396,23,{3:1,34:1,23:1,396:1},b8);var Gne,qne,Vne,Wne,Txe=fn(Pve,"VertiFlexLayoutPhases",396,bn,qcn,_in),GOt;A(1099,207,nm,$Qe),h.kf=function(t,r){var o,s,u,f,p,m,y,v,T,N,I;if(o=zvn(this,t),r.Tg(TSt,o.c.length),this.b=ue(ce(ye(t,(_n(),Od)))),Ke(We(ye(t,(XS(),kxe))))||D3((s=new RA((t1(),new Kp(t))),s)),I=F0n(t),Vn(t,(wh(),l4),I),!I)throw K(new Af(ISt));for(f=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));f.e!=f.i.gc();){if(u=l(rn(f),19),v=(!u.d&&(u.d=new Et(Cr,u,8,5)),u.d).i,v>1)throw K(new Af("The given graph is not an acyclic tree!"));ya(u,0),gu(u,0)}for(Avt(this,I,0),p=0,y=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));y.e!=y.i.gc();)m=l(rn(y),19),Vn(m,LL,Re(p)),p+=1;for(N=new V(o);N.a<N.c.c.length;)T=l(q(N),43),T.If(t,r.dh(1));MEn(t),r.Ug()},h.b=0,x(Pve,"VertiFlexLayoutProvider",1099),A(858,1,td,VWe),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,jve),""),"Fixed vertical position"),"The Y position that the node should be fixed at."),(A1(),Qi)),fi),ct((Jd(),ri))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Fve),""),"Edge layout strategy"),"Strategy for the layout of the children. 'straight' for straight line drawings, 'bend' for a possible bend. When straight edges are prioritized the nodes will be reordered in order to guarantee that straight edges are possible. If bend points are enabled on the other hand, the given model order of the nodes is maintained and bend points are introduced to prevent edge node overlaps."),Axe),$r),Sxe),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,$ve),""),"Layer distance"),"The distance to use between nodes of different layers if no vertical constraints are set."),50),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Bve),""),"Consider node model order"),"Consider node model as a secondary criterion when using straight line routing."),(Lt(),!0)),Ai),Yr),ct(xt)))),Evt((new WWe,t))};var qOt,VOt,WOt,Axe,KOt;x(Uve,"VertiFlexMetaDataProvider",858),A(1009,1,td,WWe),h.tf=function(t){Evt(t)};var Kne,YOt,_xe,Yne,JOt,kxe,xxe,XOt,hx;x(Uve,"VertiFlexOptions",1009),A(1010,1,{},Uze),h.uf=function(){var t;return t=new $Qe,t},h.vf=function(t){},x(Uve,"VertiFlexOptions/VertiflexFactory",1010),A(1450,1,Fi,Hze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){nyn(this,l(t,19),r)},h.a=0,h.b=0,x(qSt,"NodeYPlacer",1450),A(557,23,{3:1,34:1,23:1,557:1,173:1,177:1},Mot),h.bg=function(){return cpt(this)},h.og=function(){return cpt(this)};var Jne,ZOt=fn(qSt,"NodeYPlacerStrategy",557,bn,qsn,kin),QOt;A(824,1,Un,dce),h.Le=function(t,r){return Pbn(this,l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},h.a=!1,x(VZ,"NodeComparator",824),A(107,1,{107:1},Zu),h.Ib=function(){return"X:"+this.c+", Y:"+this.a},h.a=0,h.c=0,x(VZ,"OutlineNode",107),A(1451,1,Fi,zze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){kEn(this,l(t,19),r)},h.a=!1,h.b=0,x(VZ,"RelativeXPlacer",1451),A(558,23,{3:1,34:1,23:1,558:1,173:1,177:1},Lot),h.bg=function(){return lpt(this)},h.og=function(){return lpt(this)};var Xne,e6t=fn(VZ,"RelativeXPlacerStrategy",558,bn,Vsn,xin),t6t;A(1452,1,Fi,Mze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){dmn(this,l(t,19),r)},x(VSt,"AbsoluteXPlacer",1452),A(559,23,{3:1,34:1,23:1,559:1,173:1,177:1},ast),h.bg=function(){return dpt(this)},h.og=function(){return dpt(this)};var Zne,n6t=fn(VSt,"AbsoluteXPlacerStrategy",559,bn,Wsn,Nin),r6t;A(1454,1,Fi,Pze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Lgn(this,l(t,19),r)},x(Hve,WSt,1454),A(498,23,{3:1,34:1,23:1,498:1,173:1,177:1},Fle),h.bg=function(){return xbt(this)},h.og=function(){return xbt(this)};var Qne,ere,i6t=fn(Hve,"EdgerouterStrategy",498,bn,Gan,Cin),o6t;A(1453,1,Fi,jze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){b1n(this,l(t,19),r)},x(Hve,KSt,1453);var Nxe=Hr(Vs,"IGraphElementVisitor");A(862,1,{528:1},Aut),h.Jg=function(t){var r;r=JSn(this,t),qs(r,l(Ut(this.b,t),105)),HEn(this,t,r)};var s6t,a6t;x(LE,"LayoutConfigurator",862);var U3n=Hr(LE,"LayoutConfigurator/IPropertyHolderOptionFilter");A(935,1,{837:1},Lze),h.Lg=function(t,r){return zS(),!t.nf(r)},x(LE,"LayoutConfigurator/lambda$0$Type",935),A(936,1,{2011:1},Fze),h.Kg=function(t,r){return zS(),!t.nf(r)},x(LE,"LayoutConfigurator/lambda$1$Type",936),A(937,1,{2011:1},HXt),h.Kg=function(t,r){return BQe(t,r)},x(LE,"LayoutConfigurator/lambda$2$Type",937),A(938,1,Ln,ktt),h.Mb=function(t){return Usn(this.a,this.b,l(t,2011))},x(LE,"LayoutConfigurator/lambda$3$Type",938),A(860,1,{},Gze),x(LE,"RecursiveGraphLayoutEngine",860),A(194,63,wp,rZe,Af),x(LE,"UnsupportedConfigurationException",194),A(367,63,wp,aS),x(LE,"UnsupportedGraphException",367),A(756,1,{}),x(Vs,"AbstractRandomListAccessor",756),A(403,756,{},J_),h.Mg=function(){return null},h.d=!0,h.e=!0,h.f=0,x(Nk,"AlgorithmAssembler",403),A(1181,1,Ln,qze),h.Mb=function(t){return!!l(t,86)},x(Nk,"AlgorithmAssembler/lambda$0$Type",1181),A(1182,1,{},QJe),h.Kb=function(t){return IQt(this.a,l(t,86))},x(Nk,"AlgorithmAssembler/lambda$1$Type",1182),A(1183,1,Ln,Vze),h.Mb=function(t){return!!l(t,75)},x(Nk,"AlgorithmAssembler/lambda$2$Type",1183),A(1184,1,tn,eXe),h.Ad=function(t){yc(this.a,l(t,75))},x(Nk,"AlgorithmAssembler/lambda$3$Type",1184),A(1185,1,tn,xtt),h.Ad=function(t){Qtn(this.a,this.b,l(t,177))},x(Nk,"AlgorithmAssembler/lambda$4$Type",1185),A(1311,1,Un,Wze),h.Le=function(t,r){return wan(l(t,177),l(r,177))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Nk,"EnumBasedFactoryComparator",1311),A(75,756,{75:1},ui),h.Mg=function(){return new hi},h.a=0,x(Nk,"LayoutProcessorConfiguration",75),A(1018,1,{528:1},KWe),h.Jg=function(t){v6(c6t,new tXe(t))};var u6t,c6t,l6t;x(xs,"DeprecatedLayoutOptionReplacer",1018),A(1019,1,tn,Kze),h.Ad=function(t){_dn(l(t,176))},x(xs,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1019),A(1020,1,tn,Yze),h.Ad=function(t){Wgn(l(t,176))},x(xs,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1020),A(1021,1,{},tXe),h.Wd=function(t,r){Xtn(this.a,l(t,149),l(r,42))},x(xs,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1021),A(144,1,{697:1,144:1},Xb),h.Fb=function(t){return epe(this,t)},h.Ng=function(){return this.b},h.Og=function(){return this.c},h.ve=function(){return this.e},h.Hb=function(){return cg(this.c)},h.Ib=function(){return"Layout Algorithm: "+this.c};var H3n=x(xs,"LayoutAlgorithmData",144);A(271,1,{},wb),x(xs,"LayoutAlgorithmData/Builder",271),A(714,1,{528:1},Jze),h.Jg=function(t){kct(t)},x(xs,"LayoutAlgorithmResolver",714),A(236,1,{697:1,236:1},OS),h.Fb=function(t){return se(t,236)?mt(this.b,l(t,236).b):!1},h.Ng=function(){return this.a},h.Og=function(){return this.b},h.ve=function(){return this.d},h.Hb=function(){return cg(this.b)},h.Ib=function(){return"Layout Type: "+this.b},x(xs,"LayoutCategoryData",236),A(358,1,{},Z2),x(xs,"LayoutCategoryData/Builder",358),A(869,1,{},tyt);var tre;x(xs,"LayoutMetaDataService",869),A(870,1,{},Nst),x(xs,"LayoutMetaDataService/Registry",870),A(478,1,{478:1},Cue),x(xs,"LayoutMetaDataService/Registry/Triple",478),A(871,1,FE,Xze),h.Pg=function(){return new to},x(xs,"LayoutMetaDataService/lambda$0$Type",871),A(872,1,My,Zze),h.Qg=function(t){return So(l(t,8))},x(xs,"LayoutMetaDataService/lambda$1$Type",872),A(881,1,FE,Qze),h.Pg=function(){return new Pe},x(xs,"LayoutMetaDataService/lambda$10$Type",881),A(882,1,My,eGe),h.Qg=function(t){return new Tu(l(t,13))},x(xs,"LayoutMetaDataService/lambda$11$Type",882),A(883,1,FE,tGe),h.Pg=function(){return new Sr},x(xs,"LayoutMetaDataService/lambda$12$Type",883),A(884,1,My,nGe),h.Qg=function(t){return $O(l(t,66))},x(xs,"LayoutMetaDataService/lambda$13$Type",884),A(885,1,FE,rGe),h.Pg=function(){return new hi},x(xs,"LayoutMetaDataService/lambda$14$Type",885),A(886,1,My,iGe),h.Qg=function(t){return wW(l(t,47))},x(xs,"LayoutMetaDataService/lambda$15$Type",886),A(887,1,FE,oGe),h.Pg=function(){return new uh},x(xs,"LayoutMetaDataService/lambda$16$Type",887),A(888,1,My,sGe),h.Qg=function(t){return GP(l(t,47))},x(xs,"LayoutMetaDataService/lambda$17$Type",888),A(889,1,FE,aGe),h.Pg=function(){return new YG},x(xs,"LayoutMetaDataService/lambda$18$Type",889),A(890,1,My,uGe),h.Qg=function(t){return not(l(t,143))},x(xs,"LayoutMetaDataService/lambda$19$Type",890),A(873,1,FE,cGe),h.Pg=function(){return new Du},x(xs,"LayoutMetaDataService/lambda$2$Type",873),A(874,1,My,lGe),h.Qg=function(t){return new F9(l(t,79))},x(xs,"LayoutMetaDataService/lambda$3$Type",874),A(875,1,FE,dGe),h.Pg=function(){return new MN},x(xs,"LayoutMetaDataService/lambda$4$Type",875),A(876,1,My,fGe),h.Qg=function(t){return new IV(l(t,125))},x(xs,"LayoutMetaDataService/lambda$5$Type",876),A(877,1,FE,hGe),h.Pg=function(){return new rS},x(xs,"LayoutMetaDataService/lambda$6$Type",877),A(878,1,My,pGe),h.Qg=function(t){return new sfe(l(t,100))},x(xs,"LayoutMetaDataService/lambda$7$Type",878),A(879,1,FE,gGe),h.Pg=function(){return new xG},x(xs,"LayoutMetaDataService/lambda$8$Type",879),A(880,1,My,bGe),h.Qg=function(t){return new Ddt(l(t,380))},x(xs,"LayoutMetaDataService/lambda$9$Type",880);var nre=Hr(_D,"IProperty");A(21,1,{34:1,697:1,21:1,149:1},Ze),h.Dd=function(t){return mtn(this,l(t,149))},h.Fb=function(t){return se(t,21)?mt(this.f,l(t,21).f):se(t,149)&&mt(this.f,l(t,149).Og())},h.Rg=function(){var t;if(se(this.b,4)){if(t=N1e(this.b),t==null)throw K(new Xo(ZSt+this.f+"'. Make sure it's type is registered with the "+(ep(sM),sM.k)+zve));return t}else return this.b},h.Ng=function(){return this.d},h.Og=function(){return this.f},h.ve=function(){return this.i},h.Hb=function(){return cg(this.f)},h.Ib=function(){return"Layout Option: "+this.f},x(xs,"LayoutOptionData",21),A(25,1,{},Xe),x(xs,"LayoutOptionData/Builder",25),A(161,23,{3:1,34:1,23:1,161:1},vO);var Rd,kp,ri,xt,Ng,cf=fn(xs,"LayoutOptionData/Target",161,bn,Pln,Iin),d6t;A(287,23,{3:1,34:1,23:1,287:1},hS);var Ai,Qi,$r,$T,wo,lf,BT,Cxe,f6t=fn(xs,"LayoutOptionData/Type",287,bn,Ydn,Rin),h6t,d4,Ixe;A(120,1,{120:1},bS,ql,NP),h.Fb=function(t){var r;return t==null||!se(t,120)?!1:(r=l(t,120),ia(this.c,r.c)&&ia(this.d,r.d)&&ia(this.b,r.b)&&ia(this.a,r.a))},h.Hb=function(){return Pj(Z(X(Ci,1),Rt,1,5,[this.c,this.d,this.b,this.a]))},h.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},h.a=0,h.b=0,h.c=0,h.d=0,x(LD,"ElkRectangle",120),A(8,1,{3:1,4:1,8:1,419:1},to,kW,Le,Eo),h.Fb=function(t){return qft(this,t)},h.Hb=function(){return gS(this.a)+Gbn(gS(this.b))},h.ag=function(t){var r,o,s,u;for(s=0;s<t.length&&Opt((Yt(s,t.length),t.charCodeAt(s)),U2t);)++s;for(r=t.length;r>0&&Opt((Yt(r-1,t.length),t.charCodeAt(r-1)),H2t);)--r;if(s>=r)throw K(new jt("The given string does not contain any numbers."));if(u=ky((no(s,r,t.length),t.substr(s,r-s)),`,|;|\r|
|
||
`),u.length!=2)throw K(new jt("Exactly two numbers are expected, "+u.length+" were found."));try{this.a=yy(vy(u[0])),this.b=yy(vy(u[1]))}catch(f){throw f=ci(f),se(f,133)?(o=f,K(new jt(z2t+o))):K(f)}},h.Ib=function(){return"("+this.a+","+this.b+")"},h.a=0,h.b=0;var $i=x(LD,"KVector",8);A(79,66,{3:1,4:1,22:1,32:1,56:1,18:1,66:1,16:1,79:1,419:1},Du,F9,Prt),h.Nc=function(){return lpn(this)},h.ag=function(t){var r,o,s,u,f,p;s=ky(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
|
||
`),ec(this);try{for(o=0,f=0,u=0,p=0;o<s.length;)s[o]!=null&&vy(s[o]).length>0&&(f%2==0?u=yy(s[o]):p=yy(s[o]),f>0&&f%2!=0&&Gn(this,new Le(u,p)),++f),++o}catch(m){throw m=ci(m),se(m,133)?(r=m,K(new jt("The given string does not match the expected format for vectors."+r))):K(m)}},h.Ib=function(){var t,r,o;for(t=new fc("("),r=An(this,0);r.b!=r.d.c;)o=l(Sn(r),8),zn(t,o.a+","+o.b),r.b!=r.d.c&&(t.a+="; ");return(t.a+=")",t).a};var Rxe=x(LD,"KVectorChain",79);A(259,23,{3:1,34:1,23:1,259:1},r3);var rre,ZB,QB,ML,PL,eU,Oxe=fn(Pa,"Alignment",259,bn,hdn,Oin),p6t;A(984,1,td,YWe),h.tf=function(t){Nyt(t)};var Dxe,ire,g6t,Lxe,Mxe,b6t,Pxe,m6t,w6t,jxe,Fxe,y6t;x(Pa,"BoxLayouterOptions",984),A(985,1,{},mGe),h.uf=function(){var t;return t=new vGe,t},h.vf=function(t){},x(Pa,"BoxLayouterOptions/BoxFactory",985),A(300,23,{3:1,34:1,23:1,300:1},i3);var f4,ore,h4,p4,g4,sre,are=fn(Pa,"ContentAlignment",300,bn,fdn,Din),v6t;A(696,1,td,Lue),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,eTt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(A1(),BT)),Ye),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,tTt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),lf),H3n),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,_ye),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),$xe),$r),Oxe),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,bk),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Vve),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),lf),Rxe),ct(Rd)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,xF),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),Uxe),$T),are),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,$D),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Lt(),!1)),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,vZ),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Hxe),$r),w4),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,FD),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),qxe),$r),vre),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Gve),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,kF),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Wxe),$r),PNe),Ar(xt,Z(X(cf,1),Ce,161,0,[ri]))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,$0),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),iNe),lf),j2e),Ar(xt,Z(X(cf,1),Ce,161,0,[ri]))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,mk),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,CF),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,wk),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,uF),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),cNe),$r),$Ne),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,NF),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),lf),$i),Ar(ri,Z(X(cf,1),Ce,161,0,[Ng,kp]))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,xD),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),wo),Ti),Ar(ri,Z(X(cf,1),Ce,161,0,[Rd]))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,aF),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),wo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,GC),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Pye),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),Jxe),lf),Rxe),ct(Rd)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Bye),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Uye),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,g3n),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),lf),K3n),Ar(xt,Z(X(cf,1),Ce,161,0,[kp]))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,nTt),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),Qi),fi),ct(kp)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,TZ),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),Xxe),lf),P2e),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Tye),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),Ai),Yr),Ar(ri,Z(X(cf,1),Ce,161,0,[Rd,Ng,kp]))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,rTt),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Qi),fi),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,iTt),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,oTt),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,CD),""),YSt),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),Ai),Yr),ct(xt)))),zr(t,CD,B0,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,sTt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,aTt),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Re(100)),wo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,uTt),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,cTt),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Re(4e3)),wo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,lTt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Re(400)),wo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,dTt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,fTt),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,hTt),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,pTt),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,qve),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),Bxe),$r),ZNe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,gTt),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),Yxe),$r),HNe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,bTt),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),Kxe),$r),TNe),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,dye),of),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,fye),of),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,hye),of),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,pye),of),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,RX),of),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,yZ),of),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,gye),of),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,wye),of),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,bye),of),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,mye),of),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,F0),of),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,yye),of),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Qi),fi),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,vye),of),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Qi),fi),Ar(xt,Z(X(cf,1),Ce,161,0,[ri]))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Eye),of),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),lf),bDt),Ar(ri,Z(X(cf,1),Ce,161,0,[Rd,Ng,kp]))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,zye),of),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),yNe),lf),P2e),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,SZ),yTt),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),wo),Ti),Ar(xt,Z(X(cf,1),Ce,161,0,[ri]))))),zr(t,SZ,EZ,O6t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,EZ),yTt),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),oNe),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Nye),vTt),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Qxe),lf),j2e),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,vk),vTt),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),eNe),$T),Bo),Ar(ri,Z(X(cf,1),Ce,161,0,[kp]))))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Rye),jF),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),aNe),$r),S4),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Oye),jF),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),$r),S4),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Dye),jF),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),$r),S4),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Lye),jF),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),$r),S4),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Mye),jF),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),$r),S4),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,ME),JZ),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),tNe),$T),_4),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,pT),JZ),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),rNe),$T),zNe),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,gT),JZ),"Node Size Minimum"),"The minimal size to which a node can be reduced."),nNe),lf),$i),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,yk),JZ),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Fye),wZ),"Edge Label Placement"),"Gives a hint on where to put edge labels."),zxe),$r),ANe),ct(kp)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,ND),wZ),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),Ai),Yr),ct(kp)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,b3n),"font"),"Font Name"),"Font name used for a label."),BT),Ye),ct(kp)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,mTt),"font"),"Font Size"),"Font size used for a label."),wo),Ti),ct(kp)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Hye),XZ),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),lf),$i),ct(Ng)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,$ye),XZ),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),wo),Ti),ct(Ng)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Aye),XZ),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),fNe),$r),Co),ct(Ng)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Sye),XZ),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Qi),fi),ct(Ng)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Ek),Yve),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),lNe),$T),uU),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Cye),Yve),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Iye),Yve),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,KZ),Ik),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),Re(3)),wo),Ti),ct(xt)))),zr(t,KZ,YZ,G6t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Wve),Ik),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),Re(4)),wo),Ti),ct(xt)))),zr(t,Wve,KZ,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,ID),Ik),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),Qi),fi),ct(xt)))),zr(t,ID,B0,U6t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,YZ),Ik),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),lf),z3n),ct(ri)))),zr(t,YZ,B0,H6t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,RD),Ik),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),Qi),fi),Ar(xt,Z(X(cf,1),Ce,161,0,[ri]))))),zr(t,RD,B0,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,OD),Ik),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),Qi),fi),Ar(xt,Z(X(cf,1),Ce,161,0,[ri]))))),zr(t,OD,B0,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,B0),Ik),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),$r),qNe),ct(ri)))),zr(t,B0,yk,null),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,Kve),Ik),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),Qi),fi),ct(xt)))),zr(t,Kve,B0,B6t),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,kye),ETt),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,xye),ETt),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Ai),Yr),ct(Rd)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,jye),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Qi),fi),ct(Rd)))),st(t,new Ze(it(rt(ot(pt(Qe(nt(et(tt(new Xe,wTt),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Vxe),$r),INe),ct(Rd)))),KN(t,new OS(HN(jA(PA(new Z2,$t),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),KN(t,new OS(HN(jA(PA(new Z2,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),KN(t,new OS(HN(jA(PA(new Z2,Ga),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),KN(t,new OS(HN(jA(PA(new Z2,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),KN(t,new OS(HN(jA(PA(new Z2,nve),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),KN(t,new OS(HN(jA(PA(new Z2,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),KN(t,new OS(HN(jA(PA(new Z2,Qc),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),fyt((new JWe,t)),Nyt((new YWe,t)),jwt((new XWe,t))};var UT,E6t,$xe,px,S6t,T6t,Bxe,ov,sv,A6t,jL,Uxe,FL,Em,Hxe,tU,ure,zxe,Gxe,qxe,_6t,Vxe,k6t,h2,Wxe,x6t,$L,cre,b4,lre,N6t,Kxe,C6t,Yxe,p2,Jxe,xp,Xxe,Zxe,Qxe,g2,eNe,Sm,tNe,av,b2,nNe,G1,rNe,nU,m4,df,iNe,I6t,oNe,R6t,O6t,sNe,aNe,dre,fre,hre,pre,uNe,Hu,gx,cNe,gre,bre,uv,lNe,dNe,m2,fNe,HT,BL,mre,cv,D6t,wre,L6t,M6t,P6t,j6t,hNe,pNe,zT,gNe,rU,bNe,mNe,Od,F6t,wNe,yNe,vNe,bx,lv,mx,GT,$6t,B6t,iU,U6t,oU,H6t,z6t,G6t,q6t;x(Pa,"CoreOptions",696),A(87,23,{3:1,34:1,23:1,87:1},EO);var ff,is,cs,hf,il,w4=fn(Pa,"Direction",87,bn,Sln,Lin),V6t;A(280,23,{3:1,34:1,23:1,280:1},m8);var sU,UL,ENe,SNe,TNe=fn(Pa,"EdgeCoords",280,bn,Vcn,Min),W6t;A(281,23,{3:1,34:1,23:1,281:1},Jq);var wx,dv,yx,ANe=fn(Pa,"EdgeLabelPlacement",281,bn,Vun,Pin),K6t;A(225,23,{3:1,34:1,23:1,225:1},w8);var vx,HL,qT,yre,vre=fn(Pa,"EdgeRouting",225,bn,Wcn,jin),Y6t;A(328,23,{3:1,34:1,23:1,328:1},o3);var _Ne,kNe,xNe,NNe,Ere,CNe,INe=fn(Pa,"EdgeType",328,bn,ddn,Fin),J6t;A(982,1,td,JWe),h.tf=function(t){fyt(t)};var RNe,ONe,DNe,LNe,X6t,MNe,y4;x(Pa,"FixedLayouterOptions",982),A(983,1,{},wGe),h.uf=function(){var t;return t=new xGe,t},h.vf=function(t){},x(Pa,"FixedLayouterOptions/FixedFactory",983),A(348,23,{3:1,34:1,23:1,348:1},Xq);var Cg,aU,v4,PNe=fn(Pa,"HierarchyHandling",348,bn,Kun,$in),Z6t,z3n=Hr(Pa,"ITopdownSizeApproximator");A(293,23,{3:1,34:1,23:1,293:1},y8);var Ih,q1,zL,GL,Q6t=fn(Pa,"LabelSide",293,bn,Kcn,Bin),eDt;A(96,23,{3:1,34:1,23:1,96:1},Jv);var Np,ad,Cl,ud,xc,cd,Il,Rh,ld,Bo=fn(Pa,"NodeLabelPlacement",96,bn,bfn,Uin),tDt;A(260,23,{3:1,34:1,23:1,260:1},SO);var jNe,E4,V1,FNe,qL,S4=fn(Pa,"PortAlignment",260,bn,jln,Hin),nDt;A(103,23,{3:1,34:1,23:1,103:1},s3);var Tm,fa,Oh,Ex,pf,W1,$Ne=fn(Pa,"PortConstraints",103,bn,pdn,zin),rDt;A(282,23,{3:1,34:1,23:1,282:1},a3);var T4,A4,Cp,VL,K1,VT,uU=fn(Pa,"PortLabelPlacement",282,bn,gdn,Gin),iDt;A(64,23,{3:1,34:1,23:1,64:1},TO);var Zt,Vt,ol,sl,iu,Wa,gf,dd,Iu,vu,ka,Ru,ou,su,fd,Nc,Cc,Rl,dn,Cs,Wt,Co=fn(Pa,"PortSide",64,bn,Tln,Vin),oDt;A(986,1,td,XWe),h.tf=function(t){jwt(t)};var sDt,aDt,BNe,uDt,cDt;x(Pa,"RandomLayouterOptions",986),A(987,1,{},yGe),h.uf=function(){var t;return t=new RGe,t},h.vf=function(t){},x(Pa,"RandomLayouterOptions/RandomFactory",987),A(301,23,{3:1,34:1,23:1,301:1},Zq);var WL,Sre,UNe,HNe=fn(Pa,"ShapeCoords",301,bn,qun,qin),lDt;A(381,23,{3:1,34:1,23:1,381:1},v8);var fv,KL,YL,Am,_4=fn(Pa,"SizeConstraint",381,bn,Ycn,Win),dDt;A(267,23,{3:1,34:1,23:1,267:1},Xv);var JL,cU,Sx,Tre,XL,k4,lU,dU,fU,zNe=fn(Pa,"SizeOptions",267,bn,Tfn,Kin),fDt;A(283,23,{3:1,34:1,23:1,283:1},Qq);var hv,GNe,hU,qNe=fn(Pa,"TopdownNodeTypes",283,bn,Wun,Yin),hDt;A(290,23,$F);var VNe,Are,WNe,KNe,ZL=fn(Pa,"TopdownSizeApproximator",290,bn,Jcn,Jin);A(978,290,$F,Eot),h.Sg=function(t){return b1t(t)},fn(Pa,"TopdownSizeApproximator/1",978,ZL,null,null),A(979,290,$F,ost),h.Sg=function(t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt,Ct;for(r=l(ye(t,(_n(),cv)),144),Ge=(e1(),L=new PN,L),eD(Ge,t),lt=new hn,f=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));f.e!=f.i.gc();)s=l(rn(f),19),oe=(I=new PN,I),D7(oe,Ge),eD(oe,s),Ct=b1t(s),r0(oe,b.Math.max(s.g,Ct.a),b.Math.max(s.f,Ct.b)),eu(lt.f,s,oe);for(u=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));u.e!=u.i.gc();)for(s=l(rn(u),19),T=new en((!s.e&&(s.e=new Et(Cr,s,7,4)),s.e));T.e!=T.i.gc();)v=l(rn(T),74),Ee=l(Es(Zo(lt.f,s)),19),we=l(Ut(lt,ie((!v.c&&(v.c=new Et(pn,v,5,8)),v.c),0)),19),le=(N=new CG,N),Tn((!le.b&&(le.b=new Et(pn,le,4,7)),le.b),Ee),Tn((!le.c&&(le.c=new Et(pn,le,5,8)),le.c),we),O7(le,Br(Ee)),eD(le,v);G=l(KO(r.f),207);try{G.kf(Ge,new NG),ahe(r.f,G)}catch(Dt){throw Dt=ci(Dt),se(Dt,102)?(U=Dt,K(U)):K(Dt)}return Gc(Ge,sv)||Gc(Ge,ov)||UJ(Ge),y=ue(ce(ye(Ge,sv))),m=ue(ce(ye(Ge,ov))),p=y/m,o=ue(ce(ye(Ge,lv)))*b.Math.sqrt((!Ge.a&&(Ge.a=new xe(En,Ge,10,11)),Ge.a).i),dt=l(ye(Ge,df),100),ne=dt.b+dt.c+1,J=dt.d+dt.a+1,new Le(b.Math.max(ne,o),b.Math.max(J,o/p))},fn(Pa,"TopdownSizeApproximator/2",979,ZL,null,null),A(980,290,$F,Oat),h.Sg=function(t){var r,o,s,u,f,p;return o=ue(ce(ye(t,(_n(),lv)))),r=o/ue(ce(ye(t,bx))),s=OAn(t),f=l(ye(t,df),100),u=ue(ce(ze(Od))),Br(t)&&(u=ue(ce(ye(Br(t),Od)))),p=Qh(new Le(o,r),s),br(p,new Le(-(f.b+f.c)-u,-(f.d+f.a)-u))},fn(Pa,"TopdownSizeApproximator/3",980,ZL,null,null),A(981,290,$F,sst),h.Sg=function(t){var r,o,s,u,f,p,m,y,v,T;for(p=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));p.e!=p.i.gc();)f=l(rn(p),19),ye(f,(_n(),oU))!=null&&(!f.a&&(f.a=new xe(En,f,10,11)),!!f.a)&&(!f.a&&(f.a=new xe(En,f,10,11)),f.a).i>0?(o=l(ye(f,oU),525),T=o.Sg(f),v=l(ye(f,df),100),r0(f,b.Math.max(f.g,T.a+v.b+v.c),b.Math.max(f.f,T.b+v.d+v.a))):(!f.a&&(f.a=new xe(En,f,10,11)),f.a).i!=0&&r0(f,ue(ce(ye(f,lv))),ue(ce(ye(f,lv)))/ue(ce(ye(f,bx))));r=l(ye(t,(_n(),cv)),144),y=l(KO(r.f),207);try{y.kf(t,new NG),ahe(r.f,y)}catch(N){throw N=ci(N),se(N,102)?(m=N,K(m)):K(N)}return Vn(t,UT,Rk),kct(t),UJ(t),u=ue(ce(ye(t,sv))),s=ue(ce(ye(t,ov))),new Le(u,s)},fn(Pa,"TopdownSizeApproximator/4",981,ZL,null,null);var pDt;A(346,1,{861:1},iS),h.Tg=function(t,r){return Ibt(this,t,r)},h.Ug=function(){imt(this)},h.Vg=function(){return this.q},h.Wg=function(){return this.f?xP(this.f):null},h.Xg=function(){return xP(this.a)},h.Yg=function(){return this.p},h.Zg=function(){return!1},h.$g=function(){return this.n},h._g=function(){return this.p!=null&&!this.b},h.ah=function(t){var r;this.n&&(r=t,je(this.f,r))},h.bh=function(t,r){var o,s;this.n&&t&&fcn(this,(o=new Ast,s=vJ(o,t),vxn(o),s),(Lj(),kre))},h.dh=function(t){var r;return this.b?null:(r=efn(this,this.g),Gn(this.a,r),r.i=this,this.d=t,r)},h.eh=function(t){t>0&&!this.b&&rge(this,t)},h.b=!1,h.c=0,h.d=-1,h.e=null,h.f=null,h.g=-1,h.j=!1,h.k=!1,h.n=!1,h.o=0,h.q=0,h.r=0,x(Vs,"BasicProgressMonitor",346),A(713,207,nm,vGe),h.kf=function(t,r){Vyt(t,r)},x(Vs,"BoxLayoutProvider",713),A(974,1,Un,nXe),h.Le=function(t,r){return m2n(this,l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},h.a=!1,x(Vs,"BoxLayoutProvider/1",974),A(168,1,{168:1},dj,jrt),h.Ib=function(){return this.c?Jme(this.c):Qd(this.b)},x(Vs,"BoxLayoutProvider/Group",168),A(327,23,{3:1,34:1,23:1,327:1},E8);var YNe,JNe,XNe,_re,ZNe=fn(Vs,"BoxLayoutProvider/PackingMode",327,bn,Xcn,Xin),gDt;A(975,1,Un,EGe),h.Le=function(t,r){return man(l(t,168),l(r,168))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Vs,"BoxLayoutProvider/lambda$0$Type",975),A(976,1,Un,SGe),h.Le=function(t,r){return san(l(t,168),l(r,168))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Vs,"BoxLayoutProvider/lambda$1$Type",976),A(977,1,Un,TGe),h.Le=function(t,r){return aan(l(t,168),l(r,168))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(Vs,"BoxLayoutProvider/lambda$2$Type",977),A(1350,1,{837:1},AGe),h.Lg=function(t,r){return q9(),!se(r,176)||BQe((zS(),l(t,176)),r)},x(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1350),A(1351,1,tn,rXe),h.Ad=function(t){dpn(this.a,l(t,149))},x(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1351),A(1352,1,tn,_Ge),h.Ad=function(t){l(t,105),q9()},x(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1352),A(1356,1,tn,iXe),h.Ad=function(t){jfn(this.a,l(t,105))},x(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1356),A(1354,1,Ln,Ntt),h.Mb=function(t){return Yhn(this.a,this.b,l(t,149))},x(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1354),A(1353,1,Ln,Ctt),h.Mb=function(t){return Wtn(this.a,this.b,l(t,837))},x(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1353),A(1355,1,tn,Itt),h.Ad=function(t){esn(this.a,this.b,l(t,149))},x(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1355),A(939,1,{},kGe),h.Kb=function(t){return Cnt(t)},h.Fb=function(t){return this===t},x(Vs,"ElkUtil/lambda$0$Type",939),A(940,1,tn,Rtt),h.Ad=function(t){wvn(this.a,this.b,l(t,74))},h.a=0,h.b=0,x(Vs,"ElkUtil/lambda$1$Type",940),A(941,1,tn,Ott),h.Ad=function(t){JZt(this.a,this.b,l(t,171))},h.a=0,h.b=0,x(Vs,"ElkUtil/lambda$2$Type",941),A(942,1,tn,Dtt),h.Ad=function(t){zen(this.a,this.b,l(t,158))},h.a=0,h.b=0,x(Vs,"ElkUtil/lambda$3$Type",942),A(943,1,tn,oXe),h.Ad=function(t){Son(this.a,l(t,373))},x(Vs,"ElkUtil/lambda$4$Type",943),A(332,1,{34:1,332:1},_Zt),h.Dd=function(t){return gtn(this,l(t,245))},h.Fb=function(t){var r;return se(t,332)?(r=l(t,332),this.a==r.a):!1},h.Hb=function(){return po(this.a)},h.Ib=function(){return this.a+" (exclusive)"},h.a=0,x(Vs,"ExclusiveBounds/ExclusiveLowerBound",332),A(1100,207,nm,xGe),h.kf=function(t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne,oe,le,Ee,we,Ge,lt,dt;for(r.Tg("Fixed Layout",1),f=l(ye(t,(_n(),Gxe)),225),N=0,I=0,oe=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));oe.e!=oe.i.gc();){for(J=l(rn(oe),19),dt=l(ye(J,(Mj(),y4)),8),dt&&(Bc(J,dt.a,dt.b),l(ye(J,ONe),185).Gc((oc(),fv))&&(L=l(ye(J,LNe),8),L.a>0&&L.b>0&&L0(J,L.a,L.b,!0,!0))),N=b.Math.max(N,J.i+J.g),I=b.Math.max(I,J.j+J.f),v=new en((!J.n&&(J.n=new xe(Is,J,1,7)),J.n));v.e!=v.i.gc();)m=l(rn(v),158),dt=l(ye(m,y4),8),dt&&Bc(m,dt.a,dt.b),N=b.Math.max(N,J.i+m.i+m.g),I=b.Math.max(I,J.j+m.j+m.f);for(we=new en((!J.c&&(J.c=new xe(zu,J,9,9)),J.c));we.e!=we.i.gc();)for(Ee=l(rn(we),127),dt=l(ye(Ee,y4),8),dt&&Bc(Ee,dt.a,dt.b),Ge=J.i+Ee.i,lt=J.j+Ee.j,N=b.Math.max(N,Ge+Ee.g),I=b.Math.max(I,lt+Ee.f),y=new en((!Ee.n&&(Ee.n=new xe(Is,Ee,1,7)),Ee.n));y.e!=y.i.gc();)m=l(rn(y),158),dt=l(ye(m,y4),8),dt&&Bc(m,dt.a,dt.b),N=b.Math.max(N,Ge+m.i+m.g),I=b.Math.max(I,lt+m.j+m.f);for(u=new Ft(Gt(gp(J).a.Jc(),new D));an(u);)o=l(Qt(u),74),T=uEt(o),N=b.Math.max(N,T.a),I=b.Math.max(I,T.b);for(s=new Ft(Gt(C7(J).a.Jc(),new D));an(s);)o=l(Qt(s),74),Br(WY(o))!=t&&(T=uEt(o),N=b.Math.max(N,T.a),I=b.Math.max(I,T.b))}if(f==(hp(),vx))for(ne=new en((!t.a&&(t.a=new xe(En,t,10,11)),t.a));ne.e!=ne.i.gc();)for(J=l(rn(ne),19),s=new Ft(Gt(gp(J).a.Jc(),new D));an(s);)o=l(Qt(s),74),p=mAn(o),p.b==0?Vn(o,p2,null):Vn(o,p2,p);Ke(We(ye(t,(Mj(),DNe))))||(le=l(ye(t,X6t),100),G=N+le.b+le.c,U=I+le.d+le.a,L0(t,G,U,!0,!0)),r.Ug()},x(Vs,"FixedLayoutProvider",1100),A(380,151,{3:1,419:1,380:1,105:1,151:1},xG,Ddt),h.ag=function(t){var r,o,s,u,f,p,m,y,v;if(t)try{for(y=ky(t,";,;"),f=y,p=0,m=f.length;p<m;++p){if(u=f[p],o=ky(u,"\\:"),s=C0e(G3(),o[0]),!s)throw K(new jt("Invalid option id: "+o[0]));if(v=x0e(s,o[1]),v==null)throw K(new jt("Invalid option value: "+o[1]));v==null?(!this.q&&(this.q=new hn),PS(this.q,s)):(!this.q&&(this.q=new hn),Yn(this.q,s,v))}}catch(T){throw T=ci(T),se(T,102)?(r=T,K(new Ept(r))):K(T)}},h.Ib=function(){var t;return t=In(Au(Ia((this.q?this.q:(St(),St(),kh)).vc().Mc(),new NGe),Cdn(new eot,new xa,new Bn,new Xs,Z(X(ru,1),Ce,132,0,[])))),t};var bDt=x(Vs,"IndividualSpacings",380);A(973,1,{},NGe),h.Kb=function(t){return ban(l(t,45))},x(Vs,"IndividualSpacings/lambda$0$Type",973),A(715,1,{},jot),h.c=0,x(Vs,"InstancePool",715),A(1833,1,{},CGe),x(Vs,"LoggedGraph",1833),A(412,23,{3:1,34:1,23:1,412:1},S8);var QNe,kre,e3e,t3e,mDt=fn(Vs,"LoggedGraph/Type",412,bn,Zcn,Zin),wDt;A(621,1,{861:1},NG),h.Tg=function(t,r){return!1},h.Ug=function(){},h.Vg=function(){return 0},h.Wg=function(){return null},h.Xg=function(){return null},h.Yg=function(){return null},h.Zg=function(){return!1},h.$g=function(){return!1},h._g=function(){return!1},h.ah=function(t){},h.bh=function(t,r){},h.dh=function(t){return this},h.eh=function(t){},x(Vs,"NullElkProgressMonitor",621),A(49,1,{22:1,49:1},IGe,ko),h.Ic=function(t){co(this,t)},h.Fb=function(t){var r,o,s;return se(t,49)?(o=l(t,49),r=this.a==null?o.a==null:pr(this.a,o.a),s=this.b==null?o.b==null:pr(this.b,o.b),r&&s):!1},h.Hb=function(){var t,r,o,s,u,f;return o=this.a==null?0:Ir(this.a),t=o&Ei,r=o&-65536,f=this.b==null?0:Ir(this.b),s=f&Ei,u=f&-65536,t^u>>16&Ei|r^s<<16},h.Jc=function(){return new sXe(this)},h.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+bs(this.b)+")":this.b==null?"pair("+bs(this.a)+",null)":"pair("+bs(this.a)+","+bs(this.b)+")"},x(Vs,"Pair",49),A(988,1,Wi,sXe),h.Nb=function(t){oo(this,t)},h.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},h.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw K(new ys)},h.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),K(new lu)},h.b=!1,h.c=!1,x(Vs,"Pair/1",988),A(1089,207,nm,RGe),h.kf=function(t,r){var o,s,u,f,p;if(r.Tg("Random Layout",1),(!t.a&&(t.a=new xe(En,t,10,11)),t.a).i==0){r.Ug();return}f=l(ye(t,(S1e(),uDt)),15),f&&f.a!=0?u=new qP(f.a):u=new eY,o=tO(ce(ye(t,sDt))),p=tO(ce(ye(t,cDt))),s=l(ye(t,aDt),100),Uxn(t,u,o,p,s),r.Ug()},x(Vs,"RandomLayoutProvider",1089),A(243,1,{243:1},OV),h.Fb=function(t){return ia(this.a,l(t,243).a)&&ia(this.b,l(t,243).b)&&ia(this.c,l(t,243).c)},h.Hb=function(){return Pj(Z(X(Ci,1),Rt,1,5,[this.a,this.b,this.c]))},h.Ib=function(){return"("+this.a+Ma+this.b+Ma+this.c+")"},x(Vs,"Triple",243);var yDt;A(554,1,{}),h.Jf=function(){return new Le(this.f.i,this.f.j)},h.mf=function(t){return Cat(t,(_n(),Hu))?ye(this.f,vDt):ye(this.f,t)},h.Kf=function(){return new Le(this.f.g,this.f.f)},h.Lf=function(){return this.g},h.nf=function(t){return Gc(this.f,t)},h.Mf=function(t){ya(this.f,t.a),gu(this.f,t.b)},h.Nf=function(t){Bb(this.f,t.a),$b(this.f,t.b)},h.Of=function(t){this.g=t},h.g=0;var vDt;x(eI,"ElkGraphAdapters/AbstractElkGraphElementAdapter",554),A(556,1,{845:1},A9),h.Pf=function(){var t,r;if(!this.b)for(this.b=jP(cW(this.a).i),r=new en(cW(this.a));r.e!=r.i.gc();)t=l(rn(r),158),je(this.b,new oq(t));return this.b},h.b=null,x(eI,"ElkGraphAdapters/ElkEdgeAdapter",556),A(250,554,{},Kp),h.Qf=function(){return P1t(this)},h.a=null,x(eI,"ElkGraphAdapters/ElkGraphAdapter",250),A(637,554,{190:1},oq),x(eI,"ElkGraphAdapters/ElkLabelAdapter",637),A(555,554,{692:1},F8),h.Pf=function(){return $bn(this)},h.Tf=function(){var t;return t=l(ye(this.f,(_n(),xp)),125),!t&&(t=new MN),t},h.Vf=function(){return Bbn(this)},h.Xf=function(t){var r;r=new IV(t),Vn(this.f,(_n(),xp),r)},h.Yf=function(t){Vn(this.f,(_n(),df),new sfe(t))},h.Rf=function(){return this.d},h.Sf=function(){var t,r;if(!this.a)for(this.a=new Pe,r=new Ft(Gt(C7(l(this.f,19)).a.Jc(),new D));an(r);)t=l(Qt(r),74),je(this.a,new A9(t));return this.a},h.Uf=function(){var t,r;if(!this.c)for(this.c=new Pe,r=new Ft(Gt(gp(l(this.f,19)).a.Jc(),new D));an(r);)t=l(Qt(r),74),je(this.c,new A9(t));return this.c},h.Wf=function(){return _P(l(this.f,19)).i!=0||Ke(We(l(this.f,19).mf((_n(),$L))))},h.Zf=function(){Ldn(this,(t1(),yDt))},h.a=null,h.b=null,h.c=null,h.d=null,h.e=null,x(eI,"ElkGraphAdapters/ElkNodeAdapter",555),A(1261,554,{844:1},aXe),h.Pf=function(){return Wbn(this)},h.Sf=function(){var t,r;if(!this.a)for(this.a=ch(l(this.f,127).gh().i),r=new en(l(this.f,127).gh());r.e!=r.i.gc();)t=l(rn(r),74),je(this.a,new A9(t));return this.a},h.Uf=function(){var t,r;if(!this.c)for(this.c=ch(l(this.f,127).hh().i),r=new en(l(this.f,127).hh());r.e!=r.i.gc();)t=l(rn(r),74),je(this.c,new A9(t));return this.c},h.$f=function(){return l(l(this.f,127).mf((_n(),m2)),64)},h._f=function(){var t,r,o,s,u,f,p,m;for(s=Gd(l(this.f,127)),o=new en(l(this.f,127).hh());o.e!=o.i.gc();)for(t=l(rn(o),74),m=new en((!t.c&&(t.c=new Et(pn,t,5,8)),t.c));m.e!=m.i.gc();){if(p=l(rn(m),83),ay(Vo(p),s))return!0;if(Vo(p)==s&&Ke(We(ye(t,(_n(),cre)))))return!0}for(r=new en(l(this.f,127).gh());r.e!=r.i.gc();)for(t=l(rn(r),74),f=new en((!t.b&&(t.b=new Et(pn,t,4,7)),t.b));f.e!=f.i.gc();)if(u=l(rn(f),83),ay(Vo(u),s))return!0;return!1},h.a=null,h.b=null,h.c=null,x(eI,"ElkGraphAdapters/ElkPortAdapter",1261),A(1262,1,Un,OGe),h.Le=function(t,r){return cTn(l(t,127),l(r,127))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(eI,"ElkGraphAdapters/PortComparator",1262);var Y1=Hr(el,"EObject"),Tx=Hr($E,ATt),Ic=Hr($E,_Tt),QL=Hr($E,kTt),eM=Hr($E,"ElkShape"),pn=Hr($E,xTt),Cr=Hr($E,Xve),jr=Hr($E,NTt),tM=Hr(el,CTt),x4=Hr(el,"EFactory"),EDt,xre=Hr(el,ITt),Dd=Hr(el,"EPackage"),Bi,SDt,TDt,n3e,pU,ADt,r3e,i3e,o3e,Dh,_Dt,kDt,Is=Hr($E,Zve),En=Hr($E,Qve),zu=Hr($E,eEe);A(94,1,RTt),h.qh=function(){return this.rh(),null},h.rh=function(){return null},h.sh=function(){return this.rh(),!1},h.th=function(){return!1},h.uh=function(t){hr(this,t)},x(wT,"BasicNotifierImpl",94),A(101,94,MTt),h.Vh=function(){return Yu(this)},h.vh=function(t,r){return t},h.wh=function(){throw K(new Nn)},h.xh=function(t){var r;return r=Do(l(Nt(this.Ah(),this.Ch()),20)),this.Mh().Qh(this,r.n,r.f,t)},h.yh=function(t,r){throw K(new Nn)},h.zh=function(t,r,o){return Sc(this,t,r,o)},h.Ah=function(){var t;return this.wh()&&(t=this.wh().Lk(),t)?t:this.fi()},h.Bh=function(){return oJ(this)},h.Ch=function(){throw K(new Nn)},h.Dh=function(){var t,r;return r=this.Xh().Mk(),!r&&this.wh().Rk(r=(JN(),t=She(jf(this.Ah())),t==null?Mre:new CO(this,t))),r},h.Eh=function(t,r){return t},h.Fh=function(t){var r;return r=t.nk(),r?t.Jj():Ur(this.Ah(),t)},h.Gh=function(){var t;return t=this.wh(),t?t.Ok():null},h.Hh=function(){return this.wh()?this.wh().Lk():null},h.Ih=function(t,r,o){return i7(this,t,r,o)},h.Jh=function(t){return h_(this,t)},h.Kh=function(t,r){return zW(this,t,r)},h.Lh=function(){var t;return t=this.wh(),!!t&&t.Pk()},h.Mh=function(){throw K(new Nn)},h.Nh=function(){return Qj(this)},h.Oh=function(t,r,o,s){return YS(this,t,r,s)},h.Ph=function(t,r,o){var s;return s=l(Nt(this.Ah(),r),69),s.uk().xk(this,this.ei(),r-this.gi(),t,o)},h.Qh=function(t,r,o,s){return IP(this,t,r,s)},h.Rh=function(t,r,o){var s;return s=l(Nt(this.Ah(),r),69),s.uk().yk(this,this.ei(),r-this.gi(),t,o)},h.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},h.Th=function(t){return gY(this,t)},h.Uh=function(t){return qat(this,t)},h.Wh=function(t){return Gvt(this,t)},h.Xh=function(){throw K(new Nn)},h.Yh=function(){return this.wh()?this.wh().Nk():null},h.Zh=function(){return Qj(this)},h.$h=function(t,r){eJ(this,t,r)},h._h=function(t){this.Xh().Qk(t)},h.ai=function(t){this.Xh().Tk(t)},h.bi=function(t){this.Xh().Sk(t)},h.ci=function(t,r){var o,s,u,f;return f=this.Gh(),f&&t&&(r=Ao(f.Cl(),this,r),f.Gl(this)),s=this.Mh(),s&&(mJ(this,this.Mh(),this.Ch()).Bb&xo?(u=s.Nh(),u&&(t?!f&&u.Gl(this):u.Fl(this))):(r=(o=this.Ch(),o>=0?this.xh(r):this.Mh().Qh(this,-1-o,null,r)),r=this.zh(null,-1,r))),this.ai(t),r},h.di=function(t){var r,o,s,u,f,p,m,y;if(o=this.Ah(),f=Ur(o,t),r=this.gi(),f>=r)return l(t,69).uk().Bk(this,this.ei(),f-r);if(f<=-1)if(p=IE((mu(),so),o,t),p){if(Oo(),l(p,69).vk()||(p=DS(es(so,p))),u=(s=this.Fh(p),l(s>=0?this.Ih(s,!0,!0):R0(this,p,!0),164)),y=p.Gk(),y>1||y==-1)return l(l(u,222).Ql(t,!1),78)}else throw K(new jt(R1+t.ve()+ZZ));else if(t.Hk())return s=this.Fh(t),l(s>=0?this.Ih(s,!1,!0):R0(this,t,!1),78);return m=new tnt(this,t),m},h.ei=function(){return Ipe(this)},h.fi=function(){return(a1(),Bt).S},h.gi=function(){return ln(this.fi())},h.hi=function(t){XY(this,t)},h.Ib=function(){return Zl(this)},x(zt,"BasicEObjectImpl",101);var xDt;A(118,101,{110:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1}),h.ii=function(t){var r;return r=Cpe(this),r[t]},h.ji=function(t,r){var o;o=Cpe(this),ii(o,t,r)},h.ki=function(t){var r;r=Cpe(this),ii(r,t,null)},h.qh=function(){return l(qt(this,4),131)},h.rh=function(){throw K(new Nn)},h.sh=function(){return(this.Db&4)!=0},h.wh=function(){throw K(new Nn)},h.li=function(t){VS(this,2,t)},h.yh=function(t,r){this.Db=r<<16|this.Db&255,this.li(t)},h.Ah=function(){return Ja(this)},h.Ch=function(){return this.Db>>16},h.Dh=function(){var t,r;return JN(),r=She(jf((t=l(qt(this,16),29),t||this.fi()))),r==null?Mre:new CO(this,r)},h.th=function(){return(this.Db&1)==0},h.Gh=function(){return l(qt(this,128),2013)},h.Hh=function(){return l(qt(this,16),29)},h.Lh=function(){return(this.Db&32)!=0},h.Mh=function(){return l(qt(this,2),52)},h.Sh=function(){return(this.Db&64)!=0},h.Xh=function(){throw K(new Nn)},h.Yh=function(){return l(qt(this,64),291)},h._h=function(t){VS(this,16,t)},h.ai=function(t){VS(this,128,t)},h.bi=function(t){VS(this,64,t)},h.ei=function(){return Ha(this)},h.Db=0,x(zt,"MinimalEObjectImpl",118),A(119,118,{110:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.li=function(t){this.Cb=t},h.Mh=function(){return this.Cb},x(zt,"MinimalEObjectImpl/Container",119),A(2062,119,{110:1,344:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return q1e(this,t,r,o)},h.Rh=function(t,r,o){return Lbe(this,t,r,o)},h.Th=function(t){return Phe(this,t)},h.$h=function(t,r){Ige(this,t,r)},h.fi=function(){return Qs(),kDt},h.hi=function(t){yge(this,t)},h.lf=function(){return n1t(this)},h.fh=function(){return!this.o&&(this.o=new pu((Qs(),Dh),Ig,this,0)),this.o},h.mf=function(t){return ye(this,t)},h.nf=function(t){return Gc(this,t)},h.of=function(t,r){return Vn(this,t,r)},x(om,"EMapPropertyHolderImpl",2062),A(566,119,{110:1,373:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},p9),h.Ih=function(t,r,o){switch(t){case 0:return this.a;case 1:return this.b}return i7(this,t,r,o)},h.Th=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return gY(this,t)},h.$h=function(t,r){switch(t){case 0:hj(this,ue(ce(r)));return;case 1:fj(this,ue(ce(r)));return}eJ(this,t,r)},h.fi=function(){return Qs(),SDt},h.hi=function(t){switch(t){case 0:hj(this,0);return;case 1:fj(this,0);return}XY(this,t)},h.Ib=function(){var t;return this.Db&64?Zl(this):(t=new ml(Zl(this)),t.a+=" (x: ",Vv(t,this.a),t.a+=", y: ",Vv(t,this.b),t.a+=")",t.a)},h.a=0,h.b=0,x(om,"ElkBendPointImpl",566),A(734,2062,{110:1,344:1,176:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return Jge(this,t,r,o)},h.Ph=function(t,r,o){return zY(this,t,r,o)},h.Rh=function(t,r,o){return kK(this,t,r,o)},h.Th=function(t){return fge(this,t)},h.$h=function(t,r){lbe(this,t,r)},h.fi=function(){return Qs(),ADt},h.hi=function(t){Vge(this,t)},h.ih=function(){return this.k},h.jh=function(){return cW(this)},h.Ib=function(){return QK(this)},h.k=null,x(om,"ElkGraphElementImpl",734),A(735,734,{110:1,344:1,176:1,278:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return u1e(this,t,r,o)},h.Th=function(t){return w1e(this,t)},h.$h=function(t,r){dbe(this,t,r)},h.fi=function(){return Qs(),_Dt},h.hi=function(t){y1e(this,t)},h.kh=function(){return this.f},h.lh=function(){return this.g},h.mh=function(){return this.i},h.nh=function(){return this.j},h.oh=function(t,r){r0(this,t,r)},h.ph=function(t,r){Bc(this,t,r)},h.Ib=function(){return YY(this)},h.f=0,h.g=0,h.i=0,h.j=0,x(om,"ElkShapeImpl",735),A(736,735,{110:1,344:1,83:1,176:1,278:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return $1e(this,t,r,o)},h.Ph=function(t,r,o){return ibe(this,t,r,o)},h.Rh=function(t,r,o){return obe(this,t,r,o)},h.Th=function(t){return Age(this,t)},h.$h=function(t,r){wme(this,t,r)},h.fi=function(){return Qs(),TDt},h.hi=function(t){L1e(this,t)},h.gh=function(){return!this.d&&(this.d=new Et(Cr,this,8,5)),this.d},h.hh=function(){return!this.e&&(this.e=new Et(Cr,this,7,4)),this.e},x(om,"ElkConnectableShapeImpl",736),A(273,734,{110:1,344:1,74:1,176:1,273:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},CG),h.xh=function(t){return ebe(this,t)},h.Ih=function(t,r,o){switch(t){case 3:return ey(this);case 4:return!this.b&&(this.b=new Et(pn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Et(pn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new xe(jr,this,6,6)),this.a;case 7:return Lt(),!this.b&&(this.b=new Et(pn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Et(pn,this,5,8)),this.c.i<=1));case 8:return Lt(),!!EC(this);case 9:return Lt(),!!I0(this);case 10:return Lt(),!this.b&&(this.b=new Et(pn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Et(pn,this,5,8)),this.c.i!=0)}return Jge(this,t,r,o)},h.Ph=function(t,r,o){var s;switch(r){case 3:return this.Cb&&(o=(s=this.Db>>16,s>=0?ebe(this,o):this.Cb.Qh(this,-1-s,null,o))),Mde(this,l(t,19),o);case 4:return!this.b&&(this.b=new Et(pn,this,4,7)),La(this.b,t,o);case 5:return!this.c&&(this.c=new Et(pn,this,5,8)),La(this.c,t,o);case 6:return!this.a&&(this.a=new xe(jr,this,6,6)),La(this.a,t,o)}return zY(this,t,r,o)},h.Rh=function(t,r,o){switch(r){case 3:return Mde(this,null,o);case 4:return!this.b&&(this.b=new Et(pn,this,4,7)),Ao(this.b,t,o);case 5:return!this.c&&(this.c=new Et(pn,this,5,8)),Ao(this.c,t,o);case 6:return!this.a&&(this.a=new xe(jr,this,6,6)),Ao(this.a,t,o)}return kK(this,t,r,o)},h.Th=function(t){switch(t){case 3:return!!ey(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new Et(pn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Et(pn,this,5,8)),this.c.i<=1));case 8:return EC(this);case 9:return I0(this);case 10:return!this.b&&(this.b=new Et(pn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Et(pn,this,5,8)),this.c.i!=0)}return fge(this,t)},h.$h=function(t,r){switch(t){case 3:O7(this,l(r,19));return;case 4:!this.b&&(this.b=new Et(pn,this,4,7)),vn(this.b),!this.b&&(this.b=new Et(pn,this,4,7)),ti(this.b,l(r,18));return;case 5:!this.c&&(this.c=new Et(pn,this,5,8)),vn(this.c),!this.c&&(this.c=new Et(pn,this,5,8)),ti(this.c,l(r,18));return;case 6:!this.a&&(this.a=new xe(jr,this,6,6)),vn(this.a),!this.a&&(this.a=new xe(jr,this,6,6)),ti(this.a,l(r,18));return}lbe(this,t,r)},h.fi=function(){return Qs(),n3e},h.hi=function(t){switch(t){case 3:O7(this,null);return;case 4:!this.b&&(this.b=new Et(pn,this,4,7)),vn(this.b);return;case 5:!this.c&&(this.c=new Et(pn,this,5,8)),vn(this.c);return;case 6:!this.a&&(this.a=new xe(jr,this,6,6)),vn(this.a);return}Vge(this,t)},h.Ib=function(){return cvt(this)},x(om,"ElkEdgeImpl",273),A(446,2062,{110:1,344:1,171:1,446:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},h9),h.xh=function(t){return J1e(this,t)},h.Ih=function(t,r,o){switch(t){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new yi(Ic,this,5)),this.a;case 6:return Uat(this);case 7:return r?vY(this):this.i;case 8:return r?yY(this):this.f;case 9:return!this.g&&(this.g=new Et(jr,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Et(jr,this,10,9)),this.e;case 11:return this.d}return q1e(this,t,r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?J1e(this,o):this.Cb.Qh(this,-1-u,null,o))),Pde(this,l(t,74),o);case 9:return!this.g&&(this.g=new Et(jr,this,9,10)),La(this.g,t,o);case 10:return!this.e&&(this.e=new Et(jr,this,10,9)),La(this.e,t,o)}return f=l(Nt((s=l(qt(this,16),29),s||(Qs(),pU)),r),69),f.uk().xk(this,Ha(this),r-ln((Qs(),pU)),t,o)},h.Rh=function(t,r,o){switch(r){case 5:return!this.a&&(this.a=new yi(Ic,this,5)),Ao(this.a,t,o);case 6:return Pde(this,null,o);case 9:return!this.g&&(this.g=new Et(jr,this,9,10)),Ao(this.g,t,o);case 10:return!this.e&&(this.e=new Et(jr,this,10,9)),Ao(this.e,t,o)}return Lbe(this,t,r,o)},h.Th=function(t){switch(t){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!Uat(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return Phe(this,t)},h.$h=function(t,r){switch(t){case 1:v0(this,ue(ce(r)));return;case 2:E0(this,ue(ce(r)));return;case 3:w0(this,ue(ce(r)));return;case 4:y0(this,ue(ce(r)));return;case 5:!this.a&&(this.a=new yi(Ic,this,5)),vn(this.a),!this.a&&(this.a=new yi(Ic,this,5)),ti(this.a,l(r,18));return;case 6:iwt(this,l(r,74));return;case 7:vj(this,l(r,83));return;case 8:yj(this,l(r,83));return;case 9:!this.g&&(this.g=new Et(jr,this,9,10)),vn(this.g),!this.g&&(this.g=new Et(jr,this,9,10)),ti(this.g,l(r,18));return;case 10:!this.e&&(this.e=new Et(jr,this,10,9)),vn(this.e),!this.e&&(this.e=new Et(jr,this,10,9)),ti(this.e,l(r,18));return;case 11:tge(this,In(r));return}Ige(this,t,r)},h.fi=function(){return Qs(),pU},h.hi=function(t){switch(t){case 1:v0(this,0);return;case 2:E0(this,0);return;case 3:w0(this,0);return;case 4:y0(this,0);return;case 5:!this.a&&(this.a=new yi(Ic,this,5)),vn(this.a);return;case 6:iwt(this,null);return;case 7:vj(this,null);return;case 8:yj(this,null);return;case 9:!this.g&&(this.g=new Et(jr,this,9,10)),vn(this.g);return;case 10:!this.e&&(this.e=new Et(jr,this,10,9)),vn(this.e);return;case 11:tge(this,null);return}yge(this,t)},h.Ib=function(){return g0t(this)},h.b=0,h.c=0,h.d=null,h.j=0,h.k=0,x(om,"ElkEdgeSectionImpl",446),A(162,119,{110:1,95:1,94:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1}),h.Ih=function(t,r,o){var s;return t==0?(!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab):qc(this,t-ln(this.fi()),Nt((s=l(qt(this,16),29),s||this.fi()),t),r,o)},h.Ph=function(t,r,o){var s,u;return r==0?(!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o)):(u=l(Nt((s=l(qt(this,16),29),s||this.fi()),r),69),u.uk().xk(this,Ha(this),r-ln(this.fi()),t,o))},h.Rh=function(t,r,o){var s,u;return r==0?(!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o)):(u=l(Nt((s=l(qt(this,16),29),s||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o))},h.Th=function(t){var r;return t==0?!!this.Ab&&this.Ab.i!=0:zc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.Wh=function(t){return P0e(this,t)},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return}Xc(this,t-ln(this.fi()),Nt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.ai=function(t){VS(this,128,t)},h.fi=function(){return Tt(),qDt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return}Jc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.mi=function(){this.Bb|=1},h.ni=function(t){return NC(this,t)},h.Bb=0,x(zt,"EModelElementImpl",162),A(717,162,{110:1,95:1,94:1,472:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1},Mue),h.oi=function(t,r){return jvt(this,t,r)},h.pi=function(t){var r,o,s,u,f;if(this.a!=mc(t)||t.Bb&256)throw K(new jt(eQ+t.zb+V0));for(s=us(t);oa(s.a).i!=0;){if(o=l(cD(s,0,(r=l(ie(oa(s.a),0),88),f=r.c,se(f,89)?l(f,29):(Tt(),Ml))),29),C0(o))return u=mc(o).ti().pi(o),l(u,52)._h(t),u;s=us(o)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new vot(t):new Sfe(t)},h.qi=function(t,r){return M0(this,t,r)},h.Ih=function(t,r,o){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.a}return qc(this,t-ln((Tt(),Q1)),Nt((s=l(qt(this,16),29),s||Q1),t),r,o)},h.Ph=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 1:return this.a&&(o=l(this.a,52).Qh(this,4,Dd,o)),zge(this,l(t,244),o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),Q1)),r),69),u.uk().xk(this,Ha(this),r-ln((Tt(),Q1)),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 1:return zge(this,null,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),Q1)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),Q1)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return zc(this,t-ln((Tt(),Q1)),Nt((r=l(qt(this,16),29),r||Q1),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:zbt(this,l(r,244));return}Xc(this,t-ln((Tt(),Q1)),Nt((o=l(qt(this,16),29),o||Q1),t),r)},h.fi=function(){return Tt(),Q1},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:zbt(this,null);return}Jc(this,t-ln((Tt(),Q1)),Nt((r=l(qt(this,16),29),r||Q1),t))};var N4,s3e,NDt;x(zt,"EFactoryImpl",717),A(1029,717,{110:1,2092:1,95:1,94:1,472:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1},LGe),h.oi=function(t,r){switch(t.fk()){case 12:return l(r,149).Og();case 13:return bs(r);default:throw K(new jt(Ok+t.ve()+V0))}},h.pi=function(t){var r,o,s,u,f,p,m,y;switch(t.G==-1&&(t.G=(r=mc(t),r?pg(r.si(),t):-1)),t.G){case 4:return f=new Iue,f;case 6:return p=new PN,p;case 7:return m=new xce,m;case 8:return s=new CG,s;case 9:return o=new p9,o;case 10:return u=new h9,u;case 11:return y=new MGe,y;default:throw K(new jt(eQ+t.zb+V0))}},h.qi=function(t,r){switch(t.fk()){case 13:case 12:return null;default:throw K(new jt(Ok+t.ve()+V0))}},x(om,"ElkGraphFactoryImpl",1029),A(444,162,{110:1,95:1,94:1,159:1,199:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1}),h.Dh=function(){var t,r;return r=(t=l(qt(this,16),29),She(jf(t||this.fi()))),r==null?(JN(),JN(),Mre):new $rt(this,r)},h.Ih=function(t,r,o){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.ve()}return qc(this,t-ln(this.fi()),Nt((s=l(qt(this,16),29),s||this.fi()),t),r,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return zc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:this.ri(In(r));return}Xc(this,t-ln(this.fi()),Nt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return Tt(),VDt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:this.ri(null);return}Jc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.ve=function(){return this.zb},h.ri=function(t){Da(this,t)},h.Ib=function(){return tC(this)},h.zb=null,x(zt,"ENamedElementImpl",444),A(187,444,{110:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,52:1,101:1,162:1,187:1,118:1,119:1,687:1},yat),h.xh=function(t){return Z1t(this,t)},h.Ih=function(t,r,o){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new Jw(this,Ld,this)),this.rb;case 6:return!this.vb&&(this.vb=new ES(Dd,this,6,7)),this.vb;case 7:return r?this.Db>>16==7?l(this.Cb,244):null:Jat(this)}return qc(this,t-ln((Tt(),Lg)),Nt((s=l(qt(this,16),29),s||Lg),t),r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 4:return this.sb&&(o=l(this.sb,52).Qh(this,1,x4,o)),Wge(this,l(t,472),o);case 5:return!this.rb&&(this.rb=new Jw(this,Ld,this)),La(this.rb,t,o);case 6:return!this.vb&&(this.vb=new ES(Dd,this,6,7)),La(this.vb,t,o);case 7:return this.Cb&&(o=(u=this.Db>>16,u>=0?Z1t(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,7,o)}return f=l(Nt((s=l(qt(this,16),29),s||(Tt(),Lg)),r),69),f.uk().xk(this,Ha(this),r-ln((Tt(),Lg)),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 4:return Wge(this,null,o);case 5:return!this.rb&&(this.rb=new Jw(this,Ld,this)),Ao(this.rb,t,o);case 6:return!this.vb&&(this.vb=new ES(Dd,this,6,7)),Ao(this.vb,t,o);case 7:return Sc(this,null,7,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),Lg)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),Lg)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!Jat(this)}return zc(this,t-ln((Tt(),Lg)),Nt((r=l(qt(this,16),29),r||Lg),t))},h.Wh=function(t){var r;return r=x2n(this,t),r||P0e(this,t)},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Da(this,In(r));return;case 2:_j(this,In(r));return;case 3:Aj(this,In(r));return;case 4:KY(this,l(r,472));return;case 5:!this.rb&&(this.rb=new Jw(this,Ld,this)),vn(this.rb),!this.rb&&(this.rb=new Jw(this,Ld,this)),ti(this.rb,l(r,18));return;case 6:!this.vb&&(this.vb=new ES(Dd,this,6,7)),vn(this.vb),!this.vb&&(this.vb=new ES(Dd,this,6,7)),ti(this.vb,l(r,18));return}Xc(this,t-ln((Tt(),Lg)),Nt((o=l(qt(this,16),29),o||Lg),t),r)},h.bi=function(t){var r,o;if(t&&this.rb)for(o=new en(this.rb);o.e!=o.i.gc();)r=rn(o),se(r,361)&&(l(r,361).w=null);VS(this,64,t)},h.fi=function(){return Tt(),Lg},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:Da(this,null);return;case 2:_j(this,null);return;case 3:Aj(this,null);return;case 4:KY(this,null);return;case 5:!this.rb&&(this.rb=new Jw(this,Ld,this)),vn(this.rb);return;case 6:!this.vb&&(this.vb=new ES(Dd,this,6,7)),vn(this.vb);return}Jc(this,t-ln((Tt(),Lg)),Nt((r=l(qt(this,16),29),r||Lg),t))},h.mi=function(){DY(this)},h.si=function(){return!this.rb&&(this.rb=new Jw(this,Ld,this)),this.rb},h.ti=function(){return this.sb},h.ui=function(){return this.ub},h.vi=function(){return this.xb},h.wi=function(){return this.yb},h.xi=function(t){this.ub=t},h.Ib=function(){var t;return this.Db&64?tC(this):(t=new ml(tC(this)),t.a+=" (nsURI: ",zo(t,this.yb),t.a+=", nsPrefix: ",zo(t,this.xb),t.a+=")",t.a)},h.xb=null,h.yb=null,x(zt,"EPackageImpl",187),A(563,187,{110:1,2094:1,563:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,52:1,101:1,162:1,187:1,118:1,119:1,687:1},T0t),h.q=!1,h.r=!1;var CDt=!1;x(om,"ElkGraphPackageImpl",563),A(363,735,{110:1,344:1,176:1,158:1,278:1,363:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},Iue),h.xh=function(t){return X1e(this,t)},h.Ih=function(t,r,o){switch(t){case 7:return xhe(this);case 8:return this.a}return u1e(this,t,r,o)},h.Ph=function(t,r,o){var s;switch(r){case 7:return this.Cb&&(o=(s=this.Db>>16,s>=0?X1e(this,o):this.Cb.Qh(this,-1-s,null,o))),Pfe(this,l(t,176),o)}return zY(this,t,r,o)},h.Rh=function(t,r,o){return r==7?Pfe(this,null,o):kK(this,t,r,o)},h.Th=function(t){switch(t){case 7:return!!xhe(this);case 8:return!mt("",this.a)}return w1e(this,t)},h.$h=function(t,r){switch(t){case 7:Lme(this,l(r,176));return;case 8:Zpe(this,In(r));return}dbe(this,t,r)},h.fi=function(){return Qs(),r3e},h.hi=function(t){switch(t){case 7:Lme(this,null);return;case 8:Zpe(this,"");return}y1e(this,t)},h.Ib=function(){return cmt(this)},h.a="",x(om,"ElkLabelImpl",363),A(209,736,{110:1,344:1,83:1,176:1,19:1,278:1,209:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},PN),h.xh=function(t){return tbe(this,t)},h.Ih=function(t,r,o){switch(t){case 9:return!this.c&&(this.c=new xe(zu,this,9,9)),this.c;case 10:return!this.a&&(this.a=new xe(En,this,10,11)),this.a;case 11:return Br(this);case 12:return!this.b&&(this.b=new xe(Cr,this,12,3)),this.b;case 13:return Lt(),!this.a&&(this.a=new xe(En,this,10,11)),this.a.i>0}return $1e(this,t,r,o)},h.Ph=function(t,r,o){var s;switch(r){case 9:return!this.c&&(this.c=new xe(zu,this,9,9)),La(this.c,t,o);case 10:return!this.a&&(this.a=new xe(En,this,10,11)),La(this.a,t,o);case 11:return this.Cb&&(o=(s=this.Db>>16,s>=0?tbe(this,o):this.Cb.Qh(this,-1-s,null,o))),Wde(this,l(t,19),o);case 12:return!this.b&&(this.b=new xe(Cr,this,12,3)),La(this.b,t,o)}return ibe(this,t,r,o)},h.Rh=function(t,r,o){switch(r){case 9:return!this.c&&(this.c=new xe(zu,this,9,9)),Ao(this.c,t,o);case 10:return!this.a&&(this.a=new xe(En,this,10,11)),Ao(this.a,t,o);case 11:return Wde(this,null,o);case 12:return!this.b&&(this.b=new xe(Cr,this,12,3)),Ao(this.b,t,o)}return obe(this,t,r,o)},h.Th=function(t){switch(t){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Br(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new xe(En,this,10,11)),this.a.i>0}return Age(this,t)},h.$h=function(t,r){switch(t){case 9:!this.c&&(this.c=new xe(zu,this,9,9)),vn(this.c),!this.c&&(this.c=new xe(zu,this,9,9)),ti(this.c,l(r,18));return;case 10:!this.a&&(this.a=new xe(En,this,10,11)),vn(this.a),!this.a&&(this.a=new xe(En,this,10,11)),ti(this.a,l(r,18));return;case 11:D7(this,l(r,19));return;case 12:!this.b&&(this.b=new xe(Cr,this,12,3)),vn(this.b),!this.b&&(this.b=new xe(Cr,this,12,3)),ti(this.b,l(r,18));return}wme(this,t,r)},h.fi=function(){return Qs(),i3e},h.hi=function(t){switch(t){case 9:!this.c&&(this.c=new xe(zu,this,9,9)),vn(this.c);return;case 10:!this.a&&(this.a=new xe(En,this,10,11)),vn(this.a);return;case 11:D7(this,null);return;case 12:!this.b&&(this.b=new xe(Cr,this,12,3)),vn(this.b);return}L1e(this,t)},h.Ib=function(){return Jme(this)},x(om,"ElkNodeImpl",209),A(196,736,{110:1,344:1,83:1,176:1,127:1,278:1,196:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},xce),h.xh=function(t){return Z1e(this,t)},h.Ih=function(t,r,o){return t==9?Gd(this):$1e(this,t,r,o)},h.Ph=function(t,r,o){var s;switch(r){case 9:return this.Cb&&(o=(s=this.Db>>16,s>=0?Z1e(this,o):this.Cb.Qh(this,-1-s,null,o))),jde(this,l(t,19),o)}return ibe(this,t,r,o)},h.Rh=function(t,r,o){return r==9?jde(this,null,o):obe(this,t,r,o)},h.Th=function(t){return t==9?!!Gd(this):Age(this,t)},h.$h=function(t,r){switch(t){case 9:Cme(this,l(r,19));return}wme(this,t,r)},h.fi=function(){return Qs(),o3e},h.hi=function(t){switch(t){case 9:Cme(this,null);return}L1e(this,t)},h.Ib=function(){return ryt(this)},x(om,"ElkPortImpl",196);var IDt=Hr(_o,"BasicEMap/Entry");A(1103,119,{110:1,45:1,95:1,94:1,138:1,57:1,115:1,52:1,101:1,118:1,119:1},MGe),h.Fb=function(t){return this===t},h.jd=function(){return this.b},h.Hb=function(){return o0(this)},h.Ai=function(t){Kpe(this,l(t,149))},h.Ih=function(t,r,o){switch(t){case 0:return this.b;case 1:return this.c}return i7(this,t,r,o)},h.Th=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return gY(this,t)},h.$h=function(t,r){switch(t){case 0:Kpe(this,l(r,149));return;case 1:Ype(this,r);return}eJ(this,t,r)},h.fi=function(){return Qs(),Dh},h.hi=function(t){switch(t){case 0:Kpe(this,null);return;case 1:Ype(this,null);return}XY(this,t)},h.yi=function(){var t;return this.a==-1&&(t=this.b,this.a=t?Ir(t):0),this.a},h.kd=function(){return this.c},h.zi=function(t){this.a=t},h.ld=function(t){var r;return r=this.c,Ype(this,t),r},h.Ib=function(){var t;return this.Db&64?Zl(this):(t=new Zg,zn(zn(zn(t,this.b?this.b.Og():tu),DX),b3(this.c)),t.a)},h.a=-1,h.c=null;var Ig=x(om,"ElkPropertyToValueMapEntryImpl",1103);A(989,1,{},PGe),x(ro,"JsonAdapter",989),A(218,63,wp,_f),x(ro,"JsonImportException",218),A(859,1,{},w0t),x(ro,"JsonImporter",859),A(893,1,{},Btt),h.Bi=function(t){ubt(this.a,this.b,l(t,142))},x(ro,"JsonImporter/lambda$0$Type",893),A(894,1,{},Utt),h.Bi=function(t){Ymt(this.a,this.b,l(t,142))},x(ro,"JsonImporter/lambda$1$Type",894),A(902,1,{},uXe),h.Bi=function(t){Yst(this.a,l(t,150))},x(ro,"JsonImporter/lambda$10$Type",902),A(904,1,{},Htt),h.Bi=function(t){Mmt(this.a,this.b,l(t,142))},x(ro,"JsonImporter/lambda$11$Type",904),A(905,1,{},ztt),h.Bi=function(t){Pmt(this.a,this.b,l(t,142))},x(ro,"JsonImporter/lambda$12$Type",905),A(911,1,{},oat),h.Bi=function(t){omt(this.a,this.b,this.c,this.d,l(t,142))},x(ro,"JsonImporter/lambda$13$Type",911),A(910,1,{},sat),h.Bi=function(t){_yt(this.a,this.b,this.c,this.d,l(t,150))},x(ro,"JsonImporter/lambda$14$Type",910),A(906,1,{},Gtt),h.Bi=function(t){mit(this.a,this.b,In(t))},x(ro,"JsonImporter/lambda$15$Type",906),A(907,1,{},qtt),h.Bi=function(t){wit(this.a,this.b,In(t))},x(ro,"JsonImporter/lambda$16$Type",907),A(908,1,{},Jtt),h.Bi=function(t){z1t(this.b,this.a,l(t,142))},x(ro,"JsonImporter/lambda$17$Type",908),A(909,1,{},Xtt),h.Bi=function(t){G1t(this.b,this.a,l(t,142))},x(ro,"JsonImporter/lambda$18$Type",909),A(914,1,{},cXe),h.Bi=function(t){Ybt(this.a,l(t,150))},x(ro,"JsonImporter/lambda$19$Type",914),A(895,1,{},lXe),h.Bi=function(t){tbt(this.a,l(t,142))},x(ro,"JsonImporter/lambda$2$Type",895),A(912,1,{},dXe),h.Bi=function(t){v0(this.a,ue(ce(t)))},x(ro,"JsonImporter/lambda$20$Type",912),A(913,1,{},fXe),h.Bi=function(t){E0(this.a,ue(ce(t)))},x(ro,"JsonImporter/lambda$21$Type",913),A(917,1,{},hXe),h.Bi=function(t){Kbt(this.a,l(t,150))},x(ro,"JsonImporter/lambda$22$Type",917),A(915,1,{},pXe),h.Bi=function(t){w0(this.a,ue(ce(t)))},x(ro,"JsonImporter/lambda$23$Type",915),A(916,1,{},gXe),h.Bi=function(t){y0(this.a,ue(ce(t)))},x(ro,"JsonImporter/lambda$24$Type",916),A(919,1,{},bXe),h.Bi=function(t){ybt(this.a,l(t,142))},x(ro,"JsonImporter/lambda$25$Type",919),A(918,1,{},mXe),h.Bi=function(t){Jst(this.a,l(t,150))},x(ro,"JsonImporter/lambda$26$Type",918),A(920,1,tn,Ztt),h.Ad=function(t){mdn(this.b,this.a,In(t))},x(ro,"JsonImporter/lambda$27$Type",920),A(921,1,tn,Qtt),h.Ad=function(t){wdn(this.b,this.a,In(t))},x(ro,"JsonImporter/lambda$28$Type",921),A(922,1,{},Vtt),h.Bi=function(t){R0t(this.a,this.b,l(t,142))},x(ro,"JsonImporter/lambda$29$Type",922),A(898,1,{},wXe),h.Bi=function(t){dgt(this.a,l(t,150))},x(ro,"JsonImporter/lambda$3$Type",898),A(923,1,{},Wtt),h.Bi=function(t){ewt(this.a,this.b,l(t,142))},x(ro,"JsonImporter/lambda$30$Type",923),A(924,1,{},yXe),h.Bi=function(t){Ldt(this.a,ce(t))},x(ro,"JsonImporter/lambda$31$Type",924),A(925,1,{},vXe),h.Bi=function(t){Mdt(this.a,ce(t))},x(ro,"JsonImporter/lambda$32$Type",925),A(926,1,{},EXe),h.Bi=function(t){Pdt(this.a,ce(t))},x(ro,"JsonImporter/lambda$33$Type",926),A(927,1,{},SXe),h.Bi=function(t){jdt(this.a,ce(t))},x(ro,"JsonImporter/lambda$34$Type",927),A(928,1,{},TXe),h.Bi=function(t){vwn(this.a,l(t,57))},x(ro,"JsonImporter/lambda$35$Type",928),A(929,1,{},AXe),h.Bi=function(t){Ewn(this.a,l(t,57))},x(ro,"JsonImporter/lambda$36$Type",929),A(933,1,{},iat),x(ro,"JsonImporter/lambda$37$Type",933),A(930,1,tn,zit),h.Ad=function(t){Yfn(this.a,this.c,this.b,l(t,373))},x(ro,"JsonImporter/lambda$38$Type",930),A(931,1,tn,Ktt),h.Ad=function(t){pen(this.a,this.b,l(t,171))},x(ro,"JsonImporter/lambda$39$Type",931),A(896,1,{},_Xe),h.Bi=function(t){v0(this.a,ue(ce(t)))},x(ro,"JsonImporter/lambda$4$Type",896),A(932,1,tn,Ytt),h.Ad=function(t){gen(this.a,this.b,l(t,171))},x(ro,"JsonImporter/lambda$40$Type",932),A(934,1,tn,Git),h.Ad=function(t){Jfn(this.a,this.b,this.c,l(t,8))},x(ro,"JsonImporter/lambda$41$Type",934),A(897,1,{},kXe),h.Bi=function(t){E0(this.a,ue(ce(t)))},x(ro,"JsonImporter/lambda$5$Type",897),A(901,1,{},xXe),h.Bi=function(t){fgt(this.a,l(t,150))},x(ro,"JsonImporter/lambda$6$Type",901),A(899,1,{},NXe),h.Bi=function(t){w0(this.a,ue(ce(t)))},x(ro,"JsonImporter/lambda$7$Type",899),A(900,1,{},CXe),h.Bi=function(t){y0(this.a,ue(ce(t)))},x(ro,"JsonImporter/lambda$8$Type",900),A(903,1,{},IXe),h.Bi=function(t){vbt(this.a,l(t,142))},x(ro,"JsonImporter/lambda$9$Type",903),A(953,1,tn,RXe),h.Ad=function(t){CS(this.a,new Zw(In(t)))},x(ro,"JsonMetaDataConverter/lambda$0$Type",953),A(954,1,tn,OXe),h.Ad=function(t){gsn(this.a,l(t,235))},x(ro,"JsonMetaDataConverter/lambda$1$Type",954),A(955,1,tn,DXe),h.Ad=function(t){pun(this.a,l(t,144))},x(ro,"JsonMetaDataConverter/lambda$2$Type",955),A(956,1,tn,LXe),h.Ad=function(t){bsn(this.a,l(t,161))},x(ro,"JsonMetaDataConverter/lambda$3$Type",956),A(235,23,{3:1,34:1,23:1,235:1},pS);var gU,bU,Nre,nM,mU,rM,Cre,Ire,iM=fn(_D,"GraphFeature",235,bn,Jdn,Qin),RDt;A(11,1,{34:1,149:1},cr,Pr,ht,Mi),h.Dd=function(t){return btn(this,l(t,149))},h.Fb=function(t){return Cat(this,t)},h.Rg=function(){return ze(this)},h.Og=function(){return this.b},h.Hb=function(){return cg(this.b)},h.Ib=function(){return this.b},x(_D,"Property",11),A(664,1,Un,GG),h.Le=function(t,r){return ugn(this,l(t,105),l(r,105))},h.Fb=function(t){return this===t},h.Me=function(){return new Mn(this)},x(_D,"PropertyHolderComparator",664),A(705,1,Wi,fce),h.Nb=function(t){oo(this,t)},h.Pb=function(){return Sdn(this)},h.Qb=function(){kQe()},h.Ob=function(){return!!this.a},x(HF,"ElkGraphUtil/AncestorIterator",705);var a3e=Hr(_o,"EList");A(71,56,{22:1,32:1,56:1,18:1,16:1,71:1,61:1}),h._c=function(t,r){iC(this,t,r)},h.Ec=function(t){return Tn(this,t)},h.ad=function(t,r){return Ege(this,t,r)},h.Fc=function(t){return ti(this,t)},h.Gi=function(){return new yS(this)},h.Hi=function(){return new NO(this)},h.Ii=function(t){return w6(this,t)},h.Ji=function(){return!0},h.Ki=function(t,r){},h.Li=function(){},h.Mi=function(t,r){KW(this,t,r)},h.Ni=function(t,r,o){},h.Oi=function(t,r){},h.Pi=function(t,r,o){},h.Fb=function(t){return Bwt(this,t)},h.Hb=function(){return bge(this)},h.Qi=function(){return!1},h.Jc=function(){return new en(this)},h.cd=function(){return new vS(this)},h.dd=function(t){var r;if(r=this.gc(),t<0||t>r)throw K(new Vw(t,r));return new eW(this,t)},h.Si=function(t,r){this.Ri(t,this.bd(r))},h.Kc=function(t){return sj(this,t)},h.Ui=function(t,r){return r},h.fd=function(t,r){return EE(this,t,r)},h.Ib=function(){return h1e(this)},h.Wi=function(){return!0},h.Xi=function(t,r){return N_(this,r)},x(_o,"AbstractEList",71),A(67,71,qf,g9,m0,cge),h.Ci=function(t,r){return GY(this,t,r)},h.Di=function(t){return A1t(this,t)},h.Ei=function(t,r){R6(this,t,r)},h.Fi=function(t){t6(this,t)},h.Yi=function(t){return _pe(this,t)},h.$b=function(){B3(this)},h.Gc=function(t){return G_(this,t)},h.Xb=function(t){return ie(this,t)},h.Zi=function(t){var r,o,s;++this.j,o=this.g==null?0:this.g.length,t>o&&(s=this.g,r=o+(o/2|0)+4,r<t&&(r=t),this.g=this.$i(r),s!=null&&ua(s,0,this.g,0,this.i))},h.bd=function(t){return W1t(this,t)},h.dc=function(){return this.i==0},h.Ri=function(t,r){return rJ(this,t,r)},h.$i=function(t){return me(Ci,Rt,1,t,5,1)},h.Ti=function(t){return this.g[t]},h.ed=function(t){return JS(this,t)},h.Vi=function(t,r){return iK(this,t,r)},h.gc=function(){return this.i},h.Nc=function(){return qhe(this)},h.Oc=function(t){return E1e(this,t)},h.i=0;var u3e=x(_o,"BasicEList",67),c3e=Hr(_o,"TreeIterator");A(704,67,dQ),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.g==null&&!this.c?khe(this):this.g==null||this.i!=0&&l(this.g[this.i-1],51).Ob()},h.Pb=function(){return N7(this)},h.Qb=function(){if(!this.e)throw K(new Xo("There is no valid object to remove."));this.e.Qb()},h.c=!1,x(_o,"AbstractTreeIterator",704),A(611,704,dQ,iV),h._i=function(t){var r;return r=l(t,57).Dh().Jc(),se(r,289)&&l(r,289).ul(new jGe),r},x(HF,"ElkGraphUtil/PropertiesSkippingTreeIterator",611),A(957,1,{},jGe),x(HF,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",957);var oM,Rre,sM=x(HF,"ElkReflect",null);A(891,1,My,FGe),h.Qg=function(t){return LP(),ncn(l(t,185))},x(HF,"ElkReflect/lambda$0$Type",891);var J1;Hr(_o,"ResourceLocator"),A(1056,1,{}),x(_o,"DelegatingResourceLocator",1056),A(1057,1056,{}),x("org.eclipse.emf.common","EMFPlugin",1057);var Ore=Hr(yAt,"Adapter"),G3n=Hr(yAt,"Notification");A(1155,1,gEe),h.aj=function(){return this.d},h.bj=function(t){},h.cj=function(t){this.d=t},h.dj=function(t){this.d==t&&(this.d=null)},h.d=null,x(wT,"AdapterImpl",1155),A(2072,71,vAt),h.Ci=function(t,r){return b1e(this,t,r)},h.Di=function(t){var r,o,s;if(++this.j,t.dc())return!1;for(r=this.Cj(),s=t.Jc();s.Ob();)o=s.Pb(),this.pj(this.Xi(r,o)),++r;return!0},h.Ei=function(t,r){Qrt(this,t,r)},h.Fi=function(t){Ist(this,t)},h.nj=function(){return this.qj()},h.$b=function(){OO(this,this.Cj(),this.Dj())},h.Gc=function(t){return this.sj(t)},h.Hc=function(t){return this.tj(t)},h.oj=function(t,r){this.zj().Sm()},h.pj=function(t){this.zj().Sm()},h.qj=function(){return this.zj()},h.rj=function(){this.zj().Sm()},h.sj=function(t){return this.zj().Sm()},h.tj=function(t){return this.zj().Sm()},h.uj=function(t){return this.zj().Sm()},h.vj=function(t){return this.zj().Sm()},h.wj=function(){return this.zj().Sm()},h.xj=function(t){return this.zj().Sm()},h.yj=function(){return this.zj().Sm()},h.Aj=function(t){return this.zj().Sm()},h.Bj=function(t,r){return this.zj().Sm()},h.Cj=function(){return this.zj().Sm()},h.Dj=function(){return this.zj().Sm()},h.Ej=function(t){return this.zj().Sm()},h.Fj=function(){return this.zj().Sm()},h.Fb=function(t){return this.uj(t)},h.Xb=function(t){return this.Ui(t,this.vj(t))},h.Hb=function(){return this.wj()},h.bd=function(t){return this.xj(t)},h.dc=function(){return this.yj()},h.Ri=function(t,r){return Rbe(this,t,r)},h.Ti=function(t){return this.vj(t)},h.ed=function(t){return tP(this,t)},h.Kc=function(t){var r;return r=this.bd(t),r>=0?(this.ed(r),!0):!1},h.Vi=function(t,r){return this.Bj(t,this.Xi(t,r))},h.gc=function(){return this.Cj()},h.Nc=function(){return this.Dj()},h.Oc=function(t){return this.Ej(t)},h.Ib=function(){return this.Fj()},x(_o,"DelegatingEList",2072),A(2073,2072,vAt),h.Ci=function(t,r){return l0e(this,t,r)},h.Di=function(t){return this.Ci(this.Cj(),t)},h.Ei=function(t,r){A0t(this,t,r)},h.Fi=function(t){h0t(this,t)},h.Ji=function(){return!this.Kj()},h.$b=function(){LC(this)},h.Gj=function(t,r,o,s,u){return new xat(this,t,r,o,s,u)},h.Hj=function(t){hr(this.hj(),t)},h.Ij=function(){return null},h.Jj=function(){return-1},h.hj=function(){return null},h.Kj=function(){return!1},h.Lj=function(t,r){return r},h.Mj=function(t,r){return r},h.Nj=function(){return!1},h.Oj=function(){return!this.yj()},h.Ri=function(t,r){var o,s;return this.Nj()?(s=this.Oj(),o=Rbe(this,t,r),this.Hj(this.Gj(7,Re(r),o,t,s)),o):Rbe(this,t,r)},h.ed=function(t){var r,o,s,u;return this.Nj()?(o=null,s=this.Oj(),r=this.Gj(4,u=tP(this,t),null,t,s),this.Kj()&&u?(o=this.Mj(u,o),o?(o.lj(r),o.mj()):this.Hj(r)):o?(o.lj(r),o.mj()):this.Hj(r),u):(u=tP(this,t),this.Kj()&&u&&(o=this.Mj(u,null),o&&o.mj()),u)},h.Vi=function(t,r){return jyt(this,t,r)},x(wT,"DelegatingNotifyingListImpl",2073),A(152,1,zD),h.lj=function(t){return bbe(this,t)},h.mj=function(){QW(this)},h.ej=function(){return this.d},h.Ij=function(){return null},h.Pj=function(){return null},h.fj=function(t){return-1},h.gj=function(){return Ewt(this)},h.hj=function(){return null},h.ij=function(){return $me(this)},h.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},h.Qj=function(){return!1},h.kj=function(t){var r,o,s,u,f,p,m,y,v,T,N;switch(this.d){case 1:case 2:switch(u=t.ej(),u){case 1:case 2:if(f=t.hj(),be(f)===be(this.hj())&&this.fj(null)==t.fj(null))return this.g=t.gj(),t.ej()==1&&(this.d=1),!0}case 4:{switch(u=t.ej(),u){case 4:{if(f=t.hj(),be(f)===be(this.hj())&&this.fj(null)==t.fj(null))return v=N0e(this),y=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,p=t.jj(),this.d=6,N=new m0(2),y<=p?(Tn(N,this.n),Tn(N,t.ij()),this.g=Z(X(Rn,1),Xn,30,15,[this.o=y,p+1])):(Tn(N,t.ij()),Tn(N,this.n),this.g=Z(X(Rn,1),Xn,30,15,[this.o=p,y])),this.n=N,v||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(u=t.ej(),u){case 4:{if(f=t.hj(),be(f)===be(this.hj())&&this.fj(null)==t.fj(null)){for(v=N0e(this),p=t.jj(),T=l(this.g,54),s=me(Rn,Xn,30,T.length+1,15,1),r=0;r<T.length&&(m=T[r],m<=p);)s[r++]=m,++p;for(o=l(this.n,16),o._c(r,t.ij()),s[r]=p;++r<s.length;)s[r]=T[r-1];return this.g=s,v||(this.o=-2-s[0]),!0}break}}break}}return!1},h.Ib=function(){var t,r,o,s;switch(s=new ml(Sb(this.Pm)+"@"+(r=Ir(this)>>>0,r.toString(16))),s.a+=" (eventType: ",this.d){case 1:{s.a+="SET";break}case 2:{s.a+="UNSET";break}case 3:{s.a+="ADD";break}case 5:{s.a+="ADD_MANY";break}case 4:{s.a+="REMOVE";break}case 6:{s.a+="REMOVE_MANY";break}case 7:{s.a+="MOVE";break}case 8:{s.a+="REMOVING_ADAPTER";break}case 9:{s.a+="RESOLVE";break}default:{pq(s,this.d);break}}if(lyt(this)&&(s.a+=", touch: true"),s.a+=", position: ",pq(s,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),s.a+=", notifier: ",l3(s,this.hj()),s.a+=", feature: ",l3(s,this.Ij()),s.a+=", oldValue: ",l3(s,$me(this)),s.a+=", newValue: ",this.d==6&&se(this.g,54)){for(o=l(this.g,54),s.a+="[",t=0;t<o.length;)s.a+=o[t],++t<o.length&&(s.a+=Ma);s.a+="]"}else l3(s,Ewt(this));return s.a+=", isTouch: ",Xp(s,lyt(this)),s.a+=", wasSet: ",Xp(s,N0e(this)),s.a+=")",s.a},h.d=0,h.e=0,h.f=0,h.j=0,h.k=0,h.o=0,h.p=0,x(wT,"NotificationImpl",152),A(1169,152,zD,xat),h.Ij=function(){return this.a.Ij()},h.fj=function(t){return this.a.Jj()},h.hj=function(){return this.a.hj()},x(wT,"DelegatingNotifyingListImpl/1",1169),A(255,67,qf,$Ge,Qg),h.Ec=function(t){return mgt(this,l(t,374))},h.lj=function(t){return mgt(this,t)},h.mj=function(){var t,r,o;for(t=0;t<this.i;++t)r=l(this.g[t],374),o=r.hj(),o!=null&&r.ej()!=-1&&l(o,95).uh(r)},h.$i=function(t){return me(G3n,Rt,374,t,0,1)},x(wT,"NotificationChainImpl",255),A(1502,94,RTt),h.rh=function(){return this.e},h.th=function(){return(this.f&1)!=0},h.f=1,x(wT,"NotifierImpl",1502),A(2070,67,qf),h.Ci=function(t,r){return SJ(this,t,r)},h.Di=function(t){return this.Ci(this.i,t)},h.Ei=function(t,r){cme(this,t,r)},h.Fi=function(t){iJ(this,t)},h.Ji=function(){return!this.Kj()},h.$b=function(){vn(this)},h.Gj=function(t,r,o,s,u){return new Nat(this,t,r,o,s,u)},h.Hj=function(t){hr(this.hj(),t)},h.Ij=function(){return null},h.Jj=function(){return-1},h.hj=function(){return null},h.Kj=function(){return!1},h.Rj=function(){return!1},h.Lj=function(t,r){return r},h.Mj=function(t,r){return r},h.Nj=function(){return!1},h.Oj=function(){return this.i!=0},h.Ri=function(t,r){return oC(this,t,r)},h.ed=function(t){return Ay(this,t)},h.Vi=function(t,r){return tvt(this,t,r)},h.Sj=function(t,r){return r},h.Tj=function(t,r){return r},h.Uj=function(t,r,o){return o},x(wT,"NotifyingListImpl",2070),A(1168,152,zD,Nat),h.Ij=function(){return this.a.Ij()},h.fj=function(t){return this.a.Jj()},h.hj=function(){return this.a.hj()},x(wT,"NotifyingListImpl/1",1168),A(958,67,qf,tit),h.Gc=function(t){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new Ww(this),this.a=this.j),bl(this.b,t)):G_(this,t)},h.Wi=function(){return!0},h.a=0,x(_o,"AbstractEList/1",958),A(306,99,nF,Vw),x(_o,"AbstractEList/BasicIndexOutOfBoundsException",306),A(39,1,Wi,en),h.Nb=function(t){oo(this,t)},h.Vj=function(){if(this.i.j!=this.f)throw K(new $c)},h.Wj=function(){return rn(this)},h.Ob=function(){return this.e!=this.i.gc()},h.Pb=function(){return this.Wj()},h.Qb=function(){gC(this)},h.e=0,h.f=0,h.g=-1,x(_o,"AbstractEList/EIterator",39),A(288,39,vh,vS,eW),h.Qb=function(){gC(this)},h.Rb=function(t){xgt(this,t)},h.Xj=function(){var t;try{return t=this.d.Xb(--this.e),this.Vj(),this.g=this.e,t}catch(r){throw r=ci(r),se(r,99)?(this.Vj(),K(new ys)):K(r)}},h.Yj=function(t){_1t(this,t)},h.Sb=function(){return this.e!=0},h.Tb=function(){return this.e},h.Ub=function(){return this.Xj()},h.Vb=function(){return this.e-1},h.Wb=function(t){this.Yj(t)},x(_o,"AbstractEList/EListIterator",288),A(356,39,Wi,yS),h.Wj=function(){return bY(this)},h.Qb=function(){throw K(new Nn)},x(_o,"AbstractEList/NonResolvingEIterator",356),A(393,288,vh,NO,efe),h.Rb=function(t){throw K(new Nn)},h.Wj=function(){var t;try{return t=this.c.Ti(this.e),this.Vj(),this.g=this.e++,t}catch(r){throw r=ci(r),se(r,99)?(this.Vj(),K(new ys)):K(r)}},h.Xj=function(){var t;try{return t=this.c.Ti(--this.e),this.Vj(),this.g=this.e,t}catch(r){throw r=ci(r),se(r,99)?(this.Vj(),K(new ys)):K(r)}},h.Qb=function(){throw K(new Nn)},h.Wb=function(t){throw K(new Nn)},x(_o,"AbstractEList/NonResolvingEListIterator",393),A(2059,71,EAt),h.Ci=function(t,r){var o,s,u,f,p,m,y,v,T,N,I;if(u=r.gc(),u!=0){for(v=l(qt(this.a,4),131),T=v==null?0:v.length,I=T+u,s=$K(this,I),N=T-t,N>0&&ua(v,t,s,t+u,N),y=r.Jc(),p=0;p<u;++p)m=y.Pb(),o=t+p,uV(s,o,N_(this,m));for(U_(this,s),f=0;f<u;++f)m=s[t],this.Ki(t,m),++t;return!0}else return++this.j,!1},h.Di=function(t){var r,o,s,u,f,p,m,y,v;if(s=t.gc(),s!=0){for(y=(o=l(qt(this.a,4),131),o==null?0:o.length),v=y+s,r=$K(this,v),m=t.Jc(),f=y;f<v;++f)p=m.Pb(),uV(r,f,N_(this,p));for(U_(this,r),u=y;u<v;++u)p=r[u],this.Ki(u,p);return!0}else return++this.j,!1},h.Ei=function(t,r){var o,s,u,f;s=l(qt(this.a,4),131),u=s==null?0:s.length,o=$K(this,u+1),f=N_(this,r),t!=u&&ua(s,t,o,t+1,u-t),ii(o,t,f),U_(this,o),this.Ki(t,r)},h.Fi=function(t){var r,o,s;s=(o=l(qt(this.a,4),131),o==null?0:o.length),r=$K(this,s+1),uV(r,s,N_(this,t)),U_(this,r),this.Ki(s,t)},h.Gi=function(){return new ilt(this)},h.Hi=function(){return new cst(this)},h.Ii=function(t){var r,o;if(o=(r=l(qt(this.a,4),131),r==null?0:r.length),t<0||t>o)throw K(new Vw(t,o));return new $st(this,t)},h.$b=function(){var t,r;++this.j,t=l(qt(this.a,4),131),r=t==null?0:t.length,U_(this,null),KW(this,r,t)},h.Gc=function(t){var r,o,s,u,f;if(r=l(qt(this.a,4),131),r!=null){if(t!=null){for(s=r,u=0,f=s.length;u<f;++u)if(o=s[u],pr(t,o))return!0}else for(s=r,u=0,f=s.length;u<f;++u)if(o=s[u],be(o)===be(t))return!0}return!1},h.Xb=function(t){var r,o;if(r=l(qt(this.a,4),131),o=r==null?0:r.length,t>=o)throw K(new Vw(t,o));return r[t]},h.bd=function(t){var r,o,s;if(r=l(qt(this.a,4),131),r!=null){if(t!=null){for(o=0,s=r.length;o<s;++o)if(pr(t,r[o]))return o}else for(o=0,s=r.length;o<s;++o)if(be(r[o])===be(t))return o}return-1},h.dc=function(){return l(qt(this.a,4),131)==null},h.Jc=function(){return new rlt(this)},h.cd=function(){return new ust(this)},h.dd=function(t){var r,o;if(o=(r=l(qt(this.a,4),131),r==null?0:r.length),t<0||t>o)throw K(new Vw(t,o));return new Fst(this,t)},h.Ri=function(t,r){var o,s,u;if(o=Lgt(this),u=o==null?0:o.length,t>=u)throw K(new Na(cQ+t+sm+u));if(r>=u)throw K(new Na(lQ+r+sm+u));return s=o[r],t!=r&&(t<r?ua(o,t,o,t+1,r-t):ua(o,r+1,o,r,t-r),ii(o,t,s),U_(this,o)),s},h.Ti=function(t){return l(qt(this.a,4),131)[t]},h.ed=function(t){return Avn(this,t)},h.Vi=function(t,r){var o,s;return o=Lgt(this),s=o[t],uV(o,t,N_(this,r)),U_(this,o),s},h.gc=function(){var t;return t=l(qt(this.a,4),131),t==null?0:t.length},h.Nc=function(){var t,r,o;return t=l(qt(this.a,4),131),o=t==null?0:t.length,r=me(Ore,gQ,420,o,0,1),o>0&&ua(t,0,r,0,o),r},h.Oc=function(t){var r,o,s;return r=l(qt(this.a,4),131),s=r==null?0:r.length,s>0&&(t.length<s&&(o=m6(nc(t).c,s),t=o),ua(r,0,t,0,s)),t.length>s&&ii(t,s,null),t};var ODt;x(_o,"ArrayDelegatingEList",2059),A(1043,39,Wi,rlt),h.Vj=function(){if(this.b.j!=this.f||be(l(qt(this.b.a,4),131))!==be(this.a))throw K(new $c)},h.Qb=function(){gC(this),this.a=l(qt(this.b.a,4),131)},x(_o,"ArrayDelegatingEList/EIterator",1043),A(719,288,vh,ust,Fst),h.Vj=function(){if(this.b.j!=this.f||be(l(qt(this.b.a,4),131))!==be(this.a))throw K(new $c)},h.Yj=function(t){_1t(this,t),this.a=l(qt(this.b.a,4),131)},h.Qb=function(){gC(this),this.a=l(qt(this.b.a,4),131)},x(_o,"ArrayDelegatingEList/EListIterator",719),A(1044,356,Wi,ilt),h.Vj=function(){if(this.b.j!=this.f||be(l(qt(this.b.a,4),131))!==be(this.a))throw K(new $c)},x(_o,"ArrayDelegatingEList/NonResolvingEIterator",1044),A(720,393,vh,cst,$st),h.Vj=function(){if(this.b.j!=this.f||be(l(qt(this.b.a,4),131))!==be(this.a))throw K(new $c)},x(_o,"ArrayDelegatingEList/NonResolvingEListIterator",720),A(612,306,nF,tV),x(_o,"BasicEList/BasicIndexOutOfBoundsException",612),A(706,67,qf,Ule),h._c=function(t,r){throw K(new Nn)},h.Ec=function(t){throw K(new Nn)},h.ad=function(t,r){throw K(new Nn)},h.Fc=function(t){throw K(new Nn)},h.$b=function(){throw K(new Nn)},h.Zi=function(t){throw K(new Nn)},h.Jc=function(){return this.Gi()},h.cd=function(){return this.Hi()},h.dd=function(t){return this.Ii(t)},h.Ri=function(t,r){throw K(new Nn)},h.Si=function(t,r){throw K(new Nn)},h.ed=function(t){throw K(new Nn)},h.Kc=function(t){throw K(new Nn)},h.fd=function(t,r){throw K(new Nn)},x(_o,"BasicEList/UnmodifiableEList",706),A(718,1,{3:1,22:1,18:1,16:1,61:1,593:1}),h._c=function(t,r){itn(this,t,l(r,45))},h.Ec=function(t){return nnn(this,l(t,45))},h.Ic=function(t){co(this,t)},h.Xb=function(t){return l(ie(this.c,t),138)},h.Ri=function(t,r){return l(this.c.Ri(t,r),45)},h.Si=function(t,r){otn(this,t,l(r,45))},h.ed=function(t){return l(this.c.ed(t),45)},h.fd=function(t,r){return msn(this,t,l(r,45))},h.gd=function(t){Ub(this,t)},h.Lc=function(){return new vt(this,16)},h.Mc=function(){return new yt(null,new vt(this,16))},h.ad=function(t,r){return this.c.ad(t,r)},h.Fc=function(t){return this.c.Fc(t)},h.$b=function(){this.c.$b()},h.Gc=function(t){return this.c.Gc(t)},h.Hc=function(t){return k6(this.c,t)},h.Zj=function(){var t,r,o;if(this.d==null){for(this.d=me(u3e,bEe,67,2*this.f+1,0,1),o=this.e,this.f=0,r=this.c.Jc();r.e!=r.i.gc();)t=l(r.Wj(),138),a7(this,t);this.e=o}},h.Fb=function(t){return Rit(this,t)},h.Hb=function(){return bge(this.c)},h.bd=function(t){return this.c.bd(t)},h.$j=function(){this.c=new MXe(this)},h.dc=function(){return this.f==0},h.Jc=function(){return this.c.Jc()},h.cd=function(){return this.c.cd()},h.dd=function(t){return this.c.dd(t)},h._j=function(){return i6(this)},h.ak=function(t,r,o){return new qit(t,r,o)},h.bk=function(){return new UGe},h.Kc=function(t){return Rft(this,t)},h.gc=function(){return this.f},h.hd=function(t,r){return new If(this.c,t,r)},h.Nc=function(){return this.c.Nc()},h.Oc=function(t){return this.c.Oc(t)},h.Ib=function(){return h1e(this.c)},h.e=0,h.f=0,x(_o,"BasicEMap",718),A(1038,67,qf,MXe),h.Ki=function(t,r){UZt(this,l(r,138))},h.Ni=function(t,r,o){var s;++(s=this,l(r,138),s).a.e},h.Oi=function(t,r){HZt(this,l(r,138))},h.Pi=function(t,r,o){jtn(this,l(r,138),l(o,138))},h.Mi=function(t,r){Aht(this.a)},x(_o,"BasicEMap/1",1038),A(1039,67,qf,UGe),h.$i=function(t){return me(q3n,SAt,618,t,0,1)},x(_o,"BasicEMap/2",1039),A(1040,tf,wu,PXe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){return iY(this.a,t)},h.Jc=function(){return this.a.f==0?(YA(),aM.a):new vQe(this.a)},h.Kc=function(t){var r;return r=this.a.f,Xj(this.a,t),this.a.f!=r},h.gc=function(){return this.a.f},x(_o,"BasicEMap/3",1040),A(1041,32,Ny,jXe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){return Uwt(this.a,t)},h.Jc=function(){return this.a.f==0?(YA(),aM.a):new EQe(this.a)},h.gc=function(){return this.a.f},x(_o,"BasicEMap/4",1041),A(1042,tf,wu,FXe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){var r,o,s,u,f,p,m,y,v;if(this.a.f>0&&se(t,45)&&(this.a.Zj(),y=l(t,45),m=y.jd(),u=m==null?0:Ir(m),f=Fde(this.a,u),r=this.a.d[f],r)){for(o=l(r.g,375),v=r.i,p=0;p<v;++p)if(s=o[p],s.yi()==u&&s.Fb(y))return!0}return!1},h.Jc=function(){return this.a.f==0?(YA(),aM.a):new bW(this.a)},h.Kc=function(t){return C0t(this,t)},h.gc=function(){return this.a.f},x(_o,"BasicEMap/5",1042),A(619,1,Wi,bW),h.Nb=function(t){oo(this,t)},h.Ob=function(){return this.b!=-1},h.Pb=function(){var t;if(this.f.e!=this.c)throw K(new $c);if(this.b==-1)throw K(new ys);return this.d=this.a,this.e=this.b,sbt(this),t=l(this.f.d[this.d].g[this.e],138),this.ck(t)},h.Qb=function(){if(this.f.e!=this.c)throw K(new $c);if(this.e==-1)throw K(new lu);this.f.c.Kc(ie(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},h.ck=function(t){return t},h.a=0,h.b=-1,h.c=0,h.d=0,h.e=0,x(_o,"BasicEMap/BasicEMapIterator",619),A(1036,619,Wi,vQe),h.ck=function(t){return t.jd()},x(_o,"BasicEMap/BasicEMapKeyIterator",1036),A(1037,619,Wi,EQe),h.ck=function(t){return t.kd()},x(_o,"BasicEMap/BasicEMapValueIterator",1037),A(1035,1,P0,$Xe),h.wc=function(t){v6(this,t)},h.$b=function(){this.a.c.$b()},h._b=function(t){return ant(this,t)},h.uc=function(t){return Uwt(this.a,t)},h.vc=function(){return tdn(this.a)},h.Fb=function(t){return Rit(this.a,t)},h.xc=function(t){return Td(this.a,t)},h.Hb=function(){return bge(this.a.c)},h.dc=function(){return this.a.f==0},h.ec=function(){return Qln(this.a)},h.yc=function(t,r){return G6(this.a,t,r)},h.Ac=function(t){return Xj(this.a,t)},h.gc=function(){return this.a.f},h.Ib=function(){return h1e(this.a.c)},h.Bc=function(){return edn(this.a)},x(_o,"BasicEMap/DelegatingMap",1035),A(618,1,{45:1,138:1,618:1},qit),h.Fb=function(t){var r;return se(t,45)?(r=l(t,45),(this.b!=null?pr(this.b,r.jd()):be(this.b)===be(r.jd()))&&(this.c!=null?pr(this.c,r.kd()):be(this.c)===be(r.kd()))):!1},h.yi=function(){return this.a},h.jd=function(){return this.b},h.kd=function(){return this.c},h.Hb=function(){return this.a^(this.c==null?0:Ir(this.c))},h.zi=function(t){this.a=t},h.Ai=function(t){throw K(new vb)},h.ld=function(t){var r;return r=this.c,this.c=t,r},h.Ib=function(){return this.b+"->"+this.c},h.a=0;var q3n=x(_o,"BasicEMap/EntryImpl",618);A(538,1,{},b9),x(_o,"BasicEMap/View",538);var aM;A(776,1,{}),h.Fb=function(t){return yme((St(),No),t)},h.Hb=function(){return Nge((St(),No))},h.Ib=function(){return Qd((St(),No))},x(_o,"ECollections/BasicEmptyUnmodifiableEList",776),A(1314,1,vh,BGe),h.Nb=function(t){oo(this,t)},h.Rb=function(t){throw K(new Nn)},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Pb=function(){throw K(new ys)},h.Tb=function(){return 0},h.Ub=function(){throw K(new ys)},h.Vb=function(){return-1},h.Qb=function(){throw K(new Nn)},h.Wb=function(t){throw K(new Nn)},x(_o,"ECollections/BasicEmptyUnmodifiableEList/1",1314),A(1312,776,{22:1,18:1,16:1,61:1},xZe),h._c=function(t,r){zQe()},h.Ec=function(t){return GQe()},h.ad=function(t,r){return qQe()},h.Fc=function(t){return VQe()},h.$b=function(){WQe()},h.Gc=function(t){return!1},h.Hc=function(t){return!1},h.Ic=function(t){co(this,t)},h.Xb=function(t){return qle((St(),t)),null},h.bd=function(t){return-1},h.dc=function(){return!0},h.Jc=function(){return this.a},h.cd=function(){return this.a},h.dd=function(t){return this.a},h.Ri=function(t,r){return KQe()},h.Si=function(t,r){YQe()},h.ed=function(t){return JQe()},h.Kc=function(t){return XQe()},h.fd=function(t,r){return ZQe()},h.gc=function(){return 0},h.gd=function(t){Ub(this,t)},h.Lc=function(){return new vt(this,16)},h.Mc=function(){return new yt(null,new vt(this,16))},h.hd=function(t,r){return St(),new If(No,t,r)},h.Nc=function(){return $fe((St(),No))},h.Oc=function(t){return St(),dC(No,t)},x(_o,"ECollections/EmptyUnmodifiableEList",1312),A(1313,776,{22:1,18:1,16:1,61:1,593:1},NZe),h._c=function(t,r){zQe()},h.Ec=function(t){return GQe()},h.ad=function(t,r){return qQe()},h.Fc=function(t){return VQe()},h.$b=function(){WQe()},h.Gc=function(t){return!1},h.Hc=function(t){return!1},h.Ic=function(t){co(this,t)},h.Xb=function(t){return qle((St(),t)),null},h.bd=function(t){return-1},h.dc=function(){return!0},h.Jc=function(){return this.a},h.cd=function(){return this.a},h.dd=function(t){return this.a},h.Ri=function(t,r){return KQe()},h.Si=function(t,r){YQe()},h.ed=function(t){return JQe()},h.Kc=function(t){return XQe()},h.fd=function(t,r){return ZQe()},h.gc=function(){return 0},h.gd=function(t){Ub(this,t)},h.Lc=function(){return new vt(this,16)},h.Mc=function(){return new yt(null,new vt(this,16))},h.hd=function(t,r){return St(),new If(No,t,r)},h.Nc=function(){return $fe((St(),No))},h.Oc=function(t){return St(),dC(No,t)},h._j=function(){return St(),St(),kh},x(_o,"ECollections/EmptyUnmodifiableEMap",1313);var l3e=Hr(_o,"Enumerator"),wU;A(291,1,{291:1},fJ),h.Fb=function(t){var r;return this===t?!0:se(t,291)?(r=l(t,291),this.f==r.f&&$on(this.i,r.i)&&UV(this.a,this.f&256?r.f&256?r.a:null:r.f&256?null:r.a)&&UV(this.d,r.d)&&UV(this.g,r.g)&&UV(this.e,r.e)&&K1n(this,r)):!1},h.Hb=function(){return this.f},h.Ib=function(){return Syt(this)},h.f=0;var DDt=0,LDt=0,MDt=0,PDt=0,d3e=0,f3e=0,h3e=0,p3e=0,g3e=0,jDt,C4=0,I4=0,FDt=0,$Dt=0,yU,b3e;x(_o,"URI",291),A(1102,44,DE,CZe),h.yc=function(t,r){return l(Qo(this,In(t),l(r,291)),291)},x(_o,"URI/URICache",1102),A(495,67,qf,HGe,sP),h.Qi=function(){return!0},x(_o,"UniqueEList",495),A(585,63,wp,rj),x(_o,"WrappedException",585);var Kn=Hr(el,_At),pv=Hr(el,kAt),au=Hr(el,xAt),gv=Hr(el,NAt),Ld=Hr(el,CAt),Ol=Hr(el,"EClass"),Dre=Hr(el,"EDataType"),BDt;A(1210,44,DE,IZe),h.xc=function(t){return zi(t)?ma(this,t):Es(Zo(this.f,t))},x(el,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1210);var vU=Hr(el,"EEnum"),Ip=Hr(el,IAt),Uo=Hr(el,RAt),Dl=Hr(el,OAt),Ll,cw=Hr(el,DAt),bv=Hr(el,LAt);A(1034,1,{},zGe),h.Ib=function(){return"NIL"},x(el,"EStructuralFeature/Internal/DynamicValueHolder/1",1034);var UDt;A(1033,44,DE,RZe),h.xc=function(t){return zi(t)?ma(this,t):Es(Zo(this.f,t))},x(el,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1033);var Ka=Hr(el,MAt),WT=Hr(el,"EValidator/PatternMatcher"),m3e,w3e,Bt,Rg,mv,X1,HDt,zDt,GDt,Z1,Og,Q1,lw,bf,qDt,VDt,Ml,Dg,WDt,Lg,wv,w2,Io,KDt,YDt,dw,EU=Hr(Fr,"FeatureMap/Entry");A(537,1,{76:1},T8),h.Jk=function(){return this.a},h.kd=function(){return this.b},x(zt,"BasicEObjectImpl/1",537),A(1032,1,bQ,tnt),h.Dk=function(t){return zW(this.a,this.b,t)},h.Oj=function(){return qat(this.a,this.b)},h.Wb=function(t){_he(this.a,this.b,t)},h.Ek=function(){Dsn(this.a,this.b)},x(zt,"BasicEObjectImpl/4",1032),A(2060,1,{115:1}),h.Kk=function(t){this.e=t==0?JDt:me(Ci,Rt,1,t,5,1)},h.ii=function(t){return this.e[t]},h.ji=function(t,r){this.e[t]=r},h.ki=function(t){this.e[t]=null},h.Lk=function(){return this.c},h.Mk=function(){throw K(new Nn)},h.Nk=function(){throw K(new Nn)},h.Ok=function(){return this.d},h.Pk=function(){return this.e!=null},h.Qk=function(t){this.c=t},h.Rk=function(t){throw K(new Nn)},h.Sk=function(t){throw K(new Nn)},h.Tk=function(t){this.d=t};var JDt;x(zt,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2060),A(195,2060,{115:1},bd),h.Mk=function(){return this.a},h.Nk=function(){return this.b},h.Rk=function(t){this.a=t},h.Sk=function(t){this.b=t},x(zt,"BasicEObjectImpl/EPropertiesHolderImpl",195),A(505,101,MTt,m9),h.rh=function(){return this.f},h.wh=function(){return this.k},h.yh=function(t,r){this.g=t,this.i=r},h.Ah=function(){return this.j&2?this.Xh().Lk():this.fi()},h.Ch=function(){return this.i},h.th=function(){return(this.j&1)!=0},h.Mh=function(){return this.g},h.Sh=function(){return(this.j&4)!=0},h.Xh=function(){return!this.k&&(this.k=new bd),this.k},h._h=function(t){this.Xh().Qk(t),t?this.j|=2:this.j&=-3},h.bi=function(t){this.Xh().Sk(t),t?this.j|=4:this.j&=-5},h.fi=function(){return(a1(),Bt).S},h.i=0,h.j=1,x(zt,"EObjectImpl",505),A(792,505,{110:1,95:1,94:1,57:1,115:1,52:1,101:1},Sfe),h.ii=function(t){return this.e[t]},h.ji=function(t,r){this.e[t]=r},h.ki=function(t){this.e[t]=null},h.Ah=function(){return this.d},h.Fh=function(t){return Ur(this.d,t)},h.Hh=function(){return this.d},h.Lh=function(){return this.e!=null},h.Xh=function(){return!this.k&&(this.k=new GGe),this.k},h._h=function(t){this.d=t},h.ei=function(){var t;return this.e==null&&(t=ln(this.d),this.e=t==0?XDt:me(Ci,Rt,1,t,5,1)),this},h.gi=function(){return 0};var XDt;x(zt,"DynamicEObjectImpl",792),A(1500,792,{110:1,45:1,95:1,94:1,138:1,57:1,115:1,52:1,101:1},vot),h.Fb=function(t){return this===t},h.Hb=function(){return o0(this)},h._h=function(t){this.d=t,this.b=nD(t,"key"),this.c=nD(t,rI)},h.yi=function(){var t;return this.a==-1&&(t=rK(this,this.b),this.a=t==null?0:Ir(t)),this.a},h.jd=function(){return rK(this,this.b)},h.kd=function(){return rK(this,this.c)},h.zi=function(t){this.a=t},h.Ai=function(t){_he(this,this.b,t)},h.ld=function(t){var r;return r=rK(this,this.c),_he(this,this.c,t),r},h.a=0,x(zt,"DynamicEObjectImpl/BasicEMapEntry",1500),A(1501,1,{115:1},GGe),h.Kk=function(t){throw K(new Nn)},h.ii=function(t){throw K(new Nn)},h.ji=function(t,r){throw K(new Nn)},h.ki=function(t){throw K(new Nn)},h.Lk=function(){throw K(new Nn)},h.Mk=function(){return this.a},h.Nk=function(){return this.b},h.Ok=function(){return this.c},h.Pk=function(){throw K(new Nn)},h.Qk=function(t){throw K(new Nn)},h.Rk=function(t){this.a=t},h.Sk=function(t){this.b=t},h.Tk=function(t){this.c=t},x(zt,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1501),A(508,162,{110:1,95:1,94:1,594:1,159:1,57:1,115:1,52:1,101:1,508:1,162:1,118:1,119:1},Rue),h.xh=function(t){return Q1e(this,t)},h.Ih=function(t,r,o){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.d;case 2:return o?(!this.b&&(this.b=new Xu((Tt(),Io),Hs,this)),this.b):(!this.b&&(this.b=new Xu((Tt(),Io),Hs,this)),i6(this.b));case 3:return Xat(this);case 4:return!this.a&&(this.a=new yi(Y1,this,4)),this.a;case 5:return!this.c&&(this.c=new oE(Y1,this,5)),this.c}return qc(this,t-ln((Tt(),Rg)),Nt((s=l(qt(this,16),29),s||Rg),t),r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 3:return this.Cb&&(o=(u=this.Db>>16,u>=0?Q1e(this,o):this.Cb.Qh(this,-1-u,null,o))),jfe(this,l(t,159),o)}return f=l(Nt((s=l(qt(this,16),29),s||(Tt(),Rg)),r),69),f.uk().xk(this,Ha(this),r-ln((Tt(),Rg)),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 2:return!this.b&&(this.b=new Xu((Tt(),Io),Hs,this)),z8(this.b,t,o);case 3:return jfe(this,null,o);case 4:return!this.a&&(this.a=new yi(Y1,this,4)),Ao(this.a,t,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),Rg)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),Rg)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!Xat(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return zc(this,t-ln((Tt(),Rg)),Nt((r=l(qt(this,16),29),r||Rg),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Ton(this,In(r));return;case 2:!this.b&&(this.b=new Xu((Tt(),Io),Hs,this)),xj(this.b,r);return;case 3:cwt(this,l(r,159));return;case 4:!this.a&&(this.a=new yi(Y1,this,4)),vn(this.a),!this.a&&(this.a=new yi(Y1,this,4)),ti(this.a,l(r,18));return;case 5:!this.c&&(this.c=new oE(Y1,this,5)),vn(this.c),!this.c&&(this.c=new oE(Y1,this,5)),ti(this.c,l(r,18));return}Xc(this,t-ln((Tt(),Rg)),Nt((o=l(qt(this,16),29),o||Rg),t),r)},h.fi=function(){return Tt(),Rg},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:Xpe(this,null);return;case 2:!this.b&&(this.b=new Xu((Tt(),Io),Hs,this)),this.b.c.$b();return;case 3:cwt(this,null);return;case 4:!this.a&&(this.a=new yi(Y1,this,4)),vn(this.a);return;case 5:!this.c&&(this.c=new oE(Y1,this,5)),vn(this.c);return}Jc(this,t-ln((Tt(),Rg)),Nt((r=l(qt(this,16),29),r||Rg),t))},h.Ib=function(){return Kpt(this)},h.d=null,x(zt,"EAnnotationImpl",508),A(145,718,mEe,pu),h.Ei=function(t,r){Hen(this,t,l(r,45))},h.Uk=function(t,r){return Gnn(this,l(t,45),r)},h.Yi=function(t){return l(l(this.c,72).Yi(t),138)},h.Gi=function(){return l(this.c,72).Gi()},h.Hi=function(){return l(this.c,72).Hi()},h.Ii=function(t){return l(this.c,72).Ii(t)},h.Vk=function(t,r){return z8(this,t,r)},h.Dk=function(t){return l(this.c,78).Dk(t)},h.$j=function(){},h.Oj=function(){return l(this.c,78).Oj()},h.ak=function(t,r,o){var s;return s=l(mc(this.b).ti().pi(this.b),138),s.zi(t),s.Ai(r),s.ld(o),s},h.bk=function(){return new pce(this)},h.Wb=function(t){xj(this,t)},h.Ek=function(){l(this.c,78).Ek()},x(Fr,"EcoreEMap",145),A(170,145,mEe,Xu),h.Zj=function(){var t,r,o,s,u,f;if(this.d==null){for(f=me(u3e,bEe,67,2*this.f+1,0,1),o=this.c.Jc();o.e!=o.i.gc();)r=l(o.Wj(),138),s=r.yi(),u=(s&sr)%f.length,t=f[u],!t&&(t=f[u]=new pce(this)),t.Ec(r);this.d=f}},x(zt,"EAnnotationImpl/1",170),A(294,444,{110:1,95:1,94:1,159:1,199:1,57:1,115:1,473:1,52:1,101:1,162:1,294:1,118:1,119:1}),h.Ih=function(t,r,o){var s,u;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),!!this.Hk();case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q}return qc(this,t-ln(this.fi()),Nt((s=l(qt(this,16),29),s||this.fi()),t),r,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 9:return rW(this,o)}return u=l(Nt((s=l(qt(this,16),29),s||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o)},h.Th=function(t){var r,o;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&c0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&c0(this.q).i==0)}return zc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o,s;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:this.ri(In(r));return;case 2:fg(this,Ke(We(r)));return;case 3:hg(this,Ke(We(r)));return;case 4:ug(this,l(r,15).a);return;case 5:this.Xk(l(r,15).a);return;case 8:Wb(this,l(r,146));return;case 9:s=Zd(this,l(r,88),null),s&&s.mj();return}Xc(this,t-ln(this.fi()),Nt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return Tt(),YDt},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:this.ri(null);return;case 2:fg(this,!0);return;case 3:hg(this,!0);return;case 4:ug(this,0);return;case 5:this.Xk(1);return;case 8:Wb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return}Jc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.mi=function(){Sl(this),this.Bb|=1},h.Fk=function(){return Sl(this)},h.Gk=function(){return this.t},h.Hk=function(){var t;return t=this.t,t>1||t==-1},h.Qi=function(){return(this.Bb&512)!=0},h.Wk=function(t,r){return Kge(this,t,r)},h.Xk=function(t){uy(this,t)},h.Ib=function(){return lme(this)},h.s=0,h.t=1,x(zt,"ETypedElementImpl",294),A(454,294,{110:1,95:1,94:1,159:1,199:1,57:1,182:1,69:1,115:1,473:1,52:1,101:1,162:1,454:1,294:1,118:1,119:1,689:1}),h.xh=function(t){return B1t(this,t)},h.Ih=function(t,r,o){var s,u;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),!!this.Hk();case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Lt(),!!(this.Bb&Tl);case 11:return Lt(),!!(this.Bb&mp);case 12:return Lt(),!!(this.Bb&Iy);case 13:return this.j;case 14:return Y_(this);case 15:return Lt(),!!(this.Bb&yu);case 16:return Lt(),!!(this.Bb&Ff);case 17:return ty(this)}return qc(this,t-ln(this.fi()),Nt((s=l(qt(this,16),29),s||this.fi()),t),r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 17:return this.Cb&&(o=(u=this.Db>>16,u>=0?B1t(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,17,o)}return f=l(Nt((s=l(qt(this,16),29),s||this.fi()),r),69),f.uk().xk(this,Ha(this),r-ln(this.fi()),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 9:return rW(this,o);case 17:return Sc(this,null,17,o)}return u=l(Nt((s=l(qt(this,16),29),s||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o)},h.Th=function(t){var r,o;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&c0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&c0(this.q).i==0);case 10:return(this.Bb&Tl)==0;case 11:return(this.Bb&mp)!=0;case 12:return(this.Bb&Iy)!=0;case 13:return this.j!=null;case 14:return Y_(this)!=null;case 15:return(this.Bb&yu)!=0;case 16:return(this.Bb&Ff)!=0;case 17:return!!ty(this)}return zc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o,s;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:CW(this,In(r));return;case 2:fg(this,Ke(We(r)));return;case 3:hg(this,Ke(We(r)));return;case 4:ug(this,l(r,15).a);return;case 5:this.Xk(l(r,15).a);return;case 8:Wb(this,l(r,146));return;case 9:s=Zd(this,l(r,88),null),s&&s.mj();return;case 10:D_(this,Ke(We(r)));return;case 11:P_(this,Ke(We(r)));return;case 12:L_(this,Ke(We(r)));return;case 13:zle(this,In(r));return;case 15:M_(this,Ke(We(r)));return;case 16:j_(this,Ke(We(r)));return}Xc(this,t-ln(this.fi()),Nt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return Tt(),KDt},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,89)&&Ey(Mu(l(this.Cb,89)),4),Da(this,null);return;case 2:fg(this,!0);return;case 3:hg(this,!0);return;case 4:ug(this,0);return;case 5:this.Xk(1);return;case 8:Wb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 10:D_(this,!0);return;case 11:P_(this,!1);return;case 12:L_(this,!1);return;case 13:this.i=null,Ej(this,null);return;case 15:M_(this,!1);return;case 16:j_(this,!1);return}Jc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.mi=function(){a_(es((mu(),so),this)),Sl(this),this.Bb|=1},h.nk=function(){return this.f},h.gk=function(){return Y_(this)},h.ok=function(){return ty(this)},h.sk=function(){return null},h.Yk=function(){return this.k},h.Jj=function(){return this.n},h.tk=function(){return g7(this)},h.uk=function(){var t,r,o,s,u,f,p,m,y;return this.p||(o=ty(this),(o.i==null&&jf(o),o.i).length,s=this.sk(),s&&ln(ty(s)),u=Sl(this),p=u.ik(),t=p?p.i&1?p==uu?Yr:p==Rn?Ti:p==vv?Bk:p==Ki?fi:p==hw?K0:p==S2?Y0:p==Eu?yT:pI:p:null,r=Y_(this),m=u.gk(),mgn(this),this.Bb&Ff&&((f=sbe((mu(),so),o))&&f!=this||(f=DS(es(so,this))))?this.p=new rnt(this,f):this.Hk()?this.$k()?s?this.Bb&yu?t?this._k()?this.p=new Ob(47,t,this,s):this.p=new Ob(5,t,this,s):this._k()?this.p=new Fb(46,this,s):this.p=new Fb(4,this,s):t?this._k()?this.p=new Ob(49,t,this,s):this.p=new Ob(7,t,this,s):this._k()?this.p=new Fb(48,this,s):this.p=new Fb(6,this,s):this.Bb&yu?t?t==cm?this.p=new ng(50,IDt,this):this._k()?this.p=new ng(43,t,this):this.p=new ng(1,t,this):this._k()?this.p=new ig(42,this):this.p=new ig(0,this):t?t==cm?this.p=new ng(41,IDt,this):this._k()?this.p=new ng(45,t,this):this.p=new ng(3,t,this):this._k()?this.p=new ig(44,this):this.p=new ig(2,this):se(u,160)?t==EU?this.p=new ig(40,this):this.Bb&512?this.Bb&yu?t?this.p=new ng(9,t,this):this.p=new ig(8,this):t?this.p=new ng(11,t,this):this.p=new ig(10,this):this.Bb&yu?t?this.p=new ng(13,t,this):this.p=new ig(12,this):t?this.p=new ng(15,t,this):this.p=new ig(14,this):s?(y=s.t,y>1||y==-1?this._k()?this.Bb&yu?t?this.p=new Ob(25,t,this,s):this.p=new Fb(24,this,s):t?this.p=new Ob(27,t,this,s):this.p=new Fb(26,this,s):this.Bb&yu?t?this.p=new Ob(29,t,this,s):this.p=new Fb(28,this,s):t?this.p=new Ob(31,t,this,s):this.p=new Fb(30,this,s):this._k()?this.Bb&yu?t?this.p=new Ob(33,t,this,s):this.p=new Fb(32,this,s):t?this.p=new Ob(35,t,this,s):this.p=new Fb(34,this,s):this.Bb&yu?t?this.p=new Ob(37,t,this,s):this.p=new Fb(36,this,s):t?this.p=new Ob(39,t,this,s):this.p=new Fb(38,this,s)):this._k()?this.Bb&yu?t?this.p=new ng(17,t,this):this.p=new ig(16,this):t?this.p=new ng(19,t,this):this.p=new ig(18,this):this.Bb&yu?t?this.p=new ng(21,t,this):this.p=new ig(20,this):t?this.p=new ng(23,t,this):this.p=new ig(22,this):this.Zk()?this._k()?this.p=new Kit(l(u,29),this,s):this.p=new Ahe(l(u,29),this,s):se(u,160)?t==EU?this.p=new ig(40,this):this.Bb&yu?t?this.p=new qot(r,m,this,(sY(),p==Rn?_3e:p==uu?v3e:p==hw?k3e:p==vv?A3e:p==Ki?T3e:p==S2?x3e:p==Eu?E3e:p==al?S3e:Pre)):this.p=new uat(l(u,160),r,m,this):t?this.p=new Got(r,m,this,(sY(),p==Rn?_3e:p==uu?v3e:p==hw?k3e:p==vv?A3e:p==Ki?T3e:p==S2?x3e:p==Eu?E3e:p==al?S3e:Pre)):this.p=new aat(l(u,160),r,m,this):this.$k()?s?this.Bb&yu?this._k()?this.p=new Jit(l(u,29),this,s):this.p=new ffe(l(u,29),this,s):this._k()?this.p=new Yit(l(u,29),this,s):this.p=new DV(l(u,29),this,s):this.Bb&yu?this._k()?this.p=new zrt(l(u,29),this):this.p=new xde(l(u,29),this):this._k()?this.p=new Hrt(l(u,29),this):this.p=new wV(l(u,29),this):this._k()?s?this.Bb&yu?this.p=new Xit(l(u,29),this,s):this.p=new lfe(l(u,29),this,s):this.Bb&yu?this.p=new qrt(l(u,29),this):this.p=new Nde(l(u,29),this):s?this.Bb&yu?this.p=new Zit(l(u,29),this,s):this.p=new dfe(l(u,29),this,s):this.Bb&yu?this.p=new Grt(l(u,29),this):this.p=new aP(l(u,29),this)),this.p},h.pk=function(){return(this.Bb&Tl)!=0},h.Zk=function(){return!1},h.$k=function(){return!1},h.qk=function(){return(this.Bb&Ff)!=0},h.vk=function(){return oK(this)},h._k=function(){return!1},h.rk=function(){return(this.Bb&yu)!=0},h.al=function(t){this.k=t},h.ri=function(t){CW(this,t)},h.Ib=function(){return $7(this)},h.e=!1,h.n=0,x(zt,"EStructuralFeatureImpl",454),A(336,454,{110:1,95:1,94:1,38:1,159:1,199:1,57:1,182:1,69:1,115:1,473:1,52:1,101:1,336:1,162:1,454:1,294:1,118:1,119:1,689:1},XG),h.Ih=function(t,r,o){var s,u;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),!!ime(this);case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Lt(),!!(this.Bb&Tl);case 11:return Lt(),!!(this.Bb&mp);case 12:return Lt(),!!(this.Bb&Iy);case 13:return this.j;case 14:return Y_(this);case 15:return Lt(),!!(this.Bb&yu);case 16:return Lt(),!!(this.Bb&Ff);case 17:return ty(this);case 18:return Lt(),!!(this.Bb&Ws);case 19:return r?xK(this):blt(this)}return qc(this,t-ln((Tt(),mv)),Nt((s=l(qt(this,16),29),s||mv),t),r,o)},h.Th=function(t){var r,o;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return ime(this);case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&c0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&c0(this.q).i==0);case 10:return(this.Bb&Tl)==0;case 11:return(this.Bb&mp)!=0;case 12:return(this.Bb&Iy)!=0;case 13:return this.j!=null;case 14:return Y_(this)!=null;case 15:return(this.Bb&yu)!=0;case 16:return(this.Bb&Ff)!=0;case 17:return!!ty(this);case 18:return(this.Bb&Ws)!=0;case 19:return!!blt(this)}return zc(this,t-ln((Tt(),mv)),Nt((r=l(qt(this,16),29),r||mv),t))},h.$h=function(t,r){var o,s;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:CW(this,In(r));return;case 2:fg(this,Ke(We(r)));return;case 3:hg(this,Ke(We(r)));return;case 4:ug(this,l(r,15).a);return;case 5:SQe(this,l(r,15).a);return;case 8:Wb(this,l(r,146));return;case 9:s=Zd(this,l(r,88),null),s&&s.mj();return;case 10:D_(this,Ke(We(r)));return;case 11:P_(this,Ke(We(r)));return;case 12:L_(this,Ke(We(r)));return;case 13:zle(this,In(r));return;case 15:M_(this,Ke(We(r)));return;case 16:j_(this,Ke(We(r)));return;case 18:XK(this,Ke(We(r)));return}Xc(this,t-ln((Tt(),mv)),Nt((o=l(qt(this,16),29),o||mv),t),r)},h.fi=function(){return Tt(),mv},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,89)&&Ey(Mu(l(this.Cb,89)),4),Da(this,null);return;case 2:fg(this,!0);return;case 3:hg(this,!0);return;case 4:ug(this,0);return;case 5:this.b=0,uy(this,1);return;case 8:Wb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 10:D_(this,!0);return;case 11:P_(this,!1);return;case 12:L_(this,!1);return;case 13:this.i=null,Ej(this,null);return;case 15:M_(this,!1);return;case 16:j_(this,!1);return;case 18:XK(this,!1);return}Jc(this,t-ln((Tt(),mv)),Nt((r=l(qt(this,16),29),r||mv),t))},h.mi=function(){xK(this),a_(es((mu(),so),this)),Sl(this),this.Bb|=1},h.Hk=function(){return ime(this)},h.Wk=function(t,r){return this.b=0,this.a=null,Kge(this,t,r)},h.Xk=function(t){SQe(this,t)},h.Ib=function(){var t;return this.Db&64?$7(this):(t=new ml($7(this)),t.a+=" (iD: ",Xp(t,(this.Bb&Ws)!=0),t.a+=")",t.a)},h.b=0,x(zt,"EAttributeImpl",336),A(361,444,{110:1,95:1,94:1,146:1,159:1,199:1,57:1,115:1,52:1,101:1,361:1,162:1,118:1,119:1,688:1}),h.bl=function(t){return t.Ah()==this},h.xh=function(t){return OY(this,t)},h.yh=function(t,r){this.w=null,this.Db=r<<16|this.Db&255,this.Cb=t},h.Ih=function(t,r,o){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return C0(this);case 4:return this.gk();case 5:return this.F;case 6:return r?mc(this):l_(this);case 7:return!this.A&&(this.A=new du(Ka,this,7)),this.A}return qc(this,t-ln(this.fi()),Nt((s=l(qt(this,16),29),s||this.fi()),t),r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?OY(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,6,o)}return f=l(Nt((s=l(qt(this,16),29),s||this.fi()),r),69),f.uk().xk(this,Ha(this),r-ln(this.fi()),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 6:return Sc(this,null,6,o);case 7:return!this.A&&(this.A=new du(Ka,this,7)),Ao(this.A,t,o)}return u=l(Nt((s=l(qt(this,16),29),s||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!C0(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!l_(this);case 7:return!!this.A&&this.A.i!=0}return zc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:MP(this,In(r));return;case 2:oV(this,In(r));return;case 5:rk(this,In(r));return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A),!this.A&&(this.A=new du(Ka,this,7)),ti(this.A,l(r,18));return}Xc(this,t-ln(this.fi()),Nt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return Tt(),HDt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,187)&&(l(this.Cb,187).tb=null),Da(this,null);return;case 2:C_(this,null),w_(this,this.D);return;case 5:rk(this,null);return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A);return}Jc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.fk=function(){var t;return this.G==-1&&(this.G=(t=mc(this),t?pg(t.si(),this):-1)),this.G},h.gk=function(){return null},h.hk=function(){return mc(this)},h.cl=function(){return this.v},h.ik=function(){return C0(this)},h.jk=function(){return this.D!=null?this.D:this.B},h.kk=function(){return this.F},h.dk=function(t){return EJ(this,t)},h.dl=function(t){this.v=t},h.el=function(t){nht(this,t)},h.fl=function(t){this.C=t},h.ri=function(t){MP(this,t)},h.Ib=function(){return Wj(this)},h.C=null,h.D=null,h.G=-1,x(zt,"EClassifierImpl",361),A(89,361,{110:1,95:1,94:1,29:1,146:1,159:1,199:1,57:1,115:1,52:1,101:1,89:1,361:1,162:1,474:1,118:1,119:1,688:1},Pue),h.bl=function(t){return Cnn(this,t.Ah())},h.Ih=function(t,r,o){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return C0(this);case 4:return null;case 5:return this.F;case 6:return r?mc(this):l_(this);case 7:return!this.A&&(this.A=new du(Ka,this,7)),this.A;case 8:return Lt(),!!(this.Bb&256);case 9:return Lt(),!!(this.Bb&512);case 10:return us(this);case 11:return!this.q&&(this.q=new xe(Dl,this,11,10)),this.q;case 12:return CE(this);case 13:return RC(this);case 14:return RC(this),this.r;case 15:return CE(this),this.k;case 16:return Wbe(this);case 17:return _J(this);case 18:return jf(this);case 19:return R7(this);case 20:return CE(this),this.o;case 21:return!this.s&&(this.s=new xe(au,this,21,17)),this.s;case 22:return oa(this);case 23:return dJ(this)}return qc(this,t-ln((Tt(),X1)),Nt((s=l(qt(this,16),29),s||X1),t),r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?OY(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,6,o);case 11:return!this.q&&(this.q=new xe(Dl,this,11,10)),La(this.q,t,o);case 21:return!this.s&&(this.s=new xe(au,this,21,17)),La(this.s,t,o)}return f=l(Nt((s=l(qt(this,16),29),s||(Tt(),X1)),r),69),f.uk().xk(this,Ha(this),r-ln((Tt(),X1)),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 6:return Sc(this,null,6,o);case 7:return!this.A&&(this.A=new du(Ka,this,7)),Ao(this.A,t,o);case 11:return!this.q&&(this.q=new xe(Dl,this,11,10)),Ao(this.q,t,o);case 21:return!this.s&&(this.s=new xe(au,this,21,17)),Ao(this.s,t,o);case 22:return Ao(oa(this),t,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),X1)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),X1)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!C0(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!l_(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&oa(this.u.a).i!=0&&!(this.n&&EY(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return CE(this).i!=0;case 13:return RC(this).i!=0;case 14:return RC(this),this.r.i!=0;case 15:return CE(this),this.k.i!=0;case 16:return Wbe(this).i!=0;case 17:return _J(this).i!=0;case 18:return jf(this).i!=0;case 19:return R7(this).i!=0;case 20:return CE(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&EY(this.n);case 23:return dJ(this).i!=0}return zc(this,t-ln((Tt(),X1)),Nt((r=l(qt(this,16),29),r||X1),t))},h.Wh=function(t){var r;return r=this.i==null||this.q&&this.q.i!=0?null:nD(this,t),r||P0e(this,t)},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:MP(this,In(r));return;case 2:oV(this,In(r));return;case 5:rk(this,In(r));return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A),!this.A&&(this.A=new du(Ka,this,7)),ti(this.A,l(r,18));return;case 8:Xge(this,Ke(We(r)));return;case 9:Zge(this,Ke(We(r)));return;case 10:LC(us(this)),ti(us(this),l(r,18));return;case 11:!this.q&&(this.q=new xe(Dl,this,11,10)),vn(this.q),!this.q&&(this.q=new xe(Dl,this,11,10)),ti(this.q,l(r,18));return;case 21:!this.s&&(this.s=new xe(au,this,21,17)),vn(this.s),!this.s&&(this.s=new xe(au,this,21,17)),ti(this.s,l(r,18));return;case 22:vn(oa(this)),ti(oa(this),l(r,18));return}Xc(this,t-ln((Tt(),X1)),Nt((o=l(qt(this,16),29),o||X1),t),r)},h.fi=function(){return Tt(),X1},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,187)&&(l(this.Cb,187).tb=null),Da(this,null);return;case 2:C_(this,null),w_(this,this.D);return;case 5:rk(this,null);return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A);return;case 8:Xge(this,!1);return;case 9:Zge(this,!1);return;case 10:this.u&&LC(this.u);return;case 11:!this.q&&(this.q=new xe(Dl,this,11,10)),vn(this.q);return;case 21:!this.s&&(this.s=new xe(au,this,21,17)),vn(this.s);return;case 22:this.n&&vn(this.n);return}Jc(this,t-ln((Tt(),X1)),Nt((r=l(qt(this,16),29),r||X1),t))},h.mi=function(){var t,r;if(CE(this),RC(this),Wbe(this),_J(this),jf(this),R7(this),dJ(this),B3(oon(Mu(this))),this.s)for(t=0,r=this.s.i;t<r;++t)IO(ie(this.s,t));if(this.q)for(t=0,r=this.q.i;t<r;++t)IO(ie(this.q,t));dg((mu(),so),this).ve(),this.Bb|=1},h.Ib=function(){return hbe(this)},h.k=null,h.r=null;var R4,ZDt,Lre;x(zt,"EClassImpl",89),A(2071,2070,FAt),h.Ci=function(t,r){return SJ(this,t,r)},h.Di=function(t){return SJ(this,this.i,t)},h.Ei=function(t,r){cme(this,t,r)},h.Fi=function(t){iJ(this,t)},h.Uk=function(t,r){return La(this,t,r)},h.Yi=function(t){return _pe(this,t)},h.Vk=function(t,r){return Ao(this,t,r)},h.Vi=function(t,r){return tvt(this,t,r)},h.Gi=function(){return new yS(this)},h.Hi=function(){return new NO(this)},h.Ii=function(t){return w6(this,t)},x(Fr,"NotifyingInternalEListImpl",2071),A(630,2071,ms),h.Gc=function(t){return Svt(this,t)},h.Gj=function(t,r,o,s,u){return L3(this,t,r,o,s,u)},h.Hj=function(t){DA(this,t)},h.Dk=function(t){return this},h.Jk=function(){return Nt(this.e.Ah(),this.Jj())},h.Ij=function(){return this.Jk()},h.Jj=function(){return Ur(this.e.Ah(),this.Jk())},h.gl=function(){return l(this.Jk().Fk(),29).ik()},h.hl=function(){return Do(l(this.Jk(),20)).n},h.hj=function(){return this.e},h.il=function(){return!0},h.jl=function(){return!1},h.kl=function(){return!1},h.ll=function(){return!1},h.bd=function(t){return pg(this,t)},h.Lj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Oh(this.e,this.hl(),this.gl(),r):o.Oh(this.e,Ur(o.Ah(),Do(l(this.Jk(),20))),null,r):o.Oh(this.e,-1-this.Jj(),null,r)},h.Mj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Qh(this.e,this.hl(),this.gl(),r):o.Qh(this.e,Ur(o.Ah(),Do(l(this.Jk(),20))),null,r):o.Qh(this.e,-1-this.Jj(),null,r)},h.$k=function(){return!1},h.ml=function(){return!0},h.dk=function(t){return wct(this.d,t)},h.Nj=function(){return Yu(this.e)},h.Oj=function(){return this.i!=0},h.$i=function(t){return m6(this.d,t)},h.Ui=function(t,r){return this.ml()&&this.ll()?rT(this,t,l(r,57)):r},h.nl=function(t){return t.Sh()?w1(this.e,l(t,52)):t},h.Wb=function(t){Knt(this,t)},h.Nc=function(){return Qlt(this)},h.Oc=function(t){var r;if(this.ll())for(r=this.i-1;r>=0;--r)ie(this,r);return E1e(this,t)},h.Ek=function(){vn(this)},h.Xi=function(t,r){return Ift(this,t,r)},x(Fr,"EcoreEList",630),A(494,630,ms,UO),h.Ji=function(){return!1},h.Jj=function(){return this.c},h.Kj=function(){return!1},h.ml=function(){return!0},h.Qi=function(){return!0},h.Ui=function(t,r){return r},h.Wi=function(){return!1},h.c=0,x(Fr,"EObjectEList",494),A(82,494,ms,yi),h.Kj=function(){return!0},h.kl=function(){return!1},h.$k=function(){return!0},x(Fr,"EObjectContainmentEList",82),A(547,82,ms,L8),h.Li=function(){this.b=!0},h.Oj=function(){return this.b},h.Ek=function(){var t;vn(this),Yu(this.e)?(t=this.b,this.b=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.b=!1},h.b=!1,x(Fr,"EObjectContainmentEList/Unsettable",547),A(1142,547,ms,Hot),h.Ri=function(t,r){var o,s;return o=l(oC(this,t,r),88),Yu(this.e)&&DA(this,new o6(this.a,7,(Tt(),zDt),Re(r),(s=o.c,se(s,89)?l(s,29):Ml),t)),o},h.Sj=function(t,r){return Xgn(this,l(t,88),r)},h.Tj=function(t,r){return Jgn(this,l(t,88),r)},h.Uj=function(t,r,o){return e0n(this,l(t,88),l(r,88),o)},h.Gj=function(t,r,o,s,u){switch(t){case 3:return L3(this,t,r,o,s,this.i>1);case 5:return L3(this,t,r,o,s,this.i-l(o,16).gc()>0);default:return new ap(this.e,t,this.c,r,o,s,!0)}},h.Rj=function(){return!0},h.Oj=function(){return EY(this)},h.Ek=function(){vn(this)},x(zt,"EClassImpl/1",1142),A(1156,1155,gEe),h.bj=function(t){var r,o,s,u,f,p,m;if(o=t.ej(),o!=8){if(s=O1n(t),s==0)switch(o){case 1:case 9:{m=t.ij(),m!=null&&(r=Mu(l(m,474)),!r.c&&(r.c=new xA),sj(r.c,t.hj())),p=t.gj(),p!=null&&(u=l(p,474),u.Bb&1||(r=Mu(u),!r.c&&(r.c=new xA),Tn(r.c,l(t.hj(),29))));break}case 3:{p=t.gj(),p!=null&&(u=l(p,474),u.Bb&1||(r=Mu(u),!r.c&&(r.c=new xA),Tn(r.c,l(t.hj(),29))));break}case 5:{if(p=t.gj(),p!=null)for(f=l(p,18).Jc();f.Ob();)u=l(f.Pb(),474),u.Bb&1||(r=Mu(u),!r.c&&(r.c=new xA),Tn(r.c,l(t.hj(),29)));break}case 4:{m=t.ij(),m!=null&&(u=l(m,474),u.Bb&1||(r=Mu(u),!r.c&&(r.c=new xA),sj(r.c,t.hj())));break}case 6:{if(m=t.ij(),m!=null)for(f=l(m,18).Jc();f.Ob();)u=l(f.Pb(),474),u.Bb&1||(r=Mu(u),!r.c&&(r.c=new xA),sj(r.c,t.hj()));break}}this.ol(s)}},h.ol=function(t){Ywt(this,t)},h.b=63,x(zt,"ESuperAdapter",1156),A(1157,1156,gEe,BXe),h.ol=function(t){Ey(this,t)},x(zt,"EClassImpl/10",1157),A(1146,706,ms),h.Ci=function(t,r){return GY(this,t,r)},h.Di=function(t){return A1t(this,t)},h.Ei=function(t,r){R6(this,t,r)},h.Fi=function(t){t6(this,t)},h.Yi=function(t){return _pe(this,t)},h.Vi=function(t,r){return iK(this,t,r)},h.Uk=function(t,r){throw K(new Nn)},h.Gi=function(){return new yS(this)},h.Hi=function(){return new NO(this)},h.Ii=function(t){return w6(this,t)},h.Vk=function(t,r){throw K(new Nn)},h.Dk=function(t){return this},h.Oj=function(){return this.i!=0},h.Wb=function(t){throw K(new Nn)},h.Ek=function(){throw K(new Nn)},x(Fr,"EcoreEList/UnmodifiableEList",1146),A(334,1146,ms,Qv),h.Wi=function(){return!1},x(Fr,"EcoreEList/UnmodifiableEList/FastCompare",334),A(1149,334,ms,Yht),h.bd=function(t){var r,o,s;if(se(t,182)&&(r=l(t,182),o=r.Jj(),o!=-1)){for(s=this.i;o<s;++o)if(be(this.g[o])===be(t))return o}return-1},x(zt,"EClassImpl/1EAllStructuralFeaturesList",1149),A(1143,495,qf,qGe),h.$i=function(t){return me(Uo,$At,88,t,0,1)},h.Wi=function(){return!1},x(zt,"EClassImpl/1EGenericSuperTypeEList",1143),A(631,495,qf,IG),h.$i=function(t){return me(au,UE,182,t,0,1)},h.Wi=function(){return!1},x(zt,"EClassImpl/1EStructuralFeatureUniqueEList",631),A(750,495,qf,Oue),h.$i=function(t){return me(bv,UE,20,t,0,1)},h.Wi=function(){return!1},x(zt,"EClassImpl/1ReferenceList",750),A(1144,495,qf,UXe),h.Ki=function(t,r){qon(this,l(r,38))},h.$i=function(t){return me(gv,UE,38,t,0,1)},h.Wi=function(){return!1},x(zt,"EClassImpl/2",1144),A(1145,495,qf,VGe),h.$i=function(t){return me(gv,UE,38,t,0,1)},h.Wi=function(){return!1},x(zt,"EClassImpl/3",1145),A(1147,334,ms,iot),h.Ec=function(t){return wln(this,l(t,38))},h.Fi=function(t){qQt(this,l(t,38))},x(zt,"EClassImpl/4",1147),A(1148,334,ms,oot),h.Ec=function(t){return yln(this,l(t,20))},h.Fi=function(t){VQt(this,l(t,20))},x(zt,"EClassImpl/5",1148),A(1150,495,qf,WGe),h.$i=function(t){return me(Dl,wEe,62,t,0,1)},h.Wi=function(){return!1},x(zt,"EClassImpl/6",1150),A(1151,495,qf,KGe),h.$i=function(t){return me(bv,UE,20,t,0,1)},h.Wi=function(){return!1},x(zt,"EClassImpl/7",1151),A(2074,2073,{3:1,4:1,22:1,32:1,56:1,18:1,16:1,71:1,61:1,72:1}),h.Ci=function(t,r){return l0e(this,t,r)},h.Di=function(t){return l0e(this,this.Cj(),t)},h.Ei=function(t,r){A0t(this,t,r)},h.Fi=function(t){h0t(this,t)},h.Uk=function(t,r){return Abn(this,t,r)},h.Vk=function(t,r){return Q1n(this,t,r)},h.Vi=function(t,r){return jyt(this,t,r)},h.Yi=function(t){return this.vj(t)},h.Gi=function(){return new yS(this)},h.nj=function(){return this.qj()},h.Hi=function(){return new NO(this)},h.Ii=function(t){return w6(this,t)},x(Fr,"DelegatingNotifyingInternalEListImpl",2074),A(751,2074,yEe),h.Ji=function(){var t;return t=Nt(Ja(this.b),this.Jj()).Fk(),se(t,160)&&!se(t,462)&&(t.ik().i&1)==0},h.Gc=function(t){var r,o,s,u,f,p,m,y;if(this.ml()){if(y=this.Cj(),y>4)if(this.dk(t)){if(this.$k()){if(s=l(t,52),o=s.Bh(),m=o==this.b&&(this.kl()?s.vh(s.Ch(),l(Nt(Ja(this.b),this.Jj()).Fk(),29).ik())==Do(l(Nt(Ja(this.b),this.Jj()),20)).n:-1-s.Ch()==this.Jj()),this.ll()&&!m&&!o&&s.Gh()){for(u=0;u<y;++u)if(r=YV(this,this.vj(u)),be(r)===be(t))return!0}return m}else if(this.kl()&&!this.jl()){if(f=l(t,57).Jh(Do(l(Nt(Ja(this.b),this.Jj()),20))),be(f)===be(this.b))return!0;if(f==null||!l(f,57).Sh())return!1}}else return!1;if(p=this.sj(t),this.ll()&&!p){for(u=0;u<y;++u)if(s=YV(this,this.vj(u)),be(s)===be(t))return!0}return p}else return this.sj(t)},h.Gj=function(t,r,o,s,u){return new ap(this.b,t,this.Jj(),r,o,s,u)},h.Hj=function(t){hr(this.b,t)},h.Dk=function(t){return this},h.Ij=function(){return Nt(Ja(this.b),this.Jj())},h.Jj=function(){return Ur(Ja(this.b),Nt(Ja(this.b),this.Jj()))},h.hj=function(){return this.b},h.il=function(){return!!Nt(Ja(this.b),this.Jj()).Fk().ik()},h.Kj=function(){var t,r;return r=Nt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),(t.Bb&Ws)!=0||!!Do(l(r,20))):!1},h.jl=function(){var t,r,o,s;return r=Nt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),o=Do(t),!!o&&(s=o.t,s>1||s==-1)):!1},h.kl=function(){var t,r,o;return r=Nt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),o=Do(t),!!o):!1},h.ll=function(){var t,r;return r=Nt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),(t.Bb&xo)!=0):!1},h.bd=function(t){var r,o,s,u;if(s=this.xj(t),s>=0)return s;if(this.ml()){for(o=0,u=this.Cj();o<u;++o)if(r=YV(this,this.vj(o)),be(r)===be(t))return o}return-1},h.Lj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Oh(this.b,Do(l(Nt(Ja(this.b),this.Jj()),20)).n,l(Nt(Ja(this.b),this.Jj()).Fk(),29).ik(),r):o.Oh(this.b,Ur(o.Ah(),Do(l(Nt(Ja(this.b),this.Jj()),20))),null,r):o.Oh(this.b,-1-this.Jj(),null,r)},h.Mj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Qh(this.b,Do(l(Nt(Ja(this.b),this.Jj()),20)).n,l(Nt(Ja(this.b),this.Jj()).Fk(),29).ik(),r):o.Qh(this.b,Ur(o.Ah(),Do(l(Nt(Ja(this.b),this.Jj()),20))),null,r):o.Qh(this.b,-1-this.Jj(),null,r)},h.$k=function(){var t,r;return r=Nt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),(t.Bb&Ws)!=0):!1},h.ml=function(){return se(Nt(Ja(this.b),this.Jj()).Fk(),89)},h.dk=function(t){return Nt(Ja(this.b),this.Jj()).Fk().dk(t)},h.Nj=function(){return Yu(this.b)},h.Oj=function(){return!this.yj()},h.Qi=function(){return Nt(Ja(this.b),this.Jj()).Qi()},h.Ui=function(t,r){return cD(this,t,r)},h.Wb=function(t){LC(this),ti(this,l(t,16))},h.Nc=function(){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)cD(this,t,this.vj(t));return this.Dj()},h.Oc=function(t){var r;if(this.ll())for(r=this.Cj()-1;r>=0;--r)cD(this,r,this.vj(r));return this.Ej(t)},h.Ek=function(){LC(this)},h.Xi=function(t,r){return Zlt(this,t,r)},x(Fr,"DelegatingEcoreEList",751),A(1152,751,yEe,nit),h.oj=function(t,r){Ztn(this,t,l(r,29))},h.pj=function(t){Gen(this,l(t,29))},h.vj=function(t){var r,o;return r=l(ie(oa(this.a),t),88),o=r.c,se(o,89)?l(o,29):(Tt(),Ml)},h.Aj=function(t){var r,o;return r=l(Ay(oa(this.a),t),88),o=r.c,se(o,89)?l(o,29):(Tt(),Ml)},h.Bj=function(t,r){return _bn(this,t,l(r,29))},h.Ji=function(){return!1},h.Gj=function(t,r,o,s,u){return null},h.qj=function(){return new HXe(this)},h.rj=function(){vn(oa(this.a))},h.sj=function(t){return Ypt(this,t)},h.tj=function(t){var r,o;for(o=t.Jc();o.Ob();)if(r=o.Pb(),!Ypt(this,r))return!1;return!0},h.uj=function(t){var r,o,s;if(se(t,16)&&(s=l(t,16),s.gc()==oa(this.a).i)){for(r=s.Jc(),o=new en(this);r.Ob();)if(be(r.Pb())!==be(rn(o)))return!1;return!0}return!1},h.wj=function(){var t,r,o,s,u;for(o=1,r=new en(oa(this.a));r.e!=r.i.gc();)t=l(rn(r),88),s=(u=t.c,se(u,89)?l(u,29):(Tt(),Ml)),o=31*o+(s?o0(s):0);return o},h.xj=function(t){var r,o,s,u;for(s=0,o=new en(oa(this.a));o.e!=o.i.gc();){if(r=l(rn(o),88),be(t)===be((u=r.c,se(u,89)?l(u,29):(Tt(),Ml))))return s;++s}return-1},h.yj=function(){return oa(this.a).i==0},h.zj=function(){return null},h.Cj=function(){return oa(this.a).i},h.Dj=function(){var t,r,o,s,u,f;for(f=oa(this.a).i,u=me(Ci,Rt,1,f,5,1),o=0,r=new en(oa(this.a));r.e!=r.i.gc();)t=l(rn(r),88),u[o++]=(s=t.c,se(s,89)?l(s,29):(Tt(),Ml));return u},h.Ej=function(t){var r,o,s,u,f,p,m;for(m=oa(this.a).i,t.length<m&&(u=m6(nc(t).c,m),t=u),t.length>m&&ii(t,m,null),s=0,o=new en(oa(this.a));o.e!=o.i.gc();)r=l(rn(o),88),f=(p=r.c,se(p,89)?l(p,29):(Tt(),Ml)),ii(t,s++,f);return t},h.Fj=function(){var t,r,o,s,u;for(u=new Jp,u.a+="[",t=oa(this.a),r=0,s=oa(this.a).i;r<s;)zo(u,b3((o=l(ie(t,r),88).c,se(o,89)?l(o,29):(Tt(),Ml)))),++r<s&&(u.a+=Ma);return u.a+="]",u.a},h.Hj=function(t){},h.Jj=function(){return 10},h.il=function(){return!0},h.Kj=function(){return!1},h.jl=function(){return!1},h.kl=function(){return!1},h.ll=function(){return!0},h.$k=function(){return!1},h.ml=function(){return!0},h.dk=function(t){return se(t,89)},h.Oj=function(){return dcn(this.a)},h.Qi=function(){return!0},h.Wi=function(){return!0},x(zt,"EClassImpl/8",1152),A(1153,2041,ck,HXe),h.dd=function(t){return w6(this.a,t)},h.gc=function(){return oa(this.a.a).i},x(zt,"EClassImpl/8/1",1153),A(1154,495,qf,YGe),h.$i=function(t){return me(Ld,Rt,146,t,0,1)},h.Wi=function(){return!1},x(zt,"EClassImpl/9",1154),A(1141,47,Q0e,OZe),x(zt,"EClassImpl/MyHashSet",1141),A(570,361,{110:1,95:1,94:1,146:1,160:1,839:1,159:1,199:1,57:1,115:1,52:1,101:1,361:1,162:1,118:1,119:1,688:1},N9),h.Ih=function(t,r,o){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return C0(this);case 4:return this.gk();case 5:return this.F;case 6:return r?mc(this):l_(this);case 7:return!this.A&&(this.A=new du(Ka,this,7)),this.A;case 8:return Lt(),!!(this.Bb&256)}return qc(this,t-ln(this.fi()),Nt((s=l(qt(this,16),29),s||this.fi()),t),r,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!C0(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!l_(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return zc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:MP(this,In(r));return;case 2:oV(this,In(r));return;case 5:rk(this,In(r));return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A),!this.A&&(this.A=new du(Ka,this,7)),ti(this.A,l(r,18));return;case 8:Bj(this,Ke(We(r)));return}Xc(this,t-ln(this.fi()),Nt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return Tt(),GDt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,187)&&(l(this.Cb,187).tb=null),Da(this,null);return;case 2:C_(this,null),w_(this,this.D);return;case 5:rk(this,null);return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A);return;case 8:Bj(this,!0);return}Jc(this,t-ln(this.fi()),Nt((r=l(qt(this,16),29),r||this.fi()),t))},h.mi=function(){dg((mu(),so),this).ve(),this.Bb|=1},h.mk=function(){var t,r,o;if(!this.c&&(t=F0t(mc(this)),!t.dc()))for(o=t.Jc();o.Ob();)r=In(o.Pb()),NC(this,r)&&ign(this);return this.b},h.gk=function(){var t;if(!this.e){t=null;try{t=C0(this)}catch(r){if(r=ci(r),!se(r,102))throw K(r)}this.d=null,t&&t.i&1&&(t==uu?this.d=(Lt(),D1):t==Rn?this.d=Re(0):t==vv?this.d=new XR(0):t==Ki?this.d=0:t==hw?this.d=by(0):t==S2?this.d=O_(0):t==Eu?this.d=f6(0):this.d=S6(0)),this.e=!0}return this.d},h.lk=function(){return(this.Bb&256)!=0},h.pl=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},h.el=function(t){nht(this,t),this.pl(t)},h.fl=function(t){this.C=t,this.e=!1},h.Ib=function(){var t;return this.Db&64?Wj(this):(t=new ml(Wj(this)),t.a+=" (serializable: ",Xp(t,(this.Bb&256)!=0),t.a+=")",t.a)},h.c=!1,h.d=null,h.e=!1,x(zt,"EDataTypeImpl",570),A(462,570,{110:1,95:1,94:1,146:1,160:1,839:1,682:1,159:1,199:1,57:1,115:1,52:1,101:1,361:1,462:1,162:1,118:1,119:1,688:1},DZe),h.Ih=function(t,r,o){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return C0(this);case 4:return Fge(this);case 5:return this.F;case 6:return r?mc(this):l_(this);case 7:return!this.A&&(this.A=new du(Ka,this,7)),this.A;case 8:return Lt(),!!(this.Bb&256);case 9:return!this.a&&(this.a=new xe(Ip,this,9,5)),this.a}return qc(this,t-ln((Tt(),Z1)),Nt((s=l(qt(this,16),29),s||Z1),t),r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?OY(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,6,o);case 9:return!this.a&&(this.a=new xe(Ip,this,9,5)),La(this.a,t,o)}return f=l(Nt((s=l(qt(this,16),29),s||(Tt(),Z1)),r),69),f.uk().xk(this,Ha(this),r-ln((Tt(),Z1)),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 6:return Sc(this,null,6,o);case 7:return!this.A&&(this.A=new du(Ka,this,7)),Ao(this.A,t,o);case 9:return!this.a&&(this.a=new xe(Ip,this,9,5)),Ao(this.a,t,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),Z1)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),Z1)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!C0(this);case 4:return!!Fge(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!l_(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return zc(this,t-ln((Tt(),Z1)),Nt((r=l(qt(this,16),29),r||Z1),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:MP(this,In(r));return;case 2:oV(this,In(r));return;case 5:rk(this,In(r));return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A),!this.A&&(this.A=new du(Ka,this,7)),ti(this.A,l(r,18));return;case 8:Bj(this,Ke(We(r)));return;case 9:!this.a&&(this.a=new xe(Ip,this,9,5)),vn(this.a),!this.a&&(this.a=new xe(Ip,this,9,5)),ti(this.a,l(r,18));return}Xc(this,t-ln((Tt(),Z1)),Nt((o=l(qt(this,16),29),o||Z1),t),r)},h.fi=function(){return Tt(),Z1},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,187)&&(l(this.Cb,187).tb=null),Da(this,null);return;case 2:C_(this,null),w_(this,this.D);return;case 5:rk(this,null);return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A);return;case 8:Bj(this,!0);return;case 9:!this.a&&(this.a=new xe(Ip,this,9,5)),vn(this.a);return}Jc(this,t-ln((Tt(),Z1)),Nt((r=l(qt(this,16),29),r||Z1),t))},h.mi=function(){var t,r;if(this.a)for(t=0,r=this.a.i;t<r;++t)IO(ie(this.a,t));dg((mu(),so),this).ve(),this.Bb|=1},h.gk=function(){return Fge(this)},h.dk=function(t){return t!=null},h.pl=function(t){},x(zt,"EEnumImpl",462),A(575,444,{110:1,95:1,94:1,2018:1,691:1,159:1,199:1,57:1,115:1,52:1,101:1,575:1,162:1,118:1,119:1},JXe),h.ve=function(){return this.zb},h.xh=function(t){return X1t(this,t)},h.Ih=function(t,r,o){var s,u;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Re(this.d);case 3:return this.b?this.b:this.a;case 4:return u=this.c,u??this.zb;case 5:return this.Db>>16==5?l(this.Cb,682):null}return qc(this,t-ln((Tt(),Og)),Nt((s=l(qt(this,16),29),s||Og),t),r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 5:return this.Cb&&(o=(u=this.Db>>16,u>=0?X1t(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,5,o)}return f=l(Nt((s=l(qt(this,16),29),s||(Tt(),Og)),r),69),f.uk().xk(this,Ha(this),r-ln((Tt(),Og)),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 5:return Sc(this,null,5,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),Og)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),Og)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&l(this.Cb,682))}return zc(this,t-ln((Tt(),Og)),Nt((r=l(qt(this,16),29),r||Og),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Da(this,In(r));return;case 2:dK(this,l(r,15).a);return;case 3:i0t(this,l(r,2018));return;case 4:hK(this,In(r));return}Xc(this,t-ln((Tt(),Og)),Nt((o=l(qt(this,16),29),o||Og),t),r)},h.fi=function(){return Tt(),Og},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:Da(this,null);return;case 2:dK(this,0);return;case 3:i0t(this,null);return;case 4:hK(this,null);return}Jc(this,t-ln((Tt(),Og)),Nt((r=l(qt(this,16),29),r||Og),t))},h.Ib=function(){var t;return t=this.c,t??this.zb},h.b=null,h.c=null,h.d=0,x(zt,"EEnumLiteralImpl",575);var V3n=Hr(zt,"EFactoryImpl/InternalEDateTimeFormat");A(488,1,{2093:1},ZR),x(zt,"EFactoryImpl/1ClientInternalEDateTimeFormat",488),A(251,119,{110:1,95:1,94:1,88:1,57:1,115:1,52:1,101:1,251:1,118:1,119:1},Km),h.zh=function(t,r,o){var s;return o=Sc(this,t,r,o),this.e&&se(t,182)&&(s=I7(this,this.e),s!=this.c&&(o=ik(this,s,o))),o},h.Ih=function(t,r,o){var s;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new yi(Uo,this,1)),this.d;case 2:return r?U7(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return r?AY(this):this.a}return qc(this,t-ln((Tt(),lw)),Nt((s=l(qt(this,16),29),s||lw),t),r,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return Ppt(this,null,o);case 1:return!this.d&&(this.d=new yi(Uo,this,1)),Ao(this.d,t,o);case 3:return Mpt(this,null,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),lw)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),lw)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return zc(this,t-ln((Tt(),lw)),Nt((r=l(qt(this,16),29),r||lw),t))},h.$h=function(t,r){var o;switch(t){case 0:bbt(this,l(r,88));return;case 1:!this.d&&(this.d=new yi(Uo,this,1)),vn(this.d),!this.d&&(this.d=new yi(Uo,this,1)),ti(this.d,l(r,18));return;case 3:pbe(this,l(r,88));return;case 4:Dbe(this,l(r,842));return;case 5:m_(this,l(r,146));return}Xc(this,t-ln((Tt(),lw)),Nt((o=l(qt(this,16),29),o||lw),t),r)},h.fi=function(){return Tt(),lw},h.hi=function(t){var r;switch(t){case 0:bbt(this,null);return;case 1:!this.d&&(this.d=new yi(Uo,this,1)),vn(this.d);return;case 3:pbe(this,null);return;case 4:Dbe(this,null);return;case 5:m_(this,null);return}Jc(this,t-ln((Tt(),lw)),Nt((r=l(qt(this,16),29),r||lw),t))},h.Ib=function(){var t;return t=new fc(Zl(this)),t.a+=" (expression: ",IJ(this,t),t.a+=")",t.a};var y3e;x(zt,"EGenericTypeImpl",251),A(2046,2041,WF),h.Ei=function(t,r){eit(this,t,r)},h.Uk=function(t,r){return eit(this,this.gc(),t),r},h.Yi=function(t){return sa(this.nj(),t)},h.Gi=function(){return this.Hi()},h.nj=function(){return new WXe(this)},h.Hi=function(){return this.Ii(0)},h.Ii=function(t){return this.nj().dd(t)},h.Vk=function(t,r){return py(this,t,!0),r},h.Ri=function(t,r){var o,s;return s=MY(this,r),o=this.dd(t),o.Rb(s),s},h.Si=function(t,r){var o;py(this,r,!0),o=this.dd(t),o.Rb(r)},x(Fr,"AbstractSequentialInternalEList",2046),A(485,2046,WF,CO),h.Yi=function(t){return sa(this.nj(),t)},h.Gi=function(){return this.b==null?(eg(),eg(),uM):this.ql()},h.nj=function(){return new vnt(this.a,this.b)},h.Hi=function(){return this.b==null?(eg(),eg(),uM):this.ql()},h.Ii=function(t){var r,o;if(this.b==null){if(t<0||t>1)throw K(new Na(iI+t+", size=0"));return eg(),eg(),uM}for(o=this.ql(),r=0;r<t;++r)Cj(o);return o},h.dc=function(){var t,r,o,s,u,f;if(this.b!=null){for(o=0;o<this.b.length;++o)if(t=this.b[o],!this.tl()||this.a.Uh(t)){if(f=this.a.Kh(t,!1),Oo(),l(t,69).vk()){for(r=l(f,164),s=0,u=r.gc();s<u;++s)if(xst(r.Rl(s))&&r.Sl(s)!=null)return!1}else if(t.Hk()){if(!l(f,18).dc())return!1}else if(f!=null)return!1}}return!0},h.Jc=function(){return ege(this)},h.dd=function(t){var r,o;if(this.b==null){if(t!=0)throw K(new Na(iI+t+", size=0"));return eg(),eg(),uM}for(o=this.sl()?this.rl():this.ql(),r=0;r<t;++r)Cj(o);return o},h.Ri=function(t,r){throw K(new Nn)},h.Si=function(t,r){throw K(new Nn)},h.ql=function(){return new $8(this.a,this.b)},h.rl=function(){return new kde(this.a,this.b)},h.sl=function(){return!0},h.gc=function(){var t,r,o,s,u,f,p;if(u=0,this.b!=null){for(o=0;o<this.b.length;++o)if(t=this.b[o],!this.tl()||this.a.Uh(t))if(p=this.a.Kh(t,!1),Oo(),l(t,69).vk())for(r=l(p,164),s=0,f=r.gc();s<f;++s)xst(r.Rl(s))&&r.Sl(s)!=null&&++u;else t.Hk()?u+=l(p,18).gc():p!=null&&++u}return u},h.tl=function(){return!0};var Mre;x(Fr,"EContentsEList",485),A(1158,485,WF,$rt),h.ql=function(){return new Brt(this.a,this.b)},h.rl=function(){return new Urt(this.a,this.b)},h.tl=function(){return!1},x(zt,"ENamedElementImpl/1",1158),A(289,1,KF,$8),h.Nb=function(t){oo(this,t)},h.Rb=function(t){throw K(new Nn)},h.ul=function(t){if(this.g!=0||this.e)throw K(new Xo("Iterator already in use or already filtered"));this.e=t},h.Ob=function(){var t,r,o,s,u,f;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!bmt(this,this.p):!s0t(this))){for(;this.d<this.c.length;)if(r=this.c[this.d++],(!this.e||r.nk()!=Tx||r.Jj()!=0)&&(!this.tl()||this.b.Uh(r))){if(f=this.b.Kh(r,this.sl()),this.f=(Oo(),l(r,69).vk()),this.f||r.Hk()){if(this.sl()?(s=l(f,16),this.k=s):(s=l(f,72),this.k=this.j=s),se(this.k,59)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Hi():this.k.cd(),this.p?bmt(this,this.p):s0t(this))return u=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=3,!0}else if(f!=null)return this.k=null,this.p=null,o=f,this.i=o,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return u=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=3,!0}},h.Sb=function(){var t,r,o,s,u,f;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!mmt(this,this.p):!xmt(this))){for(;this.d>0;)if(r=this.c[--this.d],(!this.e||r.nk()!=Tx||r.Jj()!=0)&&(!this.tl()||this.b.Uh(r))){if(f=this.b.Kh(r,this.sl()),this.f=(Oo(),l(r,69).vk()),this.f||r.Hk()){if(this.sl()?(s=l(f,16),this.k=s):(s=l(f,72),this.k=this.j=s),se(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?mmt(this,this.p):xmt(this))return u=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=-3,!0}else if(f!=null)return this.k=null,this.p=null,o=f,this.i=o,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return u=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=-3,!0}},h.Pb=function(){return Cj(this)},h.Tb=function(){return this.a},h.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw K(new ys)},h.Vb=function(){return this.a-1},h.Qb=function(){throw K(new Nn)},h.sl=function(){return!1},h.Wb=function(t){throw K(new Nn)},h.tl=function(){return!0},h.a=0,h.d=0,h.f=!1,h.g=0,h.n=0,h.o=0;var uM;x(Fr,"EContentsEList/FeatureIteratorImpl",289),A(707,289,KF,kde),h.sl=function(){return!0},x(Fr,"EContentsEList/ResolvingFeatureIteratorImpl",707),A(1159,707,KF,Urt),h.tl=function(){return!1},x(zt,"ENamedElementImpl/1/1",1159),A(1160,289,KF,Brt),h.tl=function(){return!1},x(zt,"ENamedElementImpl/1/2",1160),A(40,152,zD,oy,jW,Pi,XW,ap,Vl,jpe,xut,Fpe,Nut,npe,Cut,Upe,Iut,rpe,Rut,$pe,Out,_3,o6,mW,Bpe,Dut,ipe,Lut),h.Ij=function(){return ype(this)},h.Pj=function(){var t;return t=ype(this),t?t.gk():null},h.fj=function(t){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,t)},h.hj=function(){return this.c},h.Qj=function(){var t;return t=ype(this),t?t.rk():!1},h.b=-1,x(zt,"ENotificationImpl",40),A(408,294,{110:1,95:1,94:1,159:1,199:1,57:1,62:1,115:1,473:1,52:1,101:1,162:1,408:1,294:1,118:1,119:1},ZG),h.xh=function(t){return Q1t(this,t)},h.Ih=function(t,r,o){var s,u,f;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),f=this.t,f>1||f==-1;case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,29):null;case 11:return!this.d&&(this.d=new du(Ka,this,11)),this.d;case 12:return!this.c&&(this.c=new xe(cw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new DO(this,this)),this.a;case 14:return ju(this)}return qc(this,t-ln((Tt(),Dg)),Nt((s=l(qt(this,16),29),s||Dg),t),r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 10:return this.Cb&&(o=(u=this.Db>>16,u>=0?Q1t(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,10,o);case 12:return!this.c&&(this.c=new xe(cw,this,12,10)),La(this.c,t,o)}return f=l(Nt((s=l(qt(this,16),29),s||(Tt(),Dg)),r),69),f.uk().xk(this,Ha(this),r-ln((Tt(),Dg)),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 9:return rW(this,o);case 10:return Sc(this,null,10,o);case 11:return!this.d&&(this.d=new du(Ka,this,11)),Ao(this.d,t,o);case 12:return!this.c&&(this.c=new xe(cw,this,12,10)),Ao(this.c,t,o);case 14:return Ao(ju(this),t,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),Dg)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),Dg)),t,o)},h.Th=function(t){var r,o,s;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return s=this.t,s>1||s==-1;case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&c0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&c0(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&ju(this.a.a).i!=0&&!(this.b&&SY(this.b));case 14:return!!this.b&&SY(this.b)}return zc(this,t-ln((Tt(),Dg)),Nt((r=l(qt(this,16),29),r||Dg),t))},h.$h=function(t,r){var o,s;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Da(this,In(r));return;case 2:fg(this,Ke(We(r)));return;case 3:hg(this,Ke(We(r)));return;case 4:ug(this,l(r,15).a);return;case 5:uy(this,l(r,15).a);return;case 8:Wb(this,l(r,146));return;case 9:s=Zd(this,l(r,88),null),s&&s.mj();return;case 11:!this.d&&(this.d=new du(Ka,this,11)),vn(this.d),!this.d&&(this.d=new du(Ka,this,11)),ti(this.d,l(r,18));return;case 12:!this.c&&(this.c=new xe(cw,this,12,10)),vn(this.c),!this.c&&(this.c=new xe(cw,this,12,10)),ti(this.c,l(r,18));return;case 13:!this.a&&(this.a=new DO(this,this)),LC(this.a),!this.a&&(this.a=new DO(this,this)),ti(this.a,l(r,18));return;case 14:vn(ju(this)),ti(ju(this),l(r,18));return}Xc(this,t-ln((Tt(),Dg)),Nt((o=l(qt(this,16),29),o||Dg),t),r)},h.fi=function(){return Tt(),Dg},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:Da(this,null);return;case 2:fg(this,!0);return;case 3:hg(this,!0);return;case 4:ug(this,0);return;case 5:uy(this,1);return;case 8:Wb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 11:!this.d&&(this.d=new du(Ka,this,11)),vn(this.d);return;case 12:!this.c&&(this.c=new xe(cw,this,12,10)),vn(this.c);return;case 13:this.a&&LC(this.a);return;case 14:this.b&&vn(this.b);return}Jc(this,t-ln((Tt(),Dg)),Nt((r=l(qt(this,16),29),r||Dg),t))},h.mi=function(){var t,r;if(this.c)for(t=0,r=this.c.i;t<r;++t)IO(ie(this.c,t));Sl(this),this.Bb|=1},x(zt,"EOperationImpl",408),A(503,751,yEe,DO),h.oj=function(t,r){rnn(this,t,l(r,146))},h.pj=function(t){qen(this,l(t,146))},h.vj=function(t){var r,o;return r=l(ie(ju(this.a),t),88),o=r.c,o||(Tt(),bf)},h.Aj=function(t){var r,o;return r=l(Ay(ju(this.a),t),88),o=r.c,o||(Tt(),bf)},h.Bj=function(t,r){return v1n(this,t,l(r,146))},h.Ji=function(){return!1},h.Gj=function(t,r,o,s,u){return null},h.qj=function(){return new zXe(this)},h.rj=function(){vn(ju(this.a))},h.sj=function(t){return Zpt(this,t)},h.tj=function(t){var r,o;for(o=t.Jc();o.Ob();)if(r=o.Pb(),!Zpt(this,r))return!1;return!0},h.uj=function(t){var r,o,s;if(se(t,16)&&(s=l(t,16),s.gc()==ju(this.a).i)){for(r=s.Jc(),o=new en(this);r.Ob();)if(be(r.Pb())!==be(rn(o)))return!1;return!0}return!1},h.wj=function(){var t,r,o,s,u;for(o=1,r=new en(ju(this.a));r.e!=r.i.gc();)t=l(rn(r),88),s=(u=t.c,u||(Tt(),bf)),o=31*o+(s?Ir(s):0);return o},h.xj=function(t){var r,o,s,u;for(s=0,o=new en(ju(this.a));o.e!=o.i.gc();){if(r=l(rn(o),88),be(t)===be((u=r.c,u||(Tt(),bf))))return s;++s}return-1},h.yj=function(){return ju(this.a).i==0},h.zj=function(){return null},h.Cj=function(){return ju(this.a).i},h.Dj=function(){var t,r,o,s,u,f;for(f=ju(this.a).i,u=me(Ci,Rt,1,f,5,1),o=0,r=new en(ju(this.a));r.e!=r.i.gc();)t=l(rn(r),88),u[o++]=(s=t.c,s||(Tt(),bf));return u},h.Ej=function(t){var r,o,s,u,f,p,m;for(m=ju(this.a).i,t.length<m&&(u=m6(nc(t).c,m),t=u),t.length>m&&ii(t,m,null),s=0,o=new en(ju(this.a));o.e!=o.i.gc();)r=l(rn(o),88),f=(p=r.c,p||(Tt(),bf)),ii(t,s++,f);return t},h.Fj=function(){var t,r,o,s,u;for(u=new Jp,u.a+="[",t=ju(this.a),r=0,s=ju(this.a).i;r<s;)zo(u,b3((o=l(ie(t,r),88).c,o||(Tt(),bf)))),++r<s&&(u.a+=Ma);return u.a+="]",u.a},h.Hj=function(t){},h.Jj=function(){return 13},h.il=function(){return!0},h.Kj=function(){return!1},h.jl=function(){return!1},h.kl=function(){return!1},h.ll=function(){return!0},h.$k=function(){return!1},h.ml=function(){return!0},h.dk=function(t){return se(t,146)},h.Oj=function(){return gcn(this.a)},h.Qi=function(){return!0},h.Wi=function(){return!0},x(zt,"EOperationImpl/1",503),A(1342,2041,ck,zXe),h.dd=function(t){return w6(this.a,t)},h.gc=function(){return ju(this.a.a).i},x(zt,"EOperationImpl/1/1",1342),A(1343,547,ms,zot),h.Ri=function(t,r){var o,s;return o=l(oC(this,t,r),88),Yu(this.e)&&DA(this,new o6(this.a,7,(Tt(),WDt),Re(r),(s=o.c,s||bf),t)),o},h.Sj=function(t,r){return Bpn(this,l(t,88),r)},h.Tj=function(t,r){return Upn(this,l(t,88),r)},h.Uj=function(t,r,o){return D1n(this,l(t,88),l(r,88),o)},h.Gj=function(t,r,o,s,u){switch(t){case 3:return L3(this,t,r,o,s,this.i>1);case 5:return L3(this,t,r,o,s,this.i-l(o,16).gc()>0);default:return new ap(this.e,t,this.c,r,o,s,!0)}},h.Rj=function(){return!0},h.Oj=function(){return SY(this)},h.Ek=function(){vn(this)},x(zt,"EOperationImpl/2",1343),A(496,1,{2016:1,496:1},nnt),x(zt,"EPackageImpl/1",496),A(14,82,ms,xe),h.gl=function(){return this.d},h.hl=function(){return this.b},h.kl=function(){return!0},h.b=0,x(Fr,"EObjectContainmentWithInverseEList",14),A(362,14,ms,ES),h.ll=function(){return!0},h.Ui=function(t,r){return rT(this,t,l(r,57))},x(Fr,"EObjectContainmentWithInverseEList/Resolving",362),A(313,362,ms,Jw),h.Li=function(){this.a.tb=null},x(zt,"EPackageImpl/2",313),A(1255,1,{},zXt),x(zt,"EPackageImpl/3",1255),A(728,44,DE,Nce),h._b=function(t){return zi(t)?yW(this,t):!!Zo(this.f,t)},x(zt,"EPackageRegistryImpl",728),A(507,294,{110:1,95:1,94:1,159:1,199:1,57:1,2095:1,115:1,473:1,52:1,101:1,162:1,507:1,294:1,118:1,119:1},QG),h.xh=function(t){return ebt(this,t)},h.Ih=function(t,r,o){var s,u,f;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),f=this.t,f>1||f==-1;case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,62):null}return qc(this,t-ln((Tt(),wv)),Nt((s=l(qt(this,16),29),s||wv),t),r,o)},h.Ph=function(t,r,o){var s,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),La(this.Ab,t,o);case 10:return this.Cb&&(o=(u=this.Db>>16,u>=0?ebt(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,10,o)}return f=l(Nt((s=l(qt(this,16),29),s||(Tt(),wv)),r),69),f.uk().xk(this,Ha(this),r-ln((Tt(),wv)),t,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 9:return rW(this,o);case 10:return Sc(this,null,10,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),wv)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),wv)),t,o)},h.Th=function(t){var r,o,s;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return s=this.t,s>1||s==-1;case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&c0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&c0(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,62))}return zc(this,t-ln((Tt(),wv)),Nt((r=l(qt(this,16),29),r||wv),t))},h.fi=function(){return Tt(),wv},x(zt,"EParameterImpl",507),A(104,454,{110:1,95:1,94:1,159:1,199:1,57:1,20:1,182:1,69:1,115:1,473:1,52:1,101:1,162:1,104:1,454:1,294:1,118:1,119:1,689:1},Rde),h.Ih=function(t,r,o){var s,u,f,p;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),p=this.t,p>1||p==-1;case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Lt(),!!(this.Bb&Tl);case 11:return Lt(),!!(this.Bb&mp);case 12:return Lt(),!!(this.Bb&Iy);case 13:return this.j;case 14:return Y_(this);case 15:return Lt(),!!(this.Bb&yu);case 16:return Lt(),!!(this.Bb&Ff);case 17:return ty(this);case 18:return Lt(),!!(this.Bb&Ws);case 19:return Lt(),f=Do(this),!!(f&&f.Bb&Ws);case 20:return Lt(),!!(this.Bb&xo);case 21:return r?Do(this):this.b;case 22:return r?kge(this):tlt(this);case 23:return!this.a&&(this.a=new oE(gv,this,23)),this.a}return qc(this,t-ln((Tt(),w2)),Nt((s=l(qt(this,16),29),s||w2),t),r,o)},h.Th=function(t){var r,o,s,u;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return u=this.t,u>1||u==-1;case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&c0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&c0(this.q).i==0);case 10:return(this.Bb&Tl)==0;case 11:return(this.Bb&mp)!=0;case 12:return(this.Bb&Iy)!=0;case 13:return this.j!=null;case 14:return Y_(this)!=null;case 15:return(this.Bb&yu)!=0;case 16:return(this.Bb&Ff)!=0;case 17:return!!ty(this);case 18:return(this.Bb&Ws)!=0;case 19:return s=Do(this),!!s&&(s.Bb&Ws)!=0;case 20:return(this.Bb&xo)==0;case 21:return!!this.b;case 22:return!!tlt(this);case 23:return!!this.a&&this.a.i!=0}return zc(this,t-ln((Tt(),w2)),Nt((r=l(qt(this,16),29),r||w2),t))},h.$h=function(t,r){var o,s;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:CW(this,In(r));return;case 2:fg(this,Ke(We(r)));return;case 3:hg(this,Ke(We(r)));return;case 4:ug(this,l(r,15).a);return;case 5:uy(this,l(r,15).a);return;case 8:Wb(this,l(r,146));return;case 9:s=Zd(this,l(r,88),null),s&&s.mj();return;case 10:D_(this,Ke(We(r)));return;case 11:P_(this,Ke(We(r)));return;case 12:L_(this,Ke(We(r)));return;case 13:zle(this,In(r));return;case 15:M_(this,Ke(We(r)));return;case 16:j_(this,Ke(We(r)));return;case 18:hun(this,Ke(We(r)));return;case 20:i1e(this,Ke(We(r)));return;case 21:nge(this,l(r,20));return;case 23:!this.a&&(this.a=new oE(gv,this,23)),vn(this.a),!this.a&&(this.a=new oE(gv,this,23)),ti(this.a,l(r,18));return}Xc(this,t-ln((Tt(),w2)),Nt((o=l(qt(this,16),29),o||w2),t),r)},h.fi=function(){return Tt(),w2},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,89)&&Ey(Mu(l(this.Cb,89)),4),Da(this,null);return;case 2:fg(this,!0);return;case 3:hg(this,!0);return;case 4:ug(this,0);return;case 5:uy(this,1);return;case 8:Wb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 10:D_(this,!0);return;case 11:P_(this,!1);return;case 12:L_(this,!1);return;case 13:this.i=null,Ej(this,null);return;case 15:M_(this,!1);return;case 16:j_(this,!1);return;case 18:o1e(this,!1),se(this.Cb,89)&&Ey(Mu(l(this.Cb,89)),2);return;case 20:i1e(this,!0);return;case 21:nge(this,null);return;case 23:!this.a&&(this.a=new oE(gv,this,23)),vn(this.a);return}Jc(this,t-ln((Tt(),w2)),Nt((r=l(qt(this,16),29),r||w2),t))},h.mi=function(){kge(this),a_(es((mu(),so),this)),Sl(this),this.Bb|=1},h.sk=function(){return Do(this)},h.Zk=function(){var t;return t=Do(this),!!t&&(t.Bb&Ws)!=0},h.$k=function(){return(this.Bb&Ws)!=0},h._k=function(){return(this.Bb&xo)!=0},h.Wk=function(t,r){return this.c=null,Kge(this,t,r)},h.Ib=function(){var t;return this.Db&64?$7(this):(t=new ml($7(this)),t.a+=" (containment: ",Xp(t,(this.Bb&Ws)!=0),t.a+=", resolveProxies: ",Xp(t,(this.Bb&xo)!=0),t.a+=")",t.a)},x(zt,"EReferenceImpl",104),A(553,119,{110:1,45:1,95:1,94:1,138:1,57:1,115:1,52:1,101:1,553:1,118:1,119:1},JGe),h.Fb=function(t){return this===t},h.jd=function(){return this.b},h.kd=function(){return this.c},h.Hb=function(){return o0(this)},h.Ai=function(t){Aon(this,In(t))},h.ld=function(t){return hon(this,In(t))},h.Ih=function(t,r,o){var s;switch(t){case 0:return this.b;case 1:return this.c}return qc(this,t-ln((Tt(),Io)),Nt((s=l(qt(this,16),29),s||Io),t),r,o)},h.Th=function(t){var r;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return zc(this,t-ln((Tt(),Io)),Nt((r=l(qt(this,16),29),r||Io),t))},h.$h=function(t,r){var o;switch(t){case 0:_on(this,In(r));return;case 1:Jpe(this,In(r));return}Xc(this,t-ln((Tt(),Io)),Nt((o=l(qt(this,16),29),o||Io),t),r)},h.fi=function(){return Tt(),Io},h.hi=function(t){var r;switch(t){case 0:Qpe(this,null);return;case 1:Jpe(this,null);return}Jc(this,t-ln((Tt(),Io)),Nt((r=l(qt(this,16),29),r||Io),t))},h.yi=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:cg(t)),this.a},h.zi=function(t){this.a=t},h.Ib=function(){var t;return this.Db&64?Zl(this):(t=new ml(Zl(this)),t.a+=" (key: ",zo(t,this.b),t.a+=", value: ",zo(t,this.c),t.a+=")",t.a)},h.a=-1,h.b=null,h.c=null;var Hs=x(zt,"EStringToStringMapEntryImpl",553),QDt=Hr(Fr,"FeatureMap/Entry/Internal");A(569,1,YF),h.vl=function(t){return this.wl(l(t,52))},h.wl=function(t){return this.vl(t)},h.Fb=function(t){var r,o;return this===t?!0:se(t,76)?(r=l(t,76),r.Jk()==this.c?(o=this.kd(),o==null?r.kd()==null:pr(o,r.kd())):!1):!1},h.Jk=function(){return this.c},h.Hb=function(){var t;return t=this.kd(),Ir(this.c)^(t==null?0:Ir(t))},h.Ib=function(){var t,r;return t=this.c,r=mc(t.ok()).vi(),t.ve(),(r!=null&&r.length!=0?r+":"+t.ve():t.ve())+"="+this.kd()},x(zt,"EStructuralFeatureImpl/BasicFeatureMapEntry",569),A(784,569,YF,Gde),h.wl=function(t){return new Gde(this.c,t)},h.kd=function(){return this.a},h.xl=function(t,r,o){return ihn(this,t,this.a,r,o)},h.yl=function(t,r,o){return ohn(this,t,this.a,r,o)},x(zt,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",784),A(1316,1,{},rnt),h.wk=function(t,r,o,s,u){var f;return f=l(h_(t,this.b),222),f.Wl(this.a).Dk(s)},h.xk=function(t,r,o,s,u){var f;return f=l(h_(t,this.b),222),f.Nl(this.a,s,u)},h.yk=function(t,r,o,s,u){var f;return f=l(h_(t,this.b),222),f.Ol(this.a,s,u)},h.zk=function(t,r,o){var s;return s=l(h_(t,this.b),222),s.Wl(this.a).Oj()},h.Ak=function(t,r,o,s){var u;u=l(h_(t,this.b),222),u.Wl(this.a).Wb(s)},h.Bk=function(t,r,o){return l(h_(t,this.b),222).Wl(this.a)},h.Ck=function(t,r,o){var s;s=l(h_(t,this.b),222),s.Wl(this.a).Ek()},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1316),A(90,1,{},ng,Ob,ig,Fb),h.wk=function(t,r,o,s,u){var f;if(f=r.ii(o),f==null&&r.ji(o,f=X7(this,t)),!u)switch(this.e){case 50:case 41:return l(f,593)._j();case 40:return l(f,222).Tl()}return f},h.xk=function(t,r,o,s,u){var f,p;return p=r.ii(o),p==null&&r.ji(o,p=X7(this,t)),f=l(p,72).Uk(s,u),f},h.yk=function(t,r,o,s,u){var f;return f=r.ii(o),f!=null&&(u=l(f,72).Vk(s,u)),u},h.zk=function(t,r,o){var s;return s=r.ii(o),s!=null&&l(s,78).Oj()},h.Ak=function(t,r,o,s){var u;u=l(r.ii(o),78),!u&&r.ji(o,u=X7(this,t)),u.Wb(s)},h.Bk=function(t,r,o){var s,u;return u=r.ii(o),u==null&&r.ji(o,u=X7(this,t)),se(u,78)?l(u,78):(s=l(r.ii(o),16),new qXe(s))},h.Ck=function(t,r,o){var s;s=l(r.ii(o),78),!s&&r.ji(o,s=X7(this,t)),s.Ek()},h.b=0,h.e=0,x(zt,"EStructuralFeatureImpl/InternalSettingDelegateMany",90),A(502,1,{}),h.xk=function(t,r,o,s,u){throw K(new Nn)},h.yk=function(t,r,o,s,u){throw K(new Nn)},h.Bk=function(t,r,o){return new rat(this,t,r,o)};var Lh;x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingle",502),A(1333,1,bQ,rat),h.Dk=function(t){return this.a.wk(this.c,this.d,this.b,t,!0)},h.Oj=function(){return this.a.zk(this.c,this.d,this.b)},h.Wb=function(t){this.a.Ak(this.c,this.d,this.b,t)},h.Ek=function(){this.a.Ck(this.c,this.d,this.b)},h.b=0,x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1333),A(777,502,{},Ahe),h.wk=function(t,r,o,s,u){return mJ(t,t.Mh(),t.Ch())==this.b?this._k()&&s?oJ(t):t.Mh():null},h.xk=function(t,r,o,s,u){var f,p;return t.Mh()&&(u=(f=t.Ch(),f>=0?t.xh(u):t.Mh().Qh(t,-1-f,null,u))),p=Ur(t.Ah(),this.e),t.zh(s,p,u)},h.yk=function(t,r,o,s,u){var f;return f=Ur(t.Ah(),this.e),t.zh(null,f,u)},h.zk=function(t,r,o){var s;return s=Ur(t.Ah(),this.e),!!t.Mh()&&t.Ch()==s},h.Ak=function(t,r,o,s){var u,f,p,m,y;if(s!=null&&!EJ(this.a,s))throw K(new LA(JF+(se(s,57)?hbe(l(s,57).Ah()):Dpe(nc(s)))+XF+this.a+"'"));if(u=t.Mh(),p=Ur(t.Ah(),this.e),be(s)!==be(u)||t.Ch()!=p&&s!=null){if(H_(t,l(s,57)))throw K(new jt(nI+t.Ib()));y=null,u&&(y=(f=t.Ch(),f>=0?t.xh(y):t.Mh().Qh(t,-1-f,null,y))),m=l(s,52),m&&(y=m.Oh(t,Ur(m.Ah(),this.b),null,y)),y=t.zh(m,p,y),y&&y.mj()}else t.sh()&&t.th()&&hr(t,new Pi(t,1,p,s,s))},h.Ck=function(t,r,o){var s,u,f,p;s=t.Mh(),s?(p=(u=t.Ch(),u>=0?t.xh(null):t.Mh().Qh(t,-1-u,null,null)),f=Ur(t.Ah(),this.e),p=t.zh(null,f,p),p&&p.mj()):t.sh()&&t.th()&&hr(t,new _3(t,1,this.e,null,null))},h._k=function(){return!1},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",777),A(1317,777,{},Kit),h._k=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1317),A(567,502,{}),h.wk=function(t,r,o,s,u){var f;return f=r.ii(o),f==null?this.b:be(f)===be(Lh)?null:f},h.zk=function(t,r,o){var s;return s=r.ii(o),s!=null&&(be(s)===be(Lh)||!pr(s,this.b))},h.Ak=function(t,r,o,s){var u,f;t.sh()&&t.th()?(u=(f=r.ii(o),f==null?this.b:be(f)===be(Lh)?null:f),s==null?this.c!=null?(r.ji(o,null),s=this.b):this.b!=null?r.ji(o,Lh):r.ji(o,null):(this.zl(s),r.ji(o,s)),hr(t,this.d.Al(t,1,this.e,u,s))):s==null?this.c!=null?r.ji(o,null):this.b!=null?r.ji(o,Lh):r.ji(o,null):(this.zl(s),r.ji(o,s))},h.Ck=function(t,r,o){var s,u;t.sh()&&t.th()?(s=(u=r.ii(o),u==null?this.b:be(u)===be(Lh)?null:u),r.ki(o),hr(t,this.d.Al(t,1,this.e,s,this.b))):r.ki(o)},h.zl=function(t){throw K(new tZe)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",567),A(HE,1,{},XGe),h.Al=function(t,r,o,s,u){return new _3(t,r,o,s,u)},h.Bl=function(t,r,o,s,u,f){return new mW(t,r,o,s,u,f)};var v3e,E3e,S3e,T3e,A3e,_3e,k3e,Pre,x3e;x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",HE),A(1334,HE,{},ZGe),h.Al=function(t,r,o,s,u){return new ipe(t,r,o,Ke(We(s)),Ke(We(u)))},h.Bl=function(t,r,o,s,u,f){return new Lut(t,r,o,Ke(We(s)),Ke(We(u)),f)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1334),A(1335,HE,{},QGe),h.Al=function(t,r,o,s,u){return new jpe(t,r,o,l(s,224).a,l(u,224).a)},h.Bl=function(t,r,o,s,u,f){return new xut(t,r,o,l(s,224).a,l(u,224).a,f)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1335),A(1336,HE,{},eqe),h.Al=function(t,r,o,s,u){return new Fpe(t,r,o,l(s,183).a,l(u,183).a)},h.Bl=function(t,r,o,s,u,f){return new Nut(t,r,o,l(s,183).a,l(u,183).a,f)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1336),A(1337,HE,{},tqe),h.Al=function(t,r,o,s,u){return new npe(t,r,o,ue(ce(s)),ue(ce(u)))},h.Bl=function(t,r,o,s,u,f){return new Cut(t,r,o,ue(ce(s)),ue(ce(u)),f)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1337),A(1338,HE,{},nqe),h.Al=function(t,r,o,s,u){return new Upe(t,r,o,l(s,165).a,l(u,165).a)},h.Bl=function(t,r,o,s,u,f){return new Iut(t,r,o,l(s,165).a,l(u,165).a,f)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1338),A(1339,HE,{},rqe),h.Al=function(t,r,o,s,u){return new rpe(t,r,o,l(s,15).a,l(u,15).a)},h.Bl=function(t,r,o,s,u,f){return new Rut(t,r,o,l(s,15).a,l(u,15).a,f)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1339),A(1340,HE,{},iqe),h.Al=function(t,r,o,s,u){return new $pe(t,r,o,l(s,192).a,l(u,192).a)},h.Bl=function(t,r,o,s,u,f){return new Out(t,r,o,l(s,192).a,l(u,192).a,f)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1340),A(1341,HE,{},oqe),h.Al=function(t,r,o,s,u){return new Bpe(t,r,o,l(s,193).a,l(u,193).a)},h.Bl=function(t,r,o,s,u,f){return new Dut(t,r,o,l(s,193).a,l(u,193).a,f)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1341),A(1319,567,{},aat),h.zl=function(t){if(!this.a.dk(t))throw K(new LA(JF+nc(t)+XF+this.a+"'"))},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1319),A(1320,567,{},Got),h.zl=function(t){},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1320),A(778,567,{}),h.zk=function(t,r,o){var s;return s=r.ii(o),s!=null},h.Ak=function(t,r,o,s){var u,f;t.sh()&&t.th()?(u=!0,f=r.ii(o),f==null?(u=!1,f=this.b):be(f)===be(Lh)&&(f=null),s==null?this.c!=null?(r.ji(o,null),s=this.b):r.ji(o,Lh):(this.zl(s),r.ji(o,s)),hr(t,this.d.Bl(t,1,this.e,f,s,!u))):s==null?this.c!=null?r.ji(o,null):r.ji(o,Lh):(this.zl(s),r.ji(o,s))},h.Ck=function(t,r,o){var s,u;t.sh()&&t.th()?(s=!0,u=r.ii(o),u==null?(s=!1,u=this.b):be(u)===be(Lh)&&(u=null),r.ki(o),hr(t,this.d.Bl(t,2,this.e,u,this.b,s))):r.ki(o)},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",778),A(1321,778,{},uat),h.zl=function(t){if(!this.a.dk(t))throw K(new LA(JF+nc(t)+XF+this.a+"'"))},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1321),A(1322,778,{},qot),h.zl=function(t){},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1322),A(407,502,{},aP),h.wk=function(t,r,o,s,u){var f,p,m,y,v;if(v=r.ii(o),this.rk()&&be(v)===be(Lh))return null;if(this._k()&&s&&v!=null){if(m=l(v,52),m.Sh()&&(y=w1(t,m),m!=y)){if(!EJ(this.a,y))throw K(new LA(JF+nc(y)+XF+this.a+"'"));r.ji(o,v=y),this.$k()&&(f=l(y,52),p=m.Qh(t,this.b?Ur(m.Ah(),this.b):-1-Ur(t.Ah(),this.e),null,null),!f.Mh()&&(p=f.Oh(t,this.b?Ur(f.Ah(),this.b):-1-Ur(t.Ah(),this.e),null,p)),p&&p.mj()),t.sh()&&t.th()&&hr(t,new _3(t,9,this.e,m,y))}return v}else return v},h.xk=function(t,r,o,s,u){var f,p;return p=r.ii(o),be(p)===be(Lh)&&(p=null),r.ji(o,s),this.Kj()?be(p)!==be(s)&&p!=null&&(f=l(p,52),u=f.Qh(t,Ur(f.Ah(),this.b),null,u)):this.$k()&&p!=null&&(u=l(p,52).Qh(t,-1-Ur(t.Ah(),this.e),null,u)),t.sh()&&t.th()&&(!u&&(u=new Qg(4)),u.lj(new _3(t,1,this.e,p,s))),u},h.yk=function(t,r,o,s,u){var f;return f=r.ii(o),be(f)===be(Lh)&&(f=null),r.ki(o),t.sh()&&t.th()&&(!u&&(u=new Qg(4)),this.rk()?u.lj(new _3(t,2,this.e,f,null)):u.lj(new _3(t,1,this.e,f,null))),u},h.zk=function(t,r,o){var s;return s=r.ii(o),s!=null},h.Ak=function(t,r,o,s){var u,f,p,m,y;if(s!=null&&!EJ(this.a,s))throw K(new LA(JF+(se(s,57)?hbe(l(s,57).Ah()):Dpe(nc(s)))+XF+this.a+"'"));y=r.ii(o),m=y!=null,this.rk()&&be(y)===be(Lh)&&(y=null),p=null,this.Kj()?be(y)!==be(s)&&(y!=null&&(u=l(y,52),p=u.Qh(t,Ur(u.Ah(),this.b),null,p)),s!=null&&(u=l(s,52),p=u.Oh(t,Ur(u.Ah(),this.b),null,p))):this.$k()&&be(y)!==be(s)&&(y!=null&&(p=l(y,52).Qh(t,-1-Ur(t.Ah(),this.e),null,p)),s!=null&&(p=l(s,52).Oh(t,-1-Ur(t.Ah(),this.e),null,p))),s==null&&this.rk()?r.ji(o,Lh):r.ji(o,s),t.sh()&&t.th()?(f=new mW(t,1,this.e,y,s,this.rk()&&!m),p?(p.lj(f),p.mj()):hr(t,f)):p&&p.mj()},h.Ck=function(t,r,o){var s,u,f,p,m;m=r.ii(o),p=m!=null,this.rk()&&be(m)===be(Lh)&&(m=null),f=null,m!=null&&(this.Kj()?(s=l(m,52),f=s.Qh(t,Ur(s.Ah(),this.b),null,f)):this.$k()&&(f=l(m,52).Qh(t,-1-Ur(t.Ah(),this.e),null,f))),r.ki(o),t.sh()&&t.th()?(u=new mW(t,this.rk()?2:1,this.e,m,null,p),f?(f.lj(u),f.mj()):hr(t,u)):f&&f.mj()},h.Kj=function(){return!1},h.$k=function(){return!1},h._k=function(){return!1},h.rk=function(){return!1},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",407),A(568,407,{},wV),h.$k=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",568),A(1325,568,{},Hrt),h._k=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1325),A(780,568,{},xde),h.rk=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",780),A(1327,780,{},zrt),h._k=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1327),A(645,568,{},DV),h.Kj=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",645),A(1326,645,{},Yit),h._k=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1326),A(781,645,{},ffe),h.rk=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",781),A(1328,781,{},Jit),h._k=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1328),A(646,407,{},Nde),h._k=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",646),A(1329,646,{},qrt),h.rk=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1329),A(782,646,{},lfe),h.Kj=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",782),A(1330,782,{},Xit),h.rk=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1330),A(1323,407,{},Grt),h.rk=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1323),A(779,407,{},dfe),h.Kj=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",779),A(1324,779,{},Zit),h.rk=function(){return!0},x(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1324),A(783,569,YF,rhe),h.wl=function(t){return new rhe(this.a,this.c,t)},h.kd=function(){return this.b},h.xl=function(t,r,o){return ndn(this,t,this.b,o)},h.yl=function(t,r,o){return rdn(this,t,this.b,o)},x(zt,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",783),A(1331,1,bQ,qXe),h.Dk=function(t){return this.a},h.Oj=function(){return se(this.a,98)?l(this.a,98).Oj():!this.a.dc()},h.Wb=function(t){this.a.$b(),this.a.Fc(l(t,16))},h.Ek=function(){se(this.a,98)?l(this.a,98).Ek():this.a.$b()},x(zt,"EStructuralFeatureImpl/SettingMany",1331),A(1332,569,YF,xct),h.vl=function(t){return new TV((Er(),L4),this.b.oi(this.a,t))},h.kd=function(){return null},h.xl=function(t,r,o){return o},h.yl=function(t,r,o){return o},x(zt,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1332),A(647,569,YF,TV),h.vl=function(t){return new TV(this.c,t)},h.kd=function(){return this.a},h.xl=function(t,r,o){return o},h.yl=function(t,r,o){return o},x(zt,"EStructuralFeatureImpl/SimpleFeatureMapEntry",647),A(399,495,qf,xA),h.$i=function(t){return me(Ol,Rt,29,t,0,1)},h.Wi=function(){return!1},x(zt,"ESuperAdapter/1",399),A(449,444,{110:1,95:1,94:1,159:1,199:1,57:1,115:1,842:1,52:1,101:1,162:1,449:1,118:1,119:1},RG),h.Ih=function(t,r,o){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new E3(this,Uo,this)),this.a}return qc(this,t-ln((Tt(),dw)),Nt((s=l(qt(this,16),29),s||dw),t),r,o)},h.Rh=function(t,r,o){var s,u;switch(r){case 0:return!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),Ao(this.Ab,t,o);case 2:return!this.a&&(this.a=new E3(this,Uo,this)),Ao(this.a,t,o)}return u=l(Nt((s=l(qt(this,16),29),s||(Tt(),dw)),r),69),u.uk().yk(this,Ha(this),r-ln((Tt(),dw)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return zc(this,t-ln((Tt(),dw)),Nt((r=l(qt(this,16),29),r||dw),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Da(this,In(r));return;case 2:!this.a&&(this.a=new E3(this,Uo,this)),vn(this.a),!this.a&&(this.a=new E3(this,Uo,this)),ti(this.a,l(r,18));return}Xc(this,t-ln((Tt(),dw)),Nt((o=l(qt(this,16),29),o||dw),t),r)},h.fi=function(){return Tt(),dw},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new xe(Kn,this,0,3)),vn(this.Ab);return;case 1:Da(this,null);return;case 2:!this.a&&(this.a=new E3(this,Uo,this)),vn(this.a);return}Jc(this,t-ln((Tt(),dw)),Nt((r=l(qt(this,16),29),r||dw),t))},x(zt,"ETypeParameterImpl",449),A(450,82,ms,E3),h.Lj=function(t,r){return X0n(this,l(t,88),r)},h.Mj=function(t,r){return Z0n(this,l(t,88),r)},x(zt,"ETypeParameterImpl/1",450),A(644,44,DE,eq),h.ec=function(){return new k9(this)},x(zt,"ETypeParameterImpl/2",644),A(564,tf,wu,k9),h.Ec=function(t){return _it(this,l(t,88))},h.Fc=function(t){var r,o,s;for(s=!1,o=t.Jc();o.Ob();)r=l(o.Pb(),88),Yn(this.a,r,"")==null&&(s=!0);return s},h.$b=function(){Zs(this.a)},h.Gc=function(t){return ba(this.a,t)},h.Jc=function(){var t;return t=new ly(new Ow(this.a).a),new x9(t)},h.Kc=function(t){return glt(this,t)},h.gc=function(){return GN(this.a)},x(zt,"ETypeParameterImpl/2/1",564),A(565,1,Wi,x9),h.Nb=function(t){oo(this,t)},h.Pb=function(){return l(gE(this.a).jd(),88)},h.Ob=function(){return this.a.b},h.Qb=function(){xdt(this.a)},x(zt,"ETypeParameterImpl/2/1/1",565),A(1293,44,DE,LZe),h._b=function(t){return zi(t)?yW(this,t):!!Zo(this.f,t)},h.xc=function(t){var r,o;return r=zi(t)?ma(this,t):Es(Zo(this.f,t)),se(r,843)?(o=l(r,843),r=o.Ik(),Yn(this,l(t,244),r),r):r??(t==null?(yq(),tLt):null)},x(zt,"EValidatorRegistryImpl",1293),A(1315,717,{110:1,95:1,94:1,472:1,159:1,57:1,115:1,2019:1,52:1,101:1,162:1,118:1,119:1},sqe),h.oi=function(t,r){switch(t.fk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return r==null?null:bs(r);case 25:return ffn(r);case 27:return xdn(r);case 28:return Ndn(r);case 29:return r==null?null:Wnt(N4[0],l(r,208));case 41:return r==null?"":Sb(l(r,299));case 42:return bs(r);case 50:return In(r);default:throw K(new jt(Ok+t.ve()+V0))}},h.pi=function(t){var r,o,s,u,f,p,m,y,v,T,N,I,L,U,G,J;switch(t.G==-1&&(t.G=(I=mc(t),I?pg(I.si(),t):-1)),t.G){case 0:return o=new XG,o;case 1:return r=new Rue,r;case 2:return s=new Pue,s;case 4:return u=new N9,u;case 5:return f=new DZe,f;case 6:return p=new JXe,p;case 7:return m=new Mue,m;case 10:return v=new m9,v;case 11:return T=new ZG,T;case 12:return N=new yat,N;case 13:return L=new QG,L;case 14:return U=new Rde,U;case 17:return G=new JGe,G;case 18:return y=new Km,y;case 19:return J=new RG,J;default:throw K(new jt(eQ+t.zb+V0))}},h.qi=function(t,r){switch(t.fk()){case 20:return r==null?null:new Jce(r);case 21:return r==null?null:new o1(r);case 23:case 22:return r==null?null:d1n(r);case 26:case 24:return r==null?null:f6(Ec(r,-128,127)<<24>>24);case 25:return hEn(r);case 27:return Ybn(r);case 28:return Jbn(r);case 29:return mwn(r);case 32:case 31:return r==null?null:yy(r);case 38:case 37:return r==null?null:new yce(r);case 40:case 39:return r==null?null:Re(Ec(r,Zi,sr));case 41:return null;case 42:return r==null,null;case 44:case 43:return r==null?null:by(J7(r));case 49:case 48:return r==null?null:O_(Ec(r,ZF,32767)<<16>>16);case 50:return r;default:throw K(new jt(Ok+t.ve()+V0))}},x(zt,"EcoreFactoryImpl",1315),A(552,187,{110:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,2017:1,52:1,101:1,162:1,187:1,552:1,118:1,119:1,687:1},Bst),h.gb=!1,h.hb=!1;var N3e,eLt=!1;x(zt,"EcorePackageImpl",552),A(1211,1,{843:1},aqe),h.Ik=function(){return Ert(),nLt},x(zt,"EcorePackageImpl/1",1211),A(1220,1,er,uqe),h.dk=function(t){return se(t,159)},h.ek=function(t){return me(tM,Rt,159,t,0,1)},x(zt,"EcorePackageImpl/10",1220),A(1221,1,er,cqe),h.dk=function(t){return se(t,199)},h.ek=function(t){return me(xre,Rt,199,t,0,1)},x(zt,"EcorePackageImpl/11",1221),A(1222,1,er,lqe),h.dk=function(t){return se(t,57)},h.ek=function(t){return me(Y1,Rt,57,t,0,1)},x(zt,"EcorePackageImpl/12",1222),A(1223,1,er,dqe),h.dk=function(t){return se(t,408)},h.ek=function(t){return me(Dl,wEe,62,t,0,1)},x(zt,"EcorePackageImpl/13",1223),A(1224,1,er,fqe),h.dk=function(t){return se(t,244)},h.ek=function(t){return me(Dd,Rt,244,t,0,1)},x(zt,"EcorePackageImpl/14",1224),A(1225,1,er,hqe),h.dk=function(t){return se(t,507)},h.ek=function(t){return me(cw,Rt,2095,t,0,1)},x(zt,"EcorePackageImpl/15",1225),A(1226,1,er,pqe),h.dk=function(t){return se(t,104)},h.ek=function(t){return me(bv,UE,20,t,0,1)},x(zt,"EcorePackageImpl/16",1226),A(1227,1,er,gqe),h.dk=function(t){return se(t,182)},h.ek=function(t){return me(au,UE,182,t,0,1)},x(zt,"EcorePackageImpl/17",1227),A(1228,1,er,bqe),h.dk=function(t){return se(t,473)},h.ek=function(t){return me(pv,Rt,473,t,0,1)},x(zt,"EcorePackageImpl/18",1228),A(1229,1,er,mqe),h.dk=function(t){return se(t,553)},h.ek=function(t){return me(Hs,SAt,553,t,0,1)},x(zt,"EcorePackageImpl/19",1229),A(1212,1,er,wqe),h.dk=function(t){return se(t,336)},h.ek=function(t){return me(gv,UE,38,t,0,1)},x(zt,"EcorePackageImpl/2",1212),A(1230,1,er,yqe),h.dk=function(t){return se(t,251)},h.ek=function(t){return me(Uo,$At,88,t,0,1)},x(zt,"EcorePackageImpl/20",1230),A(1231,1,er,vqe),h.dk=function(t){return se(t,449)},h.ek=function(t){return me(Ka,Rt,842,t,0,1)},x(zt,"EcorePackageImpl/21",1231),A(1232,1,er,Eqe),h.dk=function(t){return $w(t)},h.ek=function(t){return me(Yr,Me,476,t,8,1)},x(zt,"EcorePackageImpl/22",1232),A(1233,1,er,Sqe),h.dk=function(t){return se(t,198)},h.ek=function(t){return me(Eu,Me,198,t,0,2)},x(zt,"EcorePackageImpl/23",1233),A(1234,1,er,Tqe),h.dk=function(t){return se(t,224)},h.ek=function(t){return me(yT,Me,224,t,0,1)},x(zt,"EcorePackageImpl/24",1234),A(1235,1,er,Aqe),h.dk=function(t){return se(t,183)},h.ek=function(t){return me(pI,Me,183,t,0,1)},x(zt,"EcorePackageImpl/25",1235),A(1236,1,er,_qe),h.dk=function(t){return se(t,208)},h.ek=function(t){return me(u$,Me,208,t,0,1)},x(zt,"EcorePackageImpl/26",1236),A(1237,1,er,kqe),h.dk=function(t){return!1},h.ek=function(t){return me(V3e,Rt,2191,t,0,1)},x(zt,"EcorePackageImpl/27",1237),A(1238,1,er,xqe),h.dk=function(t){return Bw(t)},h.ek=function(t){return me(fi,Me,347,t,7,1)},x(zt,"EcorePackageImpl/28",1238),A(1239,1,er,Nqe),h.dk=function(t){return se(t,61)},h.ek=function(t){return me(a3e,Ry,61,t,0,1)},x(zt,"EcorePackageImpl/29",1239),A(1213,1,er,Cqe),h.dk=function(t){return se(t,508)},h.ek=function(t){return me(Kn,{3:1,4:1,5:1,2012:1},594,t,0,1)},x(zt,"EcorePackageImpl/3",1213),A(1240,1,er,Iqe),h.dk=function(t){return se(t,575)},h.ek=function(t){return me(l3e,Rt,2018,t,0,1)},x(zt,"EcorePackageImpl/30",1240),A(1241,1,er,Rqe),h.dk=function(t){return se(t,164)},h.ek=function(t){return me(D3e,Ry,164,t,0,1)},x(zt,"EcorePackageImpl/31",1241),A(1242,1,er,Oqe),h.dk=function(t){return se(t,76)},h.ek=function(t){return me(EU,KAt,76,t,0,1)},x(zt,"EcorePackageImpl/32",1242),A(1243,1,er,Dqe),h.dk=function(t){return se(t,165)},h.ek=function(t){return me(Bk,Me,165,t,0,1)},x(zt,"EcorePackageImpl/33",1243),A(1244,1,er,Lqe),h.dk=function(t){return se(t,15)},h.ek=function(t){return me(Ti,Me,15,t,0,1)},x(zt,"EcorePackageImpl/34",1244),A(1245,1,er,Mqe),h.dk=function(t){return se(t,299)},h.ek=function(t){return me(REe,Rt,299,t,0,1)},x(zt,"EcorePackageImpl/35",1245),A(1246,1,er,Pqe),h.dk=function(t){return se(t,192)},h.ek=function(t){return me(K0,Me,192,t,0,1)},x(zt,"EcorePackageImpl/36",1246),A(1247,1,er,jqe),h.dk=function(t){return se(t,93)},h.ek=function(t){return me(OEe,Rt,93,t,0,1)},x(zt,"EcorePackageImpl/37",1247),A(1248,1,er,Fqe),h.dk=function(t){return se(t,595)},h.ek=function(t){return me(C3e,Rt,595,t,0,1)},x(zt,"EcorePackageImpl/38",1248),A(1249,1,er,$qe),h.dk=function(t){return!1},h.ek=function(t){return me(W3e,Rt,2192,t,0,1)},x(zt,"EcorePackageImpl/39",1249),A(1214,1,er,Bqe),h.dk=function(t){return se(t,89)},h.ek=function(t){return me(Ol,Rt,29,t,0,1)},x(zt,"EcorePackageImpl/4",1214),A(1250,1,er,Uqe),h.dk=function(t){return se(t,193)},h.ek=function(t){return me(Y0,Me,193,t,0,1)},x(zt,"EcorePackageImpl/40",1250),A(1251,1,er,Hqe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(zt,"EcorePackageImpl/41",1251),A(1252,1,er,zqe),h.dk=function(t){return se(t,592)},h.ek=function(t){return me(c3e,Rt,592,t,0,1)},x(zt,"EcorePackageImpl/42",1252),A(1253,1,er,Gqe),h.dk=function(t){return!1},h.ek=function(t){return me(K3e,Me,2193,t,0,1)},x(zt,"EcorePackageImpl/43",1253),A(1254,1,er,qqe),h.dk=function(t){return se(t,45)},h.ek=function(t){return me(cm,Q7,45,t,0,1)},x(zt,"EcorePackageImpl/44",1254),A(1215,1,er,Vqe),h.dk=function(t){return se(t,146)},h.ek=function(t){return me(Ld,Rt,146,t,0,1)},x(zt,"EcorePackageImpl/5",1215),A(1216,1,er,Wqe),h.dk=function(t){return se(t,160)},h.ek=function(t){return me(Dre,Rt,160,t,0,1)},x(zt,"EcorePackageImpl/6",1216),A(1217,1,er,Kqe),h.dk=function(t){return se(t,462)},h.ek=function(t){return me(vU,Rt,682,t,0,1)},x(zt,"EcorePackageImpl/7",1217),A(1218,1,er,Yqe),h.dk=function(t){return se(t,575)},h.ek=function(t){return me(Ip,Rt,691,t,0,1)},x(zt,"EcorePackageImpl/8",1218),A(1219,1,er,Jqe),h.dk=function(t){return se(t,472)},h.ek=function(t){return me(x4,Rt,472,t,0,1)},x(zt,"EcorePackageImpl/9",1219),A(1030,2059,EAt,iQe),h.Ki=function(t,r){Gpn(this,l(r,420))},h.Oi=function(t,r){_mt(this,t,l(r,420))},x(zt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1030),A(1031,152,zD,Cst),h.hj=function(){return this.a.a},x(zt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1031),A(1058,1057,{},Fnt),x("org.eclipse.emf.ecore.plugin","EcorePlugin",1058);var C3e=Hr(YAt,"Resource");A(793,1502,JAt),h.Fl=function(t){},h.Gl=function(t){},h.Cl=function(){return!this.a&&(this.a=new qG(this)),this.a},h.Dl=function(t){var r,o,s,u,f;if(s=t.length,s>0)if(Yt(0,t.length),t.charCodeAt(0)==47){for(f=new Ra(4),u=1,r=1;r<s;++r)Yt(r,t.length),t.charCodeAt(r)==47&&(je(f,u==r?"":(no(u,r,t.length),t.substr(u,r-u))),u=r+1);return je(f,(Yt(u,t.length+1),t.substr(u))),zmn(this,f)}else Yt(s-1,t.length),t.charCodeAt(s-1)==63&&(o=Qde(t,Qa(63),s-2),o>0&&(t=(no(0,o,t.length),t.substr(0,o))));return ivn(this,t)},h.El=function(){return this.c},h.Ib=function(){var t;return Sb(this.Pm)+"@"+(t=Ir(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},h.b=!1,x(mQ,"ResourceImpl",793),A(1503,793,JAt,VXe),x(mQ,"BinaryResourceImpl",1503),A(1171,704,dQ),h._i=function(t){return se(t,57)?kan(this,l(t,57)):se(t,595)?new en(l(t,595).Cl()):be(t)===be(this.f)?l(t,18).Jc():(YA(),aM.a)},h.Ob=function(){return ame(this)},h.a=!1,x(Fr,"EcoreUtil/ContentTreeIterator",1171),A(1504,1171,dQ,ist),h._i=function(t){return be(t)===be(this.f)?l(t,16).Jc():new lct(l(t,57))},x(mQ,"ResourceImpl/5",1504),A(654,2071,FAt,qG),h.Gc=function(t){return this.i<=4?G_(this,t):se(t,52)&&l(t,52).Gh()==this.a},h.Ki=function(t,r){t==this.i-1&&(this.a.b||(this.a.b=!0))},h.Mi=function(t,r){t==0?this.a.b||(this.a.b=!0):KW(this,t,r)},h.Oi=function(t,r){},h.Pi=function(t,r,o){},h.Jj=function(){return 2},h.hj=function(){return this.a},h.Kj=function(){return!0},h.Lj=function(t,r){var o;return o=l(t,52),r=o.ci(this.a,r),r},h.Mj=function(t,r){var o;return o=l(t,52),o.ci(null,r)},h.Nj=function(){return!1},h.Qi=function(){return!0},h.$i=function(t){return me(Y1,Rt,57,t,0,1)},h.Wi=function(){return!1},x(mQ,"ResourceImpl/ContentsEList",654),A(962,2041,ck,WXe),h.dd=function(t){return this.a.Ii(t)},h.gc=function(){return this.a.gc()},x(Fr,"AbstractSequentialInternalEList/1",962);var I3e,R3e,so,O3e;A(632,1,{},hot);var SU,TU;x(Fr,"BasicExtendedMetaData",632),A(1162,1,{},int),h.Hl=function(){return null},h.Il=function(){return this.a==-2&&cZt(this,lwn(this.d,this.b)),this.a},h.Jl=function(){return null},h.Kl=function(){return St(),St(),No},h.ve=function(){return this.c==Pk&&lZt(this,zgt(this.d,this.b)),this.c},h.Ll=function(){return 0},h.a=-2,h.c=Pk,x(Fr,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1162),A(1163,1,{},Put),h.Hl=function(){return this.a==(f_(),SU)&&hZt(this,ZSn(this.f,this.b)),this.a},h.Il=function(){return 0},h.Jl=function(){return this.c==(f_(),SU)&&dZt(this,QSn(this.f,this.b)),this.c},h.Kl=function(){return!this.d&&gZt(this,PAn(this.f,this.b)),this.d},h.ve=function(){return this.e==Pk&&mZt(this,zgt(this.f,this.b)),this.e},h.Ll=function(){return this.g==-2&&yZt(this,I0n(this.f,this.b)),this.g},h.e=Pk,h.g=-2,x(Fr,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1163),A(1161,1,{},snt),h.b=!1,h.c=!1,x(Fr,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1161),A(1164,1,{},jut),h.c=-2,h.e=Pk,h.f=Pk,x(Fr,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1164),A(588,630,ms,J8),h.Jj=function(){return this.c},h.ml=function(){return!1},h.Ui=function(t,r){return r},h.c=0,x(Fr,"EDataTypeEList",588);var D3e=Hr(Fr,"FeatureMap");A(77,588,{3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,164:1,222:1,2015:1,72:1,98:1},ni),h._c=function(t,r){y2n(this,t,l(r,76))},h.Ec=function(t){return PEn(this,l(t,76))},h.Fi=function(t){Nsn(this,l(t,76))},h.Lj=function(t,r){return qnn(this,l(t,76),r)},h.Mj=function(t,r){return tfe(this,l(t,76),r)},h.Ri=function(t,r){return zTn(this,t,r)},h.Ui=function(t,r){return Dkn(this,t,l(r,76))},h.fd=function(t,r){return iSn(this,t,l(r,76))},h.Sj=function(t,r){return Vnn(this,l(t,76),r)},h.Tj=function(t,r){return Oit(this,l(t,76),r)},h.Uj=function(t,r,o){return v0n(this,l(t,76),l(r,76),o)},h.Xi=function(t,r){return UY(this,t,l(r,76))},h.Ml=function(t,r){return t0e(this,t,r)},h.ad=function(t,r){var o,s,u,f,p,m,y,v,T;for(v=new m0(r.gc()),u=r.Jc();u.Ob();)if(s=l(u.Pb(),76),f=s.Jk(),bp(this.e,f))(!f.Qi()||!BP(this,f,s.kd())&&!G_(v,s))&&Tn(v,s);else{for(T=za(this.e.Ah(),f),o=l(this.g,123),p=!0,m=0;m<this.i;++m)if(y=o[m],T.$l(y.Jk())){l(EE(this,m,s),76),p=!1;break}p&&Tn(v,s)}return Ege(this,t,v)},h.Fc=function(t){var r,o,s,u,f,p,m,y,v;for(y=new m0(t.gc()),s=t.Jc();s.Ob();)if(o=l(s.Pb(),76),u=o.Jk(),bp(this.e,u))(!u.Qi()||!BP(this,u,o.kd())&&!G_(y,o))&&Tn(y,o);else{for(v=za(this.e.Ah(),u),r=l(this.g,123),f=!0,p=0;p<this.i;++p)if(m=r[p],v.$l(m.Jk())){l(EE(this,p,o),76),f=!1;break}f&&Tn(y,o)}return ti(this,y)},h.Di=function(t){return this.j=-1,SJ(this,this.i,t)},h.Nl=function(t,r,o){return Wme(this,t,r,o)},h.Vk=function(t,r){return oD(this,t,r)},h.Ol=function(t,r,o){return S0e(this,t,r,o)},h.Pl=function(){return this},h.Ql=function(t,r){return uD(this,t,r)},h.Rl=function(t){return l(ie(this,t),76).Jk()},h.Sl=function(t){return l(ie(this,t),76).kd()},h.Tl=function(){return this.b},h.Kj=function(){return!0},h.Rj=function(){return!0},h.Ul=function(t){return!P6(this,t)},h.$i=function(t){return me(QDt,KAt,345,t,0,1)},h.nl=function(t){return yV(this,t)},h.Wb=function(t){GO(this,t)},h.Vl=function(t,r){V7(this,t,r)},h.Wl=function(t){return Gft(this,t)},h.Xl=function(t){N1t(this,t)},x(Fr,"BasicFeatureMap",77),A(1939,1,vh),h.Nb=function(t){oo(this,t)},h.Rb=function(t){if(this.g==-1)throw K(new lu);fP(this);try{Swt(this.e,this.b,this.a,t),this.d=this.e.j,o7(this)}catch(r){throw r=ci(r),se(r,99)?K(new $c):K(r)}},h.Ob=function(){return FK(this)},h.Sb=function(){return Spt(this)},h.Pb=function(){return o7(this)},h.Tb=function(){return this.a},h.Ub=function(){var t;if(Spt(this))return fP(this),this.g=--this.a,this.sl()&&(t=vC(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw K(new ys)},h.Vb=function(){return this.a-1},h.Qb=function(){if(this.g==-1)throw K(new lu);fP(this);try{lmt(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw t=ci(t),se(t,99)?K(new $c):K(t)}},h.sl=function(){return!1},h.Wb=function(t){if(this.g==-1)throw K(new lu);fP(this);try{Jyt(this.e,this.b,this.g,t),this.d=this.e.j}catch(r){throw r=ci(r),se(r,99)?K(new $c):K(r)}},h.a=0,h.c=0,h.d=0,h.f=!1,h.g=0,h.i=0,x(Fr,"FeatureMapUtil/BasicFeatureEIterator",1939),A(417,1939,vh,T_),h.Yl=function(){var t,r,o;for(o=this.e.i,t=l(this.e.g,123);this.c<o;){if(r=t[this.c],this.k.$l(r.Jk()))return this.j=this.f?r:r.kd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},h.Zl=function(){var t,r;for(t=l(this.e.g,123);--this.c>=0;)if(r=t[this.c],this.k.$l(r.Jk()))return this.j=this.f?r:r.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},x(Fr,"BasicFeatureMap/FeatureEIterator",417),A(673,417,vh,nV),h.sl=function(){return!0},x(Fr,"BasicFeatureMap/ResolvingFeatureEIterator",673),A(960,485,WF,Xnt),h.nj=function(){return this},x(Fr,"EContentsEList/1",960),A(961,485,WF,vnt),h.sl=function(){return!1},x(Fr,"EContentsEList/2",961),A(959,289,KF,Znt),h.ul=function(t){},h.Ob=function(){return!1},h.Sb=function(){return!1},x(Fr,"EContentsEList/FeatureIteratorImpl/1",959),A(832,588,ms,ude),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Yu(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,x(Fr,"EDataTypeEList/Unsettable",832),A(1937,588,ms,srt),h.Qi=function(){return!0},x(Fr,"EDataTypeUniqueEList",1937),A(1938,832,ms,irt),h.Qi=function(){return!0},x(Fr,"EDataTypeUniqueEList/Unsettable",1938),A(147,82,ms,du),h.ll=function(){return!0},h.Ui=function(t,r){return rT(this,t,l(r,57))},x(Fr,"EObjectContainmentEList/Resolving",147),A(1165,547,ms,rrt),h.ll=function(){return!0},h.Ui=function(t,r){return rT(this,t,l(r,57))},x(Fr,"EObjectContainmentEList/Unsettable/Resolving",1165),A(760,14,ms,Kde),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Yu(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,x(Fr,"EObjectContainmentWithInverseEList/Unsettable",760),A(1199,760,ms,yit),h.ll=function(){return!0},h.Ui=function(t,r){return rT(this,t,l(r,57))},x(Fr,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1199),A(752,494,ms,ade),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Yu(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,x(Fr,"EObjectEList/Unsettable",752),A(340,494,ms,oE),h.ll=function(){return!0},h.Ui=function(t,r){return rT(this,t,l(r,57))},x(Fr,"EObjectResolvingEList",340),A(1842,752,ms,ort),h.ll=function(){return!0},h.Ui=function(t,r){return rT(this,t,l(r,57))},x(Fr,"EObjectResolvingEList/Unsettable",1842),A(1505,1,{},Xqe);var tLt;x(Fr,"EObjectValidator",1505),A(551,494,ms,gP),h.gl=function(){return this.d},h.hl=function(){return this.b},h.Kj=function(){return!0},h.kl=function(){return!0},h.b=0,x(Fr,"EObjectWithInverseEList",551),A(1202,551,ms,vit),h.jl=function(){return!0},x(Fr,"EObjectWithInverseEList/ManyInverse",1202),A(633,551,ms,AV),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Yu(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,x(Fr,"EObjectWithInverseEList/Unsettable",633),A(1201,633,ms,Eit),h.jl=function(){return!0},x(Fr,"EObjectWithInverseEList/Unsettable/ManyInverse",1201),A(761,551,ms,Yde),h.ll=function(){return!0},h.Ui=function(t,r){return rT(this,t,l(r,57))},x(Fr,"EObjectWithInverseResolvingEList",761),A(31,761,ms,Et),h.jl=function(){return!0},x(Fr,"EObjectWithInverseResolvingEList/ManyInverse",31),A(762,633,ms,Jde),h.ll=function(){return!0},h.Ui=function(t,r){return rT(this,t,l(r,57))},x(Fr,"EObjectWithInverseResolvingEList/Unsettable",762),A(1200,762,ms,Sit),h.jl=function(){return!0},x(Fr,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1200),A(1166,630,ms),h.Ji=function(){return(this.b&1792)==0},h.Li=function(){this.b|=1},h.il=function(){return(this.b&4)!=0},h.Kj=function(){return(this.b&40)!=0},h.jl=function(){return(this.b&16)!=0},h.kl=function(){return(this.b&8)!=0},h.ll=function(){return(this.b&mp)!=0},h.$k=function(){return(this.b&32)!=0},h.ml=function(){return(this.b&Tl)!=0},h.dk=function(t){return this.d?wct(this.d,t):this.Jk().Fk().dk(t)},h.Oj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},h.Qi=function(){return(this.b&128)!=0},h.Ek=function(){var t;vn(this),this.b&2&&(Yu(this.e)?(t=(this.b&1)!=0,this.b&=-2,DA(this,new Vl(this.e,2,Ur(this.e.Ah(),this.Jk()),t,!1))):this.b&=-2)},h.Wi=function(){return(this.b&1536)==0},h.b=0,x(Fr,"EcoreEList/Generic",1166),A(1167,1166,ms,wat),h.Jk=function(){return this.a},x(Fr,"EcoreEList/Dynamic",1167),A(759,67,qf,pce),h.$i=function(t){return m6(this.a.a,t)},x(Fr,"EcoreEMap/1",759),A(758,82,ms,Gfe),h.Ki=function(t,r){a7(this.b,l(r,138))},h.Mi=function(t,r){Aht(this.b)},h.Ni=function(t,r,o){var s;++(s=this.b,l(r,138),s).e},h.Oi=function(t,r){YK(this.b,l(r,138))},h.Pi=function(t,r,o){YK(this.b,l(o,138)),be(o)===be(r)&&l(o,138).zi(Xen(l(r,138).jd())),a7(this.b,l(r,138))},x(Fr,"EcoreEMap/DelegateEObjectContainmentEList",758),A(1197,145,mEe,Lft),x(Fr,"EcoreEMap/Unsettable",1197),A(1198,758,ms,Tit),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Yu(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,x(Fr,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1198),A(1170,226,DE,Ast),h.a=!1,h.b=!1,x(Fr,"EcoreUtil/Copier",1170),A(754,1,Wi,lct),h.Nb=function(t){oo(this,t)},h.Ob=function(){return Tgt(this)},h.Pb=function(){var t;return Tgt(this),t=this.b,this.b=null,t},h.Qb=function(){this.a.Qb()},x(Fr,"EcoreUtil/ProperContentIterator",754),A(1506,1505,{},ZWe);var nLt;x(Fr,"EcoreValidator",1506);var rLt;Hr(Fr,"FeatureMapUtil/Validator"),A(1270,1,{2020:1},Zqe),h.$l=function(t){return!0},x(Fr,"FeatureMapUtil/1",1270),A(767,1,{2020:1},L0e),h.$l=function(t){var r;return this.c==t?!0:(r=We(Ut(this.a,t)),r==null?iTn(this,t)?(slt(this.a,t,(Lt(),$k)),!0):(slt(this.a,t,(Lt(),D1)),!1):r==(Lt(),$k))},h.e=!1;var jre;x(Fr,"FeatureMapUtil/BasicValidator",767),A(768,44,DE,ide),x(Fr,"FeatureMapUtil/BasicValidator/Cache",768),A(499,56,{22:1,32:1,56:1,18:1,16:1,61:1,78:1,72:1,98:1},AO),h._c=function(t,r){Swt(this.c,this.b,t,r)},h.Ec=function(t){return t0e(this.c,this.b,t)},h.ad=function(t,r){return __n(this.c,this.b,t,r)},h.Fc=function(t){return p3(this,t)},h.Ei=function(t,r){Zdn(this.c,this.b,t,r)},h.Uk=function(t,r){return Wme(this.c,this.b,t,r)},h.Yi=function(t){return q7(this.c,this.b,t,!1)},h.Gi=function(){return Lnt(this.c,this.b)},h.Hi=function(){return Len(this.c,this.b)},h.Ii=function(t){return idn(this.c,this.b,t)},h.Vk=function(t,r){return oit(this,t,r)},h.$b=function(){nS(this)},h.Gc=function(t){return BP(this.c,this.b,t)},h.Hc=function(t){return nhn(this.c,this.b,t)},h.Xb=function(t){return q7(this.c,this.b,t,!0)},h.Dk=function(t){return this},h.bd=function(t){return pln(this.c,this.b,t)},h.dc=function(){return A8(this)},h.Oj=function(){return!P6(this.c,this.b)},h.Jc=function(){return Fdn(this.c,this.b)},h.cd=function(){return $dn(this.c,this.b)},h.dd=function(t){return sgn(this.c,this.b,t)},h.Ri=function(t,r){return Byt(this.c,this.b,t,r)},h.Si=function(t,r){sdn(this.c,this.b,t,r)},h.ed=function(t){return lmt(this.c,this.b,t)},h.Kc=function(t){return NTn(this.c,this.b,t)},h.fd=function(t,r){return Jyt(this.c,this.b,t,r)},h.Wb=function(t){k7(this.c,this.b),p3(this,l(t,16))},h.gc=function(){return agn(this.c,this.b)},h.Nc=function(){return hcn(this.c,this.b)},h.Oc=function(t){return gln(this.c,this.b,t)},h.Ib=function(){var t,r;for(r=new Jp,r.a+="[",t=Lnt(this.c,this.b);FK(t);)zo(r,b3(o7(t))),FK(t)&&(r.a+=Ma);return r.a+="]",r.a},h.Ek=function(){k7(this.c,this.b)},x(Fr,"FeatureMapUtil/FeatureEList",499),A(641,40,zD,FW),h.fj=function(t){return rC(this,t)},h.kj=function(t){var r,o,s,u,f,p,m;switch(this.d){case 1:case 2:{if(f=t.hj(),be(f)===be(this.c)&&rC(this,null)==t.fj(null))return this.g=t.gj(),t.ej()==1&&(this.d=1),!0;break}case 3:{switch(u=t.ej(),u){case 3:{if(f=t.hj(),be(f)===be(this.c)&&rC(this,null)==t.fj(null))return this.d=5,r=new m0(2),Tn(r,this.g),Tn(r,t.gj()),this.g=r,!0;break}}break}case 5:{switch(u=t.ej(),u){case 3:{if(f=t.hj(),be(f)===be(this.c)&&rC(this,null)==t.fj(null))return o=l(this.g,18),o.Ec(t.gj()),!0;break}}break}case 4:{switch(u=t.ej(),u){case 3:{if(f=t.hj(),be(f)===be(this.c)&&rC(this,null)==t.fj(null))return this.d=1,this.g=t.gj(),!0;break}case 4:{if(f=t.hj(),be(f)===be(this.c)&&rC(this,null)==t.fj(null))return this.d=6,m=new m0(2),Tn(m,this.n),Tn(m,t.ij()),this.n=m,p=Z(X(Rn,1),Xn,30,15,[this.o,t.jj()]),this.g=p,!0;break}}break}case 6:{switch(u=t.ej(),u){case 4:{if(f=t.hj(),be(f)===be(this.c)&&rC(this,null)==t.fj(null))return o=l(this.n,18),o.Ec(t.ij()),p=l(this.g,54),s=me(Rn,Xn,30,p.length+1,15,1),ua(p,0,s,0,p.length),s[p.length]=t.jj(),this.g=s,!0;break}}break}}return!1},x(Fr,"FeatureMapUtil/FeatureENotificationImpl",641),A(560,499,{22:1,32:1,56:1,18:1,16:1,61:1,78:1,164:1,222:1,2015:1,72:1,98:1},eP),h.Ml=function(t,r){return t0e(this.c,t,r)},h.Nl=function(t,r,o){return Wme(this.c,t,r,o)},h.Ol=function(t,r,o){return S0e(this.c,t,r,o)},h.Pl=function(){return this},h.Ql=function(t,r){return uD(this.c,t,r)},h.Rl=function(t){return l(q7(this.c,this.b,t,!1),76).Jk()},h.Sl=function(t){return l(q7(this.c,this.b,t,!1),76).kd()},h.Tl=function(){return this.a},h.Ul=function(t){return!P6(this.c,t)},h.Vl=function(t,r){V7(this.c,t,r)},h.Wl=function(t){return Gft(this.c,t)},h.Xl=function(t){N1t(this.c,t)},x(Fr,"FeatureMapUtil/FeatureFeatureMap",560),A(1269,1,bQ,ont),h.Dk=function(t){return q7(this.b,this.a,-1,t)},h.Oj=function(){return!P6(this.b,this.a)},h.Wb=function(t){V7(this.b,this.a,t)},h.Ek=function(){k7(this.b,this.a)},x(Fr,"FeatureMapUtil/FeatureValue",1269);var KT,Fre,$re,YT,iLt,cM=Hr(n$,"AnyType");A(677,63,wp,aq),x(n$,"InvalidDatatypeValueException",677);var AU=Hr(n$,ZAt),lM=Hr(n$,QAt),L3e=Hr(n$,e_t),oLt,Ks,M3e,_m,sLt,aLt,uLt,cLt,lLt,dLt,fLt,hLt,pLt,gLt,bLt,y2,mLt,v2,O4,wLt,fw,dM,fM,yLt,D4,L4;A(836,505,{110:1,95:1,94:1,57:1,52:1,101:1,849:1},Cce),h.Ih=function(t,r,o){switch(t){case 0:return o?(!this.c&&(this.c=new ni(this,0)),this.c):(!this.c&&(this.c=new ni(this,0)),this.c.b);case 1:return o?(!this.c&&(this.c=new ni(this,0)),l(wa(this.c,(Er(),_m)),164)):(!this.c&&(this.c=new ni(this,0)),l(l(wa(this.c,(Er(),_m)),164),222)).Tl();case 2:return o?(!this.b&&(this.b=new ni(this,2)),this.b):(!this.b&&(this.b=new ni(this,2)),this.b.b)}return qc(this,t-ln(this.fi()),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t),r,o)},h.Rh=function(t,r,o){var s;switch(r){case 0:return!this.c&&(this.c=new ni(this,0)),oD(this.c,t,o);case 1:return(!this.c&&(this.c=new ni(this,0)),l(l(wa(this.c,(Er(),_m)),164),72)).Vk(t,o);case 2:return!this.b&&(this.b=new ni(this,2)),oD(this.b,t,o)}return s=l(Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),r),69),s.uk().yk(this,Ipe(this),r-ln(this.fi()),t,o)},h.Th=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new ni(this,0)),l(wa(this.c,(Er(),_m)),164)).dc();case 2:return!!this.b&&this.b.i!=0}return zc(this,t-ln(this.fi()),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t))},h.$h=function(t,r){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),GO(this.c,r);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(l(wa(this.c,(Er(),_m)),164),222)).Wb(r);return;case 2:!this.b&&(this.b=new ni(this,2)),GO(this.b,r);return}Xc(this,t-ln(this.fi()),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t),r)},h.fi=function(){return Er(),M3e},h.hi=function(t){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),vn(this.c);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(wa(this.c,(Er(),_m)),164)).$b();return;case 2:!this.b&&(this.b=new ni(this,2)),vn(this.b);return}Jc(this,t-ln(this.fi()),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t))},h.Ib=function(){var t;return this.j&4?Zl(this):(t=new ml(Zl(this)),t.a+=" (mixed: ",l3(t,this.c),t.a+=", anyAttribute: ",l3(t,this.b),t.a+=")",t.a)},x(Si,"AnyTypeImpl",836),A(678,505,{110:1,95:1,94:1,57:1,52:1,101:1,2098:1,678:1},lVe),h.Ih=function(t,r,o){switch(t){case 0:return this.a;case 1:return this.b}return qc(this,t-ln((Er(),y2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():y2,t),r,o)},h.Th=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return zc(this,t-ln((Er(),y2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():y2,t))},h.$h=function(t,r){switch(t){case 0:SZt(this,In(r));return;case 1:AZt(this,In(r));return}Xc(this,t-ln((Er(),y2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():y2,t),r)},h.fi=function(){return Er(),y2},h.hi=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}Jc(this,t-ln((Er(),y2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():y2,t))},h.Ib=function(){var t;return this.j&4?Zl(this):(t=new ml(Zl(this)),t.a+=" (data: ",zo(t,this.a),t.a+=", target: ",zo(t,this.b),t.a+=")",t.a)},h.a=null,h.b=null,x(Si,"ProcessingInstructionImpl",678),A(679,836,{110:1,95:1,94:1,57:1,52:1,101:1,849:1,2099:1,679:1},MZe),h.Ih=function(t,r,o){switch(t){case 0:return o?(!this.c&&(this.c=new ni(this,0)),this.c):(!this.c&&(this.c=new ni(this,0)),this.c.b);case 1:return o?(!this.c&&(this.c=new ni(this,0)),l(wa(this.c,(Er(),_m)),164)):(!this.c&&(this.c=new ni(this,0)),l(l(wa(this.c,(Er(),_m)),164),222)).Tl();case 2:return o?(!this.b&&(this.b=new ni(this,2)),this.b):(!this.b&&(this.b=new ni(this,2)),this.b.b);case 3:return!this.c&&(this.c=new ni(this,0)),In(uD(this.c,(Er(),O4),!0));case 4:return Zde(this.a,(!this.c&&(this.c=new ni(this,0)),In(uD(this.c,(Er(),O4),!0))));case 5:return this.a}return qc(this,t-ln((Er(),v2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t),r,o)},h.Th=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new ni(this,0)),l(wa(this.c,(Er(),_m)),164)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new ni(this,0)),In(uD(this.c,(Er(),O4),!0))!=null;case 4:return Zde(this.a,(!this.c&&(this.c=new ni(this,0)),In(uD(this.c,(Er(),O4),!0))))!=null;case 5:return!!this.a}return zc(this,t-ln((Er(),v2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t))},h.$h=function(t,r){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),GO(this.c,r);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(l(wa(this.c,(Er(),_m)),164),222)).Wb(r);return;case 2:!this.b&&(this.b=new ni(this,2)),GO(this.b,r);return;case 3:Fhe(this,In(r));return;case 4:Fhe(this,Xde(this.a,r));return;case 5:TZt(this,l(r,160));return}Xc(this,t-ln((Er(),v2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t),r)},h.fi=function(){return Er(),v2},h.hi=function(t){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),vn(this.c);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(wa(this.c,(Er(),_m)),164)).$b();return;case 2:!this.b&&(this.b=new ni(this,2)),vn(this.b);return;case 3:!this.c&&(this.c=new ni(this,0)),V7(this.c,(Er(),O4),null);return;case 4:Fhe(this,Xde(this.a,null));return;case 5:this.a=null;return}Jc(this,t-ln((Er(),v2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t))},x(Si,"SimpleAnyTypeImpl",679),A(680,505,{110:1,95:1,94:1,57:1,52:1,101:1,2100:1,680:1},PZe),h.Ih=function(t,r,o){switch(t){case 0:return o?(!this.a&&(this.a=new ni(this,0)),this.a):(!this.a&&(this.a=new ni(this,0)),this.a.b);case 1:return o?(!this.b&&(this.b=new pu((Tt(),Io),Hs,this,1)),this.b):(!this.b&&(this.b=new pu((Tt(),Io),Hs,this,1)),i6(this.b));case 2:return o?(!this.c&&(this.c=new pu((Tt(),Io),Hs,this,2)),this.c):(!this.c&&(this.c=new pu((Tt(),Io),Hs,this,2)),i6(this.c));case 3:return!this.a&&(this.a=new ni(this,0)),wa(this.a,(Er(),dM));case 4:return!this.a&&(this.a=new ni(this,0)),wa(this.a,(Er(),fM));case 5:return!this.a&&(this.a=new ni(this,0)),wa(this.a,(Er(),D4));case 6:return!this.a&&(this.a=new ni(this,0)),wa(this.a,(Er(),L4))}return qc(this,t-ln((Er(),fw)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():fw,t),r,o)},h.Rh=function(t,r,o){var s;switch(r){case 0:return!this.a&&(this.a=new ni(this,0)),oD(this.a,t,o);case 1:return!this.b&&(this.b=new pu((Tt(),Io),Hs,this,1)),z8(this.b,t,o);case 2:return!this.c&&(this.c=new pu((Tt(),Io),Hs,this,2)),z8(this.c,t,o);case 5:return!this.a&&(this.a=new ni(this,0)),oit(wa(this.a,(Er(),D4)),t,o)}return s=l(Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():(Er(),fw),r),69),s.uk().yk(this,Ipe(this),r-ln((Er(),fw)),t,o)},h.Th=function(t){switch(t){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new ni(this,0)),!A8(wa(this.a,(Er(),dM)));case 4:return!this.a&&(this.a=new ni(this,0)),!A8(wa(this.a,(Er(),fM)));case 5:return!this.a&&(this.a=new ni(this,0)),!A8(wa(this.a,(Er(),D4)));case 6:return!this.a&&(this.a=new ni(this,0)),!A8(wa(this.a,(Er(),L4)))}return zc(this,t-ln((Er(),fw)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():fw,t))},h.$h=function(t,r){switch(t){case 0:!this.a&&(this.a=new ni(this,0)),GO(this.a,r);return;case 1:!this.b&&(this.b=new pu((Tt(),Io),Hs,this,1)),xj(this.b,r);return;case 2:!this.c&&(this.c=new pu((Tt(),Io),Hs,this,2)),xj(this.c,r);return;case 3:!this.a&&(this.a=new ni(this,0)),nS(wa(this.a,(Er(),dM))),!this.a&&(this.a=new ni(this,0)),p3(wa(this.a,dM),l(r,18));return;case 4:!this.a&&(this.a=new ni(this,0)),nS(wa(this.a,(Er(),fM))),!this.a&&(this.a=new ni(this,0)),p3(wa(this.a,fM),l(r,18));return;case 5:!this.a&&(this.a=new ni(this,0)),nS(wa(this.a,(Er(),D4))),!this.a&&(this.a=new ni(this,0)),p3(wa(this.a,D4),l(r,18));return;case 6:!this.a&&(this.a=new ni(this,0)),nS(wa(this.a,(Er(),L4))),!this.a&&(this.a=new ni(this,0)),p3(wa(this.a,L4),l(r,18));return}Xc(this,t-ln((Er(),fw)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():fw,t),r)},h.fi=function(){return Er(),fw},h.hi=function(t){switch(t){case 0:!this.a&&(this.a=new ni(this,0)),vn(this.a);return;case 1:!this.b&&(this.b=new pu((Tt(),Io),Hs,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new pu((Tt(),Io),Hs,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new ni(this,0)),nS(wa(this.a,(Er(),dM)));return;case 4:!this.a&&(this.a=new ni(this,0)),nS(wa(this.a,(Er(),fM)));return;case 5:!this.a&&(this.a=new ni(this,0)),nS(wa(this.a,(Er(),D4)));return;case 6:!this.a&&(this.a=new ni(this,0)),nS(wa(this.a,(Er(),L4)));return}Jc(this,t-ln((Er(),fw)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():fw,t))},h.Ib=function(){var t;return this.j&4?Zl(this):(t=new ml(Zl(this)),t.a+=" (mixed: ",l3(t,this.a),t.a+=")",t.a)},x(Si,"XMLTypeDocumentRootImpl",680),A(2007,717,{110:1,95:1,94:1,472:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1,2101:1},Qqe),h.oi=function(t,r){switch(t.fk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return r==null?null:bs(r);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return In(r);case 6:return unn(l(r,198));case 12:case 47:case 49:case 11:return jvt(this,t,r);case 13:return r==null?null:R_n(l(r,249));case 15:case 14:return r==null?null:ysn(ue(ce(r)));case 17:return mbt((Er(),r));case 18:return mbt(r);case 21:case 20:return r==null?null:vsn(l(r,165).a);case 27:return cnn(l(r,198));case 30:return C1t((Er(),l(r,16)));case 31:return C1t(l(r,16));case 40:return ann((Er(),r));case 42:return wbt((Er(),r));case 43:return wbt(r);case 59:case 48:return snn((Er(),r));default:throw K(new jt(Ok+t.ve()+V0))}},h.pi=function(t){var r,o,s,u,f;switch(t.G==-1&&(t.G=(o=mc(t),o?pg(o.si(),t):-1)),t.G){case 0:return r=new Cce,r;case 1:return s=new lVe,s;case 2:return u=new MZe,u;case 3:return f=new PZe,f;default:throw K(new jt(eQ+t.zb+V0))}},h.qi=function(t,r){var o,s,u,f,p,m,y,v,T,N,I,L,U,G,J,ne;switch(t.fk()){case 5:case 52:case 4:return r;case 6:return B1n(r);case 8:case 7:return r==null?null:k0n(r);case 9:return r==null?null:f6(Ec((s=Sa(r,!0),s.length>0&&(Yt(0,s.length),s.charCodeAt(0)==43)?(Yt(1,s.length+1),s.substr(1)):s),-128,127)<<24>>24);case 10:return r==null?null:f6(Ec((u=Sa(r,!0),u.length>0&&(Yt(0,u.length),u.charCodeAt(0)==43)?(Yt(1,u.length+1),u.substr(1)):u),-128,127)<<24>>24);case 11:return In(M0(this,(Er(),uLt),r));case 12:return In(M0(this,(Er(),cLt),r));case 13:return r==null?null:new Jce(Sa(r,!0));case 15:case 14:return $En(r);case 16:return In(M0(this,(Er(),lLt),r));case 17:return Rgt((Er(),r));case 18:return Rgt(r);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Sa(r,!0);case 21:case 20:return YEn(r);case 22:return In(M0(this,(Er(),dLt),r));case 23:return In(M0(this,(Er(),fLt),r));case 24:return In(M0(this,(Er(),hLt),r));case 25:return In(M0(this,(Er(),pLt),r));case 26:return In(M0(this,(Er(),gLt),r));case 27:return I1n(r);case 30:return Ogt((Er(),r));case 31:return Ogt(r);case 32:return r==null?null:Re(Ec((T=Sa(r,!0),T.length>0&&(Yt(0,T.length),T.charCodeAt(0)==43)?(Yt(1,T.length+1),T.substr(1)):T),Zi,sr));case 33:return r==null?null:new o1((N=Sa(r,!0),N.length>0&&(Yt(0,N.length),N.charCodeAt(0)==43)?(Yt(1,N.length+1),N.substr(1)):N));case 34:return r==null?null:Re(Ec((I=Sa(r,!0),I.length>0&&(Yt(0,I.length),I.charCodeAt(0)==43)?(Yt(1,I.length+1),I.substr(1)):I),Zi,sr));case 36:return r==null?null:by(J7((L=Sa(r,!0),L.length>0&&(Yt(0,L.length),L.charCodeAt(0)==43)?(Yt(1,L.length+1),L.substr(1)):L)));case 37:return r==null?null:by(J7((U=Sa(r,!0),U.length>0&&(Yt(0,U.length),U.charCodeAt(0)==43)?(Yt(1,U.length+1),U.substr(1)):U)));case 40:return xbn((Er(),r));case 42:return Dgt((Er(),r));case 43:return Dgt(r);case 44:return r==null?null:new o1((G=Sa(r,!0),G.length>0&&(Yt(0,G.length),G.charCodeAt(0)==43)?(Yt(1,G.length+1),G.substr(1)):G));case 45:return r==null?null:new o1((J=Sa(r,!0),J.length>0&&(Yt(0,J.length),J.charCodeAt(0)==43)?(Yt(1,J.length+1),J.substr(1)):J));case 46:return Sa(r,!1);case 47:return In(M0(this,(Er(),bLt),r));case 59:case 48:return kbn((Er(),r));case 49:return In(M0(this,(Er(),mLt),r));case 50:return r==null?null:O_(Ec((ne=Sa(r,!0),ne.length>0&&(Yt(0,ne.length),ne.charCodeAt(0)==43)?(Yt(1,ne.length+1),ne.substr(1)):ne),ZF,32767)<<16>>16);case 51:return r==null?null:O_(Ec((f=Sa(r,!0),f.length>0&&(Yt(0,f.length),f.charCodeAt(0)==43)?(Yt(1,f.length+1),f.substr(1)):f),ZF,32767)<<16>>16);case 53:return In(M0(this,(Er(),wLt),r));case 55:return r==null?null:O_(Ec((p=Sa(r,!0),p.length>0&&(Yt(0,p.length),p.charCodeAt(0)==43)?(Yt(1,p.length+1),p.substr(1)):p),ZF,32767)<<16>>16);case 56:return r==null?null:O_(Ec((m=Sa(r,!0),m.length>0&&(Yt(0,m.length),m.charCodeAt(0)==43)?(Yt(1,m.length+1),m.substr(1)):m),ZF,32767)<<16>>16);case 57:return r==null?null:by(J7((y=Sa(r,!0),y.length>0&&(Yt(0,y.length),y.charCodeAt(0)==43)?(Yt(1,y.length+1),y.substr(1)):y)));case 58:return r==null?null:by(J7((v=Sa(r,!0),v.length>0&&(Yt(0,v.length),v.charCodeAt(0)==43)?(Yt(1,v.length+1),v.substr(1)):v)));case 60:return r==null?null:Re(Ec((o=Sa(r,!0),o.length>0&&(Yt(0,o.length),o.charCodeAt(0)==43)?(Yt(1,o.length+1),o.substr(1)):o),Zi,sr));case 61:return r==null?null:Re(Ec(Sa(r,!0),Zi,sr));default:throw K(new jt(Ok+t.ve()+V0))}};var vLt,P3e,ELt,j3e;x(Si,"XMLTypeFactoryImpl",2007),A(589,187,{110:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,52:1,101:1,162:1,187:1,118:1,119:1,687:1,2023:1,589:1},qst),h.N=!1,h.O=!1;var SLt=!1;x(Si,"XMLTypePackageImpl",589),A(1940,1,{843:1},eVe),h.Ik=function(){return f0e(),RLt},x(Si,"XMLTypePackageImpl/1",1940),A(1949,1,er,tVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/10",1949),A(1950,1,er,nVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/11",1950),A(1951,1,er,rVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/12",1951),A(1952,1,er,iVe),h.dk=function(t){return Bw(t)},h.ek=function(t){return me(fi,Me,347,t,7,1)},x(Si,"XMLTypePackageImpl/13",1952),A(1953,1,er,oVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/14",1953),A(1954,1,er,sVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return me(_c,Ry,16,t,0,1)},x(Si,"XMLTypePackageImpl/15",1954),A(1955,1,er,aVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return me(_c,Ry,16,t,0,1)},x(Si,"XMLTypePackageImpl/16",1955),A(1956,1,er,uVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/17",1956),A(1957,1,er,cVe),h.dk=function(t){return se(t,165)},h.ek=function(t){return me(Bk,Me,165,t,0,1)},x(Si,"XMLTypePackageImpl/18",1957),A(1958,1,er,dVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/19",1958),A(1941,1,er,fVe),h.dk=function(t){return se(t,849)},h.ek=function(t){return me(cM,Rt,849,t,0,1)},x(Si,"XMLTypePackageImpl/2",1941),A(1959,1,er,hVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/20",1959),A(1960,1,er,pVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/21",1960),A(1961,1,er,gVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/22",1961),A(1962,1,er,bVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/23",1962),A(1963,1,er,mVe),h.dk=function(t){return se(t,198)},h.ek=function(t){return me(Eu,Me,198,t,0,2)},x(Si,"XMLTypePackageImpl/24",1963),A(1964,1,er,wVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/25",1964),A(1965,1,er,yVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/26",1965),A(1966,1,er,vVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return me(_c,Ry,16,t,0,1)},x(Si,"XMLTypePackageImpl/27",1966),A(1967,1,er,EVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return me(_c,Ry,16,t,0,1)},x(Si,"XMLTypePackageImpl/28",1967),A(1968,1,er,SVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/29",1968),A(1942,1,er,TVe),h.dk=function(t){return se(t,678)},h.ek=function(t){return me(AU,Rt,2098,t,0,1)},x(Si,"XMLTypePackageImpl/3",1942),A(1969,1,er,AVe),h.dk=function(t){return se(t,15)},h.ek=function(t){return me(Ti,Me,15,t,0,1)},x(Si,"XMLTypePackageImpl/30",1969),A(1970,1,er,_Ve),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/31",1970),A(1971,1,er,kVe),h.dk=function(t){return se(t,192)},h.ek=function(t){return me(K0,Me,192,t,0,1)},x(Si,"XMLTypePackageImpl/32",1971),A(1972,1,er,xVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/33",1972),A(1973,1,er,NVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/34",1973),A(1974,1,er,CVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/35",1974),A(1975,1,er,IVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/36",1975),A(1976,1,er,RVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return me(_c,Ry,16,t,0,1)},x(Si,"XMLTypePackageImpl/37",1976),A(1977,1,er,OVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return me(_c,Ry,16,t,0,1)},x(Si,"XMLTypePackageImpl/38",1977),A(1978,1,er,DVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/39",1978),A(1943,1,er,LVe),h.dk=function(t){return se(t,679)},h.ek=function(t){return me(lM,Rt,2099,t,0,1)},x(Si,"XMLTypePackageImpl/4",1943),A(1979,1,er,MVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/40",1979),A(1980,1,er,PVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/41",1980),A(1981,1,er,jVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/42",1981),A(1982,1,er,FVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/43",1982),A(1983,1,er,$Ve),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/44",1983),A(1984,1,er,BVe),h.dk=function(t){return se(t,193)},h.ek=function(t){return me(Y0,Me,193,t,0,1)},x(Si,"XMLTypePackageImpl/45",1984),A(1985,1,er,UVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/46",1985),A(1986,1,er,HVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/47",1986),A(1987,1,er,zVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/48",1987),A(1988,1,er,GVe),h.dk=function(t){return se(t,193)},h.ek=function(t){return me(Y0,Me,193,t,0,1)},x(Si,"XMLTypePackageImpl/49",1988),A(1944,1,er,qVe),h.dk=function(t){return se(t,680)},h.ek=function(t){return me(L3e,Rt,2100,t,0,1)},x(Si,"XMLTypePackageImpl/5",1944),A(1989,1,er,VVe),h.dk=function(t){return se(t,192)},h.ek=function(t){return me(K0,Me,192,t,0,1)},x(Si,"XMLTypePackageImpl/50",1989),A(1990,1,er,WVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/51",1990),A(1991,1,er,KVe),h.dk=function(t){return se(t,15)},h.ek=function(t){return me(Ti,Me,15,t,0,1)},x(Si,"XMLTypePackageImpl/52",1991),A(1945,1,er,YVe),h.dk=function(t){return zi(t)},h.ek=function(t){return me(Ye,Me,2,t,6,1)},x(Si,"XMLTypePackageImpl/6",1945),A(1946,1,er,JVe),h.dk=function(t){return se(t,198)},h.ek=function(t){return me(Eu,Me,198,t,0,2)},x(Si,"XMLTypePackageImpl/7",1946),A(1947,1,er,XVe),h.dk=function(t){return $w(t)},h.ek=function(t){return me(Yr,Me,476,t,8,1)},x(Si,"XMLTypePackageImpl/8",1947),A(1948,1,er,ZVe),h.dk=function(t){return se(t,224)},h.ek=function(t){return me(yT,Me,224,t,0,1)},x(Si,"XMLTypePackageImpl/9",1948);var mf,Mg,M4,_U,te;A(53,63,wp,Dn),x(Sg,"RegEx/ParseException",53),A(828,1,{},Due),h._l=function(t){return t<this.j&&uo(this.i,t)==63},h.am=function(){var t,r,o,s,u;if(this.c!=10)throw K(new Dn(Pn((Cn(),GF))));switch(t=this.a,t){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(dr(this),this.c!=0)throw K(new Dn(Pn((Cn(),Eg))));if(this.a==123){u=0,o=0;do{if(dr(this),this.c!=0)throw K(new Dn(Pn((Cn(),Eg))));if((u=Yb(this.a))<0)break;if(o>o*16)throw K(new Dn(Pn((Cn(),dAt))));o=o*16+u}while(!0);if(this.a!=125)throw K(new Dn(Pn((Cn(),fAt))));if(o>jk)throw K(new Dn(Pn((Cn(),hAt))));t=o}else{if(u=0,this.c!=0||(u=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(o=u,dr(this),this.c!=0||(u=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));o=o*16+u,t=o}break;case 117:if(s=0,dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(r=s,dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(r=r*16+s,dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(r=r*16+s,dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));r=r*16+s,t=r;break;case 118:if(dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(r=s,dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(r=r*16+s,dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(r=r*16+s,dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(r=r*16+s,dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(r=r*16+s,dr(this),this.c!=0||(s=Yb(this.a))<0)throw K(new Dn(Pn((Cn(),Eg))));if(r=r*16+s,r>jk)throw K(new Dn(Pn((Cn(),"parser.descappe.4"))));t=r;break;case 65:case 90:case 122:throw K(new Dn(Pn((Cn(),pAt))))}return t},h.bm=function(t){var r,o;switch(t){case 100:o=(this.e&32)==32?k1("Nd",!0):(fr(),kU);break;case 68:o=(this.e&32)==32?k1("Nd",!1):(fr(),z3e);break;case 119:o=(this.e&32)==32?k1("IsWord",!0):(fr(),kx);break;case 87:o=(this.e&32)==32?k1("IsWord",!1):(fr(),q3e);break;case 115:o=(this.e&32)==32?k1("IsSpace",!0):(fr(),JT);break;case 83:o=(this.e&32)==32?k1("IsSpace",!1):(fr(),G3e);break;default:throw K(new vs((r=t,p_t+r.toString(16))))}return o},h.cm=function(t){var r,o,s,u,f,p,m,y,v,T,N,I;for(this.b=1,dr(this),r=null,this.c==0&&this.a==94?(dr(this),t?T=(fr(),fr(),new bc(5)):(r=(fr(),fr(),new bc(4)),Ea(r,0,jk),T=new bc(4))):T=(fr(),fr(),new bc(4)),u=!0;(I=this.c)!=1&&!(I==0&&this.a==93&&!u);){if(u=!1,o=this.a,s=!1,I==10)switch(o){case 100:case 68:case 119:case 87:case 115:case 83:xy(T,this.bm(o)),s=!0;break;case 105:case 73:case 99:case 67:o=this.sm(T,o),o<0&&(s=!0);break;case 112:case 80:if(N=ome(this,o),!N)throw K(new Dn(Pn((Cn(),hQ))));xy(T,N),s=!0;break;default:o=this.am()}else if(I==20){if(p=WA(this.i,58,this.d),p<0)throw K(new Dn(Pn((Cn(),dEe))));if(m=!0,uo(this.i,this.d)==94&&(++this.d,m=!1),f=yl(this.i,this.d,p),y=Jlt(f,m,(this.e&512)==512),!y)throw K(new Dn(Pn((Cn(),sAt))));if(xy(T,y),s=!0,p+1>=this.j||uo(this.i,p+1)!=93)throw K(new Dn(Pn((Cn(),dEe))));this.d=p+2}if(dr(this),!s)if(this.c!=0||this.a!=45)Ea(T,o,o);else{if(dr(this),(I=this.c)==1)throw K(new Dn(Pn((Cn(),qF))));I==0&&this.a==93?(Ea(T,o,o),Ea(T,45,45)):(v=this.a,I==10&&(v=this.am()),dr(this),Ea(T,o,v))}(this.e&Tl)==Tl&&this.c==0&&this.a==44&&dr(this)}if(this.c==1)throw K(new Dn(Pn((Cn(),qF))));return r&&(PC(r,T),T=r),kE(T),DC(T),this.b=0,dr(this),T},h.dm=function(){var t,r,o,s;for(o=this.cm(!1);(s=this.c)!=7;)if(t=this.a,s==0&&(t==45||t==38)||s==4){if(dr(this),this.c!=9)throw K(new Dn(Pn((Cn(),uAt))));if(r=this.cm(!1),s==4)xy(o,r);else if(t==45)PC(o,r);else if(t==38)Dvt(o,r);else throw K(new vs("ASSERT"))}else throw K(new Dn(Pn((Cn(),cAt))));return dr(this),o},h.em=function(){var t,r;return t=this.a-48,r=(fr(),fr(),new SW(12,null,t)),!this.g&&(this.g=new I9),C9(this.g,new gce(t)),dr(this),r},h.fm=function(){return dr(this),fr(),_Lt},h.gm=function(){return dr(this),fr(),ALt},h.hm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.im=function(){throw K(new Dn(Pn((Cn(),tl))))},h.jm=function(){return dr(this),tpn()},h.km=function(){return dr(this),fr(),xLt},h.lm=function(){return dr(this),fr(),CLt},h.mm=function(){var t;if(this.d>=this.j||((t=uo(this.i,this.d++))&65504)!=64)throw K(new Dn(Pn((Cn(),rAt))));return dr(this),fr(),fr(),new dh(0,t-64)},h.nm=function(){return dr(this),RAn()},h.om=function(){return dr(this),fr(),ILt},h.pm=function(){var t;return t=(fr(),fr(),new dh(0,105)),dr(this),t},h.qm=function(){return dr(this),fr(),NLt},h.rm=function(){return dr(this),fr(),kLt},h.sm=function(t,r){return this.am()},h.tm=function(){return dr(this),fr(),U3e},h.um=function(){var t,r,o,s,u;if(this.d+1>=this.j)throw K(new Dn(Pn((Cn(),eAt))));if(s=-1,r=null,t=uo(this.i,this.d),49<=t&&t<=57){if(s=t-48,!this.g&&(this.g=new I9),C9(this.g,new gce(s)),++this.d,uo(this.i,this.d)!=41)throw K(new Dn(Pn((Cn(),am))));++this.d}else switch(t==63&&--this.d,dr(this),r=F0e(this),r.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw K(new Dn(Pn((Cn(),am))));break;default:throw K(new Dn(Pn((Cn(),tAt))))}if(dr(this),u=x0(this),o=null,u.e==2){if(u.Nm()!=2)throw K(new Dn(Pn((Cn(),nAt))));o=u.Jm(1),u=u.Jm(0)}if(this.c!=7)throw K(new Dn(Pn((Cn(),am))));return dr(this),fr(),fr(),new qdt(s,r,u,o)},h.vm=function(){return dr(this),fr(),H3e},h.wm=function(){var t;if(dr(this),t=bP(24,x0(this)),this.c!=7)throw K(new Dn(Pn((Cn(),am))));return dr(this),t},h.xm=function(){var t;if(dr(this),t=bP(20,x0(this)),this.c!=7)throw K(new Dn(Pn((Cn(),am))));return dr(this),t},h.ym=function(){var t;if(dr(this),t=bP(22,x0(this)),this.c!=7)throw K(new Dn(Pn((Cn(),am))));return dr(this),t},h.zm=function(){var t,r,o,s,u;for(t=0,o=0,r=-1;this.d<this.j&&(r=uo(this.i,this.d),u=dme(r),u!=0);)t|=u,++this.d;if(this.d>=this.j)throw K(new Dn(Pn((Cn(),cEe))));if(r==45){for(++this.d;this.d<this.j&&(r=uo(this.i,this.d),u=dme(r),u!=0);)o|=u,++this.d;if(this.d>=this.j)throw K(new Dn(Pn((Cn(),cEe))))}if(r==58){if(++this.d,dr(this),s=wst(x0(this),t,o),this.c!=7)throw K(new Dn(Pn((Cn(),am))));dr(this)}else if(r==41)++this.d,dr(this),s=wst(x0(this),t,o);else throw K(new Dn(Pn((Cn(),QTt))));return s},h.Am=function(){var t;if(dr(this),t=bP(21,x0(this)),this.c!=7)throw K(new Dn(Pn((Cn(),am))));return dr(this),t},h.Bm=function(){var t;if(dr(this),t=bP(23,x0(this)),this.c!=7)throw K(new Dn(Pn((Cn(),am))));return dr(this),t},h.Cm=function(){var t,r;if(dr(this),t=this.f++,r=JV(x0(this),t),this.c!=7)throw K(new Dn(Pn((Cn(),am))));return dr(this),r},h.Dm=function(){var t;if(dr(this),t=JV(x0(this),0),this.c!=7)throw K(new Dn(Pn((Cn(),am))));return dr(this),t},h.Em=function(t){return dr(this),this.c==5?(dr(this),uP(t,(fr(),fr(),new iy(9,t)))):uP(t,(fr(),fr(),new iy(3,t)))},h.Fm=function(t){var r;return dr(this),r=(fr(),fr(),new h3(2)),this.c==5?(dr(this),Zb(r,j4),Zb(r,t)):(Zb(r,t),Zb(r,j4)),r},h.Gm=function(t){return dr(this),this.c==5?(dr(this),fr(),fr(),new iy(9,t)):(fr(),fr(),new iy(3,t))},h.a=0,h.b=0,h.c=0,h.d=0,h.e=0,h.f=1,h.g=null,h.j=0,x(Sg,"RegEx/RegexParser",828),A(1927,828,{},jZe),h._l=function(t){return!1},h.am=function(){return zme(this)},h.bm=function(t){return ek(t)},h.cm=function(t){return xEt(this)},h.dm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.em=function(){throw K(new Dn(Pn((Cn(),tl))))},h.fm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.gm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.hm=function(){return dr(this),ek(67)},h.im=function(){return dr(this),ek(73)},h.jm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.km=function(){throw K(new Dn(Pn((Cn(),tl))))},h.lm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.mm=function(){return dr(this),ek(99)},h.nm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.om=function(){throw K(new Dn(Pn((Cn(),tl))))},h.pm=function(){return dr(this),ek(105)},h.qm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.rm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.sm=function(t,r){return xy(t,ek(r)),-1},h.tm=function(){return dr(this),fr(),fr(),new dh(0,94)},h.um=function(){throw K(new Dn(Pn((Cn(),tl))))},h.vm=function(){return dr(this),fr(),fr(),new dh(0,36)},h.wm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.xm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.ym=function(){throw K(new Dn(Pn((Cn(),tl))))},h.zm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.Am=function(){throw K(new Dn(Pn((Cn(),tl))))},h.Bm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.Cm=function(){var t;if(dr(this),t=JV(x0(this),0),this.c!=7)throw K(new Dn(Pn((Cn(),am))));return dr(this),t},h.Dm=function(){throw K(new Dn(Pn((Cn(),tl))))},h.Em=function(t){return dr(this),uP(t,(fr(),fr(),new iy(3,t)))},h.Fm=function(t){var r;return dr(this),r=(fr(),fr(),new h3(2)),Zb(r,t),Zb(r,j4),r},h.Gm=function(t){return dr(this),fr(),fr(),new iy(3,t)};var E2=null,Ax=null;x(Sg,"RegEx/ParserForXMLSchema",1927),A(122,1,Fk,Wm),h.Hm=function(t){throw K(new vs("Not supported."))},h.Im=function(){return-1},h.Jm=function(t){return null},h.Km=function(){return null},h.Lm=function(t){},h.Mm=function(t){},h.Nm=function(){return 0},h.Ib=function(){return this.Om(0)},h.Om=function(t){return this.e==11?".":""},h.e=0;var F3e,_x,P4,TLt,$3e,yv=null,kU,Bre=null,B3e,j4,Ure=null,U3e,H3e,z3e,G3e,q3e,ALt,JT,_Lt,kLt,xLt,NLt,kx,CLt,ILt,W3n=x(Sg,"RegEx/Token",122);A(140,122,{3:1,140:1,122:1},bc),h.Om=function(t){var r,o,s;if(this.e==4)if(this==B3e)o=".";else if(this==kU)o="\\d";else if(this==kx)o="\\w";else if(this==JT)o="\\s";else{for(s=new Jp,s.a+="[",r=0;r<this.b.length;r+=2)t&Tl&&r>0&&(s.a+=","),this.b[r]===this.b[r+1]?zo(s,aD(this.b[r])):(zo(s,aD(this.b[r])),s.a+="-",zo(s,aD(this.b[r+1])));s.a+="]",o=s.a}else if(this==z3e)o="\\D";else if(this==q3e)o="\\W";else if(this==G3e)o="\\S";else{for(s=new Jp,s.a+="[^",r=0;r<this.b.length;r+=2)t&Tl&&r>0&&(s.a+=","),this.b[r]===this.b[r+1]?zo(s,aD(this.b[r])):(zo(s,aD(this.b[r])),s.a+="-",zo(s,aD(this.b[r+1])));s.a+="]",o=s.a}return o},h.a=!1,h.c=!1,x(Sg,"RegEx/RangeToken",140),A(587,1,{587:1},gce),h.a=0,x(Sg,"RegEx/RegexParser/ReferencePosition",587),A(586,1,{3:1,586:1},QQe),h.Fb=function(t){var r;return t==null||!se(t,586)?!1:(r=l(t,586),mt(this.b,r.b)&&this.a==r.a)},h.Hb=function(){return cg(this.b+"/"+Pme(this.a))},h.Ib=function(){return this.c.Om(this.a)},h.a=0,x(Sg,"RegEx/RegularExpression",586),A(230,122,Fk,dh),h.Im=function(){return this.a},h.Om=function(t){var r,o,s;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:s="\\"+SV(this.a&Ei);break;case 12:s="\\f";break;case 10:s="\\n";break;case 13:s="\\r";break;case 9:s="\\t";break;case 27:s="\\e";break;default:this.a>=xo?(o=(r=this.a>>>0,"0"+r.toString(16)),s="\\v"+yl(o,o.length-6,o.length)):s=""+SV(this.a&Ei)}break;case 8:this==U3e||this==H3e?s=""+SV(this.a&Ei):s="\\"+SV(this.a&Ei);break;default:s=null}return s},h.a=0,x(Sg,"RegEx/Token/CharToken",230),A(323,122,Fk,iy),h.Jm=function(t){return this.a},h.Lm=function(t){this.b=t},h.Mm=function(t){this.c=t},h.Nm=function(){return 1},h.Om=function(t){var r;if(this.e==3)if(this.c<0&&this.b<0)r=this.a.Om(t)+"*";else if(this.c==this.b)r=this.a.Om(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)r=this.a.Om(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)r=this.a.Om(t)+"{"+this.c+",}";else throw K(new vs("Token#toString(): CLOSURE "+this.c+Ma+this.b));else if(this.c<0&&this.b<0)r=this.a.Om(t)+"*?";else if(this.c==this.b)r=this.a.Om(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)r=this.a.Om(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)r=this.a.Om(t)+"{"+this.c+",}?";else throw K(new vs("Token#toString(): NONGREEDYCLOSURE "+this.c+Ma+this.b));return r},h.b=0,h.c=0,x(Sg,"RegEx/Token/ClosureToken",323),A(829,122,Fk,Yfe),h.Jm=function(t){return t==0?this.a:this.b},h.Nm=function(){return 2},h.Om=function(t){var r;return this.b.e==3&&this.b.Jm(0)==this.a?r=this.a.Om(t)+"+":this.b.e==9&&this.b.Jm(0)==this.a?r=this.a.Om(t)+"+?":r=this.a.Om(t)+(""+this.b.Om(t)),r},x(Sg,"RegEx/Token/ConcatToken",829),A(1925,122,Fk,qdt),h.Jm=function(t){if(t==0)return this.d;if(t==1)return this.b;throw K(new vs("Internal Error: "+t))},h.Nm=function(){return this.b?2:1},h.Om=function(t){var r;return this.c>0?r="(?("+this.c+")":this.a.e==8?r="(?("+this.a+")":r="(?"+this.a,this.b?r+=this.d+"|"+this.b+")":r+=this.d+")",r},h.c=0,x(Sg,"RegEx/Token/ConditionToken",1925),A(1926,122,Fk,wut),h.Jm=function(t){return this.b},h.Nm=function(){return 1},h.Om=function(t){return"(?"+(this.a==0?"":Pme(this.a))+(this.c==0?"":Pme(this.c))+":"+this.b.Om(t)+")"},h.a=0,h.c=0,x(Sg,"RegEx/Token/ModifierToken",1926),A(830,122,Fk,ihe),h.Jm=function(t){return this.a},h.Nm=function(){return 1},h.Om=function(t){var r;switch(r=null,this.e){case 6:this.b==0?r="(?:"+this.a.Om(t)+")":r="("+this.a.Om(t)+")";break;case 20:r="(?="+this.a.Om(t)+")";break;case 21:r="(?!"+this.a.Om(t)+")";break;case 22:r="(?<="+this.a.Om(t)+")";break;case 23:r="(?<!"+this.a.Om(t)+")";break;case 24:r="(?>"+this.a.Om(t)+")"}return r},h.b=0,x(Sg,"RegEx/Token/ParenToken",830),A(521,122,{3:1,122:1,521:1},SW),h.Km=function(){return this.b},h.Om=function(t){return this.e==12?"\\"+this.a:TEn(this.b)},h.a=0,x(Sg,"RegEx/Token/StringToken",521),A(469,122,Fk,h3),h.Hm=function(t){Zb(this,t)},h.Jm=function(t){return l(l0(this.a,t),122)},h.Nm=function(){return this.a?this.a.a.c.length:0},h.Om=function(t){var r,o,s,u,f;if(this.e==1){if(this.a.a.c.length==2)r=l(l0(this.a,0),122),o=l(l0(this.a,1),122),o.e==3&&o.Jm(0)==r?u=r.Om(t)+"+":o.e==9&&o.Jm(0)==r?u=r.Om(t)+"+?":u=r.Om(t)+(""+o.Om(t));else{for(f=new Jp,s=0;s<this.a.a.c.length;s++)zo(f,l(l0(this.a,s),122).Om(t));u=f.a}return u}if(this.a.a.c.length==2&&l(l0(this.a,1),122).e==7)u=l(l0(this.a,0),122).Om(t)+"?";else if(this.a.a.c.length==2&&l(l0(this.a,0),122).e==7)u=l(l0(this.a,1),122).Om(t)+"??";else{for(f=new Jp,zo(f,l(l0(this.a,0),122).Om(t)),s=1;s<this.a.a.c.length;s++)f.a+="|",zo(f,l(l0(this.a,s),122).Om(t));u=f.a}return u},x(Sg,"RegEx/Token/UnionToken",469),A(518,1,{596:1},iO),h.Ib=function(){return this.a.b},x(w_t,"XMLTypeUtil/PatternMatcherImpl",518),A(1690,1505,{},QVe);var RLt;x(w_t,"XMLTypeValidator",1690),A(272,1,Eh,Nb),h.Ic=function(t){co(this,t)},h.Jc=function(){return(this.b-this.a)*this.c<0?eb:new s1(this)},h.a=0,h.b=0,h.c=0;var eb;x(IEe,"ExclusiveRange",272),A(1065,1,vh,eWe),h.Rb=function(t){l(t,15),Wen()},h.Nb=function(t){oo(this,t)},h.Pb=function(){return jQt()},h.Ub=function(){return FQt()},h.Wb=function(t){l(t,15),Yen()},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Tb=function(){return-1},h.Vb=function(){return-1},h.Qb=function(){throw K(new Yp(E_t))},x(IEe,"ExclusiveRange/1",1065),A(261,1,vh,s1),h.Rb=function(t){l(t,15),Ken()},h.Nb=function(t){oo(this,t)},h.Pb=function(){return Apn(this)},h.Ub=function(){return Tdn(this)},h.Wb=function(t){l(t,15),Jen()},h.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},h.Sb=function(){return this.b>0},h.Tb=function(){return this.b},h.Vb=function(){return this.b-1},h.Qb=function(){throw K(new Yp(E_t))},h.a=0,h.b=0,x(IEe,"ExclusiveRange/RangeIterator",261);var al=i_(VF,"C"),Rn=i_(uI,"I"),uu=i_(sT,"Z"),hw=i_(cI,"J"),Eu=i_(oI,"B"),Ki=i_(sI,"D"),vv=i_(aI,"F"),S2=i_(lI,"S"),K3n=Hr("org.eclipse.elk.core.labels","ILabelManager"),V3e=Hr(_o,"DiagnosticChain"),W3e=Hr(YAt,"ResourceSet"),K3e=x(_o,"InvocationTargetException",null),OLt=(P9(),Fln),DLt=DLt=d0n;Afn(FZt),Pfn("permProps",[[["locale","default"],[S_t,"gecko1_8"]],[["locale","default"],[S_t,"safari"]]]),DLt(null,"elk",null)}).call(this)}).call(this,typeof xM<"u"?xM:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(a,c,d){function g(F){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function($){return typeof $}:function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},g(F)}function b(F,$,P){return Object.defineProperty(F,"prototype",{writable:!1}),F}function w(F,$){if(!(F instanceof $))throw new TypeError("Cannot call a class as a function")}function E(F,$,P){return $=C($),S(F,_()?Reflect.construct($,P||[],C(F).constructor):$.apply(F,P))}function S(F,$){if($&&(g($)=="object"||typeof $=="function"))return $;if($!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(F)}function k(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function _(){try{var F=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_=function(){return!!F})()}function C(F){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function($){return $.__proto__||Object.getPrototypeOf($)},C(F)}function R(F,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create($&&$.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),Object.defineProperty(F,"prototype",{writable:!1}),$&&M(F,$)}function M(F,$){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,H){return P.__proto__=H,P},M(F,$)}var D=a("./elk-api.js").default,B=function(F){function $(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};w(this,$);var H=Object.assign({},P),Q=!1;try{a.resolve("web-worker"),Q=!0}catch{}if(P.workerUrl)if(Q){var re=a("web-worker");H.workerFactory=function(he){return new re(he)}}else console.warn(`Web worker requested but 'web-worker' package not installed.
|
||
Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
|
||
... Falling back to non-web worker version.`);if(!H.workerFactory){var ee=a("./elk-worker.min.js"),ae=ee.Worker;H.workerFactory=function(he){return new ae(he)}}return E(this,$,[H])}return R($,F),b($)}(D);Object.defineProperty(c.exports,"__esModule",{value:!0}),c.exports=B,B.default=B},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(a,c,d){var g=typeof Worker<"u"?Worker:void 0;c.exports=g},{}]},{},[3])(3)})})(Qqt);var MWn=Qqt.exports;const PWn=vR(MWn),jWn=new PWn;async function FWn(n,i){try{const a=n.map(b=>({id:b.id,width:BWn(b.type),height:UWn(b.type)})),c=i.map(b=>({id:b.id,sources:[b.source],targets:[b.target]})),d={id:"root",layoutOptions:{"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"80","elk.layered.spacing.nodeNodeBetweenLayers":"100","elk.spacing.edgeNode":"40","elk.layered.nodePlacement.strategy":"SIMPLE"},children:a,edges:c},g=await jWn.layout(d);return n.map(b=>{var E;const w=(E=g.children)==null?void 0:E.find(S=>S.id===b.id);return w&&w.x!==void 0&&w.y!==void 0?{...b,position:{x:w.x,y:w.y}}:b})}catch{return $Wn(n)}}function $Wn(n){return n.map((b,w)=>{const E=w%3,S=Math.floor(w/3);return{...b,position:{x:100+E*300,y:100+S*150}}})}function BWn(n){switch(n){case"trigger":return 200;case"condition":return 220;case"action":return 200;case"delay":return 180;case"wait":return 180;default:return 200}}function UWn(n){switch(n){case"trigger":return 80;case"condition":return 100;case"action":return 80;case"delay":return 70;case"wait":return 70;default:return 80}}function HWn(n){return typeof n=="object"&&n!==null&&"delay"in n&&(typeof n.delay=="string"||typeof n.delay=="number"||typeof n.delay=="object"&&n.delay!==null)}function zWn(n){return typeof n=="object"&&n!==null&&("wait_template"in n||"wait_for_trigger"in n)}function GWn(n){return typeof n=="object"&&n!==null&&"choose"in n}function qWn(n){return typeof n=="object"&&n!==null&&"parallel"in n&&Array.isArray(n.parallel)}function VWn(n){return typeof n=="object"&&n!==null&&"if"in n&&Array.isArray(n.if)&&"then"in n&&Array.isArray(n.then)}function WWn(n){return typeof n=="object"&&n!==null&&(typeof n.service=="string"||typeof n.action=="string")}function KWn(n){return typeof n=="object"&&n!==null&&"condition"in n&&typeof n.condition=="string"}function YWn(n){return typeof n=="object"&&n!==null&&"variables"in n&&typeof n.variables=="object"&&!("service"in n)&&!("action"in n)&&!("delay"in n)&&!("wait_template"in n)&&!("choose"in n)&&!("if"in n)}function JWn(n){return typeof n=="object"&&n!==null&&"set_conversation_response"in n}function XWn(n){return typeof n=="object"&&n!==null&&"repeat"in n&&typeof n.repeat=="object"&&n.repeat!==null}function ZWn(n){return typeof n=="object"&&n!==null&&"event"in n&&typeof n.event=="string"}const TM=["state","numeric_state","template","time","sun","zone","and","or","not","device","trigger"];function bDe(n){return n.map(i=>QWn(i))}function QWn(n){const{condition:i,conditions:a,...c}=n,d=i||"template",g=TM.includes(d)?d:"template",b=Array.isArray(a)?bDe(a):void 0;return{...c,condition:g,conditions:b}}class eKn{async parse(i){const a=[];try{let c=_Wn(i);if(Array.isArray(c)){if(c.length===0)return{success:!1,errors:["Empty automation array"],warnings:a,hadMetadata:!1};c=c[0]}if(!c||typeof c!="object")return{success:!1,errors:["Invalid YAML structure"],warnings:a,hadMetadata:!1};const d=this.extractMetadata(c),g=d!==null,b=this.extractUserVariables(c),w=c;if(typeof w!="object"||w===null)return{success:!1,errors:["Invalid YAML content structure"],warnings:a,hadMetadata:g};const E=d?Object.keys(d.nodes):[],S=(d==null?void 0:d.strategy)==="state-machine"||this.detectStateMachineFormat(w),{nodes:k,edges:_}=S?this.parseStateMachineStructure(w,a,E):this.parseAutomationStructure(w,a,E);let C;g&&d?C=this.applyMetadataPositions(k,d):C=await FWn(k,_);const R={mode:w.mode,max:w.max,max_exceeded:w.max_exceeded,initial_state:w.initial_state,hide_entity:w.hide_entity,trace:w.trace},M=B9t.safeParse(R),D=M.success?M.data:B9t.parse({}),B={id:(d==null?void 0:d.graph_id)||DWn(),name:typeof w.alias=="string"?w.alias:"Imported Automation",description:typeof w.description=="string"?w.description:"",nodes:C,edges:_,metadata:D,version:1,userVariables:Object.keys(b).length>0?b:void 0},F=GGt.safeParse(B);if(!F.success){const P=F.error.issues.map(H=>{let Q="";if(H.path&&H.path.length>0&&H.path[0]==="nodes"&&typeof H.path[1]=="number"){const re=H.path[1],ee=B.nodes[re];Q=`Node index ${re} (id: ${ee==null?void 0:ee.id}, type: ${ee==null?void 0:ee.type})
|
||
Data: ${JSON.stringify(ee==null?void 0:ee.data,null,2)}`}return`Schema path: ${H.path.join(".")}
|
||
Message: ${H.message}${Q?`
|
||
${Q}`:""}`});return console.error("Zod validation error details:",P),{success:!1,errors:P,warnings:a,hadMetadata:g}}const $=qGt(F.data);return $.valid?{success:!0,graph:F.data,warnings:a,hadMetadata:g}:{success:!1,errors:$.errors,warnings:a,hadMetadata:g}}catch(c){return console.error("YAML parsing error:",c),console.error("YAML string:",i),{success:!1,errors:[c instanceof Error?c.message:"Unknown parsing error"],warnings:a,hadMetadata:!1}}}extractMetadata(i){try{let a;if(typeof i.variables=="object"&&i.variables!==null&&(a=i.variables),a&&typeof a=="object"&&"_cafe_metadata"in a&&typeof a._cafe_metadata=="object"&&a._cafe_metadata!==null){const c=a._cafe_metadata,d=zGt.safeParse(c);if(d.success)return d.data}}catch{}return null}extractUserVariables(i){const a={};if(typeof i.variables=="object"&&i.variables!==null){const c=i.variables;for(const[d,g]of Object.entries(c))d!=="_cafe_metadata"&&(a[d]=g)}return a}detectStateMachineFormat(i){const a=i.actions||i.action;if(!Array.isArray(a))return!1;let c=!1,d=!1;for(const g of a){const b=g;if(b.variables){const w=b.variables;"current_node"in w&&"flow_context"in w&&(c=!0)}if(b.repeat){const E=b.repeat.sequence;if(Array.isArray(E))for(const S of E){const k=S;if(Array.isArray(k.choose)){d=!0;break}}}}return c&&d}parseStateMachineStructure(i,a,c){const d=[],g=[],b=i.actions||i.action;if(!Array.isArray(b))return a.push("No actions found in automation"),{nodes:d,edges:g};let w=null;const E=new Map;for(const F of b){const $=F;if($.variables){const P=$.variables;typeof P.current_node=="string"&&P.current_node!=="END"&&(w=P.current_node)}if($.repeat){const H=$.repeat.sequence;if(Array.isArray(H))for(const Q of H){const re=Q;if(Array.isArray(re.choose))for(const ee of re.choose){const ae=this.parseStateMachineChooseBlock(ee);ae&&E.set(ae.nodeId,ae)}}}}const S=new Set(E.keys()),k=c.filter(F=>!S.has(F));let _=0,C=0;const R=F=>_<k.length?k[_++]:q7t(F,C++),M=i.triggers||i.trigger;if(!M)return a.push("No triggers found in automation"),{nodes:d,edges:g};const D=Array.isArray(M)?M:[M],B=this.parseTriggers(D,a,R);d.push(...B);for(const[F,$]of E)switch($.nodeType){case"condition":d.push({id:F,type:"condition",position:{x:0,y:0},data:$.data});break;case"action":d.push({id:F,type:"action",position:{x:0,y:0},data:$.data});break;case"delay":d.push({id:F,type:"delay",position:{x:0,y:0},data:$.data});break;case"wait":d.push({id:F,type:"wait",position:{x:0,y:0},data:$.data});break}if(w){const F=this.parseEntryNodeTemplate(w);if(F&&F.size>0)for(let $=0;$<B.length;$++){const P=F.get($);P&&g.push(this.createEdge(B[$].id,P))}else for(const $ of B)g.push(this.createEdge($.id,w))}for(const[F,$]of E)$.trueTarget&&$.trueTarget!=="END"&&g.push({id:`edge-${F}-${$.trueTarget}`,source:F,target:$.trueTarget,sourceHandle:$.falseTarget?"true":void 0}),$.falseTarget&&$.falseTarget!=="END"&&g.push({id:`edge-${F}-${$.falseTarget}`,source:F,target:$.falseTarget,sourceHandle:"false"});return{nodes:d,edges:g}}parseEntryNodeTemplate(i){if(!i.includes("{%")||!i.includes("trigger.idx"))return null;const a=new Map,c=/{%\s*(?:if|elif)\s+trigger\.idx\s*==\s*["'](\d+)["']\s*%}\s*([^{%]+?)(?={%|$)/g,d=i.matchAll(c);for(const b of d){const w=parseInt(b[1],10),E=b[2].trim();a.set(w,E)}const g=i.match(/{%\s*else\s*%}\s*([^{%]+?)(?={%|$)/);if(g&&a.size>0){const b=Math.max(...a.keys());a.set(b+1,g[1].trim())}return a.size>0?a:null}parseStateMachineChooseBlock(i){const a=i.conditions;if(!Array.isArray(a)||a.length===0)return null;const d=a[0].value_template;if(!d)return null;const g=d.match(/current_node\s*==\s*["']([^"']+)["']/);if(!g)return null;const b=g[1],w=i.sequence;if(!Array.isArray(w)||w.length===0)return null;let E="action";const S={};let k=null,_=null;for(const C of w){const R=C;if(R.variables){const D=R.variables.current_node;if(typeof D=="string")if(D.includes("{%")&&D.includes("%}")){E="condition";const B=D.match(/{%\s*if[^%]*%}\s*"?([^"'{%]+?)"?(?=\s*{%)/),F=D.match(/{%\s*else\s*%}\s*"?([^"'{%]+?)"?(?=\s*{%)/);k=B?B[1]:null,_=F?F[1]:null;const $=D.match(/{%\s*if\s+(.+?)\s*%}/);if($){const P=$[1];Object.assign(S,this.parseJinjaCondition(P))}}else k=D==="END"?null:D}else R.delay!==void 0?(E="delay",S.delay=R.delay,R.alias&&(S.alias=R.alias)):R.wait_template!==void 0?(E="wait",S.wait_template=R.wait_template,R.timeout&&(S.timeout=R.timeout),R.continue_on_timeout!==void 0&&(S.continue_on_timeout=R.continue_on_timeout),R.alias&&(S.alias=R.alias)):(R.service||R.action)&&(E="action",S.service=R.service||R.action,R.target&&(S.target=R.target),R.data&&(S.data=R.data),R.alias&&(S.alias=R.alias))}return{nodeId:b,nodeType:E,data:S,trueTarget:k,falseTarget:_}}parseJinjaCondition(i){const a=i.match(/is_state\s*\(\s*['"]([^'"]+)['"]\s*,\s*['"]([^'"]+)['"]\s*\)/);if(a){const d=a[1],g=a[2];if(d==="sun.sun"){if(g==="above_horizon")return{condition:"sun",after:"sunrise",before:"sunset"};if(g==="below_horizon")return{condition:"sun",after:"sunset",before:"sunrise"}}return{condition:"state",entity_id:d,state:g}}const c=i.match(/states\s*\(\s*['"]([^'"]+)['"]\s*\)\s*\|\s*float\s*([<>=]+)\s*(\d+(?:\.\d+)?)/);if(c){const d=c[1],g=c[2],b=parseFloat(c[3]),w={condition:"numeric_state",entity_id:d};return g.includes(">")&&(w.above=b),g.includes("<")&&(w.below=b),w}return{condition:"template",value_template:`{{ ${i} }}`}}parseAutomationStructure(i,a,c){var P;const d=[],g=[],b=new Set;let w=0;const E=H=>w<c.length?c[w++]:q7t(H,w++),S=i.triggers||i.trigger;if(!S)return a.push("No triggers found in automation"),{nodes:d,edges:g};const k=Array.isArray(S)?S:[S],_=this.parseTriggers(k,a,E);d.push(..._);const C=new Map;for(let H=0;H<_.length;H++){const Q=(P=k[H])==null?void 0:P.id;typeof Q=="string"&&C.set(_[H].id,Q)}let R=[];const M=i.conditions||i.condition,D=Array.isArray(M)?M:M?[M]:[];if(D.length>0){const H=this.parseConditions(D,a,E);d.push(...H.nodes),g.push(...H.edges);for(const re of H.nodes)b.add(re.id);const Q=H.nodes;if(Q.length===1){for(const re of _)g.push(this.createEdge(re.id,Q[0].id));R=[Q[0].id]}else{for(const re of _)g.push(this.createEdge(re.id,Q[0].id));for(let re=0;re<Q.length-1;re++)g.push(this.createEdge(Q[re].id,Q[re+1].id,"true"));R=[Q[Q.length-1].id]}}else R=_.map(H=>H.id);const B=i.actions||i.action;if(!B)return a.push("No actions found in automation"),{nodes:d,edges:g};const F=Array.isArray(B)?B:[B],$=this.parseActions(F,{warnings:a,previousNodeIds:R,getNextNodeId:E,conditionNodeIds:b,triggerNodeMap:C});return d.push(...$.nodes),g.push(...$.edges),{nodes:d,edges:g}}parseTriggers(i,a,c){return i.filter(gUn).map((d,g)=>{const b=c("trigger");try{const w=oN.safeParse(d);return w.success?{id:b,type:"trigger",position:{x:0,y:0},data:w.data}:(a.push(`Trigger ${g} failed schema validation: ${JSON.stringify(w.error.issues)}`),this.createUnknownNode(b,d))}catch(w){return a.push(`Failed to parse trigger ${g}: ${w}`),this.createUnknownNode(b,d)}})}parseConditions(i,a,c){const d=[],g=[],b=[];return i.filter(bUn).forEach((w,E)=>{const S=c("condition");try{const k=Bg.safeParse(w);if(!k.success){a.push(`Condition ${E} failed schema validation: ${JSON.stringify(k.error.issues)}`),d.push({id:S,type:"condition",position:{x:0,y:0},data:{condition:"template",alias:"Unknown Condition",value_template:JSON.stringify(w)}});return}const _={id:S,type:"condition",position:{x:0,y:0},data:k.data};d.push(_),b.push(S)}catch(k){a.push(`Failed to parse condition ${E}: ${k}`),d.push({id:S,type:"condition",position:{x:0,y:0},data:{condition:"template",alias:"Unknown Condition",value_template:JSON.stringify(w)}})}}),{nodes:d,edges:g,outputNodeIds:b}}parseActions(i,a){const{warnings:c,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,triggerNodeMap:w,inheritedEnabled:E}=a,S=[],k=[];let _=d;const C=new Set(b),R=new Set,M=B=>E===!1?!1:B,D=B=>{for(const F of _){let $;R.has(F)?$="false":C.has(F)&&($="true"),k.push(this.createEdge(F,B,$))}};return i.forEach((B,F)=>{if(!B||typeof B!="object"){c.push(`Unknown action type (${JSON.stringify(B)}) at index ${F}`);const $=g("unknown");S.push({id:$,type:"action",position:{x:0,y:0},data:{alias:"Unknown Node",service:"unknown.unknown",data:B}}),D($),_=[$];return}if(KWn(B)){const $=g("condition"),P=B,H=P.condition||"template",Q=TM.includes(H)?H:"template";let re;try{re=Bg.parse(P)}catch(ae){c.push(`Inline condition at index ${F} failed schema validation: ${ae instanceof Error?ae.message:JSON.stringify(ae)}`),re={condition:Q,alias:typeof P.alias=="string"?P.alias:void 0,value_template:JSON.stringify(P)}}re.enabled=M(re.enabled);const ee={id:$,type:"condition",position:{x:0,y:0},data:re};S.push(ee),D($),C.add($),_=[$]}else if(YWn(B)){const $=g("set_variables"),P=B,H={id:$,type:"set_variables",position:{x:0,y:0},data:{alias:typeof P.alias=="string"?P.alias:void 0,variables:P.variables||{},enabled:M(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(H),D($),_=[$]}else if(HWn(B)){const $=g("delay"),P=B,{alias:H,delay:Q,enabled:re,...ee}=P,ae={id:$,type:"delay",position:{x:0,y:0},data:{...ee,alias:typeof H=="string"?H:void 0,delay:typeof Q=="string"||typeof Q=="object"&&Q!==null?Q:"",enabled:M(typeof re=="boolean"?re:void 0)}};S.push(ae),D($),_=[$]}else if(zWn(B)){const $=g("wait"),P=B,{alias:H,wait_template:Q,wait_for_trigger:re,timeout:ee,continue_on_timeout:ae,enabled:he,...ve}=P;let de;(typeof ee=="string"||typeof ee=="object"&&ee!==null)&&(de=ee);const ge={...ve,alias:typeof H=="string"?H:void 0,timeout:de,continue_on_timeout:typeof ae=="boolean"?ae:void 0,enabled:M(typeof he=="boolean"?he:void 0)};if(typeof Q=="string")ge.wait_template=Q;else if(Array.isArray(re)){const fe=[];for(const De of re){const Se=oN.safeParse(De);Se.success?fe.push(Se.data):c.push(`Failed to parse a trigger inside wait_for_trigger: ${Se.error.message}`)}ge.wait_for_trigger=fe}const Y={id:$,type:"wait",position:{x:0,y:0},data:ge};S.push(Y),D($),_=[$]}else if(GWn(B)){const $=this.parseChooseBlock(B,{warnings:c,previousNodeIds:_,getNextNodeId:g,conditionNodeIds:C,falsePathConditionIds:R,inheritedEnabled:E});S.push(...$.nodes),k.push(...$.edges);for(const P of $.outputNodeIds){const H=$.nodes.find(Q=>Q.id===P);(H==null?void 0:H.type)==="condition"&&($.falsePathOutputIds.includes(P)?R.add(P):C.add(P))}_=$.outputNodeIds}else if(VWn(B)){const $=B,P=Array.isArray($.if)?$.if:[],H=Array.isArray($.then)?$.then:[],Q=Array.isArray($.else)?$.else:void 0,re={if:P,then:H,else:Q,alias:typeof $.alias=="string"?$.alias:void 0,enabled:$.enabled},ee=this.parseIfBlock(re,{warnings:c,previousNodeIds:_,getNextNodeId:g,conditionNodeIds:C,falsePathConditionIds:R,triggerNodeMap:w,inheritedEnabled:E});S.push(...ee.nodes),k.push(...ee.edges);for(const ae of ee.outputNodeIds){const he=ee.nodes.find(ve=>ve.id===ae);(he==null?void 0:he.type)==="condition"&&(ee.falsePathOutputIds.includes(ae)?R.add(ae):C.add(ae))}ee.unconsumedPreviousIds.length>0?_=ee.unconsumedPreviousIds:_=ee.outputNodeIds}else if(OMe(B)){const $=g("action"),P=B,H=["type","device_id","domain","entity_id","subtype","alias","enabled"],Q={};for(const[ee,ae]of Object.entries(P))!H.includes(ee)&&ae!==void 0&&(Q[ee]=ae);const re={id:$,type:"action",position:{x:0,y:0},data:{alias:typeof P.alias=="string"?P.alias:void 0,service:`${P.domain}.${P.type}`,target:{device_id:P.device_id},data:{type:P.type,device_id:P.device_id,domain:P.domain,entity_id:P.entity_id,subtype:P.subtype,...Q},enabled:M(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(re),D($),_=[$]}else if(qWn(B)){const P=B.parallel,H=[..._],Q=[];for(const re of P)if(Array.isArray(re)){const ee=this.parseActions(re,{warnings:c,previousNodeIds:H,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(ee.nodes.length>0){S.push(...ee.nodes),k.push(...ee.edges);const ae=new Set(ee.edges.map(ve=>ve.source)),he=ee.nodes.filter(ve=>!ae.has(ve.id));Q.push(...he.map(ve=>ve.id))}}else if(typeof re=="object"&&re!==null){const ee=re;if("sequence"in ee&&Array.isArray(ee.sequence)){const ae=this.parseActions(ee.sequence,{warnings:c,previousNodeIds:H,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(ae.nodes.length>0){S.push(...ae.nodes),k.push(...ae.edges);const he=new Set(ae.edges.map(de=>de.source)),ve=ae.nodes.filter(de=>!he.has(de.id));Q.push(...ve.map(de=>de.id))}}else{const ae=this.parseActions([re],{warnings:c,previousNodeIds:H,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(ae.nodes.length>0){S.push(...ae.nodes),k.push(...ae.edges);const he=ae.nodes[ae.nodes.length-1];Q.push(he.id)}}}_=Q.length>0?Q:H}else if(ZWn(B)){const $=g("action"),P=B,H={id:$,type:"action",position:{x:0,y:0},data:{alias:typeof P.alias=="string"?P.alias:void 0,event:typeof P.event=="string"?P.event:void 0,event_data:typeof P.event_data=="object"&&P.event_data!==null?P.event_data:void 0,enabled:M(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(H),D($),_=[$]}else if(XWn(B)){const $=B,P=$.repeat,H=Array.isArray(P.sequence)?P.sequence:[],Q=typeof $.alias=="string"?$.alias:void 0,re=M(typeof $.enabled=="boolean"?$.enabled:void 0);if(Array.isArray(P.while)&&P.while.length>0){const ee=P.while,ae=[];for(let De=0;De<ee.length;De++){const Se=g("condition");let $e;try{$e=Bg.parse(ee[De])}catch{$e={condition:"template",value_template:JSON.stringify(ee[De])}}De===0&&Q&&($e.alias=Q),$e.enabled=re;const Te={id:Se,type:"condition",position:{x:0,y:0},data:$e};ae.push(Te),S.push(Te),C.add(Se)}D(ae[0].id);for(let De=0;De<ae.length-1;De++)k.push(this.createEdge(ae[De].id,ae[De+1].id,"true"));const he=ae[ae.length-1].id,ve=this.parseActions(H,{warnings:c,previousNodeIds:[he],getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:re});if(S.push(...ve.nodes),k.push(...ve.edges),ve.nodes.length>0){const De=ve.nodes[0].id,Se=k.find($e=>$e.source===he&&$e.target===De);Se&&(Se.sourceHandle="true")}const de=new Set(ve.nodes.map(De=>De.id)),ge=new Set(ve.edges.map(De=>De.source)),Y=ve.nodes.filter(De=>!ge.has(De.id)||![...ve.edges].some(Se=>Se.source===De.id&&de.has(Se.target))),fe=Y.length>0?Y[Y.length-1].id:ve.nodes.length>0?ve.nodes[ve.nodes.length-1].id:he;if(ve.nodes.length>0){const De=this.createEdge(fe,ae[0].id);k.push(De)}_=[ae[0].id],R.add(ae[0].id)}else if(Array.isArray(P.until)&&P.until.length>0||typeof P.until=="string"){const ee=this.parseActions(H,{warnings:c,previousNodeIds:_,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:re});S.push(...ee.nodes),k.push(...ee.edges);const ae=ee.nodes.length>0?ee.nodes[0].id:null,he=new Set(ee.nodes.map(Se=>Se.id)),ve=new Set(ee.edges.filter(Se=>he.has(Se.target)).map(Se=>Se.source)),de=ee.nodes.filter(Se=>!ve.has(Se.id)||!ee.edges.some($e=>$e.source===Se.id&&he.has($e.target))),ge=de.length>0?de[de.length-1].id:ee.nodes.length>0?ee.nodes[ee.nodes.length-1].id:null,Y=typeof P.until=="string"?[{condition:"template",value_template:P.until}]:P.until,fe=[];for(let Se=0;Se<Y.length;Se++){const $e=g("condition");let Te;try{Te=Bg.parse(Y[Se])}catch{Te={condition:"template",value_template:JSON.stringify(Y[Se])}}Se===0&&Q&&ee.nodes.length===0&&(Te.alias=Q),Te.enabled=re;const ke={id:$e,type:"condition",position:{x:0,y:0},data:Te};fe.push(ke),S.push(ke),C.add($e)}if(ge){const $e=ee.nodes.find(Te=>Te.id===ge)&&C.has(ge)?"true":void 0;k.push(this.createEdge(ge,fe[0].id,$e))}else D(fe[0].id);for(let Se=0;Se<fe.length-1;Se++)k.push(this.createEdge(fe[Se].id,fe[Se+1].id,"true"));const De=fe[fe.length-1].id;if(ae){const Se=this.createEdge(fe[0].id,ae,"false");k.push(Se)}_=[De]}else if(P.count!==void 0){const ee=P.count,ae=g("set_variables"),he=`_repeat_counter_${ae.replace(/[^a-zA-Z0-9_]/g,"_")}`,ve={id:ae,type:"set_variables",position:{x:0,y:0},data:{alias:Q,variables:{[he]:0},enabled:re}};S.push(ve),D(ae);const de=this.parseActions(H,{warnings:c,previousNodeIds:[ae],getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:re});S.push(...de.nodes),k.push(...de.edges);const ge=new Set(de.nodes.map(qe=>qe.id)),Y=new Set(de.edges.filter(qe=>ge.has(qe.target)).map(qe=>qe.source)),fe=de.nodes.filter(qe=>!Y.has(qe.id)||!de.edges.some(_t=>_t.source===qe.id&&ge.has(_t.target))),De=fe.length>0?fe[fe.length-1].id:de.nodes.length>0?de.nodes[de.nodes.length-1].id:ae,Se=g("set_variables"),$e={id:Se,type:"set_variables",position:{x:0,y:0},data:{variables:{[he]:`{{ ${he} + 1 }}`},enabled:re}};if(S.push($e),de.nodes.length>0){const _t=de.nodes.find(At=>At.id===De)&&C.has(De)?"true":void 0;k.push(this.createEdge(De,Se,_t))}else k.push(this.createEdge(ae,Se));const Te=g("condition"),ke={id:Te,type:"condition",position:{x:0,y:0},data:{condition:"template",value_template:`{{ ${he} < ${ee} }}`,enabled:re}};S.push(ke),C.add(Te),k.push(this.createEdge(Se,Te));const Je=de.nodes.length>0?de.nodes[0].id:Se,bt=this.createEdge(Te,Je,"true");k.push(bt),_=[Te],R.add(Te)}else{const ee=g("action"),ae={id:ee,type:"action",position:{x:0,y:0},data:{alias:Q,repeat:P,enabled:re}};S.push(ae),D(ee),_=[ee]}}else if(WWn(B)){const $=g("action");try{const P=B,{alias:H,service:Q,action:re,target:ee,data:ae,data_template:he,response_variable:ve,continue_on_error:de,enabled:ge,...Y}=P,fe={id:$,type:"action",position:{x:0,y:0},data:{...Y,alias:typeof H=="string"?H:void 0,service:typeof Q=="string"?Q:typeof re=="string"?re:void 0,target:typeof ee=="object"&&ee!==null?ee:void 0,data:typeof ae=="object"&&ae!==null?ae:void 0,data_template:typeof he=="object"&&he!==null?he:void 0,response_variable:typeof ve=="string"?ve:void 0,continue_on_error:typeof de=="boolean"?de:void 0,enabled:M(typeof ge=="boolean"?ge:void 0)}};S.push(fe),D($),_=[$]}catch(P){c.push(`Failed to parse action ${F}: ${P}`),S.push(this.createUnknownNode($,B))}}else if(JWn(B)){const $=g("action"),P=B,H={id:$,type:"action",position:{x:0,y:0},data:{alias:typeof P.alias=="string"?P.alias:void 0,set_conversation_response:typeof P.set_conversation_response=="string"?P.set_conversation_response:void 0,enabled:M(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(H),D($),_=[$]}else{c.push(`Unknown action type (${JSON.stringify(B)}) at index ${F}`);const $=g("unknown");S.push({id:$,type:"action",position:{x:0,y:0},data:{alias:"Unknown Node",service:"unknown.unknown",data:B}}),D($),_=[$]}}),{nodes:S,edges:k,terminalNodeIds:_}}parseChooseBlock(i,a){const{warnings:c,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,falsePathConditionIds:w=new Set,inheritedEnabled:E}=a,S=[],k=[],_=[],C=[],R=new Set(b),M=i.enabled,D=E===!1||M===!1?!1:void 0,B=()=>D,$=(Array.isArray(i.choose)?i.choose:[i.choose]).filter(H=>typeof H=="object"&&H!==null&&H.conditions);let P=[...d];if($.forEach((H,Q)=>{const re=Array.isArray(H.conditions)?H.conditions:[H.conditions],ee=[];for(let ve=0;ve<re.length;ve++){const de=re[ve],ge=g("condition");let Y;if(de&&Array.isArray(de.conditions)){const fe=de.condition||"and",De=TM.includes(fe)?fe:"template";Y={id:ge,type:"condition",position:{x:0,y:0},data:{alias:ve===0?H.alias:void 0,condition:De,conditions:bDe(de.conditions),id:de.id,enabled:B()}}}else{const fe=(de==null?void 0:de.condition)||"template",De=TM.includes(fe)?fe:"template",Se={...de,alias:ve===0?H.alias??(de==null?void 0:de.alias):de==null?void 0:de.alias,condition:De,enabled:B()};let $e;try{$e=Bg.parse(Se)}catch{$e={alias:ve===0?H.alias:void 0,condition:"template",value_template:JSON.stringify(de),enabled:B()}}Y={id:ge,type:"condition",position:{x:0,y:0},data:$e}}ee.push(Y),S.push(Y),R.add(ge)}const ae=ee[0].id,he=ee[ee.length-1].id;for(const ve of P){let de;Q>0&&R.has(ve)&&!b.has(ve)||w.has(ve)?de="false":b.has(ve)&&(de="true"),k.push(this.createEdge(ve,ae,de))}for(let ve=0;ve<ee.length-1;ve++)k.push(this.createEdge(ee[ve].id,ee[ve+1].id,"true"));if(H.sequence){const ve=Array.isArray(H.sequence)?H.sequence:[H.sequence],de=this.parseActions(ve,{warnings:c,previousNodeIds:[he],getNextNodeId:g,conditionNodeIds:R,inheritedEnabled:D});if(S.push(...de.nodes),k.push(...de.edges),de.nodes.length>0){const ge=de.nodes[0].id,Y=k.find(De=>De.source===he&&De.target===ge);Y&&(Y.sourceHandle="true");const fe=de.nodes[de.nodes.length-1].id;_.push(fe)}else _.push(he)}else _.push(he);P=[ae]}),i.default){const H=Array.isArray(i.default)?i.default:[i.default],Q=this.parseActions(H,{warnings:c,previousNodeIds:P,getNextNodeId:g,conditionNodeIds:R,inheritedEnabled:D});if(S.push(...Q.nodes),k.push(...Q.edges),P.length>0&&Q.nodes.length>0){const re=P[0],ee=Q.nodes[0].id,ae=k.find(ve=>ve.source===re&&ve.target===ee);ae&&R.has(re)&&(ae.sourceHandle="false");const he=Q.nodes[Q.nodes.length-1].id;_.push(he)}}else if($.length>0){const H=P[0];_.push(H),C.push(H)}return{nodes:S,edges:k,outputNodeIds:_,falsePathOutputIds:C}}parseIfBlock(i,a){const{warnings:c,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,falsePathConditionIds:w=new Set,triggerNodeMap:E,inheritedEnabled:S}=a,k=[],_=[],C=[],R=[],M=new Set(b),D=S===!1||i.enabled===!1?!1:void 0,B=()=>D,F=Array.isArray(i.if)?i.if:[i.if],$=[];for(let ee=0;ee<F.length;ee++){const ae=F[ee],he=g("condition");let ve;if(ae&&Array.isArray(ae.conditions)){const de=ae.condition||"and",ge=TM.includes(de)?de:"template";ve={id:he,type:"condition",position:{x:0,y:0},data:{alias:ee===0?i.alias:void 0,condition:ge,conditions:bDe(ae.conditions),enabled:B()}}}else{const de=(ae==null?void 0:ae.condition)||"numeric_state",ge=TM.includes(de)?de:"template",Y={...ae,alias:ee===0?i.alias??(ae==null?void 0:ae.alias):ae==null?void 0:ae.alias,condition:ge,enabled:B()};let fe;try{fe=Bg.parse(Y)}catch{fe={alias:ee===0?i.alias:void 0,condition:"template",value_template:JSON.stringify(ae),enabled:B()}}ve={id:he,type:"condition",position:{x:0,y:0},data:fe}}$.push(ve),k.push(ve),M.add(he)}const P=$[0].id,H=(()=>{if(i.else||F.length!==1)return null;const ee=F[0];if((ee==null?void 0:ee.condition)!=="trigger")return null;const ae=ee==null?void 0:ee.id;return typeof ae=="string"?[ae]:Array.isArray(ae)&&ae.length>0&&ae.every(he=>typeof he=="string")?ae:null})();for(const ee of d){if(H!==null&&E){const he=E.get(ee);if(he!==void 0&&!H.includes(he))continue}let ae;w.has(ee)?ae="false":M.has(ee)&&(ae="true"),_.push(this.createEdge(ee,P,ae))}for(let ee=0;ee<$.length-1;ee++)_.push(this.createEdge($[ee].id,$[ee+1].id,"true"));const Q=$[$.length-1].id;if(i.then){const ee=Array.isArray(i.then)?i.then:[i.then],ae=this.parseActions(ee,{warnings:c,previousNodeIds:[Q],getNextNodeId:g,conditionNodeIds:M,inheritedEnabled:D});if(k.push(...ae.nodes),_.push(...ae.edges),ae.nodes.length>0){const he=ae.nodes[0].id,ve=_.find(de=>de.source===Q&&de.target===he);ve&&(ve.sourceHandle="true")}C.push(...ae.terminalNodeIds)}if(i.else){const ee=Array.isArray(i.else)?i.else:[i.else],ae=this.parseActions(ee,{warnings:c,previousNodeIds:[P],getNextNodeId:g,conditionNodeIds:new Set,inheritedEnabled:D});if(k.push(...ae.nodes),ae.nodes.length>0){const he=ae.nodes[0].id,ve=ae.edges.findIndex(de=>de.source===P&&de.target===he);ve>=0&&ae.edges.splice(ve,1),_.push(this.createEdge(P,he,"false"))}_.push(...ae.edges),C.push(...ae.terminalNodeIds)}else if(H===null)for(const ee of $)C.push(ee.id),R.push(ee.id);C.length===0&&H===null&&(C.push(Q),R.push(Q));const re=H!==null&&E?d.filter(ee=>{const ae=E.get(ee);return ae===void 0||!H.includes(ae)}):[];return{nodes:k,edges:_,outputNodeIds:C,falsePathOutputIds:R,unconsumedPreviousIds:re}}createUnknownNode(i,a){const c=a;return{id:i,type:"action",position:{x:0,y:0},data:{alias:`Unknown: ${(c==null?void 0:c.service)||(c==null?void 0:c.trigger)||"Node"}`,service:(c==null?void 0:c.service)||"unknown.unknown",data:c}}}applyMetadataPositions(i,a){return i.map(c=>({...c,position:a.nodes[c.id]||c.position}))}createEdge(i,a,c){return{id:LWn(i,a),source:i,target:a,sourceHandle:c||void 0}}}class eVt{findEntryNodes(i){const a=new Set(i.edges.map(c=>c.target));return i.nodes.filter(c=>!a.has(c.id)).map(c=>c.id)}getOutgoingEdges(i,a){return i.edges.filter(c=>c.source===a)}getIncomingEdges(i,a){return i.edges.filter(c=>c.target===a)}getNode(i,a){return i.nodes.find(c=>c.id===a)}}class tKn extends eVt{constructor(){super(...arguments);Xf(this,"name","native");Xf(this,"description","Generates nested HA YAML for simple tree-shaped automations");Xf(this,"repeatPatterns",new Map);Xf(this,"repeatInternalNodeIds",new Set);Xf(this,"backEdgeIds",new Set)}canHandle(a){return a.isTree}generate(a,c){var M,D,B;const d=[];this.backEdgeIds=Nqt(a),this.repeatPatterns=this.detectRepeatPatterns(a),this.repeatInternalNodeIds=new Set;for(const F of this.repeatPatterns.values()){for(const $ of F.bodyNodeIds)this.repeatInternalNodeIds.add($);for(const $ of F.conditionNodeIds)this.repeatInternalNodeIds.add($);F.initNodeId&&this.repeatInternalNodeIds.add(F.initNodeId),F.incrementNodeId&&this.repeatInternalNodeIds.add(F.incrementNodeId)}const g=this.extractTriggers(a),w=c.entryNodes.flatMap(F=>this.getOutgoingEdges(a,F).map(P=>P.target)),E=[...new Set(w)];let S=null,k=[],_=null;if(E.length===1){const F=this.extractLeadingConditions(a,E[0]);F.conditions.length>0&&(S=F.conditions,k=F.nextNodeIds,_=F.visitedIds)}let C;if(S)k.length>0?C=k.flatMap(F=>this.buildSequenceFromNode(a,F,new Set(_))):C=[];else if(E.length===1)C=this.buildSequenceFromNode(a,E[0],new Set);else if(E.length>1){const F=this.detectOrPattern(a,E);if(F){const $=F.conditions.map(Q=>this.buildCondition(Q)),P=new Set(F.conditions.map(Q=>Q.id)),H=this.buildSequenceFromNode(a,F.convergenceNode,P);C=[{if:[{condition:"or",conditions:$}],then:H,else:F.isFromFalsePaths?[]:[]}]}else E.every(P=>{var Q;const H=a.nodes.find(re=>re.id===P);return(H==null?void 0:H.type)==="condition"&&((Q=H.data)==null?void 0:Q.condition)==="trigger"})?C=E.flatMap(P=>this.buildSequenceFromNode(a,P,new Set)):C=[{parallel:E.map(Q=>this.buildSequenceFromNode(a,Q,new Set)).filter(Q=>Q.length>0).map(Q=>Q.length===1?Q[0]:Q)}]}else C=[],d.push("No actions found after trigger nodes");const R={alias:a.name,description:a.description||"",triggers:g};return S&&S.length>0&&(R.conditions=S),R.actions=C,R.mode=((M=a.metadata)==null?void 0:M.mode)??"single",(D=a.metadata)!=null&&D.max&&(R.max=a.metadata.max),(B=a.metadata)!=null&&B.max_exceeded&&(R.max_exceeded=a.metadata.max_exceeded),{automation:R,warnings:d,strategy:this.name}}detectRepeatPatterns(a){const c=new Map;for(const d of a.edges){if(!this.backEdgeIds.has(d.id))continue;const g=this.getNode(a,d.source),b=this.getNode(a,d.target);if(!(!g||!b)){if(b.type==="condition"&&g.type!=="condition"){const w=d.target,E=d.source,S=[];let k=w;for(;k;){const M=this.getNode(a,k);if((M==null?void 0:M.type)!=="condition")break;S.push(k);const D=a.edges.find(F=>F.source===k&&F.sourceHandle==="true"&&!this.backEdgeIds.has(F.id));if(!D)break;const B=this.getNode(a,D.target);if((B==null?void 0:B.type)==="condition"&&S.indexOf(D.target)===-1)k=D.target;else break}const _=S[S.length-1],C=this.collectBodyNodes(a,_,"true",new Set(S),E),R=a.edges.find(M=>M.source===w&&M.sourceHandle==="false"&&!this.backEdgeIds.has(M.id));c.set(w,{type:"while",entryNodeId:w,conditionNodeIds:S,bodyNodeIds:C,backEdgeSourceId:E,exitNodeId:(R==null?void 0:R.target)??null})}else if(g.type==="condition"&&d.sourceHandle==="false"){const w=d.target,E=d.source,S=[];let k=E;for(;k;){const M=this.getNode(a,k);if((M==null?void 0:M.type)!=="condition")break;S.push(k);const D=a.edges.find(F=>F.source===k&&F.sourceHandle==="true"&&!this.backEdgeIds.has(F.id));if(!D)break;const B=this.getNode(a,D.target);if((B==null?void 0:B.type)==="condition"&&S.indexOf(D.target)===-1)k=D.target;else break}const _=this.collectNodesUntil(a,w,new Set(S)),C=S[S.length-1],R=a.edges.find(M=>M.source===C&&M.sourceHandle==="true"&&!this.backEdgeIds.has(M.id));c.set(w,{type:"until",entryNodeId:w,conditionNodeIds:S,bodyNodeIds:_,backEdgeSourceId:E,exitNodeId:(R==null?void 0:R.target)??null})}else if(g.type==="condition"&&d.sourceHandle==="true"){const w=d.target,E=d.source,S=[E],k=a.edges.filter(H=>H.target===E&&!this.backEdgeIds.has(H.id)),_=k.length>0?k[0].source:void 0,C=new Set([E]);_&&C.add(_);const R=this.collectNodesUntil(a,w,C),D=a.edges.filter(H=>H.target===w&&!this.backEdgeIds.has(H.id)).map(H=>H.source).find(H=>{const Q=this.getNode(a,H);return(Q==null?void 0:Q.type)==="set_variables"}),B=this.getNode(a,E);let F;if((B==null?void 0:B.type)==="condition"&&B.data.condition==="template"){const H=B.data.value_template;if(typeof H=="string"){const Q=H.match(/<\s*(\d+)\s*\}\}/);Q&&(F=Number.parseInt(Q[1],10))}}const $=a.edges.find(H=>H.source===E&&H.sourceHandle==="false"&&!this.backEdgeIds.has(H.id)),P=D??w;c.set(P,{type:"count",entryNodeId:P,conditionNodeIds:S,bodyNodeIds:R,backEdgeSourceId:E,initNodeId:D,incrementNodeId:_,count:F,exitNodeId:($==null?void 0:$.target)??null})}}}return c}collectBodyNodes(a,c,d,g,b){const w=a.edges.find(_=>_.source===c&&_.sourceHandle===d&&!this.backEdgeIds.has(_.id));if(!w)return[];const E=[],S=[w.target],k=new Set;for(;S.length>0;){const _=S.shift();if(k.has(_)||g.has(_)||(k.add(_),E.push(_),_===b))continue;const C=a.edges.filter(R=>R.source===_&&!this.backEdgeIds.has(R.id));for(const R of C)!k.has(R.target)&&!g.has(R.target)&&S.push(R.target)}return E}collectNodesUntil(a,c,d){const g=[],b=[c],w=new Set;for(;b.length>0;){const E=b.shift();if(w.has(E)||d.has(E))continue;w.add(E),g.push(E);const S=a.edges.filter(k=>k.source===E&&!this.backEdgeIds.has(k.id));for(const k of S)!w.has(k.target)&&!d.has(k.target)&&b.push(k.target)}return g}buildRepeatBlock(a,c,d){for(const w of c.conditionNodeIds)d.add(w);for(const w of c.bodyNodeIds)d.add(w);c.initNodeId&&d.add(c.initNodeId),c.incrementNodeId&&d.add(c.incrementNodeId),d.add(c.entryNodeId);const g=[];for(const w of c.bodyNodeIds){const E=this.getNode(a,w);if(E)if(E.type==="condition"){const S=a.edges.filter(C=>C.source===w&&!this.backEdgeIds.has(C.id)),k=S.find(C=>C.sourceHandle==="true"),_=S.find(C=>C.sourceHandle==="false");if(k||_){const C={if:[this.buildCondition(E)],then:[],else:[]};k&&c.bodyNodeIds.includes(k.target)&&(C.then=this.buildBodySubsequence(a,k.target,c,d)),_&&c.bodyNodeIds.includes(_.target)&&(C.else=this.buildBodySubsequence(a,_.target,c,d)),g.push(C)}else g.push(this.buildCondition(E))}else{const S=this.buildNodeAction(E);S&&g.push(S)}}let b;if(c.type==="while"){const E={repeat:{while:c.conditionNodeIds.map(S=>{var _;const k=this.getNode(a,S);return!b&&((_=k==null?void 0:k.data)!=null&&_.alias)&&(b=k.data.alias),this.buildCondition(k)}),sequence:g}};return b&&(E.alias=b),E}if(c.type==="until"){const E={repeat:{until:c.conditionNodeIds.map(S=>{const k=this.getNode(a,S);return this.buildCondition(k)}),sequence:g}};return b&&(E.alias=b),E}if(c.type==="count"){if(c.initNodeId){const E=this.getNode(a,c.initNodeId);E!=null&&E.data&&"alias"in E.data&&(b=E.data.alias)}const w={repeat:{count:c.count,sequence:g}};return b&&(w.alias=b),w}return null}buildBodySubsequence(a,c,d,g){const b=[];let w=c;for(;w&&d.bodyNodeIds.includes(w)&&!g.has(w);){g.add(w);const E=this.getNode(a,w);if(!E)break;const S=this.buildNodeAction(E);S&&b.push(S);const k=a.edges.filter(_=>_.source===w&&!this.backEdgeIds.has(_.id));w=k.length===1?k[0].target:null}return b}extractTriggers(a){return a.nodes.filter(c=>c.type==="trigger").map(c=>this.buildTrigger(c))}detectOrPattern(a,c){const d=c.map(w=>this.getNode(a,w));if(!d.every(w=>(w==null?void 0:w.type)==="condition"))return null;const g=new Set;for(const w of d){const E=a.edges.find(S=>S.source===w.id&&S.sourceHandle==="true");E&&g.add(E.target)}if(g.size===1&&d.length===c.length){const w=[...g][0];return{conditions:d,convergenceNode:w,isFromFalsePaths:!1}}const b=new Set;for(const w of d){const E=a.edges.find(S=>S.source===w.id&&S.sourceHandle==="false");E&&b.add(E.target)}if(b.size===1&&d.length===c.length){const w=[...b][0];return{conditions:d,convergenceNode:w,isFromFalsePaths:!0}}return null}extractLeadingConditions(a,c){const d=[],g=new Set;let b=c;for(;b;){const w=this.getNode(a,b);if(!w||w.type!=="condition"||this.repeatPatterns.has(b)||this.repeatInternalNodeIds.has(b))break;const S=this.getOutgoingEdges(a,b).filter(R=>!this.backEdgeIds.has(R.id)),k=S.filter(R=>R.sourceHandle==="true"),_=S.filter(R=>R.sourceHandle==="false");if(k.length>0&&_.length>0||k.length===0&&_.length===0)break;const C=this.buildCondition(w);if(w.data.alias&&(C.alias=w.data.alias),_.length>0){if(d.push({condition:"not",conditions:[C]}),g.add(b),_.length>1)return{conditions:d,nextNodeIds:_.map(R=>R.target),visitedIds:g};b=_[0].target}else{if(d.push(C),g.add(b),k.length>1)return{conditions:d,nextNodeIds:k.map(R=>R.target),visitedIds:g};b=k[0].target}}return{conditions:d,nextNodeIds:b?[b]:[],visitedIds:g}}buildTrigger(a){const c={...a.data};return Object.fromEntries(Object.entries(c).filter(([,d])=>d!==void 0&&d!==""&&d!==null))}findOrConditionSources(a,c,d,g){const b=a.edges.filter(w=>w.target===c&&w.sourceHandle===d&&!this.backEdgeIds.has(w.id)).map(w=>this.getNode(a,w.source)).filter(w=>(w==null?void 0:w.type)==="condition"&&!g.has(w.id));return b.length>1?b:[]}buildSequenceFromNode(a,c,d){if(d.has(c))return[];const g=this.getNode(a,c);if(!g)return[];const b=[],w=this.findOrConditionSources(a,c,"true",d),E=this.findOrConditionSources(a,c,"false",d);if(w.length>1){const _=w.map(M=>this.buildCondition(M));for(const M of w)d.add(M.id);d.add(c);const C=g.type==="condition"?this.buildSequenceFromNode(a,c,new Set):this.buildSequenceFromNode(a,c,new Set(d));let R;if(g.type!=="condition"){const M=this.buildNodeAction(g);R=M?[M,...C]:C}else R=C;return b.push({if:[{condition:"or",conditions:_}],then:R,else:[]}),b}if(E.length>1){const _=E.map(M=>this.buildCondition(M));for(const M of E)d.add(M.id);d.add(c);const C=g.type==="condition"?this.buildSequenceFromNode(a,c,new Set):this.buildSequenceFromNode(a,c,new Set(d));let R;if(g.type!=="condition"){const M=this.buildNodeAction(g);R=M?[M,...C]:C}else R=C;return b.push({if:[{condition:"or",conditions:_}],then:[],else:R}),b}const S=this.repeatPatterns.get(c);if(S){const _=this.buildRepeatBlock(a,S,d);if(_){if(b.push(_),S.exitNodeId){const C=this.buildSequenceFromNode(a,S.exitNodeId,new Set(d));b.push(...C)}return b}}d.add(c);const k=this.getOutgoingEdges(a,c).filter(_=>!this.backEdgeIds.has(_.id));if(g.type==="condition"){const _=[];let C=g,R=[],M=[];for(M=this.getOutgoingEdges(a,g.id).filter(P=>P.sourceHandle==="false"&&!this.backEdgeIds.has(P.id)).map(P=>P.target);(C==null?void 0:C.type)==="condition";){_.push(this.buildCondition(C));const P=this.getOutgoingEdges(a,C.id).filter(re=>re.sourceHandle==="true"&&!this.backEdgeIds.has(re.id));if(P.length===0)break;if(P.length>1){R=P.map(re=>re.target);break}const H=P[0],Q=this.getNode(a,H.target);if((Q==null?void 0:Q.type)==="condition"&&!d.has(Q.id)&&!this.repeatPatterns.has(Q.id)&&!this.repeatInternalNodeIds.has(Q.id)){const re=this.getOutgoingEdges(a,Q.id).filter(ae=>ae.sourceHandle==="false"&&!this.backEdgeIds.has(ae.id));if(re.length===0||re.length===1&&M.includes(re[0].target))C=Q,d.add(C.id);else{R=[H.target];break}}else{R=[H.target];break}}const B={alias:g.data.alias,if:_,then:[],else:[]},F=[...R,...M],$=R.length>0&&M.length>0?this.findConvergencePoint(a,F):null;if($){if(R.length>0){const H=R.flatMap(Q=>this.buildSequenceUntilNode(a,Q,$,new Set(d)));B.then=H}if(M.length>0){const H=M.flatMap(Q=>this.buildSequenceUntilNode(a,Q,$,new Set(d)));B.else=H}b.push(B);const P=this.buildSequenceFromNode(a,$,new Set(d));b.push(...P)}else{if(R.length>0){const P=R.flatMap(H=>this.buildSequenceFromNode(a,H,new Set(d)));B.then=P}if(M.length>0){const P=M.flatMap(H=>this.buildSequenceFromNode(a,H,new Set(d)));B.else=P}b.push(B)}}else{const _=this.buildNodeAction(g);if(_&&b.push(_),k.length===1){const C=this.buildSequenceFromNode(a,k[0].target,new Set(d));b.push(...C)}else if(k.length>1){const C=this.findConvergencePoint(a,k.map(R=>R.target));if(C){const M=k.map(B=>this.buildSequenceUntilNode(a,B.target,C,new Set(d))).filter(B=>B.length>0);if(M.length>0){const B=M.map(F=>F.length===1?F[0]:F);b.push({parallel:B})}const D=this.buildSequenceFromNode(a,C,new Set(d));b.push(...D)}else{const M=k.map(D=>this.buildSequenceFromNode(a,D.target,new Set(d))).filter(D=>D.length>0);if(M.length>0){const D=M.map(B=>B.length===1?B[0]:B);b.push({parallel:D})}}}}return b}findConvergencePoint(a,c){if(c.length<2)return null;const d=c.map(S=>{const k=new Set,_=[S];for(;_.length>0;){const C=_.shift();if(k.has(C))continue;k.add(C);const R=this.getOutgoingEdges(a,C);for(const M of R)_.push(M.target)}return k}),b=[...d[0]].filter(S=>d.every(k=>k.has(S)));if(b.length===0)return null;let w=null,E=Number.POSITIVE_INFINITY;for(const S of b){const k=c.map(C=>this.getShortestDistance(a,C,S)),_=Math.max(...k);_<E&&(E=_,w=S)}return w}getShortestDistance(a,c,d){if(c===d)return 0;const g=new Set,b=[{nodeId:c,distance:0}];for(;b.length>0;){const{nodeId:w,distance:E}=b.shift();if(g.has(w))continue;g.add(w);const S=this.getOutgoingEdges(a,w);for(const k of S){if(k.target===d)return E+1;g.has(k.target)||b.push({nodeId:k.target,distance:E+1})}}return Number.POSITIVE_INFINITY}buildSequenceUntilNode(a,c,d,g){if(c===d)return[];if(g.has(c))return[];g.add(c);const b=this.getNode(a,c);if(!b)return[];const w=[],E=this.buildNodeAction(b);E&&w.push(E);const S=this.getOutgoingEdges(a,c).filter(k=>!this.backEdgeIds.has(k.id));if(b.type==="condition"){const k=E,_=S.filter(R=>R.sourceHandle==="true"),C=S.filter(R=>R.sourceHandle==="false");if(_.length>0){const R=_.flatMap(M=>this.buildSequenceUntilNode(a,M.target,d,new Set(g)));k.then=R}if(C.length>0){const R=C.flatMap(M=>this.buildSequenceUntilNode(a,M.target,d,new Set(g)));k.else=R}}else if(S.length===1){if(S[0].target!==d){const k=this.buildSequenceUntilNode(a,S[0].target,d,new Set(g));w.push(...k)}}else if(S.length>1){const _=S.map(C=>this.buildSequenceUntilNode(a,C.target,d,new Set(g))).filter(C=>C.length>0);if(_.length>0){const C=_.map(R=>R.length===1?R[0]:R);w.push({parallel:C})}}return w}buildNodeAction(a){switch(a.type){case"trigger":return null;case"condition":return this.buildConditionChoose(a);case"action":return this.buildActionCall(a);case"delay":return this.buildDelay(a);case"wait":return this.buildWait(a);case"set_variables":return this.buildSetVariables(a);default:return null}}buildConditionChoose(a){const c=this.buildCondition(a);return{alias:a.data.alias,if:[c],then:[],else:[]}}mapSingleCondition(a){const{condition:c,conditions:d,alias:g,template:b,...w}=a,E={condition:c,...w};return c==="template"&&!w.value_template&&b&&(E.value_template=b),Array.isArray(d)&&d.length>0&&(E.conditions=d.map(S=>this.mapSingleCondition(S)).filter(S=>S&&(!Array.isArray(S.conditions)||S.conditions.length>0))),Object.fromEntries(Object.entries(E).filter(([,S])=>S!==void 0&&S!==""))}buildCondition(a){function c(d){if(!d||typeof d!="object")return d;const{condition:g,conditions:b,alias:w,template:E,...S}=d,k={condition:g,...S};return g==="template"&&!S.value_template&&E&&(k.value_template=E),Array.isArray(b)&&b.length>0&&(k.conditions=b.map(c).filter(_=>_&&(!Array.isArray(_.conditions)||_.conditions.length>0))),Object.fromEntries(Object.entries(k).filter(([,_])=>_!==void 0&&_!==""))}return c(a.data)}buildActionCall(a){if(OMe(a.data.data)){const D=a.data.data,B={device_id:D.device_id,domain:D.domain,type:D.type};a.data.alias&&(B.alias=a.data.alias),D.entity_id&&(B.entity_id=D.entity_id),D.subtype&&(B.subtype=D.subtype);const F=["type","device_id","domain","entity_id","subtype"];for(const[$,P]of Object.entries(D))!F.includes($)&&P!==void 0&&(B[$]=P);return a.data.enabled===!1&&(B.enabled=!1),B}if(a.data.repeat){const D=a.data.repeat,B={repeat:{...D.count!==void 0?{count:D.count}:{},...D.while?{while:D.while}:{},...D.until?{until:D.until}:{},sequence:D.sequence??[]}};return a.data.alias&&(B.alias=a.data.alias),a.data.enabled===!1&&(B.enabled=!1),B}if(typeof a.data.event=="string"&&a.data.event.trim()!==""){const D={event:a.data.event};return a.data.alias&&(D.alias=a.data.alias),a.data.event_data&&Object.keys(a.data.event_data).length>0&&(D.event_data=a.data.event_data),a.data.enabled===!1&&(D.enabled=!1),D}const{alias:c,service:d,id:g,target:b,data:w,data_template:E,response_variable:S,continue_on_error:k,enabled:_,repeat:C,...R}=a.data,M={...R,alias:c,service:d};return g&&(M.id=g),b&&(M.target=b),w&&(M.data=w),E&&(M.data_template=E),S&&(M.response_variable=S),k&&(M.continue_on_error=k),_===!1&&(M.enabled=!1),M}buildDelay(a){const{alias:c,delay:d,id:g,...b}=a.data,w={...b,alias:c,delay:d};return g&&(w.id=g),w}buildWait(a){const{alias:c,id:d,wait_template:g,wait_for_trigger:b,timeout:w,continue_on_timeout:E,...S}=a.data,k={...S,alias:c};return d&&(k.id=d),g?k.wait_template=g:b&&(k.wait_for_trigger=b.map(_=>{const C={..._};return Object.fromEntries(Object.entries(C).filter(([,R])=>R!==void 0&&R!==""&&R!==null))})),w&&(k.timeout=w),E!==void 0&&(k.continue_on_timeout=E),k}buildSetVariables(a){const{alias:c,id:d,variables:g,...b}=a.data,w={...b,variables:g};return c&&(w.alias=c),d&&(w.id=d),w}}class V7t extends eVt{constructor(){super(...arguments);Xf(this,"name","state-machine");Xf(this,"description","Generates state machine YAML for complex flows with cycles or cross-links")}canHandle(a){return!0}generate(a,c){var C,R,M,D;const d=[],g=this.buildTriggerRouting(a);if(g.size===0){d.push("No action nodes found after triggers");const B=this.extractTriggers(a);return B.length>0?{automation:{alias:a.name,description:a.description||"",triggers:B,actions:[],mode:((C=a.metadata)==null?void 0:C.mode)??"single"},warnings:d,strategy:this.name}:{script:{alias:a.name,description:a.description||"",sequence:[],mode:((R=a.metadata)==null?void 0:R.mode)??"single"},warnings:d,strategy:this.name}}const b=a.nodes.filter(B=>B.type!=="trigger").map(B=>this.generateNodeBlock(a,B)),E=[...this.generateParallelEntryBlocks(a,g),...b];if(c.hasCycles){const B=this.detectPotentialInfiniteLoop(a,c);B&&d.push(B)}const S=this.extractTriggers(a),_=[{variables:{current_node:this.generateEntryNodeExpression(g),flow_context:{}}},{alias:"State Machine Loop",repeat:{until:'{{ current_node == "END" }}',sequence:[{choose:E,default:[{service:"system_log.write",data:{message:'C.A.F.E.: Unknown state "{{ current_node }}", ending flow',level:"warning"}},{variables:{current_node:"END"}}]}]}}];return S.length>0?{automation:{alias:a.name,description:a.description||"",triggers:S,actions:_,mode:((M=a.metadata)==null?void 0:M.mode)??"single"},warnings:d,strategy:this.name}:{script:{alias:a.name,description:a.description||"",sequence:_,mode:((D=a.metadata)==null?void 0:D.mode)??"single"},warnings:d,strategy:this.name}}buildTriggerRouting(a){const c=new Map;return a.nodes.filter(g=>g.type==="trigger").forEach((g,b)=>{const w=this.getOutgoingEdges(a,g.id);w.length>0&&c.set(b,w.map(E=>E.target))}),c}getEffectiveEntryPoint(a,c){return c.length===1?c[0]:`__parallel_trigger_${a}`}generateEntryNodeExpression(a){const c=new Map;for(const[w,E]of a)c.set(w,this.getEffectiveEntryPoint(w,E));const d=new Set(c.values());if(d.size===1)return[...d][0];const g=[...c.entries()].sort((w,E)=>w[0]-E[0]),b=[];return g.forEach(([w,E],S)=>{S===0?b.push(`{% if trigger.idx == "${w}" %}${E}`):S===g.length-1?b.push(`{% else %}${E}{% endif %}`):b.push(`{% elif trigger.idx == "${w}" %}${E}`)}),g.length===1?g[0][1]:b.join("")}generateParallelEntryBlocks(a,c){const d=[];for(const[g,b]of c){if(b.length<=1)continue;const w=`__parallel_trigger_${g}`,E=b.map(S=>{const k=a.nodes.find(_=>_.id===S);return k?k.type==="action"?this.buildActionCall(k):{service:"system_log.write",data:{message:`Node: ${S}`}}:{service:"system_log.write",data:{message:`Unknown node: ${S}`}}});d.push({conditions:[{condition:"template",value_template:`{{ current_node == "${w}" }}`}],sequence:[{parallel:E},{variables:{current_node:"END"}}]})}return d}extractTriggers(a){return a.nodes.filter(c=>c.type==="trigger").map(c=>{const d={...c.data};return Object.fromEntries(Object.entries(d).filter(([,g])=>g!==void 0&&g!==""&&g!==null))})}generateNodeBlock(a,c){const d=this.getOutgoingEdges(a,c.id);switch(c.type){case"condition":return this.generateConditionBlock(c,d);case"action":return this.generateActionBlock(c,d);case"delay":return this.generateDelayBlock(c,d);case"wait":return this.generateWaitBlock(c,d);case"set_variables":return this.generateSetVariablesBlock(c,d);default:return this.generatePassthroughBlock(c,d)}}generateActionBlock(a,c){var E;const d=a.id,g=this.buildActionCall(a),b=((E=c[0])==null?void 0:E.target)??"END",w=b==="END"?"END":b;return{conditions:[{condition:"template",value_template:`{{ current_node == "${d}" }}`}],sequence:[g,{variables:{current_node:w}}]}}buildActionCall(a){if(OMe(a.data.data)){const D=a.data.data,B={device_id:D.device_id,domain:D.domain,type:D.type};a.data.alias&&(B.alias=a.data.alias),D.entity_id&&(B.entity_id=D.entity_id),D.subtype&&(B.subtype=D.subtype);const F=["type","device_id","domain","entity_id","subtype"];for(const[$,P]of Object.entries(D))!F.includes($)&&P!==void 0&&(B[$]=P);return a.data.enabled===!1&&(B.enabled=!1),B}if(a.data.repeat){const D=a.data.repeat,B={repeat:{...D.count!==void 0?{count:D.count}:{},...D.while?{while:D.while}:{},...D.until?{until:D.until}:{},sequence:D.sequence??[]}};return a.data.alias&&(B.alias=a.data.alias),a.data.enabled===!1&&(B.enabled=!1),B}if(typeof a.data.event=="string"&&a.data.event.trim()!==""){const D={event:a.data.event};return a.data.alias&&(D.alias=a.data.alias),a.data.event_data&&Object.keys(a.data.event_data).length>0&&(D.event_data=a.data.event_data),a.data.enabled===!1&&(D.enabled=!1),D}const{alias:c,service:d,id:g,target:b,data:w,data_template:E,response_variable:S,continue_on_error:k,enabled:_,repeat:C,...R}=a.data,M={...R,alias:c,service:d};return g&&(M.id=g),b&&(M.target=b),w&&(M.data=w),E&&(M.data_template=E),S&&(M.response_variable=S),k&&(M.continue_on_error=k),_===!1&&(M.enabled=!1),M}generateConditionBlock(a,c){const d=c.find(R=>R.sourceHandle==="true"),g=c.find(R=>R.sourceHandle==="false"),b=(d==null?void 0:d.target)??"END",w=(g==null?void 0:g.target)??"END",E=b==="END"?"END":b,S=w==="END"?"END":w,k=a.id;if(this.needsNativeConditionCheck(a)){const R=this.buildNativeCondition(a);return{conditions:[{condition:"template",value_template:`{{ current_node == "${k}" }}`}],sequence:[{alias:a.data.alias,if:[R],then:[{variables:{current_node:E}}],else:[{variables:{current_node:S}}]}]}}const C=this.buildConditionTemplate(a);return{conditions:[{condition:"template",value_template:`{{ current_node == "${k}" }}`}],sequence:[{alias:a.data.alias,variables:{current_node:`{% if ${C} %}${E}{% else %}${S}{% endif %}`}}]}}needsNativeConditionCheck(a){const c=a.data;return c.condition==="template"&&(c.value_template||"").includes("{%")?!0:(c.condition==="and"||c.condition==="or"||c.condition==="not")&&c.conditions?c.conditions.some(d=>d.condition==="template"?(d.value_template||"").includes("{%"):!1):!1}buildNativeCondition(a){const c=a.data,d={condition:c.condition};return c.entity_id&&(d.entity_id=c.entity_id),c.state!==void 0&&(d.state=c.state),c.above!==void 0&&(d.above=c.above),c.below!==void 0&&(d.below=c.below),c.attribute&&(d.attribute=c.attribute),c.value_template&&(d.value_template=c.value_template),c.after&&(d.after=c.after),c.before&&(d.before=c.before),c.after_offset&&(d.after_offset=c.after_offset),c.before_offset&&(d.before_offset=c.before_offset),c.zone&&(d.zone=c.zone),c.weekday&&(d.weekday=c.weekday),c.id&&(d.id=c.id),c.conditions&&c.conditions.length>0&&(d.conditions=c.conditions.map(g=>{const b={condition:g.condition};return g.entity_id&&(b.entity_id=g.entity_id),g.state!==void 0&&(b.state=g.state),g.above!==void 0&&(b.above=g.above),g.below!==void 0&&(b.below=g.below),g.attribute&&(b.attribute=g.attribute),g.value_template&&(b.value_template=g.value_template),g.template&&(b.value_template=g.template),g.after&&(b.after=g.after),g.before&&(b.before=g.before),g.after_offset&&(b.after_offset=g.after_offset),g.before_offset&&(b.before_offset=g.before_offset),g.zone&&(b.zone=g.zone),g.weekday&&(b.weekday=g.weekday),g.id&&(b.id=g.id),Object.fromEntries(Object.entries(b).filter(([,w])=>w!==void 0))})),Object.fromEntries(Object.entries(d).filter(([,g])=>g!==void 0))}generateDelayBlock(a,c){var C;const d=((C=c[0])==null?void 0:C.target)??"END",g=d==="END"?"END":d,b=a.id,{alias:w,delay:E,id:S,...k}=a.data,_={...k,alias:w,delay:E};return S&&(_.id=S),{conditions:[{condition:"template",value_template:`{{ current_node == "${b}" }}`}],sequence:[_,{variables:{current_node:g}}]}}generateWaitBlock(a,c){var D;const d=((D=c[0])==null?void 0:D.target)??"END",g=d==="END"?"END":d,b=a.id,{alias:w,id:E,wait_template:S,wait_for_trigger:k,timeout:_,continue_on_timeout:C,...R}=a.data,M={...R,alias:w};return E&&(M.id=E),S?M.wait_template=S:k&&(M.wait_for_trigger=k.map(B=>{const{alias:F,...$}=B,P={...$};return Object.fromEntries(Object.entries(P).filter(([,H])=>H!==void 0&&H!==""&&H!==null))})),_&&(M.timeout=_),C!==void 0&&(M.continue_on_timeout=C),{conditions:[{condition:"template",value_template:`{{ current_node == "${b}" }}`}],sequence:[M,{variables:{current_node:g}}]}}generateSetVariablesBlock(a,c){var C;const d=((C=c[0])==null?void 0:C.target)??"END",g=d==="END"?"END":d,b=a.id,{alias:w,id:E,variables:S,...k}=a.data,_={...k,variables:S};return w&&(_.alias=w),E&&(_.id=E),{conditions:[{condition:"template",value_template:`{{ current_node == "${b}" }}`}],sequence:[_,{variables:{current_node:g}}]}}generatePassthroughBlock(a,c){var w;const d=((w=c[0])==null?void 0:w.target)??"END",g=d==="END"?"END":d;return{conditions:[{condition:"template",value_template:`{{ current_node == "${a.id}" }}`}],sequence:[{variables:{current_node:g}}]}}buildConditionTemplate(a){const c=a.data;switch(c.condition){case"state":if(c.attribute){if(Array.isArray(c.state)){const d=c.state.map(g=>`'${g}'`).join(", ");return`state_attr('${c.entity_id}', '${c.attribute}') in [${d}]`}return`state_attr('${c.entity_id}', '${c.attribute}') == '${c.state}'`}else{if(Array.isArray(c.state)){const d=c.state.map(g=>`'${g}'`).join(", ");return`states('${c.entity_id}') in [${d}]`}return`is_state('${c.entity_id}', '${c.state}')`}case"numeric_state":return this.buildNumericCondition(c);case"template":{let d=c.value_template||"true";return d.startsWith("{{")&&d.endsWith("}}")&&(d=d.slice(2,-2).trim()),d}case"time":return this.buildTimeCondition(c);case"sun":return this.buildSunCondition(c);case"zone":return`is_state('${c.entity_id}', '${c.zone}')`;case"and":return c.conditions&&c.conditions.length>0?`(${c.conditions.map(d=>this.buildNestedCondition(d)).join(" and ")})`:"true";case"or":return c.conditions&&c.conditions.length>0?`(${c.conditions.map(d=>this.buildNestedCondition(d)).join(" or ")})`:"false";case"not":return c.conditions&&c.conditions.length>0?`not (${c.conditions.map(d=>this.buildNestedCondition(d)).join(" and ")})`:"true";default:return"true"}}buildNumericCondition(a){const c=[],d=a.value_template?`(${a.value_template})`:a.attribute?`state_attr('${a.entity_id}', '${a.attribute}') | float`:`states('${a.entity_id}') | float`;return a.above!==void 0&&c.push(`${d} > ${a.above}`),a.below!==void 0&&c.push(`${d} < ${a.below}`),c.length>0?c.join(" and "):"true"}buildTimeCondition(a){const c=[];if(a.after&&c.push(`now().strftime('%H:%M:%S') >= '${a.after}'`),a.before&&c.push(`now().strftime('%H:%M:%S') < '${a.before}'`),a.weekday&&a.weekday.length>0){const d=a.weekday.map(g=>`'${g}'`).join(", ");c.push(`now().strftime('%a').lower()[:3] in [${d}]`)}return c.length>0?c.join(" and "):"true"}buildSunCondition(a){return a.after==="sunrise"||a.before==="sunset"?"is_state('sun.sun', 'above_horizon')":a.after==="sunset"||a.before==="sunrise"?"is_state('sun.sun', 'below_horizon')":"true"}buildNestedCondition(a){const c={id:"nested",type:"condition",position:{x:0,y:0},data:a};return this.buildConditionTemplate(c)}detectPotentialInfiniteLoop(a,c){return c.hasCycles?a.nodes.some(g=>g.type==="condition")?"Note: This flow contains cycles. Ensure your conditions can eventually evaluate to break the cycle, or the automation may run indefinitely.":"Warning: This flow contains cycles but no conditions. This could result in an infinite loop. Consider adding a condition to break the cycle.":null}}class x5{constructor(){Xf(this,"strategies",[new tKn,new V7t])}validate(i){return tqn(i)}analyzeTopology(i){return YGn(i)}transpile(i,a={}){const c=[],d=this.validate(i);if(!d.success||!d.graph)return{success:!1,errors:d.errors.map(_=>_.message),warnings:c};const g=d.graph,b=this.analyzeTopology(g);let w;if(a.forceStrategy){const _=this.strategies.find(C=>C.name===a.forceStrategy);if(!_)return{success:!1,errors:[`Unknown strategy: ${a.forceStrategy}`],warnings:c};w=_,w.canHandle(b)||c.push(`Strategy "${w.name}" may not be optimal for this flow topology. Recommended: ${b.recommendedStrategy}`)}else{const _=this.strategies.find(C=>C.canHandle(b));_?w=_:w=new V7t}const E=w.generate(g,b);c.push(...E.warnings);const S=E.automation??E.script;let k;if(S&&typeof S=="object"){const _=this.generateCafeMetadata(g,w),C={...S,variables:{...g.userVariables||{},...S.variables||{},_cafe_metadata:_}};k=ise(C,{indent:a.indent??2,lineWidth:a.lineWidth??-1,quotingType:'"',forceQuotes:!1})}else k=ise(S,{indent:a.indent??2,lineWidth:a.lineWidth??-1,quotingType:'"',forceQuotes:!1});return{success:!0,yaml:k,output:E,analysis:b,warnings:c}}toYaml(i,a={}){var d;const c=this.transpile(i,a);if(!c.success)throw new Error(`Transpilation failed: ${(d=c.errors)==null?void 0:d.join(", ")}`);return c.yaml}toNativeYaml(i,a={}){return this.toYaml(i,{...a,forceStrategy:"native"})}toStateMachineYaml(i,a={}){return this.toYaml(i,{...a,forceStrategy:"state-machine"})}fromYaml(i){return new eKn().parse(i)}getStrategies(){return this.strategies.map(i=>({name:i.name,description:i.description}))}addStrategy(i){this.strategies.unshift(i)}generateCafeMetadata(i,a){const c={};for(const d of i.nodes)c[d.id]={x:d.position.x,y:d.position.y};return{version:1,nodes:c,graph_id:i.id,graph_version:i.version,strategy:a.name}}}const mDe=new x5,W7t=n=>{let i;const a=new Set,c=(S,k)=>{const _=typeof S=="function"?S(i):S;if(!Object.is(_,i)){const C=i;i=k??(typeof _!="object"||_===null)?_:Object.assign({},i,_),a.forEach(R=>R(i,C))}},d=()=>i,w={setState:c,getState:d,getInitialState:()=>E,subscribe:S=>(a.add(S),()=>a.delete(S))},E=i=n(c,d,w);return w},nKn=n=>n?W7t(n):W7t,rKn=n=>n;function iKn(n,i=rKn){const a=Hn.useSyncExternalStore(n.subscribe,Hn.useCallback(()=>i(n.getState()),[n,i]),Hn.useCallback(()=>i(n.getInitialState()),[n,i]));return Hn.useDebugValue(a),a}const oKn=n=>{const i=nKn(n),a=c=>iKn(i,c);return Object.assign(a,i),a},sKn=n=>oKn;function aKn(n,i){let a;try{a=n()}catch{return}return{getItem:d=>{var g;const b=E=>E===null?null:JSON.parse(E,void 0),w=(g=a.getItem(d))!=null?g:null;return w instanceof Promise?w.then(b):b(w)},setItem:(d,g)=>a.setItem(d,JSON.stringify(g,void 0)),removeItem:d=>a.removeItem(d)}}const wDe=n=>i=>{try{const a=n(i);return a instanceof Promise?a:{then(c){return wDe(c)(a)},catch(c){return this}}}catch(a){return{then(c){return this},catch(c){return wDe(c)(a)}}}},uKn=(n,i)=>(a,c,d)=>{let g={storage:aKn(()=>localStorage),partialize:D=>D,version:0,merge:(D,B)=>({...B,...D}),...i},b=!1;const w=new Set,E=new Set;let S=g.storage;if(!S)return n((...D)=>{console.warn(`[zustand persist middleware] Unable to update item '${g.name}', the given storage is currently unavailable.`),a(...D)},c,d);const k=()=>{const D=g.partialize({...c()});return S.setItem(g.name,{state:D,version:g.version})},_=d.setState;d.setState=(D,B)=>(_(D,B),k());const C=n((...D)=>(a(...D),k()),c,d);d.getInitialState=()=>C;let R;const M=()=>{var D,B;if(!S)return;b=!1,w.forEach($=>{var P;return $((P=c())!=null?P:C)});const F=((B=g.onRehydrateStorage)==null?void 0:B.call(g,(D=c())!=null?D:C))||void 0;return wDe(S.getItem.bind(S))(g.name).then($=>{if($)if(typeof $.version=="number"&&$.version!==g.version){if(g.migrate){const P=g.migrate($.state,$.version);return P instanceof Promise?P.then(H=>[!0,H]):[!0,P]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,$.state];return[!1,void 0]}).then($=>{var P;const[H,Q]=$;if(R=g.merge(Q,(P=c())!=null?P:C),a(R,!0),H)return k()}).then(()=>{F==null||F(R,void 0),R=c(),b=!0,E.forEach($=>$(R))}).catch($=>{F==null||F(void 0,$)})};return d.persist={setOptions:D=>{g={...g,...D},D.storage&&(S=D.storage)},clearStorage:()=>{S==null||S.removeItem(g.name)},getOptions:()=>g,rehydrate:()=>M(),hasHydrated:()=>b,onHydrate:D=>(w.add(D),()=>{w.delete(D)}),onFinishHydration:D=>(E.add(D),()=>{E.delete(D)})},g.skipHydration||M(),R||C},cKn=uKn;class lKn{constructor(i,a){Xf(this,"hass",null);Xf(this,"baseUrl");Xf(this,"token");this.hass=i||null,a!=null&&a.url&&(a!=null&&a.token)?(this.baseUrl=a.url,this.token=a.token):typeof window<"u"&&(this.baseUrl=window.location.origin)}updateHass(i,a){this.hass=i,a!=null&&a.url&&(a!=null&&a.token)?(this.baseUrl=a.url,this.token=a.token):typeof window<"u"&&!this.baseUrl&&(this.baseUrl=window.location.origin)}isConnected(){return this.hass?!!(this.hass.connection||this.hass.callApi||this.hass.callService||this.hass.states&&Object.keys(this.hass.states).length>0):!1}getStates(){return this.hass?this.hass.states:null}getState(i){const a=this.getStates();return(a==null?void 0:a[i])||null}getAutomations(){const i=this.getStates();return i?Object.values(i).filter(a=>a.entity_id.startsWith("automation.")):[]}normalizeTags(i){return Array.isArray(i)?i.filter(a=>typeof a=="string"):typeof i=="string"&&i.trim()?[i]:[]}async sendMessage(i){var a;if(!((a=this.hass)!=null&&a.connection))throw new Error("No Home Assistant connection available");return await this.hass.connection.sendMessagePromise(i)}async callService(i,a,c,d){var g,b;if((g=this.hass)!=null&&g.callService){const w={...c,...d&&{target:d}};return await this.hass.callService(i,a,w)}if((b=this.hass)!=null&&b.connection)return await this.sendMessage({type:"call_service",domain:i,service:a,service_data:c,target:d});throw new Error("No service calling method available")}async executeAction(i){if(!i.service)throw new Error("Action must have a service property");const[a,c]=i.service.split(".");if(!a||!c)throw new Error(`Invalid service format: ${i.service}`);return await this.callService(a,c,i.data,i.target)}async callAPI(i,a,c){var d;if((d=this.hass)!=null&&d.callApi)return await this.hass.callApi(i,a,c);throw new Error("REST API calls not supported in standalone mode")}async fetchRestAPI(i,a="GET",c){var b;if((b=this.hass)!=null&&b.callApi)return await this.hass.callApi(a,i,c);if(!this.baseUrl||!this.token)throw console.error("C.A.F.E.: No authentication configured",{baseUrl:this.baseUrl,hasToken:!!this.token}),new Error("No authentication configured for REST API");const d=`${this.baseUrl}/api/${i}`,g=await fetch(d,{method:a,headers:{Authorization:`Bearer ${this.token}`,"Content-Type":"application/json"},body:c?JSON.stringify(c):void 0});if(!g.ok){const w=await g.text();throw console.error("C.A.F.E.: REST API error response:",w),new Error(`REST API error: ${g.status} ${g.statusText}`)}return await g.json()}async getAutomationConfigs(){var i;try{if((i=this.hass)!=null&&i.connection)try{const c=await this.sendMessage({type:"config/automation/list"});if(Array.isArray(c))return c}catch(c){console.warn("WebSocket automation list failed, trying alternative:",c)}return this.getAutomations().map(c=>({id:c.entity_id.replace("automation.",""),alias:typeof c.attributes.friendly_name=="string"?c.attributes.friendly_name:c.entity_id,description:typeof c.attributes.description=="string"?c.attributes.description:""}))}catch(a){return console.error("Failed to get automation configs:",a),[]}}async getAutomationConfig(i){var a;try{if((a=this.hass)!=null&&a.connection)try{const d=await this.sendMessage({type:"config/automation/get",automation_id:i});if(d)return d}catch(d){console.warn("WebSocket automation get failed:",d)}if(!i.startsWith("automation.")&&!Number.isNaN(Number(i)))try{const d=await this.fetchRestAPI(`config/automation/config/${i}`);if(d)return d}catch(d){console.warn(`REST API failed for automation ${i}:`,d)}return(await this.getAutomationConfigs()).find(d=>d.id===i||d.alias===i||`automation.${d.alias}`===i)||null}catch(c){return console.error("C.A.F.E.: Failed to get automation config:",c),null}}async getAutomationConfigFromTrace(i){try{const a=await this.getAutomationTraces(i);if(!a||a.length===0)return null;const c=await this.getAutomationTraceDetails(i,a[0].run_id);return(c==null?void 0:c.config)||null}catch(a){return console.error("C.A.F.E.: Failed to get automation config from trace:",a),null}}async getAutomationConfigWithFallback(i,a){try{return await this.getAutomationConfig(i)}catch(c){return console.error("C.A.F.E.: Failed to get automation config with fallback:",c),null}}async createAutomation(i){var a,c;try{const d=i.id||Date.now().toString(),g={id:d,alias:i.alias||`C.A.F.E. Automation ${d}`,description:i.description||"",triggers:i.trigger||i.triggers||[],conditions:i.condition||i.conditions||[],actions:i.action||i.actions||[],mode:i.mode||"single",variables:i.variables||{}};try{await this.fetchRestAPI(`config/automation/config/${d}`,"POST",g)}catch(b){throw console.error("C.A.F.E.: Failed to save automation config:",b),new Error(`Failed to save automation config: ${b instanceof Error?b.message:"Unknown error"}`)}if((a=this.hass)!=null&&a.callService)return await this.hass.callService("automation","reload",{}),d;if((c=this.hass)!=null&&c.connection)return await this.sendMessage({type:"call_service",domain:"automation",service:"reload"}),d;throw new Error("No working Home Assistant connection method found")}catch(d){throw console.error("C.A.F.E.: Failed to create automation:",d),new Error(`Failed to create automation: ${d instanceof Error?d.message:"Unknown error"}`)}}async updateAutomation(i,a){try{console.log("C.A.F.E.: Updating automation with ID:",i),console.log("C.A.F.E.: Update config:",a);const c={id:i,alias:a.alias||`C.A.F.E. Automation ${i}`,description:a.description||"",triggers:a.trigger||a.triggers||[],conditions:a.condition||a.conditions||[],actions:a.action||a.actions||[],mode:a.mode||"single",variables:a.variables||{}};console.log("C.A.F.E.: Final update payload:",c),await this.fetchRestAPI(`config/automation/config/${i}`,"POST",c),console.log("C.A.F.E.: Successfully updated automation:",i)}catch(c){throw console.error("C.A.F.E.: Failed to update automation:",c),new Error(`Failed to update automation: ${c instanceof Error?c.message:"Unknown error"}`)}}async deleteAutomation(i){try{await this.fetchRestAPI(`config/automation/config/${i}`,"DELETE")}catch(a){throw console.error("C.A.F.E.: Failed to delete automation:",a),new Error(`Failed to delete automation: ${a instanceof Error?a.message:"Unknown error"}`)}}async automationExistsByAlias(i){try{return(await this.getAutomationConfigs()).some(d=>d.alias===i)}catch(a){return console.error("C.A.F.E.: Failed to check automation existence:",a),!1}}async getUniqueAutomationAlias(i){try{let a=i,c=1;for(;await this.automationExistsByAlias(a);)a=`${i} (${c})`,c++;return a}catch(a){return console.error("C.A.F.E.: Failed to get unique automation alias:",a),i}}async triggerAutomation(i,a=!0){await this.callService("automation","trigger",{entity_id:i,skip_condition:a})}async setAutomationState(i,a){const c=a?"turn_on":"turn_off";await this.callService("automation",c,{entity_id:i})}async getAreas(){try{return await this.sendMessage({type:"config/area_registry/list"})}catch(i){return console.error("Failed to get areas:",i),[]}}async getDevices(){try{return await this.sendMessage({type:"config/device_registry/list"})}catch(i){return console.error("Failed to get devices:",i),[]}}async getEntities(){try{return await this.sendMessage({type:"config/entity_registry/list"})}catch(i){return console.error("Failed to get entities:",i),[]}}async getZones(){try{const i=this.getStates();return i?Object.values(i).filter(a=>a.entity_id.startsWith("zone.")).map(a=>{const c=a.entity_id.replace("zone.","");return{entity_id:a.entity_id,zone_id:c,name:typeof a.attributes.friendly_name=="string"?a.attributes.friendly_name:c,latitude:typeof a.attributes.latitude=="number"?a.attributes.latitude:void 0,longitude:typeof a.attributes.longitude=="number"?a.attributes.longitude:void 0,radius:typeof a.attributes.radius=="number"?a.attributes.radius:void 0,passive:typeof a.attributes.passive=="boolean"?a.attributes.passive:void 0}}):[]}catch(i){return console.error("Failed to get zones:",i),[]}}async getAutomationCatalog(){try{const[i]=await Promise.all([this.getEntities()]),a=Array.isArray(i)?i:[],c=new Map;for(const d of a)d.entity_id&&d.area_id&&c.set(d.entity_id,d.area_id);return this.getAutomations().map(d=>{const g=typeof d.attributes.friendly_name=="string"?d.attributes.friendly_name:d.entity_id,b=typeof d.attributes.id=="string"||typeof d.attributes.id=="number"?String(d.attributes.id):d.entity_id.replace("automation.","");return{entity_id:d.entity_id,automation_id:b,friendly_name:g,enabled:d.state==="on",last_triggered:typeof d.attributes.last_triggered=="string"?d.attributes.last_triggered:void 0,description:typeof d.attributes.description=="string"?d.attributes.description:"",mode:typeof d.attributes.mode=="string"?d.attributes.mode:void 0,area_id:c.get(d.entity_id),tags:this.normalizeTags(d.attributes.tags)}})}catch(i){return console.error("Failed to build automation catalog:",i),[]}}async getAutomationConfigsBatch(i,a=4){const c=Array.from(new Set(i.filter(Boolean))),d={};if(c.length===0)return d;const g=[...c],b=Math.max(1,Math.min(a,g.length)),w=Array.from({length:b}).map(async()=>{for(;g.length>0;){const E=g.shift();if(E)try{d[E]=await this.getAutomationConfigWithFallback(E)}catch(S){console.warn(`Failed to fetch automation config for ${E}:`,S),d[E]=null}}});return await Promise.all(w),d}async getServices(){try{return await this.sendMessage({type:"get_services"})}catch(i){return console.error("Failed to get services:",i),{}}}async validateAutomationConfig(i){try{return await this.sendMessage({type:"validate_config",...i})}catch(a){return console.error("Failed to validate config:",a),{valid:!1,error:"Validation failed"}}}async getAutomationTraces(i){try{const a=await this.sendMessage({type:"trace/list",domain:"automation",item_id:i});return Array.isArray(a)?a:[]}catch(a){return console.error("Failed to get automation traces:",a),[]}}async getAutomationTraceDetails(i,a){try{return await this.sendMessage({type:"trace/get",domain:"automation",item_id:i,run_id:a})||null}catch(c){return console.error("Failed to get automation trace details:",c),null}}}let wM=null;function Lv(n,i){return wM?n&&(!wM.hass||!wM.isConnected()||n.states&&Object.keys(n.states).length>0)&&wM.updateHass(n??null,i):wM=new lKn(n,i),wM}function tVt(n){var i,a,c="";if(typeof n=="string"||typeof n=="number")c+=n;else if(typeof n=="object")if(Array.isArray(n)){var d=n.length;for(i=0;i<d;i++)n[i]&&(a=tVt(n[i]))&&(c&&(c+=" "),c+=a)}else for(a in n)n[a]&&(c&&(c+=" "),c+=a);return c}function nVt(){for(var n,i,a=0,c="",d=arguments.length;a<d;a++)(n=arguments[a])&&(i=tVt(n))&&(c&&(c+=" "),c+=i);return c}const r5e="-",dKn=n=>{const i=hKn(n),{conflictingClassGroups:a,conflictingClassGroupModifiers:c}=n;return{getClassGroupId:b=>{const w=b.split(r5e);return w[0]===""&&w.length!==1&&w.shift(),rVt(w,i)||fKn(b)},getConflictingClassGroupIds:(b,w)=>{const E=a[b]||[];return w&&c[b]?[...E,...c[b]]:E}}},rVt=(n,i)=>{var b;if(n.length===0)return i.classGroupId;const a=n[0],c=i.nextPart.get(a),d=c?rVt(n.slice(1),c):void 0;if(d)return d;if(i.validators.length===0)return;const g=n.join(r5e);return(b=i.validators.find(({validator:w})=>w(g)))==null?void 0:b.classGroupId},K7t=/^\[(.+)\]$/,fKn=n=>{if(K7t.test(n)){const i=K7t.exec(n)[1],a=i==null?void 0:i.substring(0,i.indexOf(":"));if(a)return"arbitrary.."+a}},hKn=n=>{const{theme:i,prefix:a}=n,c={nextPart:new Map,validators:[]};return gKn(Object.entries(n.classGroups),a).forEach(([g,b])=>{yDe(b,c,g,i)}),c},yDe=(n,i,a,c)=>{n.forEach(d=>{if(typeof d=="string"){const g=d===""?i:Y7t(i,d);g.classGroupId=a;return}if(typeof d=="function"){if(pKn(d)){yDe(d(c),i,a,c);return}i.validators.push({validator:d,classGroupId:a});return}Object.entries(d).forEach(([g,b])=>{yDe(b,Y7t(i,g),a,c)})})},Y7t=(n,i)=>{let a=n;return i.split(r5e).forEach(c=>{a.nextPart.has(c)||a.nextPart.set(c,{nextPart:new Map,validators:[]}),a=a.nextPart.get(c)}),a},pKn=n=>n.isThemeGetter,gKn=(n,i)=>i?n.map(([a,c])=>{const d=c.map(g=>typeof g=="string"?i+g:typeof g=="object"?Object.fromEntries(Object.entries(g).map(([b,w])=>[i+b,w])):g);return[a,d]}):n,bKn=n=>{if(n<1)return{get:()=>{},set:()=>{}};let i=0,a=new Map,c=new Map;const d=(g,b)=>{a.set(g,b),i++,i>n&&(i=0,c=a,a=new Map)};return{get(g){let b=a.get(g);if(b!==void 0)return b;if((b=c.get(g))!==void 0)return d(g,b),b},set(g,b){a.has(g)?a.set(g,b):d(g,b)}}},iVt="!",mKn=n=>{const{separator:i,experimentalParseClassName:a}=n,c=i.length===1,d=i[0],g=i.length,b=w=>{const E=[];let S=0,k=0,_;for(let B=0;B<w.length;B++){let F=w[B];if(S===0){if(F===d&&(c||w.slice(B,B+g)===i)){E.push(w.slice(k,B)),k=B+g;continue}if(F==="/"){_=B;continue}}F==="["?S++:F==="]"&&S--}const C=E.length===0?w:w.substring(k),R=C.startsWith(iVt),M=R?C.substring(1):C,D=_&&_>k?_-k:void 0;return{modifiers:E,hasImportantModifier:R,baseClassName:M,maybePostfixModifierPosition:D}};return a?w=>a({className:w,parseClassName:b}):b},wKn=n=>{if(n.length<=1)return n;const i=[];let a=[];return n.forEach(c=>{c[0]==="["?(i.push(...a.sort(),c),a=[]):a.push(c)}),i.push(...a.sort()),i},yKn=n=>({cache:bKn(n.cacheSize),parseClassName:mKn(n),...dKn(n)}),vKn=/\s+/,EKn=(n,i)=>{const{parseClassName:a,getClassGroupId:c,getConflictingClassGroupIds:d}=i,g=[],b=n.trim().split(vKn);let w="";for(let E=b.length-1;E>=0;E-=1){const S=b[E],{modifiers:k,hasImportantModifier:_,baseClassName:C,maybePostfixModifierPosition:R}=a(S);let M=!!R,D=c(M?C.substring(0,R):C);if(!D){if(!M){w=S+(w.length>0?" "+w:w);continue}if(D=c(C),!D){w=S+(w.length>0?" "+w:w);continue}M=!1}const B=wKn(k).join(":"),F=_?B+iVt:B,$=F+D;if(g.includes($))continue;g.push($);const P=d(D,M);for(let H=0;H<P.length;++H){const Q=P[H];g.push(F+Q)}w=S+(w.length>0?" "+w:w)}return w};function SKn(){let n=0,i,a,c="";for(;n<arguments.length;)(i=arguments[n++])&&(a=oVt(i))&&(c&&(c+=" "),c+=a);return c}const oVt=n=>{if(typeof n=="string")return n;let i,a="";for(let c=0;c<n.length;c++)n[c]&&(i=oVt(n[c]))&&(a&&(a+=" "),a+=i);return a};function TKn(n,...i){let a,c,d,g=b;function b(E){const S=i.reduce((k,_)=>_(k),n());return a=yKn(S),c=a.cache.get,d=a.cache.set,g=w,w(E)}function w(E){const S=c(E);if(S)return S;const k=EKn(E,a);return d(E,k),k}return function(){return g(SKn.apply(null,arguments))}}const uc=n=>{const i=a=>a[n]||[];return i.isThemeGetter=!0,i},sVt=/^\[(?:([a-z-]+):)?(.+)\]$/i,AKn=/^\d+\/\d+$/,_Kn=new Set(["px","full","screen"]),kKn=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xKn=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,NKn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,CKn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,IKn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tA=n=>r5(n)||_Kn.has(n)||AKn.test(n),Ix=n=>U5(n,"length",FKn),r5=n=>!!n&&!Number.isNaN(Number(n)),wOe=n=>U5(n,"number",r5),$U=n=>!!n&&Number.isInteger(Number(n)),RKn=n=>n.endsWith("%")&&r5(n.slice(0,-1)),Ko=n=>sVt.test(n),Rx=n=>kKn.test(n),OKn=new Set(["length","size","percentage"]),DKn=n=>U5(n,OKn,aVt),LKn=n=>U5(n,"position",aVt),MKn=new Set(["image","url"]),PKn=n=>U5(n,MKn,BKn),jKn=n=>U5(n,"",$Kn),BU=()=>!0,U5=(n,i,a)=>{const c=sVt.exec(n);return c?c[1]?typeof i=="string"?c[1]===i:i.has(c[1]):a(c[2]):!1},FKn=n=>xKn.test(n)&&!NKn.test(n),aVt=()=>!1,$Kn=n=>CKn.test(n),BKn=n=>IKn.test(n),UKn=()=>{const n=uc("colors"),i=uc("spacing"),a=uc("blur"),c=uc("brightness"),d=uc("borderColor"),g=uc("borderRadius"),b=uc("borderSpacing"),w=uc("borderWidth"),E=uc("contrast"),S=uc("grayscale"),k=uc("hueRotate"),_=uc("invert"),C=uc("gap"),R=uc("gradientColorStops"),M=uc("gradientColorStopPositions"),D=uc("inset"),B=uc("margin"),F=uc("opacity"),$=uc("padding"),P=uc("saturate"),H=uc("scale"),Q=uc("sepia"),re=uc("skew"),ee=uc("space"),ae=uc("translate"),he=()=>["auto","contain","none"],ve=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",Ko,i],ge=()=>[Ko,i],Y=()=>["",tA,Ix],fe=()=>["auto",r5,Ko],De=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Se=()=>["solid","dashed","dotted","double","none"],$e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Te=()=>["start","end","center","between","around","evenly","stretch"],ke=()=>["","0",Ko],Je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],bt=()=>[r5,Ko];return{cacheSize:500,separator:":",theme:{colors:[BU],spacing:[tA,Ix],blur:["none","",Rx,Ko],brightness:bt(),borderColor:[n],borderRadius:["none","","full",Rx,Ko],borderSpacing:ge(),borderWidth:Y(),contrast:bt(),grayscale:ke(),hueRotate:bt(),invert:ke(),gap:ge(),gradientColorStops:[n],gradientColorStopPositions:[RKn,Ix],inset:de(),margin:de(),opacity:bt(),padding:ge(),saturate:bt(),scale:bt(),sepia:ke(),skew:bt(),space:ge(),translate:ge()},classGroups:{aspect:[{aspect:["auto","square","video",Ko]}],container:["container"],columns:[{columns:[Rx]}],"break-after":[{"break-after":Je()}],"break-before":[{"break-before":Je()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...De(),Ko]}],overflow:[{overflow:ve()}],"overflow-x":[{"overflow-x":ve()}],"overflow-y":[{"overflow-y":ve()}],overscroll:[{overscroll:he()}],"overscroll-x":[{"overscroll-x":he()}],"overscroll-y":[{"overscroll-y":he()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[D]}],"inset-x":[{"inset-x":[D]}],"inset-y":[{"inset-y":[D]}],start:[{start:[D]}],end:[{end:[D]}],top:[{top:[D]}],right:[{right:[D]}],bottom:[{bottom:[D]}],left:[{left:[D]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",$U,Ko]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ko]}],grow:[{grow:ke()}],shrink:[{shrink:ke()}],order:[{order:["first","last","none",$U,Ko]}],"grid-cols":[{"grid-cols":[BU]}],"col-start-end":[{col:["auto",{span:["full",$U,Ko]},Ko]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[BU]}],"row-start-end":[{row:["auto",{span:[$U,Ko]},Ko]}],"row-start":[{"row-start":fe()}],"row-end":[{"row-end":fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ko]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ko]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...Te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[$]}],px:[{px:[$]}],py:[{py:[$]}],ps:[{ps:[$]}],pe:[{pe:[$]}],pt:[{pt:[$]}],pr:[{pr:[$]}],pb:[{pb:[$]}],pl:[{pl:[$]}],m:[{m:[B]}],mx:[{mx:[B]}],my:[{my:[B]}],ms:[{ms:[B]}],me:[{me:[B]}],mt:[{mt:[B]}],mr:[{mr:[B]}],mb:[{mb:[B]}],ml:[{ml:[B]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ko,i]}],"min-w":[{"min-w":[Ko,i,"min","max","fit"]}],"max-w":[{"max-w":[Ko,i,"none","full","min","max","fit","prose",{screen:[Rx]},Rx]}],h:[{h:[Ko,i,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ko,i,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ko,i,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ko,i,"auto","min","max","fit"]}],"font-size":[{text:["base",Rx,Ix]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",wOe]}],"font-family":[{font:[BU]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ko]}],"line-clamp":[{"line-clamp":["none",r5,wOe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tA,Ko]}],"list-image":[{"list-image":["none",Ko]}],"list-style-type":[{list:["none","disc","decimal",Ko]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[F]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",tA,Ix]}],"underline-offset":[{"underline-offset":["auto",tA,Ko]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ge()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ko]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ko]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[F]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...De(),LKn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",DKn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},PKn]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],rounded:[{rounded:[g]}],"rounded-s":[{"rounded-s":[g]}],"rounded-e":[{"rounded-e":[g]}],"rounded-t":[{"rounded-t":[g]}],"rounded-r":[{"rounded-r":[g]}],"rounded-b":[{"rounded-b":[g]}],"rounded-l":[{"rounded-l":[g]}],"rounded-ss":[{"rounded-ss":[g]}],"rounded-se":[{"rounded-se":[g]}],"rounded-ee":[{"rounded-ee":[g]}],"rounded-es":[{"rounded-es":[g]}],"rounded-tl":[{"rounded-tl":[g]}],"rounded-tr":[{"rounded-tr":[g]}],"rounded-br":[{"rounded-br":[g]}],"rounded-bl":[{"rounded-bl":[g]}],"border-w":[{border:[w]}],"border-w-x":[{"border-x":[w]}],"border-w-y":[{"border-y":[w]}],"border-w-s":[{"border-s":[w]}],"border-w-e":[{"border-e":[w]}],"border-w-t":[{"border-t":[w]}],"border-w-r":[{"border-r":[w]}],"border-w-b":[{"border-b":[w]}],"border-w-l":[{"border-l":[w]}],"border-opacity":[{"border-opacity":[F]}],"border-style":[{border:[...Se(),"hidden"]}],"divide-x":[{"divide-x":[w]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[w]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[F]}],"divide-style":[{divide:Se()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...Se()]}],"outline-offset":[{"outline-offset":[tA,Ko]}],"outline-w":[{outline:[tA,Ix]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[F]}],"ring-offset-w":[{"ring-offset":[tA,Ix]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Rx,jKn]}],"shadow-color":[{shadow:[BU]}],opacity:[{opacity:[F]}],"mix-blend":[{"mix-blend":[...$e(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$e()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[c]}],contrast:[{contrast:[E]}],"drop-shadow":[{"drop-shadow":["","none",Rx,Ko]}],grayscale:[{grayscale:[S]}],"hue-rotate":[{"hue-rotate":[k]}],invert:[{invert:[_]}],saturate:[{saturate:[P]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[c]}],"backdrop-contrast":[{"backdrop-contrast":[E]}],"backdrop-grayscale":[{"backdrop-grayscale":[S]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[k]}],"backdrop-invert":[{"backdrop-invert":[_]}],"backdrop-opacity":[{"backdrop-opacity":[F]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[b]}],"border-spacing-x":[{"border-spacing-x":[b]}],"border-spacing-y":[{"border-spacing-y":[b]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ko]}],duration:[{duration:bt()}],ease:[{ease:["linear","in","out","in-out",Ko]}],delay:[{delay:bt()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ko]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-y":[{"scale-y":[H]}],rotate:[{rotate:[$U,Ko]}],"translate-x":[{"translate-x":[ae]}],"translate-y":[{"translate-y":[ae]}],"skew-x":[{"skew-x":[re]}],"skew-y":[{"skew-y":[re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ko]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ko]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ge()}],"scroll-mx":[{"scroll-mx":ge()}],"scroll-my":[{"scroll-my":ge()}],"scroll-ms":[{"scroll-ms":ge()}],"scroll-me":[{"scroll-me":ge()}],"scroll-mt":[{"scroll-mt":ge()}],"scroll-mr":[{"scroll-mr":ge()}],"scroll-mb":[{"scroll-mb":ge()}],"scroll-ml":[{"scroll-ml":ge()}],"scroll-p":[{"scroll-p":ge()}],"scroll-px":[{"scroll-px":ge()}],"scroll-py":[{"scroll-py":ge()}],"scroll-ps":[{"scroll-ps":ge()}],"scroll-pe":[{"scroll-pe":ge()}],"scroll-pt":[{"scroll-pt":ge()}],"scroll-pr":[{"scroll-pr":ge()}],"scroll-pb":[{"scroll-pb":ge()}],"scroll-pl":[{"scroll-pl":ge()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ko]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[tA,Ix,wOe]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},HKn=TKn(UKn);function kr(...n){return HKn(nVt(n))}function i5e(){return typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,n=>{const i=Math.random()*16|0;return(n==="x"?i:i&3|8).toString(16)})}let zKn=0;function o5e(n){return`${n}_${Date.now()}_${zKn++}`}class s5e{constructor(i,a,c=1){Xf(this,"dbName");Xf(this,"storeName");Xf(this,"dbVersion");Xf(this,"dbPromise",null);this.dbName=i,this.storeName=a,this.dbVersion=c}async initDB(){return this.dbPromise?this.dbPromise:(this.dbPromise=new Promise((i,a)=>{const c=indexedDB.open(this.dbName,this.dbVersion);c.onerror=d=>{console.error("IndexedDB error:",d),a(new Error("Failed to open IndexedDB database"))},c.onsuccess=d=>{const g=d.target.result;i(g)},c.onupgradeneeded=d=>{const g=d.target.result;g.objectStoreNames.contains(this.storeName)||g.createObjectStore(this.storeName)}}),this.dbPromise)}async getItem(i){try{const g=(await this.initDB()).transaction(this.storeName,"readonly").objectStore(this.storeName).get(i);return new Promise((b,w)=>{g.onsuccess=()=>{const E=g.result;b(E??null)},g.onerror=()=>{w(new Error("Failed to get item from IndexedDB"))}})}catch(a){return console.error("IndexedDB getItem error:",a),null}}async setItem(i,a){try{const b=(await this.initDB()).transaction(this.storeName,"readwrite").objectStore(this.storeName).put(a,i);return new Promise((w,E)=>{b.onsuccess=()=>w(),b.onerror=()=>E(new Error("Failed to set item in IndexedDB"))})}catch(c){throw console.error("IndexedDB setItem error:",c),c}}async removeItem(i){try{const g=(await this.initDB()).transaction(this.storeName,"readwrite").objectStore(this.storeName).delete(i);return new Promise((b,w)=>{g.onsuccess=()=>b(),g.onerror=()=>w(new Error("Failed to remove item from IndexedDB"))})}catch(a){throw console.error("IndexedDB removeItem error:",a),a}}static createJSONStorage(i,a){if(!("indexedDB"in globalThis)){const d=new Map;return{getItem:async g=>{const b=d.get(g)??null;return b?JSON.parse(b):null},setItem:async(g,b)=>{d.set(g,JSON.stringify(b))},removeItem:async g=>{d.delete(g)}}}const c=new s5e(i,a);return{getItem:async d=>{const g=await c.getItem(d);return g?JSON.parse(g):null},setItem:async(d,g)=>{await c.setItem(d,JSON.stringify(g))},removeItem:async d=>{await c.removeItem(d)}}}}const GKn=s5e.createJSONStorage("cafe-flow-storage","flow-store");function qKn(n){if("platform"in n&&!("trigger"in n)){const{platform:i,...a}=n;return{...a,trigger:i}}return n}function yOe(n,i){return n==="trigger"?qKn(i):i}const vDe={mode:"single",initial_state:!0},J7t={flowId:i5e(),flowName:"Untitled Automation",flowDescription:"",flowMetadata:vDe,nodes:[],edges:[],selectedNodeId:null,automationId:null,isSaving:!1,lastSaved:null,hasUnsavedChanges:!1,originalSnapshot:null,isSimulating:!1,activeNodeId:null,executionPath:[],isShowingTrace:!1,traceData:null,traceExecutionPath:[],traceTimestamps:{},simulationSpeed:800,nodeErrors:new Map,clipboard:null,pasteCount:0},VKn=n=>({flowId:n.flowId,flowName:n.flowName,flowDescription:n.flowDescription,flowMetadata:n.flowMetadata,nodes:n.nodes,edges:n.edges,selectedNodeId:n.selectedNodeId,automationId:n.automationId,lastSaved:n.lastSaved,originalSnapshot:n.originalSnapshot}),ds=sKn()(cKn((n,i)=>({...J7t,setNodes:a=>n({nodes:a}),setEdges:a=>n({edges:a}),onNodesChange:a=>n(c=>({nodes:mzt(a,c.nodes),hasUnsavedChanges:!0})),onEdgesChange:a=>n(c=>({edges:wzt(a,c.edges),hasUnsavedChanges:!0})),onConnect:a=>n(c=>({edges:JHt({...a,id:`e-${a.source}-${a.target}-${Date.now()}`,animated:!1},c.edges),hasUnsavedChanges:!0})),addNode:a=>{const c=a.type?{...a,data:yOe(a.type,a.data)}:a;n(d=>({nodes:[...d.nodes,c],hasUnsavedChanges:!0})),i().validateNode(a.id)},updateNodeData:(a,c)=>{n(d=>({nodes:d.nodes.map(g=>g.id===a?{...g,data:{...g.data,...c}}:g),hasUnsavedChanges:!0})),i().validateNode(a)},removeNode:a=>n(c=>({nodes:c.nodes.filter(d=>d.id!==a),edges:c.edges.filter(d=>d.source!==a&&d.target!==a),selectedNodeId:c.selectedNodeId===a?null:c.selectedNodeId,hasUnsavedChanges:!0})),selectNode:a=>n({selectedNodeId:a}),setClipboard:a=>n({clipboard:a}),setPasteCount:a=>n({pasteCount:a}),setFlowName:a=>n({flowName:a,hasUnsavedChanges:!0}),setFlowDescription:a=>n({flowDescription:a,hasUnsavedChanges:!0}),setFlowMetadata:a=>n(c=>({flowMetadata:{...c.flowMetadata,...a},hasUnsavedChanges:!0})),setAutomationId:a=>n({automationId:a}),setSaving:a=>n({isSaving:a}),setSaved:()=>n({lastSaved:new Date,hasUnsavedChanges:!1}),setUnsavedChanges:a=>n({hasUnsavedChanges:a}),hasRealChanges:()=>{const a=i();return a.originalSnapshot?JSON.stringify({flowName:a.flowName,flowDescription:a.flowDescription,flowMetadata:a.flowMetadata,nodes:a.nodes.map(d=>({id:d.id,type:d.type,position:d.position,data:d.data})),edges:a.edges.map(d=>({id:d.id,source:d.source,target:d.target,sourceHandle:d.sourceHandle,targetHandle:d.targetHandle}))})!==a.originalSnapshot:a.nodes.length>0},saveAutomation:async a=>{var g;const c=i(),d=Lv(a);n({isSaving:!0});try{i().validateAllNodes();const b=i();if(b.nodeErrors.size>0){const D=b.nodeErrors.size;throw new Error(`Cannot save: ${D} node(s) have validation errors. Fix the highlighted nodes before saving.`)}const w=c.toFlowGraph();if(w.nodes.length===0)throw new Error("Cannot save empty automation. Please add at least one trigger and one action node.");const E=w.nodes.filter(D=>D.type==="trigger"),S=w.nodes.filter(D=>D.type==="action");if(E.length===0)throw new Error("Automation must have at least one trigger node. Please add a trigger from the node palette.");if(S.length===0)throw new Error("Automation must have at least one action node. Please add an action from the node palette.");const k=new x5,_=k.validate(w);if(_.errors.length>0)throw console.error("C.A.F.E.: Validation errors:",_.errors),new Error(`Validation failed: ${_.errors.map(D=>D.message).join(", ")}`);const C=k.transpile(w);if(!C.success||!((g=C.output)!=null&&g.automation))throw new Error("Failed to transpile flow to automation config");const R={alias:c.flowName,description:c.flowDescription||"",...C.output.automation,variables:{...C.output.automation.variables||{},_cafe_metadata:{version:1,strategy:"native",nodes:w.nodes.reduce((D,B)=>(D[B.id]={x:B.position.x,y:B.position.y},D),{}),graph_id:w.id,graph_version:1}}},M=await d.createAutomation(R);return n({automationId:M,isSaving:!1,lastSaved:new Date,hasUnsavedChanges:!1}),M}catch(b){throw n({isSaving:!1}),b}},updateAutomation:async a=>{var g;const c=i(),d=Lv(a);if(!c.automationId)throw new Error("No automation ID set. Use saveAutomation() for new automations.");console.log("C.A.F.E.: Updating automation with ID from store:",c.automationId),n({isSaving:!0});try{i().validateAllNodes();const b=i();if(b.nodeErrors.size>0){const M=b.nodeErrors.size;throw new Error(`Cannot save: ${M} node(s) have validation errors. Fix the highlighted nodes before saving.`)}const w=c.toFlowGraph();if(w.nodes.length===0)throw new Error("Cannot save empty automation. Please add at least one trigger and one action node.");const E=w.nodes.filter(M=>M.type==="trigger"),S=w.nodes.filter(M=>M.type==="action");if(E.length===0)throw new Error("Automation must have at least one trigger node. Please add a trigger from the node palette.");if(S.length===0)throw new Error("Automation must have at least one action node. Please add an action from the node palette.");const k=new x5,_=k.validate(w);if(_.errors.length>0)throw new Error(`Validation failed: ${_.errors.map(M=>M.message).join(", ")}`);const C=k.transpile(w);if(!C.success||!((g=C.output)!=null&&g.automation))throw new Error("Failed to transpile flow to automation config");const R={alias:c.flowName,description:c.flowDescription||"",...C.output.automation,variables:{...C.output.automation.variables||{},_cafe_metadata:{version:1,strategy:"native",nodes:w.nodes.reduce((M,D)=>(M[D.id]={x:D.position.x,y:D.position.y},M),{}),graph_id:w.id,graph_version:1}}};await d.updateAutomation(c.automationId,R),n({isSaving:!1,lastSaved:new Date,hasUnsavedChanges:!1})}catch(b){throw n({isSaving:!1}),b}},startSimulation:()=>n({isSimulating:!0,executionPath:[],activeNodeId:null}),stopSimulation:()=>n({isSimulating:!1,activeNodeId:null}),setActiveNode:a=>n({activeNodeId:a}),addToExecutionPath:a=>n(c=>({executionPath:[...c.executionPath,a]})),clearExecutionPath:()=>n({executionPath:[]}),showTrace:a=>{const c=[],d={};if(a!=null&&a.trace){const g=i(),b={trigger:[],condition:[],action:[],wait:[],delay:[]};for(const E of g.nodes){const S=E.type;b[S]&&b[S].push(E)}for(const E in b)b[E].sort((S,k)=>S.position.y-k.position.y);const w=Object.entries(a.trace).flatMap(([E,S])=>Array.isArray(S)?S.map(k=>({...k,path:E})):[]).sort((E,S)=>new Date(E.timestamp).getTime()-new Date(S.timestamp).getTime());for(const E of w){const S=E.path.split("/"),k=S[0],_=parseInt(S[1],10),C=b[k]||[];if(C[_]){const R=C[_].id;c.includes(R)||(c.push(R),d[R]=E.timestamp)}}}n({isShowingTrace:!0,traceData:a,traceExecutionPath:c,traceTimestamps:d,activeNodeId:null})},hideTrace:()=>n({isShowingTrace:!1,traceData:null,traceExecutionPath:[],traceTimestamps:{},activeNodeId:null}),clearTraceExecutionPath:()=>n({traceExecutionPath:[],traceTimestamps:{}}),setSimulationSpeed:a=>n({simulationSpeed:a}),getExecutionStepNumber:a=>{const c=i();if(c.isSimulating&&c.executionPath.length>0){const d=c.executionPath.indexOf(a);return d>=0?d+1:null}if(c.isShowingTrace&&c.traceExecutionPath.length>0){const d=c.traceExecutionPath.indexOf(a);return d>=0?d+1:null}return null},canDeleteEdge:()=>!0,toFlowGraph:()=>{const a=i(),c=new Set(a.nodes.map(d=>d.id));return{id:a.flowId,name:a.flowName,description:a.flowDescription||void 0,nodes:a.nodes.map(d=>{const g={...d.data};return d.type==="trigger"&&!g.trigger&&(console.warn(`C.A.F.E.: Trigger node ${d.id} missing trigger type, adding default 'state'`),g.trigger="state"),d.type==="action"&&!g.service&&(console.warn(`C.A.F.E.: Action node ${d.id} missing service, adding default 'light.turn_on'`),g.service="light.turn_on"),{id:d.id,type:d.type,position:d.position,data:g}}),edges:a.edges.filter(d=>c.has(d.source)&&c.has(d.target)).map(d=>({id:d.id,source:d.source,target:d.target,sourceHandle:d.sourceHandle,targetHandle:d.targetHandle,label:typeof d.label=="string"?d.label:void 0})),metadata:a.flowMetadata,version:1}},fromFlowGraph:a=>{const c=a.nodes.map(w=>({id:w.id,type:w.type,position:w.position,data:yOe(w.type,w.data)})),d=a.edges.map(w=>({id:w.id,source:w.source,target:w.target,sourceHandle:w.sourceHandle,targetHandle:w.targetHandle,label:w.label})),g={...vDe,...a.metadata},b=JSON.stringify({flowName:a.name,flowDescription:a.description||"",flowMetadata:g,nodes:c.map(w=>({id:w.id,type:w.type,position:w.position,data:w.data})),edges:d.map(w=>({id:w.id,source:w.source,target:w.target,sourceHandle:w.sourceHandle,targetHandle:w.targetHandle}))});n({flowId:a.id,flowName:a.name,flowDescription:a.description||"",flowMetadata:g,nodes:c,edges:d,selectedNodeId:null,automationId:null,hasUnsavedChanges:!1,lastSaved:null,originalSnapshot:b,nodeErrors:new Map}),i().validateAllNodes()},reset:()=>n({...J7t,flowId:i5e(),flowMetadata:{...vDe},originalSnapshot:null,nodeErrors:new Map}),validateNode:a=>{const d=i().nodes.find(b=>b.id===a);if(!d||!d.type)return;const g=H9t(d.type,d.data);n(b=>{const w=new Map(b.nodeErrors);return g.length>0?w.set(a,g):w.delete(a),{nodeErrors:w}})},validateAllNodes:()=>{const a=i(),c=new Map;for(const d of a.nodes){if(!d.type)continue;const g=H9t(d.type,d.data);g.length>0&&c.set(d.id,g)}n({nodeErrors:c})},clearNodeErrors:a=>{n(c=>{const d=new Map(c.nodeErrors);return d.delete(a),{nodeErrors:d}})},hasValidationErrors:()=>i().nodeErrors.size>0}),{name:"cafe-flow-storage",storage:GKn,partialize:VKn,version:1,onRehydrateStorage:()=>n=>{if(n){const i=n.nodes.map(c=>({...c,data:c.type?yOe(c.type,c.data):c.data}));i.some((c,d)=>JSON.stringify(c.data)!==JSON.stringify(n.nodes[d].data))&&(n.nodes=i),n.validateAllNodes()}}}));function WKn({id:n,sourceX:i,sourceY:a,targetX:c,targetY:d,sourcePosition:g,targetPosition:b,style:w,markerEnd:E,selected:S}){const{t:k}=zs(["common"]),{setEdges:_}=AR(),C=ds(Y=>Y.setUnsavedChanges),R=ds(Y=>Y.canDeleteEdge),M=tae(),D=c<i,B=D?100:0,F=D?50:0;let $,P,H,Q=0,re=0,ee=0;if(D)Q=i+F,re=Math.min(a,d)-B,ee=c-F,$=`M ${i},${a} L ${Q},${a} L ${Q},${re} L ${ee},${re} L ${ee},${d} L ${c},${d}`,P=(Q+ee)/2,H=re;else{const[Y,fe,De]=Goe({sourceX:i,sourceY:a,sourcePosition:g,targetX:c,targetY:d,targetPosition:b});$=Y,P=fe,H=De}const ae=R(n),he=Y=>{Y.stopPropagation(),ae&&(_(fe=>fe.filter(De=>De.id!==n)),C(!0))},de=S?{...w,stroke:"#3b82f6",strokeWidth:3}:w??{},ge=de&&typeof de=="object"&&"stroke"in de&&typeof de.stroke=="string"?de.stroke:M?"#94a3b8":"#64748b";return O.jsxs(O.Fragment,{children:[O.jsx(Sz,{id:n,path:$,style:de,markerEnd:E}),D&&Q!==0&&O.jsx(u9t,{children:O.jsx("div",{className:"nodrag nopan pointer-events-none absolute",style:{transform:`translate(-50%, -50%) translate(${Q+(ee-Q)/2}px, ${re}px)`},children:O.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[O.jsx("title",{children:k("shortcuts.arrowLeft")}),O.jsx("polygon",{points:"15,5 6,10 15,15",fill:ge})]})})}),S&&ae&&O.jsx(u9t,{children:O.jsx("div",{className:"nodrag nopan pointer-events-auto absolute",style:{transform:`translate(-50%, -50%) translate(${P}px, ${H}px)`},children:O.jsx("button",{onClick:he,className:"flex h-6 w-6 items-center justify-center rounded-full bg-destructive text-destructive-foreground shadow-md transition-transform hover:scale-110 focus:outline-none focus:ring-2 focus:ring-destructive focus:ring-offset-2",title:"Delete connection","aria-label":"Delete connection",type:"button",children:O.jsx(eae,{className:"h-3.5 w-3.5"})})})})]})}function xw(n){const i=ds(c=>c.nodeErrors.get(n));return z.useMemo(()=>{const c=i??[],d=b=>{const w=c.find(E=>E.path.includes(b));return w==null?void 0:w.message},g=()=>{const b=c.find(w=>w.path.includes("_root")||w.path.length===0);return b==null?void 0:b.message};return{hasErrors:c.length>0,errors:c,errorMessages:c.map(b=>b.message),getFieldError:d,getRootError:g}},[i])}const KKn=z.memo(function({id:i,data:a,selected:c}){const{t:d}=zs(["nodes"]),g=ds(B=>B.activeNodeId),b=ds(B=>B.getExecutionStepNumber),{hasErrors:w,errorMessages:E}=xw(i),S=g===i,k=b(i),_=a.enabled===!1;let C,R;typeof a.service=="string"&&a.service.includes(".")&&([C,R]=a.service.split("."));const M=typeof a.event=="string"&&a.event.trim()!=="",D=(()=>{if(!a.target)return null;const B=a.target.entity_id;return Array.isArray(B)?`${B.length} entities selected`:B})();return O.jsxs("div",{className:kr("relative min-w-[180px] rounded-lg border-2 border-green-400 bg-green-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-green-500 ring-offset-2",S&&"node-active ring-4 ring-green-500",_&&"border-dashed opacity-50 grayscale",w&&"border-red-500 ring-2 ring-red-400"),children:[w&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:E.join(`
|
||
`),children:O.jsx(Pv,{className:"h-3 w-3"})}),_&&!w&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:O.jsx(_R,{className:"h-3 w-3"})}),O.jsx(jp,{type:"target",position:Vr.Left,className:"!w-3 !h-3 !bg-green-500 !border-green-700"}),O.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[O.jsx("div",{className:"rounded bg-green-200 p-1",children:O.jsx(Zse,{className:"h-4 w-4 text-green-700"})}),O.jsx("span",{className:"font-semibold text-green-900 text-sm",children:a.alias||(M?a.event:R)||"Action"}),k&&O.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-green-600 font-bold text-white text-xs",children:k})]}),O.jsxs("div",{className:"space-y-0.5 text-green-700 text-xs",children:[O.jsx("div",{className:"font-medium",children:M?O.jsx("span",{className:"opacity-60",children:d("nodes:actions.fireEvent")}):O.jsxs(O.Fragment,{children:[O.jsxs("span",{className:"opacity-60",children:[C,"."]}),R]})}),D&&O.jsx("div",{className:"truncate opacity-75",children:D})]}),O.jsx(jp,{type:"source",position:Vr.Right,className:"!w-3 !h-3 !bg-green-500 !border-green-700"})]})}),YKn=z.memo(function({id:i,data:a,selected:c}){const d=ds(C=>C.activeNodeId),g=ds(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=xw(i),E=d===i,S=g(i),k=a.enabled===!1,_={state:"State",numeric_state:"Numeric",template:"Template",time:"Time",zone:"Zone",sun:"Sun",and:"AND",or:"OR",not:"NOT",device:"Device",trigger:"Trigger"};return O.jsxs("div",{className:kr("group relative min-w-[180px] rounded-lg border-2 border-blue-400 bg-blue-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-blue-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",k&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
|
||
`),children:O.jsx(Pv,{className:"h-3 w-3"})}),k&&!b&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:O.jsx(_R,{className:"h-3 w-3"})}),O.jsx(jp,{type:"target",position:Vr.Left,className:"!w-3 !h-3 !bg-blue-500 !border-blue-700"}),O.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[O.jsx("div",{className:"rounded bg-blue-200 p-1",children:O.jsx(Jzt,{className:"h-4 w-4 text-blue-700"})}),O.jsx("span",{className:"font-semibold text-blue-900 text-sm",children:a.alias||_[a.condition]||"Condition"}),S&&O.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-blue-600 font-bold text-white text-xs",children:S})]}),O.jsxs("div",{className:"space-y-0.5 text-blue-700 text-xs",children:[O.jsx("div",{className:"font-medium",children:_[a.condition]||a.condition}),a.entity_id&&O.jsx("div",{className:"truncate opacity-75",children:Array.isArray(a.entity_id)?a.entity_id.join(", "):a.entity_id}),a.state&&O.jsxs("div",{className:"opacity-75",children:["= ",a.state]}),a.above!==void 0&&O.jsxs("div",{className:"opacity-75",children:["> ",a.above]}),a.below!==void 0&&O.jsxs("div",{className:"opacity-75",children:["< ",a.below]}),a.after&&O.jsxs("div",{className:"opacity-75",children:["after: ",a.after]}),a.before&&O.jsxs("div",{className:"opacity-75",children:["before: ",a.before]}),a.zone&&O.jsxs("div",{className:"opacity-75",children:["zone: ",a.zone]}),a.attribute&&O.jsxs("div",{className:"opacity-75",children:["attr: ",a.attribute]}),a.for&&O.jsxs("div",{className:"opacity-75",children:["for: ",typeof a.for=="string"?a.for:`${a.for.hours||0}h ${a.for.minutes||0}m ${a.for.seconds||0}s`]}),a.template&&O.jsxs("div",{className:"truncate font-mono text-[10px] opacity-75",children:[a.template.slice(0,30),"..."]}),a.value_template&&O.jsxs("div",{className:"truncate font-mono text-[10px] opacity-75",children:[a.value_template.slice(0,30),"..."]}),typeof a.id=="string"&&O.jsxs("div",{className:"opacity-75",children:["id: ",a.id]}),Array.isArray(a.conditions)&&a.conditions.length>0&&O.jsx("div",{className:"opacity-75",children:Wie("nodes:conditions.nestedConditions",{count:a.conditions.length})})]}),O.jsx(jp,{type:"source",position:Vr.Right,id:"true",style:{top:"30%"},className:"!w-3 !h-3 !bg-green-500 !border-green-700"}),O.jsx(jp,{type:"source",position:Vr.Right,id:"false",style:{top:"70%"},className:"!w-3 !h-3 !bg-red-500 !border-red-700"}),O.jsx("div",{className:"absolute top-[30%] right-[-40px] -translate-y-1/2 transform rounded border border-green-200 bg-white px-1 py-0.5 font-medium text-[10px] text-green-700 opacity-0 shadow-sm transition-opacity group-hover:opacity-100",children:Wie("nodes:conditions.yes")}),O.jsx("div",{className:"absolute top-[70%] right-[-36px] -translate-y-1/2 transform rounded border border-red-200 bg-white px-1 py-0.5 font-medium text-[10px] text-red-700 opacity-0 shadow-sm transition-opacity group-hover:opacity-100",children:Wie("nodes:conditions.no")})]})});function uVt(n){if(!n)return"";if(typeof n=="string")return n;if(typeof n=="object"){const i=[];return n.hours&&i.push(`${n.hours}h`),n.minutes&&i.push(`${n.minutes}m`),n.seconds&&i.push(`${n.seconds}s`),n.milliseconds&&i.push(`${n.milliseconds}ms`),i.join(" ")||"0s"}return String(n)}const JKn=z.memo(function({id:i,data:a,selected:c}){const d=ds(C=>C.activeNodeId),g=ds(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=xw(i),E=d===i,S=g(i),k=a.enabled===!1,_=uVt(a.delay);return O.jsxs("div",{className:kr("relative min-w-[140px] rounded-lg border-2 border-purple-400 bg-purple-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-purple-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",k&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
|
||
`),children:O.jsx(Pv,{className:"h-3 w-3"})}),k&&!b&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:O.jsx(_R,{className:"h-3 w-3"})}),O.jsx(jp,{type:"target",position:Vr.Left,className:"!w-3 !h-3 !bg-purple-500 !border-purple-700"}),O.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[O.jsx("div",{className:"rounded bg-purple-200 p-1",children:O.jsx(TMe,{className:"h-4 w-4 text-purple-700"})}),O.jsx("span",{className:"font-semibold text-purple-900 text-sm",children:a.alias||"Delay"}),S&&O.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-purple-600 font-bold text-white text-xs",children:S})]}),O.jsx("div",{className:"text-purple-700 text-xs",children:O.jsx("div",{className:"font-mono",children:_})}),O.jsx(jp,{type:"source",position:Vr.Right,className:"!w-3 !h-3 !bg-purple-500 !border-purple-700"})]})}),XKn=z.memo(function({id:i,data:a,selected:c}){const d=ds(C=>C.activeNodeId),g=ds(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=xw(i),E=d===i,S=g(i),k=a.enabled===!1,_=Object.keys(a.variables||{}).length;return O.jsxs("div",{className:kr("relative min-w-[160px] rounded-lg border-2 border-cyan-400 bg-cyan-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-cyan-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",k&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
|
||
`),children:O.jsx(Pv,{className:"h-3 w-3"})}),k&&!b&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:O.jsx(_R,{className:"h-3 w-3"})}),O.jsx(jp,{type:"target",position:Vr.Left,className:"!w-3 !h-3 !bg-cyan-500 !border-cyan-700"}),O.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[O.jsx("div",{className:"rounded bg-cyan-200 p-1",children:O.jsx(nGt,{className:"h-4 w-4 text-cyan-700"})}),O.jsx("span",{className:"font-semibold text-cyan-900 text-sm",children:a.alias||"Set Variables"}),S&&O.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-cyan-600 font-bold text-white text-xs",children:S})]}),O.jsx("div",{className:"text-cyan-700 text-xs",children:O.jsx("div",{className:"font-medium opacity-75",children:Wie("nodes:variables.variableCount",{count:_})})}),O.jsx(jp,{type:"source",position:Vr.Right,className:"!w-3 !h-3 !bg-cyan-500 !border-cyan-700"})]})}),ZKn=z.memo(function({id:i,data:a,selected:c}){const d=ds(M=>M.activeNodeId),g=ds(M=>M.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=xw(i),E=d===i,S=g(i),k=a.enabled===!1,_={state:"State Change",time:"Time",time_pattern:"Time Pattern",event:"Event",mqtt:"MQTT",webhook:"Webhook",sun:"Sun",zone:"Zone",numeric_state:"Numeric State",template:"Template",homeassistant:"Home Assistant",device:"Device"},R=(()=>{const M=a.trigger;switch(M){case"device":return{title:a.alias||"Device Trigger",subtitle:a.type?`${a.domain||"device"}: ${a.type}`:"Device",detail:a.device_id?`Device: ${String(a.device_id).substring(0,8)}...`:null};case"state":return{title:a.alias||"State Change",subtitle:Array.isArray(a.entity_id)?`${a.entity_id.length} entities:
|
||
${a.entity_id.join(", ")}`:a.entity_id||"State",detail:a.to?`to: ${a.to}`:null};case"numeric_state":return{title:a.alias||"Numeric State",subtitle:Array.isArray(a.entity_id)?a.entity_id.join(", "):a.entity_id||"Numeric State",detail:a.above||a.below?`${a.above?`>${a.above}`:""}${a.above&&a.below?" ":""}${a.below?`<${a.below}`:""}`:null};case"event":return{title:a.alias||"Event",subtitle:_[M],detail:a.event_type||null};case"time":return{title:a.alias||"Time",subtitle:_[M],detail:a.at||null};case"sun":return{title:a.alias||"Sun",subtitle:_[M],detail:a.event?`${a.event}${a.offset?` ${a.offset}`:""}`:null};case"mqtt":return{title:a.alias||"MQTT",subtitle:_[M],detail:a.topic||null};case"webhook":return{title:a.alias||"Webhook",subtitle:_[M],detail:a.webhook_id||null};case"zone":return{title:a.alias||"Zone",subtitle:_[M],detail:a.zone||(Array.isArray(a.entity_id)?a.entity_id.join(", "):a.entity_id)||null};default:return{title:a.alias||_[M]||"Trigger",subtitle:_[M]||M,detail:null}}})();return O.jsxs("div",{className:kr("relative min-w-[180px] max-w-[300px] rounded-lg border-2 border-amber-400 bg-amber-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-amber-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",k&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
|
||
`),children:O.jsx(Pv,{className:"h-3 w-3"})}),k&&!b&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:O.jsx(_R,{className:"h-3 w-3"})}),O.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[O.jsx("div",{className:"rounded bg-amber-200 p-1",children:O.jsx(rGt,{className:"h-4 w-4 text-amber-700"})}),O.jsx("span",{className:"font-semibold text-amber-900 text-sm",children:R.title}),S&&O.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-amber-600 font-bold text-white text-xs",children:S})]}),O.jsxs("div",{className:"space-y-0.5 text-amber-700 text-xs",children:[O.jsx("div",{className:"line-clamp-2 truncate whitespace-pre-line font-medium",children:R.subtitle}),R.detail&&O.jsx("div",{className:"truncate opacity-75",children:String(R.detail)})]}),O.jsx(jp,{type:"source",position:Vr.Right,className:"!w-3 !h-3 !bg-amber-500 !border-amber-700"})]})}),QKn=z.memo(function({id:i,data:a,selected:c}){const{t:d}=zs(["common","nodes"]),g=ds(R=>R.activeNodeId),b=ds(R=>R.getExecutionStepNumber),{hasErrors:w,errorMessages:E}=xw(i),S=g===i,k=b(i),_=a.enabled===!1,C=uVt(a.timeout);return O.jsxs("div",{className:kr("relative min-w-[140px] rounded-lg border-2 border-orange-400 bg-orange-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-orange-500 ring-offset-2",S&&"node-active ring-4 ring-green-500",_&&"border-dashed opacity-50 grayscale",w&&"border-red-500 ring-2 ring-red-400"),children:[w&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:E.join(`
|
||
`),children:O.jsx(Pv,{className:"h-3 w-3"})}),_&&!w&&O.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:O.jsx(_R,{className:"h-3 w-3"})}),O.jsx(jp,{type:"target",position:Vr.Left,className:"!w-3 !h-3 !bg-orange-500 !border-orange-700"}),O.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[O.jsx("div",{className:"rounded bg-orange-200 p-1",children:O.jsx(Xzt,{className:"h-4 w-4 text-orange-700"})}),O.jsx("span",{className:"font-semibold text-orange-900 text-sm",children:a.alias||"Wait for"}),k&&O.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-orange-600 font-bold text-white text-xs",children:k})]}),O.jsxs("div",{className:"space-y-0.5 text-orange-700 text-xs",children:[a.wait_template&&O.jsxs("div",{className:"truncate font-mono text-[10px] opacity-75",children:[a.wait_template.slice(0,30),"..."]}),a.wait_for_trigger&&O.jsx("div",{className:"truncate text-[10px] opacity-75",children:d("nodes:wait.waitsForNTrigger",{count:a.wait_for_trigger.length})}),C&&O.jsxs("div",{className:"opacity-75",children:[d("nodes:wait.timeoutLabel")," ",C]})]}),O.jsx(jp,{type:"source",position:Vr.Right,className:"!w-3 !h-3 !bg-orange-500 !border-orange-700"})]})}),X7t=n=>Symbol.iterator in n,Z7t=n=>"entries"in n,Q7t=(n,i)=>{const a=n instanceof Map?n:new Map(n.entries()),c=i instanceof Map?i:new Map(i.entries());if(a.size!==c.size)return!1;for(const[d,g]of a)if(!c.has(d)||!Object.is(g,c.get(d)))return!1;return!0},eYn=(n,i)=>{const a=n[Symbol.iterator](),c=i[Symbol.iterator]();let d=a.next(),g=c.next();for(;!d.done&&!g.done;){if(!Object.is(d.value,g.value))return!1;d=a.next(),g=c.next()}return!!d.done&&!!g.done};function tYn(n,i){return Object.is(n,i)?!0:typeof n!="object"||n===null||typeof i!="object"||i===null||Object.getPrototypeOf(n)!==Object.getPrototypeOf(i)?!1:X7t(n)&&X7t(i)?Z7t(n)&&Z7t(i)?Q7t(n,i):eYn(n,i):Q7t({entries:()=>Object.entries(n)},{entries:()=>Object.entries(i)})}function nYn(n){const i=Hn.useRef(void 0);return a=>{const c=n(a);return tYn(i.current,c)?i.current:i.current=c}}function eFt(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function Gg(...n){return i=>{let a=!1;const c=n.map(d=>{const g=eFt(d,i);return!a&&typeof g=="function"&&(a=!0),g});if(a)return()=>{for(let d=0;d<c.length;d++){const g=c[d];typeof g=="function"?g():eFt(n[d],null)}}}}function hs(...n){return z.useCallback(Gg(...n),n)}var rYn=Symbol.for("react.lazy"),ose=gLe[" use ".trim().toString()];function iYn(n){return typeof n=="object"&&n!==null&&"then"in n}function cVt(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===rYn&&"_payload"in n&&iYn(n._payload)}function vae(n){const i=sYn(n),a=z.forwardRef((c,d)=>{let{children:g,...b}=c;cVt(g)&&typeof ose=="function"&&(g=ose(g._payload));const w=z.Children.toArray(g),E=w.find(uYn);if(E){const S=E.props.children,k=w.map(_=>_===E?z.Children.count(S)>1?z.Children.only(null):z.isValidElement(S)?S.props.children:null:_);return O.jsx(i,{...b,ref:d,children:z.isValidElement(S)?z.cloneElement(S,void 0,k):null})}return O.jsx(i,{...b,ref:d,children:g})});return a.displayName=`${n}.Slot`,a}var oYn=vae("Slot");function sYn(n){const i=z.forwardRef((a,c)=>{let{children:d,...g}=a;if(cVt(d)&&typeof ose=="function"&&(d=ose(d._payload)),z.isValidElement(d)){const b=lYn(d),w=cYn(g,d.props);return d.type!==z.Fragment&&(w.ref=c?Gg(c,b):b),z.cloneElement(d,w)}return z.Children.count(d)>1?z.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var aYn=Symbol("radix.slottable");function uYn(n){return z.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===aYn}function cYn(n,i){const a={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?a[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(a[c]=d):c==="style"?a[c]={...d,...g}:c==="className"&&(a[c]=[d,g].filter(Boolean).join(" "))}return{...n,...a}}function lYn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?n.props.ref:n.props.ref||n.ref)}const tFt=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,nFt=nVt,Eae=(n,i)=>a=>{var c;if((i==null?void 0:i.variants)==null)return nFt(n,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:d,defaultVariants:g}=i,b=Object.keys(d).map(S=>{const k=a==null?void 0:a[S],_=g==null?void 0:g[S];if(k===null)return null;const C=tFt(k)||tFt(_);return d[S][C]}),w=a&&Object.entries(a).reduce((S,k)=>{let[_,C]=k;return C===void 0||(S[_]=C),S},{}),E=i==null||(c=i.compoundVariants)===null||c===void 0?void 0:c.reduce((S,k)=>{let{class:_,className:C,...R}=k;return Object.entries(R).every(M=>{let[D,B]=M;return Array.isArray(B)?B.includes({...g,...w}[D]):{...g,...w}[D]===B})?[...S,_,C]:S},[]);return nFt(n,b,E,a==null?void 0:a.class,a==null?void 0:a.className)},dYn=Eae("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium text-sm transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Di=z.forwardRef(({className:n,variant:i,size:a,asChild:c=!1,...d},g)=>{const b=c?oYn:"button";return O.jsx(b,{className:kr(dYn({variant:i,size:a,className:n})),ref:g,...d})});Di.displayName="Button";var fYn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],hYn=fYn.reduce((n,i)=>{const a=vae(`Primitive.${i}`),c=z.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?a:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{}),pYn="Separator",rFt="horizontal",gYn=["horizontal","vertical"],lVt=z.forwardRef((n,i)=>{const{decorative:a,orientation:c=rFt,...d}=n,g=bYn(c)?c:rFt,w=a?{role:"none"}:{"aria-orientation":g==="vertical"?g:void 0,role:"separator"};return O.jsx(hYn.div,{"data-orientation":g,...w,...d,ref:i})});lVt.displayName=pYn;function bYn(n){return gYn.includes(n)}var dVt=lVt;const _z=z.forwardRef(({className:n,orientation:i="horizontal",decorative:a=!0,...c},d)=>O.jsx(dVt,{ref:d,decorative:a,orientation:i,className:kr("shrink-0 bg-border",i==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",n),...c}));_z.displayName=dVt.displayName;function a5e(){var i;const n=navigator;return(i=n.userAgentData)!=null&&i.platform?n.userAgentData.platform==="macOS":/Mac|iPhone|iPod|iPad/.test(navigator.platform)||/Macintosh/.test(navigator.userAgent)}function mYn(n){return{name:"align-bottom",icon:N9n,tooltip:n("toolbar.alignBottom"),shortcut:"ctrl+shift+b",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const a=Math.max(...i.selectedNodes.map(g=>g.position.y+(g.height||0))),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,y:a-(g.height||0)}}:g);i.setNodes(d)}}}function wYn(n){return{name:"align-left",icon:L9n,tooltip:n("toolbar.alignLeft"),shortcut:"ctrl+shift+l",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const a=Math.min(...i.selectedNodes.map(g=>g.position.x)),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,x:a}}:g);i.setNodes(d)}}}function yYn(n){return{name:"align-right",icon:I9n,tooltip:n("toolbar.alignRight"),shortcut:"ctrl+shift+r",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const a=Math.max(...i.selectedNodes.map(g=>g.position.x+(g.width||0))),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,x:a-(g.width||0)}}:g);i.setNodes(d)}}}function vYn(n){return{name:"align-top",icon:O9n,tooltip:n("toolbar.alignTop"),shortcut:"ctrl+shift+t",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const a=Math.min(...i.selectedNodes.map(g=>g.position.y)),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,y:a}}:g);i.setNodes(d)}}}function fVt(n){const i=n.selectedNodes.map(c=>c.id),a=n.edges.filter(c=>i.includes(c.source)&&i.includes(c.target));n.setClipboard(JSON.stringify({nodes:n.selectedNodes,edges:a})),n.setPasteCount(0)}function hVt(n,i,a){const c=(a.pasteCount||0)+1;a.setPasteCount(c);const d=50*c,g=new Map,b=a.nodes.map(E=>({...E,selected:!1})),w=n.map(E=>{const S=o5e(E.type??"node");return g.set(E.id,S),{...E,selected:!0,id:S,position:{x:E.position.x+d,y:E.position.y+d}}});if(a.setNodes([...b,...w]),i.length>0){const E=i.map(S=>({...S,id:`edge-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,source:g.get(S.source)??S.source,target:g.get(S.target)??S.target}));a.setEdges([...a.edges,...E])}}function EYn(n){return{name:"copy",icon:AMe,tooltip:n("toolbar.copy"),shortcut:"ctrl+c",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{fVt(i),N2.success(`${i.selectedNodes.length} node${i.selectedNodes.length!==1?"s":""} copied`)}}}function SYn(n){return{name:"cut",icon:F8n,tooltip:n("toolbar.cut"),shortcut:"ctrl+x",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{const a=i.selectedNodes.length;fVt(i),i.selectedNodes.forEach(c=>{i.removeNode(c.id)}),N2.success(`${a} node${a!==1?"s":""} cut`)}}}function TYn(n){return{name:"delete",icon:M5,tooltip:n("toolbar.deleteNode"),shortcut:["delete","backspace"],variant:"destructive",group:"delete",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{i.selectedNodes.forEach(a=>{i.removeNode(a.id)})}}}function AYn(n){return{name:"disconnect",icon:W8n,tooltip:n("toolbar.disconnect"),shortcut:"ctrl+shift+d",group:"edit",isEnabled:i=>{if(i.selectedNodes.length===0)return!1;const a=i.selectedNodes.map(c=>c.id);return i.edges.some(c=>a.includes(c.source)||a.includes(c.target))},execute:i=>{const a=i.selectedNodes.map(d=>d.id),c=i.edges.filter(d=>!a.includes(d.source)&&!a.includes(d.target));i.setEdges(c)}}}function _Yn(n){return{name:"duplicate",icon:u8n,tooltip:n("toolbar.duplicate"),shortcut:"ctrl+d",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{const a=i.selectedNodes.map(d=>d.id),c=i.edges.filter(d=>a.includes(d.source)&&a.includes(d.target));hVt(i.selectedNodes,c,i),N2.success(`${i.selectedNodes.length} node${i.selectedNodes.length!==1?"s":""} duplicated`)}}}function kYn(n){return{name:"paste",icon:o8n,tooltip:n("toolbar.paste"),shortcut:"ctrl+v",group:"clipboard",isEnabled:i=>!!(i.clipboard&&i.clipboard.length>0),execute:i=>{if(i.clipboard)try{const a=JSON.parse(i.clipboard),c=a.nodes||[],d=a.edges||[];if(!Array.isArray(c)||c.length===0)return;hVt(c,d,i)}catch(a){console.warn("Invalid clipboard data, cannot paste.",a)}}}}function xYn(n){return{name:"selectAll",icon:O8n,tooltip:n("toolbar.selectAll"),shortcut:"ctrl+a",group:"selection",isEnabled:()=>!0,execute:i=>{const a=i.nodes.map(d=>({...d,selected:!0}));i.setNodes(a);const c=i.edges.map(d=>({...d,selected:!0}));i.setEdges(c)}}}function NYn(n){return{name:"toggle-enabled",icon:d9t,getIcon:i=>{const a=i.selectedNodes.every(d=>d.data.enabled===!1),c=i.selectedNodes.every(d=>d.data.enabled!==!1);return a?t8n:c?_R:d9t},tooltip:i=>{const a=i.selectedNodes.every(d=>d.data.enabled===!1),c=i.selectedNodes.every(d=>d.data.enabled!==!1);return n(a?"toolbar.enable":c?"toolbar.disable":"toolbar.toggleEnabled")},shortcut:"ctrl+e",group:"edit",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{i.selectedNodes.forEach(a=>{const c=a.data.enabled!==!1;i.updateNodeData(a.id,{enabled:!c})})}}}function CYn(n,i){const a=a5e();return n.split("+").map(c=>c==="ctrl"?i(a?"shortcuts.cmd":"shortcuts.ctrl"):c==="shift"?i("shortcuts.shift"):c==="alt"?i("shortcuts.alt"):c==="arrowup"?i("shortcuts.arrowUp"):c==="arrowdown"?i("shortcuts.arrowDown"):c==="arrowleft"?i("shortcuts.arrowLeft"):c==="arrowright"?i("shortcuts.arrowRight"):c.charAt(0).toUpperCase()+c.slice(1)).join("+")}const vOe=["node-specific","selection","clipboard","edit","align","delete"];function IYn(){var $;const{t:n}=zs(),{nodes:i,edges:a,clipboard:c,pasteCount:d,addNode:g,removeNode:b,updateNodeData:w,setNodes:E,setEdges:S,setClipboard:k,setPasteCount:_}=ds(nYn(P=>({nodes:P.nodes,edges:P.edges,clipboard:P.clipboard,pasteCount:P.pasteCount,addNode:P.addNode,removeNode:P.removeNode,updateNodeData:P.updateNodeData,setNodes:P.setNodes,setEdges:P.setEdges,setClipboard:P.setClipboard,setPasteCount:P.setPasteCount}))),C=z.useMemo(()=>({selectedNodes:i.filter(P=>P.selected),nodes:i,edges:a,clipboard:c,pasteCount:d,addNode:g,removeNode:b,updateNodeData:w,setNodes:E,setEdges:S,setClipboard:k,setPasteCount:_}),[i,a,c,d,g,b,w,E,S,k,_]),R=z.useMemo(()=>[_Yn(n),EYn(n),SYn(n),kYn(n),wYn(n),yYn(n),vYn(n),mYn(n),AYn(n),xYn(n),NYn(n),TYn(n)],[n]),M=R.length>0;z.useEffect(()=>{if(!M)return;const P=H=>{const Q=H.target;if(Q.tagName==="INPUT"||Q.tagName==="TEXTAREA"||Q.isContentEditable)return;const ee=a5e()?H.metaKey:H.ctrlKey;let ae="";ee&&(ae+="ctrl+"),H.shiftKey&&(ae+="shift+"),H.altKey&&(ae+="alt+"),ae+=H.key.toLowerCase();const he=R.find(ve=>!ve.shortcut||!(Array.isArray(ve.shortcut)?ve.shortcut:[ve.shortcut]).includes(ae)?!1:ve.isEnabled?ve.isEnabled(C):!0);he&&(H.preventDefault(),he.execute(C))};return window.addEventListener("keydown",P),()=>window.removeEventListener("keydown",P)},[M,R,C]);const D=z.useMemo(()=>{const P={};for(const H of R){const Q=H.group||"node-specific";P[Q]||(P[Q]=[]),P[Q].push(H)}return P},[R]);if(!M)return null;let B=0;try{c&&(B=(($=JSON.parse(c).nodes)==null?void 0:$.length)||0)}catch{}const F=P=>!P||P.length===0?null:P.map(H=>{const Q=H.getIcon?H.getIcon(C):H.icon,re=typeof H.tooltip=="function"?H.tooltip(C):H.tooltip,ee=H.isEnabled?H.isEnabled(C):!0,ae=H.name==="paste";return O.jsxs(Di,{variant:"ghost",size:"icon",disabled:!ee,className:kr("relative h-8 w-8 shrink-0","sm:h-9 sm:w-9",H.variant==="destructive"&&"text-destructive hover:bg-destructive/10 hover:text-destructive"),title:H.shortcut?`${re} (${CYn(Array.isArray(H.shortcut)?H.shortcut[0]:H.shortcut,n)})`:re,onClick:()=>H.execute(C),children:[O.jsx(Q,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4"}),ae&&B>0&&O.jsx("span",{className:"absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-primary font-bold text-[9px] text-primary-foreground",children:B})]},H.name)});return O.jsx(fR,{position:"top-center",className:"!m-0 !p-0 max-w-[calc(100vw-2rem)] sm:max-w-[calc(100vw-4rem)]",children:O.jsx("div",{className:kr("flex items-center gap-0.5 rounded-lg border bg-background/95 px-1.5 py-1 shadow-lg backdrop-blur supports-[backdrop-filter]:bg-background/60 sm:gap-1 sm:px-2 sm:py-1.5","fade-in slide-in-from-top-2 animate-in duration-200","scrollbar-thin scrollbar-thumb-muted-foreground/20 scrollbar-track-transparent overflow-x-auto","max-w-full"),children:O.jsx("div",{className:"flex shrink-0 items-center gap-0.5 sm:gap-1",children:vOe.map((P,H)=>{var re;const Q=D[P];return!Q||Q.length===0?null:O.jsxs("div",{className:"flex items-center gap-0.5 sm:gap-1",children:[F(Q),H<vOe.length-1&&((re=D[vOe[H+1]])==null?void 0:re.length)>0&&O.jsx(_z,{orientation:"vertical",className:"mx-0.5 h-6 sm:mx-1"})]},P)})})})})}const RYn={trigger:ZKn,condition:YKn,action:KKn,delay:JKn,wait:QKn,set_variables:XKn},OYn={deletable:WKn};function DYn(){const{t:n}=zs(["common","debug"]),i=tae(),{nodes:a,edges:c,onNodesChange:d,onEdgesChange:g,onConnect:b,selectNode:w,addNode:E,selectedNodeId:S,isSimulating:k,executionPath:_,isShowingTrace:C,traceExecutionPath:R,canDeleteEdge:M}=ds(),D=z.useRef(null),{screenToFlowPosition:B,setViewport:F}=AR();z.useEffect(()=>{F({x:0,y:0,zoom:.75})},[F]);const $=z.useCallback(({nodes:ee})=>{ee.length===1?w(ee[0].id):w(null)},[w]),P=z.useCallback(ee=>{ee.preventDefault(),ee.dataTransfer.dropEffect="move"},[]),H=z.useCallback(async({nodes:ee,edges:ae})=>{const he=ae.filter(ve=>M(ve.id));return{nodes:ee,edges:he}},[M]),Q=z.useCallback(ee=>{ee.preventDefault();const ae=ee.dataTransfer.getData("application/reactflow");if(ae)try{const{type:he,defaultData:ve}=JSON.parse(ae),de=B({x:ee.clientX,y:ee.clientY}),fe={x:de.x-180/2,y:de.y-80/2},De={id:o5e(he),type:he,position:fe,data:{...ve}};E(De)}catch(he){console.error("Failed to parse dropped node data:",he)}},[B,E]),re=z.useMemo(()=>c.map(ee=>{const ae=_.indexOf(ee.source),he=_.indexOf(ee.target),ve=k&&_.length>=2&&ae!==-1&&he!==-1&&he===ae+1,de=R.indexOf(ee.source),ge=R.indexOf(ee.target),Y=C&&R.length>=2&&de!==-1&&ge!==-1&&ge===de+1,fe=S&&(ee.source===S||ee.target===S);let De={strokeWidth:2,stroke:i?"#94a3b8":"#64748b"},Se={type:iA.ArrowClosed,color:i?"#94a3b8":"#64748b"};return ve?(De={stroke:"#22c55e",strokeWidth:3},Se={type:iA.ArrowClosed,color:"#22c55e"}):Y?(De={stroke:"#f59e0b",strokeWidth:3},Se={type:iA.ArrowClosed,color:"#f59e0b"}):fe&&(De={stroke:"#3b82f6",strokeWidth:3},Se={type:iA.ArrowClosed,color:"#3b82f6"}),{...ee,type:"deletable",animated:ve||Y,style:De,markerEnd:Se}}),[c,k,_,C,R,S,i]);return O.jsx("div",{className:"h-full w-full",ref:D,children:O.jsxs(V5n,{colorMode:i?"dark":"light",nodes:a,edges:re,onNodesChange:d,onEdgesChange:g,onConnect:b,onBeforeDelete:H,onSelectionChange:$,onDragOver:P,onDrop:Q,panOnScroll:a5e(),nodeTypes:RYn,edgeTypes:OYn,defaultEdgeOptions:{type:"deletable",style:{strokeWidth:2,stroke:i?"#94a3b8":"#64748b"},markerEnd:{type:iA.ArrowClosed,color:i?"#94a3b8":"#64748b"}},defaultViewport:{x:0,y:0,zoom:.75},maxZoom:2,minZoom:.3,fitView:!0,fitViewOptions:{maxZoom:.75},snapToGrid:!0,snapGrid:[15,15],deleteKeyCode:null,className:i?"dark bg-background":"bg-muted/30",proOptions:{hideAttribution:!0},children:[O.jsx(Z5n,{variant:fA.Dots,gap:20,size:1,color:i?"#475569":"#cbd5e1"}),O.jsx(o9n,{}),O.jsx(w9n,{nodeStrokeWidth:3,zoomable:!0,pannable:!0,nodeClassName:ee=>{switch(ee.type){case"trigger":return"fill-amber-50 stroke-amber-400";case"condition":return"fill-blue-50 stroke-blue-400";case"action":return"fill-green-50 stroke-green-400";case"delay":return"fill-purple-50 stroke-purple-400";case"wait":return"fill-orange-50 stroke-orange-400";case"set_variables":return"fill-cyan-50 stroke-cyan-400";default:return"fill-slate-100 stroke-slate-400"}}}),O.jsx(IYn,{}),k&&O.jsx(fR,{position:"top-left",className:"rounded-lg border border-green-300 bg-green-100 px-4 py-2 dark:border-green-700 dark:bg-green-950",children:O.jsxs("div",{className:"flex items-center gap-2 font-medium text-green-800 text-sm dark:text-green-200",children:[O.jsx("div",{className:"h-2 w-2 animate-pulse rounded-full bg-green-500"}),n("debug:simulation.simulatingExecution")]})}),C&&!k&&O.jsx(fR,{position:"top-left",className:"rounded-lg border border-orange-300 bg-orange-100 px-4 py-2 dark:border-orange-700 dark:bg-orange-950",children:O.jsxs("div",{className:"flex items-center gap-2 font-medium text-orange-800 text-sm dark:text-orange-200",children:[O.jsx("div",{className:"h-2 w-2 rounded-full bg-orange-500"}),n("debug:simulation.showingTraceExecution",{steps:R.length})]})})]})})}const LYn=Eae("inline-flex items-center rounded-md border px-2.5 py-0.5 font-semibold text-xs transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function u5e({className:n,variant:i,...a}){return O.jsx("div",{className:kr(LYn({variant:i}),n),...a})}function MYn(n,i){const a=z.createContext(i),c=g=>{const{children:b,...w}=g,E=z.useMemo(()=>w,Object.values(w));return O.jsx(a.Provider,{value:E,children:b})};c.displayName=n+"Provider";function d(g){const b=z.useContext(a);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${g}\` must be used within \`${n}\``)}return[c,d]}function Nw(n,i=[]){let a=[];function c(g,b){const w=z.createContext(b),E=a.length;a=[...a,b];const S=_=>{var F;const{scope:C,children:R,...M}=_,D=((F=C==null?void 0:C[n])==null?void 0:F[E])||w,B=z.useMemo(()=>M,Object.values(M));return O.jsx(D.Provider,{value:B,children:R})};S.displayName=g+"Provider";function k(_,C){var D;const R=((D=C==null?void 0:C[n])==null?void 0:D[E])||w,M=z.useContext(R);if(M)return M;if(b!==void 0)return b;throw new Error(`\`${_}\` must be used within \`${g}\``)}return[S,k]}const d=()=>{const g=a.map(b=>z.createContext(b));return function(w){const E=(w==null?void 0:w[n])||g;return z.useMemo(()=>({[`__scope${n}`]:{...w,[n]:E}}),[w,E])}};return d.scopeName=n,[c,PYn(d,...i)]}function PYn(...n){const i=n[0];if(n.length===1)return i;const a=()=>{const c=n.map(d=>({useScope:d(),scopeName:d.scopeName}));return function(g){const b=c.reduce((w,{useScope:E,scopeName:S})=>{const _=E(g)[`__scope${S}`];return{...w,..._}},{});return z.useMemo(()=>({[`__scope${i.scopeName}`]:b}),[b])}};return a.scopeName=i.scopeName,a}function Or(n,i,{checkForDefaultPrevented:a=!0}={}){return function(d){if(n==null||n(d),a===!1||!d.defaultPrevented)return i==null?void 0:i(d)}}var Up=globalThis!=null&&globalThis.document?z.useLayoutEffect:()=>{},jYn=gLe[" useInsertionEffect ".trim().toString()]||Up;function z2({prop:n,defaultProp:i,onChange:a=()=>{},caller:c}){const[d,g,b]=FYn({defaultProp:i,onChange:a}),w=n!==void 0,E=w?n:d;{const k=z.useRef(n!==void 0);z.useEffect(()=>{const _=k.current;_!==w&&console.warn(`${c} is changing from ${_?"controlled":"uncontrolled"} to ${w?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),k.current=w},[w,c])}const S=z.useCallback(k=>{var _;if(w){const C=$Yn(k)?k(n):k;C!==n&&((_=b.current)==null||_.call(b,C))}else g(k)},[w,n,g,b]);return[E,S]}function FYn({defaultProp:n,onChange:i}){const[a,c]=z.useState(n),d=z.useRef(a),g=z.useRef(i);return jYn(()=>{g.current=i},[i]),z.useEffect(()=>{var b;d.current!==a&&((b=g.current)==null||b.call(g,a),d.current=a)},[a,d]),[a,c,g]}function $Yn(n){return typeof n=="function"}function Sae(n){const i=z.useRef({value:n,previous:n});return z.useMemo(()=>(i.current.value!==n&&(i.current.previous=i.current.value,i.current.value=n),i.current.previous),[n])}function Tae(n){const[i,a]=z.useState(void 0);return Up(()=>{if(n){a({width:n.offsetWidth,height:n.offsetHeight});const c=new ResizeObserver(d=>{if(!Array.isArray(d)||!d.length)return;const g=d[0];let b,w;if("borderBoxSize"in g){const E=g.borderBoxSize,S=Array.isArray(E)?E[0]:E;b=S.inlineSize,w=S.blockSize}else b=n.offsetWidth,w=n.offsetHeight;a({width:b,height:w})});return c.observe(n,{box:"border-box"}),()=>c.unobserve(n)}else a(void 0)},[n]),i}function BYn(n,i){return z.useReducer((a,c)=>i[a][c]??a,n)}var Cw=n=>{const{present:i,children:a}=n,c=UYn(i),d=typeof a=="function"?a({present:c.isPresent}):z.Children.only(a),g=hs(c.ref,HYn(d));return typeof a=="function"||c.isPresent?z.cloneElement(d,{ref:g}):null};Cw.displayName="Presence";function UYn(n){const[i,a]=z.useState(),c=z.useRef(null),d=z.useRef(n),g=z.useRef("none"),b=n?"mounted":"unmounted",[w,E]=BYn(b,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return z.useEffect(()=>{const S=Sie(c.current);g.current=w==="mounted"?S:"none"},[w]),Up(()=>{const S=c.current,k=d.current;if(k!==n){const C=g.current,R=Sie(S);n?E("MOUNT"):R==="none"||(S==null?void 0:S.display)==="none"?E("UNMOUNT"):E(k&&C!==R?"ANIMATION_OUT":"UNMOUNT"),d.current=n}},[n,E]),Up(()=>{if(i){let S;const k=i.ownerDocument.defaultView??window,_=R=>{const D=Sie(c.current).includes(CSS.escape(R.animationName));if(R.target===i&&D&&(E("ANIMATION_END"),!d.current)){const B=i.style.animationFillMode;i.style.animationFillMode="forwards",S=k.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=B)})}},C=R=>{R.target===i&&(g.current=Sie(c.current))};return i.addEventListener("animationstart",C),i.addEventListener("animationcancel",_),i.addEventListener("animationend",_),()=>{k.clearTimeout(S),i.removeEventListener("animationstart",C),i.removeEventListener("animationcancel",_),i.removeEventListener("animationend",_)}}else E("ANIMATION_END")},[i,E]),{isPresent:["mounted","unmountSuspended"].includes(w),ref:z.useCallback(S=>{c.current=S?getComputedStyle(S):null,a(S)},[])}}function Sie(n){return(n==null?void 0:n.animationName)||"none"}function HYn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?n.props.ref:n.props.ref||n.ref)}function zYn(n){const i=GYn(n),a=z.forwardRef((c,d)=>{const{children:g,...b}=c,w=z.Children.toArray(g),E=w.find(VYn);if(E){const S=E.props.children,k=w.map(_=>_===E?z.Children.count(S)>1?z.Children.only(null):z.isValidElement(S)?S.props.children:null:_);return O.jsx(i,{...b,ref:d,children:z.isValidElement(S)?z.cloneElement(S,void 0,k):null})}return O.jsx(i,{...b,ref:d,children:g})});return a.displayName=`${n}.Slot`,a}function GYn(n){const i=z.forwardRef((a,c)=>{const{children:d,...g}=a;if(z.isValidElement(d)){const b=KYn(d),w=WYn(g,d.props);return d.type!==z.Fragment&&(w.ref=c?Gg(c,b):b),z.cloneElement(d,w)}return z.Children.count(d)>1?z.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var qYn=Symbol("radix.slottable");function VYn(n){return z.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===qYn}function WYn(n,i){const a={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?a[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(a[c]=d):c==="style"?a[c]={...d,...g}:c==="className"&&(a[c]=[d,g].filter(Boolean).join(" "))}return{...n,...a}}function KYn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?n.props.ref:n.props.ref||n.ref)}var YYn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],eo=YYn.reduce((n,i)=>{const a=zYn(`Primitive.${i}`),c=z.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?a:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{});function pVt(n,i){n&&TR.flushSync(()=>n.dispatchEvent(i))}var Aae="Checkbox",[JYn]=Nw(Aae),[XYn,c5e]=JYn(Aae);function ZYn(n){const{__scopeCheckbox:i,checked:a,children:c,defaultChecked:d,disabled:g,form:b,name:w,onCheckedChange:E,required:S,value:k="on",internal_do_not_use_render:_}=n,[C,R]=z2({prop:a,defaultProp:d??!1,onChange:E,caller:Aae}),[M,D]=z.useState(null),[B,F]=z.useState(null),$=z.useRef(!1),P=M?!!b||!!M.closest("form"):!0,H={checked:C,disabled:g,setChecked:R,control:M,setControl:D,name:w,form:b,value:k,hasConsumerStoppedPropagationRef:$,required:S,defaultChecked:Qx(d)?!1:d,isFormControl:P,bubbleInput:B,setBubbleInput:F};return O.jsx(XYn,{scope:i,...H,children:QYn(_)?_(H):c})}var gVt="CheckboxTrigger",bVt=z.forwardRef(({__scopeCheckbox:n,onKeyDown:i,onClick:a,...c},d)=>{const{control:g,value:b,disabled:w,checked:E,required:S,setControl:k,setChecked:_,hasConsumerStoppedPropagationRef:C,isFormControl:R,bubbleInput:M}=c5e(gVt,n),D=hs(d,k),B=z.useRef(E);return z.useEffect(()=>{const F=g==null?void 0:g.form;if(F){const $=()=>_(B.current);return F.addEventListener("reset",$),()=>F.removeEventListener("reset",$)}},[g,_]),O.jsx(eo.button,{type:"button",role:"checkbox","aria-checked":Qx(E)?"mixed":E,"aria-required":S,"data-state":EVt(E),"data-disabled":w?"":void 0,disabled:w,value:b,...c,ref:D,onKeyDown:Or(i,F=>{F.key==="Enter"&&F.preventDefault()}),onClick:Or(a,F=>{_($=>Qx($)?!0:!$),M&&R&&(C.current=F.isPropagationStopped(),C.current||F.stopPropagation())})})});bVt.displayName=gVt;var l5e=z.forwardRef((n,i)=>{const{__scopeCheckbox:a,name:c,checked:d,defaultChecked:g,required:b,disabled:w,value:E,onCheckedChange:S,form:k,..._}=n;return O.jsx(ZYn,{__scopeCheckbox:a,checked:d,defaultChecked:g,disabled:w,required:b,onCheckedChange:S,name:c,form:k,value:E,internal_do_not_use_render:({isFormControl:C})=>O.jsxs(O.Fragment,{children:[O.jsx(bVt,{..._,ref:i,__scopeCheckbox:a}),C&&O.jsx(vVt,{__scopeCheckbox:a})]})})});l5e.displayName=Aae;var mVt="CheckboxIndicator",wVt=z.forwardRef((n,i)=>{const{__scopeCheckbox:a,forceMount:c,...d}=n,g=c5e(mVt,a);return O.jsx(Cw,{present:c||Qx(g.checked)||g.checked===!0,children:O.jsx(eo.span,{"data-state":EVt(g.checked),"data-disabled":g.disabled?"":void 0,...d,ref:i,style:{pointerEvents:"none",...n.style}})})});wVt.displayName=mVt;var yVt="CheckboxBubbleInput",vVt=z.forwardRef(({__scopeCheckbox:n,...i},a)=>{const{control:c,hasConsumerStoppedPropagationRef:d,checked:g,defaultChecked:b,required:w,disabled:E,name:S,value:k,form:_,bubbleInput:C,setBubbleInput:R}=c5e(yVt,n),M=hs(a,R),D=Sae(g),B=Tae(c);z.useEffect(()=>{const $=C;if(!$)return;const P=window.HTMLInputElement.prototype,Q=Object.getOwnPropertyDescriptor(P,"checked").set,re=!d.current;if(D!==g&&Q){const ee=new Event("click",{bubbles:re});$.indeterminate=Qx(g),Q.call($,Qx(g)?!1:g),$.dispatchEvent(ee)}},[C,D,g,d]);const F=z.useRef(Qx(g)?!1:g);return O.jsx(eo.input,{type:"checkbox","aria-hidden":!0,defaultChecked:b??F.current,required:w,disabled:E,name:S,value:k,form:_,...i,tabIndex:-1,ref:M,style:{...i.style,...B,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});vVt.displayName=yVt;function QYn(n){return typeof n=="function"}function Qx(n){return n==="indeterminate"}function EVt(n){return Qx(n)?"indeterminate":n?"checked":"unchecked"}const EDe=z.forwardRef(({className:n,...i},a)=>O.jsx(l5e,{ref:a,className:kr("grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",n),...i,children:O.jsx(wVt,{className:kr("grid place-content-center text-current"),children:O.jsx(L5,{className:"h-4 w-4"})})}));EDe.displayName=l5e.displayName;var eJn=gLe[" useId ".trim().toString()]||(()=>{}),tJn=0;function Fh(n){const[i,a]=z.useState(eJn());return Up(()=>{a(c=>c??String(tJn++))},[n]),i?`radix-${i}`:""}function G2(n){const i=z.useRef(n);return z.useEffect(()=>{i.current=n}),z.useMemo(()=>(...a)=>{var c;return(c=i.current)==null?void 0:c.call(i,...a)},[])}function nJn(n,i=globalThis==null?void 0:globalThis.document){const a=G2(n);z.useEffect(()=>{const c=d=>{d.key==="Escape"&&a(d)};return i.addEventListener("keydown",c,{capture:!0}),()=>i.removeEventListener("keydown",c,{capture:!0})},[a,i])}var rJn="DismissableLayer",SDe="dismissableLayer.update",iJn="dismissableLayer.pointerDownOutside",oJn="dismissableLayer.focusOutside",iFt,SVt=z.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kz=z.forwardRef((n,i)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:g,onInteractOutside:b,onDismiss:w,...E}=n,S=z.useContext(SVt),[k,_]=z.useState(null),C=(k==null?void 0:k.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,R]=z.useState({}),M=hs(i,ee=>_(ee)),D=Array.from(S.layers),[B]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),F=D.indexOf(B),$=k?D.indexOf(k):-1,P=S.layersWithOutsidePointerEventsDisabled.size>0,H=$>=F,Q=uJn(ee=>{const ae=ee.target,he=[...S.branches].some(ve=>ve.contains(ae));!H||he||(d==null||d(ee),b==null||b(ee),ee.defaultPrevented||w==null||w())},C),re=cJn(ee=>{const ae=ee.target;[...S.branches].some(ve=>ve.contains(ae))||(g==null||g(ee),b==null||b(ee),ee.defaultPrevented||w==null||w())},C);return nJn(ee=>{$===S.layers.size-1&&(c==null||c(ee),!ee.defaultPrevented&&w&&(ee.preventDefault(),w()))},C),z.useEffect(()=>{if(k)return a&&(S.layersWithOutsidePointerEventsDisabled.size===0&&(iFt=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(k)),S.layers.add(k),oFt(),()=>{a&&S.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=iFt)}},[k,C,a,S]),z.useEffect(()=>()=>{k&&(S.layers.delete(k),S.layersWithOutsidePointerEventsDisabled.delete(k),oFt())},[k,S]),z.useEffect(()=>{const ee=()=>R({});return document.addEventListener(SDe,ee),()=>document.removeEventListener(SDe,ee)},[]),O.jsx(eo.div,{...E,ref:M,style:{pointerEvents:P?H?"auto":"none":void 0,...n.style},onFocusCapture:Or(n.onFocusCapture,re.onFocusCapture),onBlurCapture:Or(n.onBlurCapture,re.onBlurCapture),onPointerDownCapture:Or(n.onPointerDownCapture,Q.onPointerDownCapture)})});kz.displayName=rJn;var sJn="DismissableLayerBranch",aJn=z.forwardRef((n,i)=>{const a=z.useContext(SVt),c=z.useRef(null),d=hs(i,c);return z.useEffect(()=>{const g=c.current;if(g)return a.branches.add(g),()=>{a.branches.delete(g)}},[a.branches]),O.jsx(eo.div,{...n,ref:d})});aJn.displayName=sJn;function uJn(n,i=globalThis==null?void 0:globalThis.document){const a=G2(n),c=z.useRef(!1),d=z.useRef(()=>{});return z.useEffect(()=>{const g=w=>{if(w.target&&!c.current){let E=function(){TVt(iJn,a,S,{discrete:!0})};const S={originalEvent:w};w.pointerType==="touch"?(i.removeEventListener("click",d.current),d.current=E,i.addEventListener("click",d.current,{once:!0})):E()}else i.removeEventListener("click",d.current);c.current=!1},b=window.setTimeout(()=>{i.addEventListener("pointerdown",g)},0);return()=>{window.clearTimeout(b),i.removeEventListener("pointerdown",g),i.removeEventListener("click",d.current)}},[i,a]),{onPointerDownCapture:()=>c.current=!0}}function cJn(n,i=globalThis==null?void 0:globalThis.document){const a=G2(n),c=z.useRef(!1);return z.useEffect(()=>{const d=g=>{g.target&&!c.current&&TVt(oJn,a,{originalEvent:g},{discrete:!1})};return i.addEventListener("focusin",d),()=>i.removeEventListener("focusin",d)},[i,a]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function oFt(){const n=new CustomEvent(SDe);document.dispatchEvent(n)}function TVt(n,i,a,{discrete:c}){const d=a.originalEvent.target,g=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:a});i&&d.addEventListener(n,i,{once:!0}),c?pVt(d,g):d.dispatchEvent(g)}var EOe="focusScope.autoFocusOnMount",SOe="focusScope.autoFocusOnUnmount",sFt={bubbles:!1,cancelable:!0},lJn="FocusScope",xz=z.forwardRef((n,i)=>{const{loop:a=!1,trapped:c=!1,onMountAutoFocus:d,onUnmountAutoFocus:g,...b}=n,[w,E]=z.useState(null),S=G2(d),k=G2(g),_=z.useRef(null),C=hs(i,D=>E(D)),R=z.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;z.useEffect(()=>{if(c){let D=function(P){if(R.paused||!w)return;const H=P.target;w.contains(H)?_.current=H:Ox(_.current,{select:!0})},B=function(P){if(R.paused||!w)return;const H=P.relatedTarget;H!==null&&(w.contains(H)||Ox(_.current,{select:!0}))},F=function(P){if(document.activeElement===document.body)for(const Q of P)Q.removedNodes.length>0&&Ox(w)};document.addEventListener("focusin",D),document.addEventListener("focusout",B);const $=new MutationObserver(F);return w&&$.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",D),document.removeEventListener("focusout",B),$.disconnect()}}},[c,w,R.paused]),z.useEffect(()=>{if(w){uFt.add(R);const D=document.activeElement;if(!w.contains(D)){const F=new CustomEvent(EOe,sFt);w.addEventListener(EOe,S),w.dispatchEvent(F),F.defaultPrevented||(dJn(bJn(AVt(w)),{select:!0}),document.activeElement===D&&Ox(w))}return()=>{w.removeEventListener(EOe,S),setTimeout(()=>{const F=new CustomEvent(SOe,sFt);w.addEventListener(SOe,k),w.dispatchEvent(F),F.defaultPrevented||Ox(D??document.body,{select:!0}),w.removeEventListener(SOe,k),uFt.remove(R)},0)}}},[w,S,k,R]);const M=z.useCallback(D=>{if(!a&&!c||R.paused)return;const B=D.key==="Tab"&&!D.altKey&&!D.ctrlKey&&!D.metaKey,F=document.activeElement;if(B&&F){const $=D.currentTarget,[P,H]=fJn($);P&&H?!D.shiftKey&&F===H?(D.preventDefault(),a&&Ox(P,{select:!0})):D.shiftKey&&F===P&&(D.preventDefault(),a&&Ox(H,{select:!0})):F===$&&D.preventDefault()}},[a,c,R.paused]);return O.jsx(eo.div,{tabIndex:-1,...b,ref:C,onKeyDown:M})});xz.displayName=lJn;function dJn(n,{select:i=!1}={}){const a=document.activeElement;for(const c of n)if(Ox(c,{select:i}),document.activeElement!==a)return}function fJn(n){const i=AVt(n),a=aFt(i,n),c=aFt(i.reverse(),n);return[a,c]}function AVt(n){const i=[],a=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:c=>{const d=c.tagName==="INPUT"&&c.type==="hidden";return c.disabled||c.hidden||d?NodeFilter.FILTER_SKIP:c.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)i.push(a.currentNode);return i}function aFt(n,i){for(const a of n)if(!hJn(a,{upTo:i}))return a}function hJn(n,{upTo:i}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(i!==void 0&&n===i)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function pJn(n){return n instanceof HTMLInputElement&&"select"in n}function Ox(n,{select:i=!1}={}){if(n&&n.focus){const a=document.activeElement;n.focus({preventScroll:!0}),n!==a&&pJn(n)&&i&&n.select()}}var uFt=gJn();function gJn(){let n=[];return{add(i){const a=n[0];i!==a&&(a==null||a.pause()),n=cFt(n,i),n.unshift(i)},remove(i){var a;n=cFt(n,i),(a=n[0])==null||a.resume()}}}function cFt(n,i){const a=[...n],c=a.indexOf(i);return c!==-1&&a.splice(c,1),a}function bJn(n){return n.filter(i=>i.tagName!=="A")}var mJn="Portal",Nz=z.forwardRef((n,i)=>{var w;const{container:a,...c}=n,[d,g]=z.useState(!1);Up(()=>g(!0),[]);const b=a||d&&((w=globalThis==null?void 0:globalThis.document)==null?void 0:w.body);return b?VUt.createPortal(O.jsx(eo.div,{...c,ref:i}),b):null});Nz.displayName=mJn;var TOe=0;function _ae(){z.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??lFt()),document.body.insertAdjacentElement("beforeend",n[1]??lFt()),TOe++,()=>{TOe===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(i=>i.remove()),TOe--}},[])}function lFt(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var O2=function(){return O2=Object.assign||function(i){for(var a,c=1,d=arguments.length;c<d;c++){a=arguments[c];for(var g in a)Object.prototype.hasOwnProperty.call(a,g)&&(i[g]=a[g])}return i},O2.apply(this,arguments)};function _Vt(n,i){var a={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&i.indexOf(c)<0&&(a[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,c=Object.getOwnPropertySymbols(n);d<c.length;d++)i.indexOf(c[d])<0&&Object.prototype.propertyIsEnumerable.call(n,c[d])&&(a[c[d]]=n[c[d]]);return a}function wJn(n,i,a){if(a||arguments.length===2)for(var c=0,d=i.length,g;c<d;c++)(g||!(c in i))&&(g||(g=Array.prototype.slice.call(i,0,c)),g[c]=i[c]);return n.concat(g||Array.prototype.slice.call(i))}var Qie="right-scroll-bar-position",eoe="width-before-scroll-bar",yJn="with-scroll-bars-hidden",vJn="--removed-body-scroll-bar-size";function AOe(n,i){return typeof n=="function"?n(i):n&&(n.current=i),n}function EJn(n,i){var a=z.useState(function(){return{value:n,callback:i,facade:{get current(){return a.value},set current(c){var d=a.value;d!==c&&(a.value=c,a.callback(c,d))}}}})[0];return a.callback=i,a.facade}var SJn=typeof window<"u"?z.useLayoutEffect:z.useEffect,dFt=new WeakMap;function TJn(n,i){var a=EJn(null,function(c){return n.forEach(function(d){return AOe(d,c)})});return SJn(function(){var c=dFt.get(a);if(c){var d=new Set(c),g=new Set(n),b=a.current;d.forEach(function(w){g.has(w)||AOe(w,null)}),g.forEach(function(w){d.has(w)||AOe(w,b)})}dFt.set(a,n)},[n]),a}function AJn(n){return n}function _Jn(n,i){i===void 0&&(i=AJn);var a=[],c=!1,d={read:function(){if(c)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:n},useMedium:function(g){var b=i(g,c);return a.push(b),function(){a=a.filter(function(w){return w!==b})}},assignSyncMedium:function(g){for(c=!0;a.length;){var b=a;a=[],b.forEach(g)}a={push:function(w){return g(w)},filter:function(){return a}}},assignMedium:function(g){c=!0;var b=[];if(a.length){var w=a;a=[],w.forEach(g),b=a}var E=function(){var k=b;b=[],k.forEach(g)},S=function(){return Promise.resolve().then(E)};S(),a={push:function(k){b.push(k),S()},filter:function(k){return b=b.filter(k),a}}}};return d}function kJn(n){n===void 0&&(n={});var i=_Jn(null);return i.options=O2({async:!0,ssr:!1},n),i}var kVt=function(n){var i=n.sideCar,a=_Vt(n,["sideCar"]);if(!i)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var c=i.read();if(!c)throw new Error("Sidecar medium not found");return z.createElement(c,O2({},a))};kVt.isSideCarExport=!0;function xJn(n,i){return n.useMedium(i),kVt}var xVt=kJn(),_Oe=function(){},kae=z.forwardRef(function(n,i){var a=z.useRef(null),c=z.useState({onScrollCapture:_Oe,onWheelCapture:_Oe,onTouchMoveCapture:_Oe}),d=c[0],g=c[1],b=n.forwardProps,w=n.children,E=n.className,S=n.removeScrollBar,k=n.enabled,_=n.shards,C=n.sideCar,R=n.noRelative,M=n.noIsolation,D=n.inert,B=n.allowPinchZoom,F=n.as,$=F===void 0?"div":F,P=n.gapMode,H=_Vt(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),Q=C,re=TJn([a,i]),ee=O2(O2({},H),d);return z.createElement(z.Fragment,null,k&&z.createElement(Q,{sideCar:xVt,removeScrollBar:S,shards:_,noRelative:R,noIsolation:M,inert:D,setCallbacks:g,allowPinchZoom:!!B,lockRef:a,gapMode:P}),b?z.cloneElement(z.Children.only(w),O2(O2({},ee),{ref:re})):z.createElement($,O2({},ee,{className:E,ref:re}),w))});kae.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};kae.classNames={fullWidth:eoe,zeroRight:Qie};var NJn=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function CJn(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var i=NJn();return i&&n.setAttribute("nonce",i),n}function IJn(n,i){n.styleSheet?n.styleSheet.cssText=i:n.appendChild(document.createTextNode(i))}function RJn(n){var i=document.head||document.getElementsByTagName("head")[0];i.appendChild(n)}var OJn=function(){var n=0,i=null;return{add:function(a){n==0&&(i=CJn())&&(IJn(i,a),RJn(i)),n++},remove:function(){n--,!n&&i&&(i.parentNode&&i.parentNode.removeChild(i),i=null)}}},DJn=function(){var n=OJn();return function(i,a){z.useEffect(function(){return n.add(i),function(){n.remove()}},[i&&a])}},NVt=function(){var n=DJn(),i=function(a){var c=a.styles,d=a.dynamic;return n(c,d),null};return i},LJn={left:0,top:0,right:0,gap:0},kOe=function(n){return parseInt(n||"",10)||0},MJn=function(n){var i=window.getComputedStyle(document.body),a=i[n==="padding"?"paddingLeft":"marginLeft"],c=i[n==="padding"?"paddingTop":"marginTop"],d=i[n==="padding"?"paddingRight":"marginRight"];return[kOe(a),kOe(c),kOe(d)]},PJn=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return LJn;var i=MJn(n),a=document.documentElement.clientWidth,c=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,c-a+i[2]-i[0])}},jJn=NVt(),i5="data-scroll-locked",FJn=function(n,i,a,c){var d=n.left,g=n.top,b=n.right,w=n.gap;return a===void 0&&(a="margin"),`
|
||
.`.concat(yJn,` {
|
||
overflow: hidden `).concat(c,`;
|
||
padding-right: `).concat(w,"px ").concat(c,`;
|
||
}
|
||
body[`).concat(i5,`] {
|
||
overflow: hidden `).concat(c,`;
|
||
overscroll-behavior: contain;
|
||
`).concat([i&&"position: relative ".concat(c,";"),a==="margin"&&`
|
||
padding-left: `.concat(d,`px;
|
||
padding-top: `).concat(g,`px;
|
||
padding-right: `).concat(b,`px;
|
||
margin-left:0;
|
||
margin-top:0;
|
||
margin-right: `).concat(w,"px ").concat(c,`;
|
||
`),a==="padding"&&"padding-right: ".concat(w,"px ").concat(c,";")].filter(Boolean).join(""),`
|
||
}
|
||
|
||
.`).concat(Qie,` {
|
||
right: `).concat(w,"px ").concat(c,`;
|
||
}
|
||
|
||
.`).concat(eoe,` {
|
||
margin-right: `).concat(w,"px ").concat(c,`;
|
||
}
|
||
|
||
.`).concat(Qie," .").concat(Qie,` {
|
||
right: 0 `).concat(c,`;
|
||
}
|
||
|
||
.`).concat(eoe," .").concat(eoe,` {
|
||
margin-right: 0 `).concat(c,`;
|
||
}
|
||
|
||
body[`).concat(i5,`] {
|
||
`).concat(vJn,": ").concat(w,`px;
|
||
}
|
||
`)},fFt=function(){var n=parseInt(document.body.getAttribute(i5)||"0",10);return isFinite(n)?n:0},$Jn=function(){z.useEffect(function(){return document.body.setAttribute(i5,(fFt()+1).toString()),function(){var n=fFt()-1;n<=0?document.body.removeAttribute(i5):document.body.setAttribute(i5,n.toString())}},[])},BJn=function(n){var i=n.noRelative,a=n.noImportant,c=n.gapMode,d=c===void 0?"margin":c;$Jn();var g=z.useMemo(function(){return PJn(d)},[d]);return z.createElement(jJn,{styles:FJn(g,!i,d,a?"":"!important")})},TDe=!1;if(typeof window<"u")try{var Tie=Object.defineProperty({},"passive",{get:function(){return TDe=!0,!0}});window.addEventListener("test",Tie,Tie),window.removeEventListener("test",Tie,Tie)}catch{TDe=!1}var yM=TDe?{passive:!1}:!1,UJn=function(n){return n.tagName==="TEXTAREA"},CVt=function(n,i){if(!(n instanceof Element))return!1;var a=window.getComputedStyle(n);return a[i]!=="hidden"&&!(a.overflowY===a.overflowX&&!UJn(n)&&a[i]==="visible")},HJn=function(n){return CVt(n,"overflowY")},zJn=function(n){return CVt(n,"overflowX")},hFt=function(n,i){var a=i.ownerDocument,c=i;do{typeof ShadowRoot<"u"&&c instanceof ShadowRoot&&(c=c.host);var d=IVt(n,c);if(d){var g=RVt(n,c),b=g[1],w=g[2];if(b>w)return!0}c=c.parentNode}while(c&&c!==a.body);return!1},GJn=function(n){var i=n.scrollTop,a=n.scrollHeight,c=n.clientHeight;return[i,a,c]},qJn=function(n){var i=n.scrollLeft,a=n.scrollWidth,c=n.clientWidth;return[i,a,c]},IVt=function(n,i){return n==="v"?HJn(i):zJn(i)},RVt=function(n,i){return n==="v"?GJn(i):qJn(i)},VJn=function(n,i){return n==="h"&&i==="rtl"?-1:1},WJn=function(n,i,a,c,d){var g=VJn(n,window.getComputedStyle(i).direction),b=g*c,w=a.target,E=i.contains(w),S=!1,k=b>0,_=0,C=0;do{if(!w)break;var R=RVt(n,w),M=R[0],D=R[1],B=R[2],F=D-B-g*M;(M||F)&&IVt(n,w)&&(_+=F,C+=M);var $=w.parentNode;w=$&&$.nodeType===Node.DOCUMENT_FRAGMENT_NODE?$.host:$}while(!E&&w!==document.body||E&&(i.contains(w)||i===w));return(k&&Math.abs(_)<1||!k&&Math.abs(C)<1)&&(S=!0),S},Aie=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},pFt=function(n){return[n.deltaX,n.deltaY]},gFt=function(n){return n&&"current"in n?n.current:n},KJn=function(n,i){return n[0]===i[0]&&n[1]===i[1]},YJn=function(n){return`
|
||
.block-interactivity-`.concat(n,` {pointer-events: none;}
|
||
.allow-interactivity-`).concat(n,` {pointer-events: all;}
|
||
`)},JJn=0,vM=[];function XJn(n){var i=z.useRef([]),a=z.useRef([0,0]),c=z.useRef(),d=z.useState(JJn++)[0],g=z.useState(NVt)[0],b=z.useRef(n);z.useEffect(function(){b.current=n},[n]),z.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(d));var D=wJn([n.lockRef.current],(n.shards||[]).map(gFt),!0).filter(Boolean);return D.forEach(function(B){return B.classList.add("allow-interactivity-".concat(d))}),function(){document.body.classList.remove("block-interactivity-".concat(d)),D.forEach(function(B){return B.classList.remove("allow-interactivity-".concat(d))})}}},[n.inert,n.lockRef.current,n.shards]);var w=z.useCallback(function(D,B){if("touches"in D&&D.touches.length===2||D.type==="wheel"&&D.ctrlKey)return!b.current.allowPinchZoom;var F=Aie(D),$=a.current,P="deltaX"in D?D.deltaX:$[0]-F[0],H="deltaY"in D?D.deltaY:$[1]-F[1],Q,re=D.target,ee=Math.abs(P)>Math.abs(H)?"h":"v";if("touches"in D&&ee==="h"&&re.type==="range")return!1;var ae=window.getSelection(),he=ae&&ae.anchorNode,ve=he?he===re||he.contains(re):!1;if(ve)return!1;var de=hFt(ee,re);if(!de)return!0;if(de?Q=ee:(Q=ee==="v"?"h":"v",de=hFt(ee,re)),!de)return!1;if(!c.current&&"changedTouches"in D&&(P||H)&&(c.current=Q),!Q)return!0;var ge=c.current||Q;return WJn(ge,B,D,ge==="h"?P:H)},[]),E=z.useCallback(function(D){var B=D;if(!(!vM.length||vM[vM.length-1]!==g)){var F="deltaY"in B?pFt(B):Aie(B),$=i.current.filter(function(Q){return Q.name===B.type&&(Q.target===B.target||B.target===Q.shadowParent)&&KJn(Q.delta,F)})[0];if($&&$.should){B.cancelable&&B.preventDefault();return}if(!$){var P=(b.current.shards||[]).map(gFt).filter(Boolean).filter(function(Q){return Q.contains(B.target)}),H=P.length>0?w(B,P[0]):!b.current.noIsolation;H&&B.cancelable&&B.preventDefault()}}},[]),S=z.useCallback(function(D,B,F,$){var P={name:D,delta:B,target:F,should:$,shadowParent:ZJn(F)};i.current.push(P),setTimeout(function(){i.current=i.current.filter(function(H){return H!==P})},1)},[]),k=z.useCallback(function(D){a.current=Aie(D),c.current=void 0},[]),_=z.useCallback(function(D){S(D.type,pFt(D),D.target,w(D,n.lockRef.current))},[]),C=z.useCallback(function(D){S(D.type,Aie(D),D.target,w(D,n.lockRef.current))},[]);z.useEffect(function(){return vM.push(g),n.setCallbacks({onScrollCapture:_,onWheelCapture:_,onTouchMoveCapture:C}),document.addEventListener("wheel",E,yM),document.addEventListener("touchmove",E,yM),document.addEventListener("touchstart",k,yM),function(){vM=vM.filter(function(D){return D!==g}),document.removeEventListener("wheel",E,yM),document.removeEventListener("touchmove",E,yM),document.removeEventListener("touchstart",k,yM)}},[]);var R=n.removeScrollBar,M=n.inert;return z.createElement(z.Fragment,null,M?z.createElement(g,{styles:YJn(d)}):null,R?z.createElement(BJn,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function ZJn(n){for(var i=null;n!==null;)n instanceof ShadowRoot&&(i=n.host,n=n.host),n=n.parentNode;return i}const QJn=xJn(xVt,XJn);var Cz=z.forwardRef(function(n,i){return z.createElement(kae,O2({},n,{ref:i,sideCar:QJn}))});Cz.classNames=kae.classNames;var eXn=function(n){if(typeof document>"u")return null;var i=Array.isArray(n)?n[0]:n;return i.ownerDocument.body},EM=new WeakMap,_ie=new WeakMap,kie={},xOe=0,OVt=function(n){return n&&(n.host||OVt(n.parentNode))},tXn=function(n,i){return i.map(function(a){if(n.contains(a))return a;var c=OVt(a);return c&&n.contains(c)?c:(console.error("aria-hidden",a,"in not contained inside",n,". Doing nothing"),null)}).filter(function(a){return!!a})},nXn=function(n,i,a,c){var d=tXn(i,Array.isArray(n)?n:[n]);kie[a]||(kie[a]=new WeakMap);var g=kie[a],b=[],w=new Set,E=new Set(d),S=function(_){!_||w.has(_)||(w.add(_),S(_.parentNode))};d.forEach(S);var k=function(_){!_||E.has(_)||Array.prototype.forEach.call(_.children,function(C){if(w.has(C))k(C);else try{var R=C.getAttribute(c),M=R!==null&&R!=="false",D=(EM.get(C)||0)+1,B=(g.get(C)||0)+1;EM.set(C,D),g.set(C,B),b.push(C),D===1&&M&&_ie.set(C,!0),B===1&&C.setAttribute(a,"true"),M||C.setAttribute(c,"true")}catch(F){console.error("aria-hidden: cannot operate on ",C,F)}})};return k(i),w.clear(),xOe++,function(){b.forEach(function(_){var C=EM.get(_)-1,R=g.get(_)-1;EM.set(_,C),g.set(_,R),C||(_ie.has(_)||_.removeAttribute(c),_ie.delete(_)),R||_.removeAttribute(a)}),xOe--,xOe||(EM=new WeakMap,EM=new WeakMap,_ie=new WeakMap,kie={})}},xae=function(n,i,a){a===void 0&&(a="data-aria-hidden");var c=Array.from(Array.isArray(n)?n:[n]),d=eXn(n);return d?(c.push.apply(c,Array.from(d.querySelectorAll("[aria-live], script"))),nXn(c,d,a,"aria-hidden")):function(){return null}};function rXn(n){const i=iXn(n),a=z.forwardRef((c,d)=>{const{children:g,...b}=c,w=z.Children.toArray(g),E=w.find(sXn);if(E){const S=E.props.children,k=w.map(_=>_===E?z.Children.count(S)>1?z.Children.only(null):z.isValidElement(S)?S.props.children:null:_);return O.jsx(i,{...b,ref:d,children:z.isValidElement(S)?z.cloneElement(S,void 0,k):null})}return O.jsx(i,{...b,ref:d,children:g})});return a.displayName=`${n}.Slot`,a}function iXn(n){const i=z.forwardRef((a,c)=>{const{children:d,...g}=a;if(z.isValidElement(d)){const b=uXn(d),w=aXn(g,d.props);return d.type!==z.Fragment&&(w.ref=c?Gg(c,b):b),z.cloneElement(d,w)}return z.Children.count(d)>1?z.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var oXn=Symbol("radix.slottable");function sXn(n){return z.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===oXn}function aXn(n,i){const a={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?a[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(a[c]=d):c==="style"?a[c]={...d,...g}:c==="className"&&(a[c]=[d,g].filter(Boolean).join(" "))}return{...n,...a}}function uXn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?n.props.ref:n.props.ref||n.ref)}var Nae="Dialog",[DVt]=Nw(Nae),[cXn,Uv]=DVt(Nae),LVt=n=>{const{__scopeDialog:i,children:a,open:c,defaultOpen:d,onOpenChange:g,modal:b=!0}=n,w=z.useRef(null),E=z.useRef(null),[S,k]=z2({prop:c,defaultProp:d??!1,onChange:g,caller:Nae});return O.jsx(cXn,{scope:i,triggerRef:w,contentRef:E,contentId:Fh(),titleId:Fh(),descriptionId:Fh(),open:S,onOpenChange:k,onOpenToggle:z.useCallback(()=>k(_=>!_),[k]),modal:b,children:a})};LVt.displayName=Nae;var MVt="DialogTrigger",lXn=z.forwardRef((n,i)=>{const{__scopeDialog:a,...c}=n,d=Uv(MVt,a),g=hs(i,d.triggerRef);return O.jsx(eo.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.contentId,"data-state":h5e(d.open),...c,ref:g,onClick:Or(n.onClick,d.onOpenToggle)})});lXn.displayName=MVt;var d5e="DialogPortal",[dXn,PVt]=DVt(d5e,{forceMount:void 0}),jVt=n=>{const{__scopeDialog:i,forceMount:a,children:c,container:d}=n,g=Uv(d5e,i);return O.jsx(dXn,{scope:i,forceMount:a,children:z.Children.map(c,b=>O.jsx(Cw,{present:a||g.open,children:O.jsx(Nz,{asChild:!0,container:d,children:b})}))})};jVt.displayName=d5e;var sse="DialogOverlay",FVt=z.forwardRef((n,i)=>{const a=PVt(sse,n.__scopeDialog),{forceMount:c=a.forceMount,...d}=n,g=Uv(sse,n.__scopeDialog);return g.modal?O.jsx(Cw,{present:c||g.open,children:O.jsx(hXn,{...d,ref:i})}):null});FVt.displayName=sse;var fXn=rXn("DialogOverlay.RemoveScroll"),hXn=z.forwardRef((n,i)=>{const{__scopeDialog:a,...c}=n,d=Uv(sse,a);return O.jsx(Cz,{as:fXn,allowPinchZoom:!0,shards:[d.contentRef],children:O.jsx(eo.div,{"data-state":h5e(d.open),...c,ref:i,style:{pointerEvents:"auto",...c.style}})})}),pR="DialogContent",$Vt=z.forwardRef((n,i)=>{const a=PVt(pR,n.__scopeDialog),{forceMount:c=a.forceMount,...d}=n,g=Uv(pR,n.__scopeDialog);return O.jsx(Cw,{present:c||g.open,children:g.modal?O.jsx(pXn,{...d,ref:i}):O.jsx(gXn,{...d,ref:i})})});$Vt.displayName=pR;var pXn=z.forwardRef((n,i)=>{const a=Uv(pR,n.__scopeDialog),c=z.useRef(null),d=hs(i,a.contentRef,c);return z.useEffect(()=>{const g=c.current;if(g)return xae(g)},[]),O.jsx(BVt,{...n,ref:d,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Or(n.onCloseAutoFocus,g=>{var b;g.preventDefault(),(b=a.triggerRef.current)==null||b.focus()}),onPointerDownOutside:Or(n.onPointerDownOutside,g=>{const b=g.detail.originalEvent,w=b.button===0&&b.ctrlKey===!0;(b.button===2||w)&&g.preventDefault()}),onFocusOutside:Or(n.onFocusOutside,g=>g.preventDefault())})}),gXn=z.forwardRef((n,i)=>{const a=Uv(pR,n.__scopeDialog),c=z.useRef(!1),d=z.useRef(!1);return O.jsx(BVt,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:g=>{var b,w;(b=n.onCloseAutoFocus)==null||b.call(n,g),g.defaultPrevented||(c.current||(w=a.triggerRef.current)==null||w.focus(),g.preventDefault()),c.current=!1,d.current=!1},onInteractOutside:g=>{var E,S;(E=n.onInteractOutside)==null||E.call(n,g),g.defaultPrevented||(c.current=!0,g.detail.originalEvent.type==="pointerdown"&&(d.current=!0));const b=g.target;((S=a.triggerRef.current)==null?void 0:S.contains(b))&&g.preventDefault(),g.detail.originalEvent.type==="focusin"&&d.current&&g.preventDefault()}})}),BVt=z.forwardRef((n,i)=>{const{__scopeDialog:a,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:g,...b}=n,w=Uv(pR,a),E=z.useRef(null),S=hs(i,E);return _ae(),O.jsxs(O.Fragment,{children:[O.jsx(xz,{asChild:!0,loop:!0,trapped:c,onMountAutoFocus:d,onUnmountAutoFocus:g,children:O.jsx(kz,{role:"dialog",id:w.contentId,"aria-describedby":w.descriptionId,"aria-labelledby":w.titleId,"data-state":h5e(w.open),...b,ref:S,onDismiss:()=>w.onOpenChange(!1)})}),O.jsxs(O.Fragment,{children:[O.jsx(bXn,{titleId:w.titleId}),O.jsx(wXn,{contentRef:E,descriptionId:w.descriptionId})]})]})}),f5e="DialogTitle",UVt=z.forwardRef((n,i)=>{const{__scopeDialog:a,...c}=n,d=Uv(f5e,a);return O.jsx(eo.h2,{id:d.titleId,...c,ref:i})});UVt.displayName=f5e;var HVt="DialogDescription",zVt=z.forwardRef((n,i)=>{const{__scopeDialog:a,...c}=n,d=Uv(HVt,a);return O.jsx(eo.p,{id:d.descriptionId,...c,ref:i})});zVt.displayName=HVt;var GVt="DialogClose",qVt=z.forwardRef((n,i)=>{const{__scopeDialog:a,...c}=n,d=Uv(GVt,a);return O.jsx(eo.button,{type:"button",...c,ref:i,onClick:Or(n.onClick,()=>d.onOpenChange(!1))})});qVt.displayName=GVt;function h5e(n){return n?"open":"closed"}var VVt="DialogTitleWarning",[tgr,WVt]=MYn(VVt,{contentName:pR,titleName:f5e,docsSlug:"dialog"}),bXn=({titleId:n})=>{const i=WVt(VVt),a=`\`${i.contentName}\` requires a \`${i.titleName}\` for the component to be accessible for screen reader users.
|
||
|
||
If you want to hide the \`${i.titleName}\`, you can wrap it with our VisuallyHidden component.
|
||
|
||
For more information, see https://radix-ui.com/primitives/docs/components/${i.docsSlug}`;return z.useEffect(()=>{n&&(document.getElementById(n)||console.error(a))},[a,n]),null},mXn="DialogDescriptionWarning",wXn=({contentRef:n,descriptionId:i})=>{const c=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${WVt(mXn).contentName}}.`;return z.useEffect(()=>{var g;const d=(g=n.current)==null?void 0:g.getAttribute("aria-describedby");i&&d&&(document.getElementById(i)||console.warn(c))},[c,n,i]),null},KVt=LVt,YVt=jVt,p5e=FVt,g5e=$Vt,JVt=UVt,XVt=zVt,yXn=qVt;const gR=KVt,vXn=YVt,ZVt=z.forwardRef(({className:n,...i},a)=>O.jsx(p5e,{ref:a,className:kr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-40 bg-black/80 data-[state=closed]:animate-out data-[state=open]:animate-in",n),...i}));ZVt.displayName=p5e.displayName;const aN=z.forwardRef(({className:n,children:i,container:a,...c},d)=>{const{t:g}=zs(["common"]);return O.jsxs(vXn,{container:a,children:[O.jsx(ZVt,{}),O.jsxs(g5e,{ref:d,className:kr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in sm:rounded-lg",n),...c,children:[i,O.jsxs(yXn,{className:"absolute top-4 right-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[O.jsx(eae,{className:"h-4 w-4"}),O.jsx("span",{className:"sr-only",children:g("buttons.close")})]})]})]})});aN.displayName=g5e.displayName;const uN=({className:n,...i})=>O.jsx("div",{className:kr("flex flex-col space-y-1.5 text-center sm:text-left",n),...i});uN.displayName="DialogHeader";const cN=z.forwardRef(({className:n,...i},a)=>O.jsx(JVt,{ref:a,className:kr("font-semibold text-lg leading-none tracking-tight",n),...i}));cN.displayName=JVt.displayName;const lN=z.forwardRef(({className:n,...i},a)=>O.jsx(XVt,{ref:a,className:kr("text-muted-foreground text-sm",n),...i}));lN.displayName=XVt.displayName;const Ba=z.forwardRef(({className:n,type:i,...a},c)=>O.jsx("input",{type:i,className:kr("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:font-medium file:text-foreground file:text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:c,...a}));Ba.displayName="Input";var Cae="Switch",[EXn]=Nw(Cae),[SXn,TXn]=EXn(Cae),QVt=z.forwardRef((n,i)=>{const{__scopeSwitch:a,name:c,checked:d,defaultChecked:g,required:b,disabled:w,value:E="on",onCheckedChange:S,form:k,..._}=n,[C,R]=z.useState(null),M=hs(i,P=>R(P)),D=z.useRef(!1),B=C?k||!!C.closest("form"):!0,[F,$]=z2({prop:d,defaultProp:g??!1,onChange:S,caller:Cae});return O.jsxs(SXn,{scope:a,checked:F,disabled:w,children:[O.jsx(eo.button,{type:"button",role:"switch","aria-checked":F,"aria-required":b,"data-state":rWt(F),"data-disabled":w?"":void 0,disabled:w,value:E,..._,ref:M,onClick:Or(n.onClick,P=>{$(H=>!H),B&&(D.current=P.isPropagationStopped(),D.current||P.stopPropagation())})}),B&&O.jsx(nWt,{control:C,bubbles:!D.current,name:c,value:E,checked:F,required:b,disabled:w,form:k,style:{transform:"translateX(-100%)"}})]})});QVt.displayName=Cae;var eWt="SwitchThumb",tWt=z.forwardRef((n,i)=>{const{__scopeSwitch:a,...c}=n,d=TXn(eWt,a);return O.jsx(eo.span,{"data-state":rWt(d.checked),"data-disabled":d.disabled?"":void 0,...c,ref:i})});tWt.displayName=eWt;var AXn="SwitchBubbleInput",nWt=z.forwardRef(({__scopeSwitch:n,control:i,checked:a,bubbles:c=!0,...d},g)=>{const b=z.useRef(null),w=hs(b,g),E=Sae(a),S=Tae(i);return z.useEffect(()=>{const k=b.current;if(!k)return;const _=window.HTMLInputElement.prototype,R=Object.getOwnPropertyDescriptor(_,"checked").set;if(E!==a&&R){const M=new Event("click",{bubbles:c});R.call(k,a),k.dispatchEvent(M)}},[E,a,c]),O.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a,...d,tabIndex:-1,ref:w,style:{...d.style,...S,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});nWt.displayName=AXn;function rWt(n){return n?"checked":"unchecked"}var iWt=QVt,_Xn=tWt;const _A=z.forwardRef(({className:n,...i},a)=>O.jsx(iWt,{className:kr("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",n),...i,ref:a,children:O.jsx(_Xn,{className:kr("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));_A.displayName=iWt.displayName;function yA(n){return Array.isArray?Array.isArray(n):aWt(n)==="[object Array]"}function kXn(n){if(typeof n=="string")return n;let i=n+"";return i=="0"&&1/n==-1/0?"-0":i}function xXn(n){return n==null?"":kXn(n)}function L2(n){return typeof n=="string"}function oWt(n){return typeof n=="number"}function NXn(n){return n===!0||n===!1||CXn(n)&&aWt(n)=="[object Boolean]"}function sWt(n){return typeof n=="object"}function CXn(n){return sWt(n)&&n!==null}function Dm(n){return n!=null}function NOe(n){return!n.trim().length}function aWt(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}const IXn="Incorrect 'index' type",RXn=n=>`Invalid value for key ${n}`,OXn=n=>`Pattern length exceeds max of ${n}.`,DXn=n=>`Missing ${n} property in key`,LXn=n=>`Property 'weight' in key '${n}' must be a positive integer`,bFt=Object.prototype.hasOwnProperty;class MXn{constructor(i){this._keys=[],this._keyMap={};let a=0;i.forEach(c=>{let d=uWt(c);this._keys.push(d),this._keyMap[d.id]=d,a+=d.weight}),this._keys.forEach(c=>{c.weight/=a})}get(i){return this._keyMap[i]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function uWt(n){let i=null,a=null,c=null,d=1,g=null;if(L2(n)||yA(n))c=n,i=mFt(n),a=ADe(n);else{if(!bFt.call(n,"name"))throw new Error(DXn("name"));const b=n.name;if(c=b,bFt.call(n,"weight")&&(d=n.weight,d<=0))throw new Error(LXn(b));i=mFt(b),a=ADe(b),g=n.getFn}return{path:i,id:a,weight:d,src:c,getFn:g}}function mFt(n){return yA(n)?n:n.split(".")}function ADe(n){return yA(n)?n.join("."):n}function PXn(n,i){let a=[],c=!1;const d=(g,b,w)=>{if(Dm(g))if(!b[w])a.push(g);else{let E=b[w];const S=g[E];if(!Dm(S))return;if(w===b.length-1&&(L2(S)||oWt(S)||NXn(S)))a.push(xXn(S));else if(yA(S)){c=!0;for(let k=0,_=S.length;k<_;k+=1)d(S[k],b,w+1)}else b.length&&d(S,b,w+1)}};return d(n,L2(i)?i.split("."):i,0),c?a:a[0]}const jXn={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},FXn={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(n,i)=>n.score===i.score?n.idx<i.idx?-1:1:n.score<i.score?-1:1},$Xn={location:0,threshold:.6,distance:100},BXn={useExtendedSearch:!1,getFn:PXn,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ao={...FXn,...jXn,...$Xn,...BXn};const UXn=/[^ ]+/g;function HXn(n=1,i=3){const a=new Map,c=Math.pow(10,i);return{get(d){const g=d.match(UXn).length;if(a.has(g))return a.get(g);const b=1/Math.pow(g,.5*n),w=parseFloat(Math.round(b*c)/c);return a.set(g,w),w},clear(){a.clear()}}}class b5e{constructor({getFn:i=ao.getFn,fieldNormWeight:a=ao.fieldNormWeight}={}){this.norm=HXn(a,3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}setSources(i=[]){this.docs=i}setIndexRecords(i=[]){this.records=i}setKeys(i=[]){this.keys=i,this._keysMap={},i.forEach((a,c)=>{this._keysMap[a.id]=c})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,L2(this.docs[0])?this.docs.forEach((i,a)=>{this._addString(i,a)}):this.docs.forEach((i,a)=>{this._addObject(i,a)}),this.norm.clear())}add(i){const a=this.size();L2(i)?this._addString(i,a):this._addObject(i,a)}removeAt(i){this.records.splice(i,1);for(let a=i,c=this.size();a<c;a+=1)this.records[a].i-=1}getValueForItemAtKeyId(i,a){return i[this._keysMap[a]]}size(){return this.records.length}_addString(i,a){if(!Dm(i)||NOe(i))return;let c={v:i,i:a,n:this.norm.get(i)};this.records.push(c)}_addObject(i,a){let c={i:a,$:{}};this.keys.forEach((d,g)=>{let b=d.getFn?d.getFn(i):this.getFn(i,d.path);if(Dm(b)){if(yA(b)){let w=[];const E=[{nestedArrIndex:-1,value:b}];for(;E.length;){const{nestedArrIndex:S,value:k}=E.pop();if(Dm(k))if(L2(k)&&!NOe(k)){let _={v:k,i:S,n:this.norm.get(k)};w.push(_)}else yA(k)&&k.forEach((_,C)=>{E.push({nestedArrIndex:C,value:_})})}c.$[g]=w}else if(L2(b)&&!NOe(b)){let w={v:b,n:this.norm.get(b)};c.$[g]=w}}}),this.records.push(c)}toJSON(){return{keys:this.keys,records:this.records}}}function cWt(n,i,{getFn:a=ao.getFn,fieldNormWeight:c=ao.fieldNormWeight}={}){const d=new b5e({getFn:a,fieldNormWeight:c});return d.setKeys(n.map(uWt)),d.setSources(i),d.create(),d}function zXn(n,{getFn:i=ao.getFn,fieldNormWeight:a=ao.fieldNormWeight}={}){const{keys:c,records:d}=n,g=new b5e({getFn:i,fieldNormWeight:a});return g.setKeys(c),g.setIndexRecords(d),g}function xie(n,{errors:i=0,currentLocation:a=0,expectedLocation:c=0,distance:d=ao.distance,ignoreLocation:g=ao.ignoreLocation}={}){const b=i/n.length;if(g)return b;const w=Math.abs(c-a);return d?b+w/d:w?1:b}function GXn(n=[],i=ao.minMatchCharLength){let a=[],c=-1,d=-1,g=0;for(let b=n.length;g<b;g+=1){let w=n[g];w&&c===-1?c=g:!w&&c!==-1&&(d=g-1,d-c+1>=i&&a.push([c,d]),c=-1)}return n[g-1]&&g-c>=i&&a.push([c,g-1]),a}const q4=32;function qXn(n,i,a,{location:c=ao.location,distance:d=ao.distance,threshold:g=ao.threshold,findAllMatches:b=ao.findAllMatches,minMatchCharLength:w=ao.minMatchCharLength,includeMatches:E=ao.includeMatches,ignoreLocation:S=ao.ignoreLocation}={}){if(i.length>q4)throw new Error(OXn(q4));const k=i.length,_=n.length,C=Math.max(0,Math.min(c,_));let R=g,M=C;const D=w>1||E,B=D?Array(_):[];let F;for(;(F=n.indexOf(i,M))>-1;){let ee=xie(i,{currentLocation:F,expectedLocation:C,distance:d,ignoreLocation:S});if(R=Math.min(ee,R),M=F+k,D){let ae=0;for(;ae<k;)B[F+ae]=1,ae+=1}}M=-1;let $=[],P=1,H=k+_;const Q=1<<k-1;for(let ee=0;ee<k;ee+=1){let ae=0,he=H;for(;ae<he;)xie(i,{errors:ee,currentLocation:C+he,expectedLocation:C,distance:d,ignoreLocation:S})<=R?ae=he:H=he,he=Math.floor((H-ae)/2+ae);H=he;let ve=Math.max(1,C-he+1),de=b?_:Math.min(C+he,_)+k,ge=Array(de+2);ge[de+1]=(1<<ee)-1;for(let fe=de;fe>=ve;fe-=1){let De=fe-1,Se=a[n.charAt(De)];if(D&&(B[De]=+!!Se),ge[fe]=(ge[fe+1]<<1|1)&Se,ee&&(ge[fe]|=($[fe+1]|$[fe])<<1|1|$[fe+1]),ge[fe]&Q&&(P=xie(i,{errors:ee,currentLocation:De,expectedLocation:C,distance:d,ignoreLocation:S}),P<=R)){if(R=P,M=De,M<=C)break;ve=Math.max(1,2*C-M)}}if(xie(i,{errors:ee+1,currentLocation:C,expectedLocation:C,distance:d,ignoreLocation:S})>R)break;$=ge}const re={isMatch:M>=0,score:Math.max(.001,P)};if(D){const ee=GXn(B,w);ee.length?E&&(re.indices=ee):re.isMatch=!1}return re}function VXn(n){let i={};for(let a=0,c=n.length;a<c;a+=1){const d=n.charAt(a);i[d]=(i[d]||0)|1<<c-a-1}return i}const ase=String.prototype.normalize?n=>n.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):n=>n;class lWt{constructor(i,{location:a=ao.location,threshold:c=ao.threshold,distance:d=ao.distance,includeMatches:g=ao.includeMatches,findAllMatches:b=ao.findAllMatches,minMatchCharLength:w=ao.minMatchCharLength,isCaseSensitive:E=ao.isCaseSensitive,ignoreDiacritics:S=ao.ignoreDiacritics,ignoreLocation:k=ao.ignoreLocation}={}){if(this.options={location:a,threshold:c,distance:d,includeMatches:g,findAllMatches:b,minMatchCharLength:w,isCaseSensitive:E,ignoreDiacritics:S,ignoreLocation:k},i=E?i:i.toLowerCase(),i=S?ase(i):i,this.pattern=i,this.chunks=[],!this.pattern.length)return;const _=(R,M)=>{this.chunks.push({pattern:R,alphabet:VXn(R),startIndex:M})},C=this.pattern.length;if(C>q4){let R=0;const M=C%q4,D=C-M;for(;R<D;)_(this.pattern.substr(R,q4),R),R+=q4;if(M){const B=C-q4;_(this.pattern.substr(B),B)}}else _(this.pattern,0)}searchIn(i){const{isCaseSensitive:a,ignoreDiacritics:c,includeMatches:d}=this.options;if(i=a?i:i.toLowerCase(),i=c?ase(i):i,this.pattern===i){let D={isMatch:!0,score:0};return d&&(D.indices=[[0,i.length-1]]),D}const{location:g,distance:b,threshold:w,findAllMatches:E,minMatchCharLength:S,ignoreLocation:k}=this.options;let _=[],C=0,R=!1;this.chunks.forEach(({pattern:D,alphabet:B,startIndex:F})=>{const{isMatch:$,score:P,indices:H}=qXn(i,D,B,{location:g+F,distance:b,threshold:w,findAllMatches:E,minMatchCharLength:S,includeMatches:d,ignoreLocation:k});$&&(R=!0),C+=P,$&&H&&(_=[..._,...H])});let M={isMatch:R,score:R?C/this.chunks.length:1};return R&&d&&(M.indices=_),M}}class vN{constructor(i){this.pattern=i}static isMultiMatch(i){return wFt(i,this.multiRegex)}static isSingleMatch(i){return wFt(i,this.singleRegex)}search(){}}function wFt(n,i){const a=n.match(i);return a?a[1]:null}class WXn extends vN{constructor(i){super(i)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(i){const a=i===this.pattern;return{isMatch:a,score:a?0:1,indices:[0,this.pattern.length-1]}}}class KXn extends vN{constructor(i){super(i)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(i){const c=i.indexOf(this.pattern)===-1;return{isMatch:c,score:c?0:1,indices:[0,i.length-1]}}}class YXn extends vN{constructor(i){super(i)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(i){const a=i.startsWith(this.pattern);return{isMatch:a,score:a?0:1,indices:[0,this.pattern.length-1]}}}class JXn extends vN{constructor(i){super(i)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(i){const a=!i.startsWith(this.pattern);return{isMatch:a,score:a?0:1,indices:[0,i.length-1]}}}class XXn extends vN{constructor(i){super(i)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(i){const a=i.endsWith(this.pattern);return{isMatch:a,score:a?0:1,indices:[i.length-this.pattern.length,i.length-1]}}}class ZXn extends vN{constructor(i){super(i)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(i){const a=!i.endsWith(this.pattern);return{isMatch:a,score:a?0:1,indices:[0,i.length-1]}}}class dWt extends vN{constructor(i,{location:a=ao.location,threshold:c=ao.threshold,distance:d=ao.distance,includeMatches:g=ao.includeMatches,findAllMatches:b=ao.findAllMatches,minMatchCharLength:w=ao.minMatchCharLength,isCaseSensitive:E=ao.isCaseSensitive,ignoreDiacritics:S=ao.ignoreDiacritics,ignoreLocation:k=ao.ignoreLocation}={}){super(i),this._bitapSearch=new lWt(i,{location:a,threshold:c,distance:d,includeMatches:g,findAllMatches:b,minMatchCharLength:w,isCaseSensitive:E,ignoreDiacritics:S,ignoreLocation:k})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(i){return this._bitapSearch.searchIn(i)}}class fWt extends vN{constructor(i){super(i)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(i){let a=0,c;const d=[],g=this.pattern.length;for(;(c=i.indexOf(this.pattern,a))>-1;)a=c+g,d.push([c,a-1]);const b=!!d.length;return{isMatch:b,score:b?0:1,indices:d}}}const _De=[WXn,fWt,YXn,JXn,ZXn,XXn,KXn,dWt],yFt=_De.length,QXn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,eZn="|";function tZn(n,i={}){return n.split(eZn).map(a=>{let c=a.trim().split(QXn).filter(g=>g&&!!g.trim()),d=[];for(let g=0,b=c.length;g<b;g+=1){const w=c[g];let E=!1,S=-1;for(;!E&&++S<yFt;){const k=_De[S];let _=k.isMultiMatch(w);_&&(d.push(new k(_,i)),E=!0)}if(!E)for(S=-1;++S<yFt;){const k=_De[S];let _=k.isSingleMatch(w);if(_){d.push(new k(_,i));break}}}return d})}const nZn=new Set([dWt.type,fWt.type]);class rZn{constructor(i,{isCaseSensitive:a=ao.isCaseSensitive,ignoreDiacritics:c=ao.ignoreDiacritics,includeMatches:d=ao.includeMatches,minMatchCharLength:g=ao.minMatchCharLength,ignoreLocation:b=ao.ignoreLocation,findAllMatches:w=ao.findAllMatches,location:E=ao.location,threshold:S=ao.threshold,distance:k=ao.distance}={}){this.query=null,this.options={isCaseSensitive:a,ignoreDiacritics:c,includeMatches:d,minMatchCharLength:g,findAllMatches:w,ignoreLocation:b,location:E,threshold:S,distance:k},i=a?i:i.toLowerCase(),i=c?ase(i):i,this.pattern=i,this.query=tZn(this.pattern,this.options)}static condition(i,a){return a.useExtendedSearch}searchIn(i){const a=this.query;if(!a)return{isMatch:!1,score:1};const{includeMatches:c,isCaseSensitive:d,ignoreDiacritics:g}=this.options;i=d?i:i.toLowerCase(),i=g?ase(i):i;let b=0,w=[],E=0;for(let S=0,k=a.length;S<k;S+=1){const _=a[S];w.length=0,b=0;for(let C=0,R=_.length;C<R;C+=1){const M=_[C],{isMatch:D,indices:B,score:F}=M.search(i);if(D){if(b+=1,E+=F,c){const $=M.constructor.type;nZn.has($)?w=[...w,...B]:w.push(B)}}else{E=0,b=0,w.length=0;break}}if(b){let C={isMatch:!0,score:E/b};return c&&(C.indices=w),C}}return{isMatch:!1,score:1}}}const kDe=[];function iZn(...n){kDe.push(...n)}function xDe(n,i){for(let a=0,c=kDe.length;a<c;a+=1){let d=kDe[a];if(d.condition(n,i))return new d(n,i)}return new lWt(n,i)}const use={AND:"$and",OR:"$or"},NDe={PATH:"$path",PATTERN:"$val"},CDe=n=>!!(n[use.AND]||n[use.OR]),oZn=n=>!!n[NDe.PATH],sZn=n=>!yA(n)&&sWt(n)&&!CDe(n),vFt=n=>({[use.AND]:Object.keys(n).map(i=>({[i]:n[i]}))});function hWt(n,i,{auto:a=!0}={}){const c=d=>{let g=Object.keys(d);const b=oZn(d);if(!b&&g.length>1&&!CDe(d))return c(vFt(d));if(sZn(d)){const E=b?d[NDe.PATH]:g[0],S=b?d[NDe.PATTERN]:d[E];if(!L2(S))throw new Error(RXn(E));const k={keyId:ADe(E),pattern:S};return a&&(k.searcher=xDe(S,i)),k}let w={children:[],operator:g[0]};return g.forEach(E=>{const S=d[E];yA(S)&&S.forEach(k=>{w.children.push(c(k))})}),w};return CDe(n)||(n=vFt(n)),c(n)}function aZn(n,{ignoreFieldNorm:i=ao.ignoreFieldNorm}){n.forEach(a=>{let c=1;a.matches.forEach(({key:d,norm:g,score:b})=>{const w=d?d.weight:null;c*=Math.pow(b===0&&w?Number.EPSILON:b,(w||1)*(i?1:g))}),a.score=c})}function uZn(n,i){const a=n.matches;i.matches=[],Dm(a)&&a.forEach(c=>{if(!Dm(c.indices)||!c.indices.length)return;const{indices:d,value:g}=c;let b={indices:d,value:g};c.key&&(b.key=c.key.src),c.idx>-1&&(b.refIndex=c.idx),i.matches.push(b)})}function cZn(n,i){i.score=n.score}function lZn(n,i,{includeMatches:a=ao.includeMatches,includeScore:c=ao.includeScore}={}){const d=[];return a&&d.push(uZn),c&&d.push(cZn),n.map(g=>{const{idx:b}=g,w={item:i[b],refIndex:b};return d.length&&d.forEach(E=>{E(g,w)}),w})}class RR{constructor(i,a={},c){this.options={...ao,...a},this.options.useExtendedSearch,this._keyStore=new MXn(this.options.keys),this.setCollection(i,c)}setCollection(i,a){if(this._docs=i,a&&!(a instanceof b5e))throw new Error(IXn);this._myIndex=a||cWt(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(i){Dm(i)&&(this._docs.push(i),this._myIndex.add(i))}remove(i=()=>!1){const a=[];for(let c=0,d=this._docs.length;c<d;c+=1){const g=this._docs[c];i(g,c)&&(this.removeAt(c),c-=1,d-=1,a.push(g))}return a}removeAt(i){this._docs.splice(i,1),this._myIndex.removeAt(i)}getIndex(){return this._myIndex}search(i,{limit:a=-1}={}){const{includeMatches:c,includeScore:d,shouldSort:g,sortFn:b,ignoreFieldNorm:w}=this.options;let E=L2(i)?L2(this._docs[0])?this._searchStringList(i):this._searchObjectList(i):this._searchLogical(i);return aZn(E,{ignoreFieldNorm:w}),g&&E.sort(b),oWt(a)&&a>-1&&(E=E.slice(0,a)),lZn(E,this._docs,{includeMatches:c,includeScore:d})}_searchStringList(i){const a=xDe(i,this.options),{records:c}=this._myIndex,d=[];return c.forEach(({v:g,i:b,n:w})=>{if(!Dm(g))return;const{isMatch:E,score:S,indices:k}=a.searchIn(g);E&&d.push({item:g,idx:b,matches:[{score:S,value:g,norm:w,indices:k}]})}),d}_searchLogical(i){const a=hWt(i,this.options),c=(w,E,S)=>{if(!w.children){const{keyId:_,searcher:C}=w,R=this._findMatches({key:this._keyStore.get(_),value:this._myIndex.getValueForItemAtKeyId(E,_),searcher:C});return R&&R.length?[{idx:S,item:E,matches:R}]:[]}const k=[];for(let _=0,C=w.children.length;_<C;_+=1){const R=w.children[_],M=c(R,E,S);if(M.length)k.push(...M);else if(w.operator===use.AND)return[]}return k},d=this._myIndex.records,g={},b=[];return d.forEach(({$:w,i:E})=>{if(Dm(w)){let S=c(a,w,E);S.length&&(g[E]||(g[E]={idx:E,item:w,matches:[]},b.push(g[E])),S.forEach(({matches:k})=>{g[E].matches.push(...k)}))}}),b}_searchObjectList(i){const a=xDe(i,this.options),{keys:c,records:d}=this._myIndex,g=[];return d.forEach(({$:b,i:w})=>{if(!Dm(b))return;let E=[];c.forEach((S,k)=>{E.push(...this._findMatches({key:S,value:b[k],searcher:a}))}),E.length&&g.push({idx:w,item:b,matches:E})}),g}_findMatches({key:i,value:a,searcher:c}){if(!Dm(a))return[];let d=[];if(yA(a))a.forEach(({v:g,i:b,n:w})=>{if(!Dm(g))return;const{isMatch:E,score:S,indices:k}=c.searchIn(g);E&&d.push({score:S,key:i,value:g,idx:b,norm:w,indices:k})});else{const{v:g,n:b}=a,{isMatch:w,score:E,indices:S}=c.searchIn(g);w&&d.push({score:E,key:i,value:g,norm:b,indices:S})}return d}}RR.version="7.1.0";RR.createIndex=cWt;RR.parseIndex=zXn;RR.config=ao;RR.parseQuery=hWt;iZn(rZn);function dZn(n){return Array.isArray(n)?n.filter(i=>typeof i=="string"):typeof n=="string"&&n.trim()?[n]:[]}function fZn(n,i){if(!n.entity_id.startsWith("automation."))return null;const a=typeof n.attributes.friendly_name=="string"?n.attributes.friendly_name:n.entity_id,c=typeof n.attributes.id=="string"||typeof n.attributes.id=="number"?String(n.attributes.id):n.entity_id.replace("automation.","");return{entity_id:n.entity_id,automation_id:c,friendly_name:a,enabled:n.state==="on",last_triggered:typeof n.attributes.last_triggered=="string"?n.attributes.last_triggered:void 0,description:typeof n.attributes.description=="string"?n.attributes.description:"",mode:typeof n.attributes.mode=="string"?n.attributes.mode:void 0,area_id:i,tags:dZn(n.attributes.tags)}}function hZn(n){return[n.entity_id,n.friendly_name,n.description,n.mode||"",n.tags.join(" ")].filter(Boolean).join(" ")}function pZn(n,i,a){return i?[...n].sort((c,d)=>{let g=0;switch(i){case"name":{g=c.friendly_name.toLowerCase().localeCompare(d.friendly_name.toLowerCase());break}case"lastTriggered":{const b=c.last_triggered?new Date(c.last_triggered).getTime():0,w=d.last_triggered?new Date(d.last_triggered).getTime():0;g=b-w;break}case"enabled":{g=Number(c.enabled)-Number(d.enabled);break}}return a==="asc"?g:-g}):[...n]}function gZn(n,i){if(!i.trim())return[...n];const a=n.map(d=>({...d,searchText:hZn(d)}));return new RR(a,{keys:["searchText","entity_id","friendly_name","description"],threshold:.4,ignoreLocation:!0,includeScore:!0,minMatchCharLength:2}).search(i).map(d=>{const{searchText:g,...b}=d.item;return b})}function bZn(n,i,a){const c={};for(const d of n){const g=d.area_id?i[d.area_id]||a.otherArea:a.noArea;c[g]||(c[g]=[]),c[g].push(d)}return c}function mZn({isOpen:n,hass:i,hassConfig:a,entities:c,searchTerm:d,sortColumn:g,sortDirection:b,labels:w}){const[E,S]=z.useState([]),[k,_]=z.useState([]);z.useEffect(()=>{if(!n||!i)return;const $=Lv(i,a);let P=!1;return(async()=>{try{const[H,Q]=await Promise.all([$.getAreas(),$.getEntities()]);P||(S(Array.isArray(H)?H:[]),_(Array.isArray(Q)?Q:[]))}catch{P||(S([]),_([]))}})(),()=>{P=!0}},[n,i,a]);const C=z.useMemo(()=>{const $={};for(const P of k)P.entity_id&&P.area_id&&($[P.entity_id]=P.area_id);return $},[k]),R=z.useMemo(()=>{const $={};for(const P of E)P.area_id&&P.name&&($[P.area_id]=P.name);return $},[E]),M=z.useMemo(()=>c.map($=>fZn($,C[$.entity_id])).filter($=>$!==null),[c,C]),D=z.useMemo(()=>gZn(M,d),[M,d]),B=z.useMemo(()=>pZn(D,g,b),[D,g,b]),F=z.useMemo(()=>bZn(B,R,w),[B,R,w]);return{areas:E,entityRegistry:k,areaIdToName:R,catalogItems:M,filteredCatalogItems:D,sortedCatalogItems:B,catalogByArea:F}}function wZn(n){if(n.length===0)return{minX:0,minY:0,width:0,height:0};let i=Number.POSITIVE_INFINITY,a=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,d=Number.NEGATIVE_INFINITY;for(const g of n)i=Math.min(i,g.position.x),a=Math.min(a,g.position.y),c=Math.max(c,g.position.x),d=Math.max(d,g.position.y);return{minX:i,minY:a,width:Math.max(0,c-i),height:Math.max(0,d-a)}}function yZn(n,i){return`${n.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||`source_${i+1}`}_${i+1}`}function vZn(n){const i={};for(const a of n)if(a.variables)for(const[c,d]of Object.entries(a.variables)){if(!(c in i)){i[c]=d;continue}JSON.stringify(i[c])!==JSON.stringify(d)&&(i[`${a.prefix}__${c}`]=d)}return Object.keys(i).length>0?i:void 0}function EZn(n){var C;if(n.length<2)throw new Error("At least two automations are required for merge.");const i=Math.max(1,Math.ceil(Math.sqrt(n.length))),a=n.map(R=>wZn(R.graph.nodes)),c=Math.max(...a.map(R=>R.width),0),d=Math.max(...a.map(R=>R.height),0),g=c+260,b=d+220,w=[],E=[],S=[],k=[];n.forEach((R,M)=>{const D=yZn(R.alias||R.automationId||R.entityId,M),B=a[M],F=M%i,$=Math.floor(M/i),P=F*g,H=$*b,Q=new Map;for(const re of R.graph.nodes){const ee=`${D}__${re.id}`;Q.set(re.id,ee),w.push({...re,id:ee,position:{x:re.position.x-B.minX+P,y:re.position.y-B.minY+H}})}for(const re of R.graph.edges){const ee=Q.get(re.source),ae=Q.get(re.target);!ee||!ae||E.push({...re,id:`${D}__${re.id}`,source:ee,target:ae})}S.push({automation_id:R.automationId,entity_id:R.entityId,alias:R.alias,node_prefix:D,imported_at:R.importedAt??new Date().toISOString()}),k.push({prefix:D,variables:R.graph.userVariables})});const _={mode:"single",initial_state:!0,...((C=n[0])==null?void 0:C.graph.metadata)||{}};return{id:i5e(),name:"Merged Automation",description:`Merged from ${n.length} automations`,nodes:w,edges:E,metadata:_,version:1,workspace:{mode:"merged",sources:S},userVariables:vZn(k)}}function SZn({isOpen:n,onClose:i}){const{t:a}=zs(["common","dialogs","errors"]),[c,d]=z.useState(""),[g,b]=z.useState(null),[w,E]=z.useState("asc"),[S,k]=z.useState(new Set),[_,C]=z.useState(!1),[R,M]=z.useState(null),{hass:D,config:B,entities:F}=Gm(),{setFlowName:$,setAutomationId:P,reset:H,fromFlowGraph:Q,hasRealChanges:re}=ds(),{fitView:ee}=AR(),{catalogByArea:ae,sortedCatalogItems:he}=mZn({isOpen:n,hass:D,hassConfig:B,entities:F,searchTerm:c,sortColumn:g,sortDirection:w,labels:{noArea:a("dialogs:import.noArea"),otherArea:a("dialogs:import.otherArea")}});z.useEffect(()=>{n||(k(new Set),d(""))},[n]);const ve=z.useMemo(()=>he.filter(ft=>S.has(ft.entity_id)),[he,S]),de=z.useMemo(()=>he.length===0?!1:he.every(ft=>S.has(ft.entity_id)),[he,S]),ge=he.length>0,Y=ft=>{if(re()){M(()=>ft),C(!0);return}ft()},fe=()=>{R&&R(),C(!1),M(null)},De=()=>{C(!1),M(null)},Se=ft=>{g===ft?E(w==="asc"?"desc":"asc"):(b(ft),E("asc"))},$e=ft=>g!==ft?O.jsx(F9n,{className:"ml-1 inline h-3 w-3 opacity-50"}):w==="asc"?O.jsx(B9n,{className:"ml-1 inline h-3 w-3"}):O.jsx(P9n,{className:"ml-1 inline h-3 w-3"}),Te=ft=>{k(Kt=>{const kt=new Set(Kt);return kt.has(ft)?kt.delete(ft):kt.add(ft),kt})},ke=()=>{k(ft=>{const Kt=new Set(ft);if(de)for(const kt of he)Kt.delete(kt.entity_id);else for(const kt of he)Kt.add(kt.entity_id);return Kt})},Je=async ft=>{var Kt;try{const kt=Lv(D,B);if(!kt.isConnected())throw new Error(a("errors:connection.noConnection"));const It=await kt.getAutomationConfigWithFallback(ft.automation_id,ft.friendly_name);if(H(),It){const Xt=ise(It,{indent:2,lineWidth:-1,quotingType:'"',forceQuotes:!1}),Bn=await mDe.fromYaml(Xt);if(!Bn.success||!Bn.graph)throw new Error(((Kt=Bn.errors)==null?void 0:Kt.join(`
|
||
`))||a("errors:import.parseFailed"));Q(Bn.graph),setTimeout(()=>{ee({padding:.2,duration:300})},50),$(ft.friendly_name||ft.automation_id),P(ft.automation_id),N2.success(a("dialogs:import.importSuccess",{name:ft.friendly_name||ft.automation_id}))}else $(ft.friendly_name||ft.automation_id),P(ft.automation_id),N2.warning(a("dialogs:import.openedWarning",{name:ft.friendly_name||ft.automation_id}),{description:a("dialogs:import.openedWarningDescription")});i()}catch(kt){console.error("C.A.F.E.: Failed to open automation:",kt),N2.error(a("dialogs:import.importFailed",{message:kt.message}))}},bt=()=>{ve.length===1&&Y(()=>{Je(ve[0])})},qe=ft=>{const Kt=ft.map(kt=>kt.friendly_name).filter(Boolean);return Kt.length===0?a("dialogs:import.defaultMergedName"):Kt.length<=2?Kt.join(" + "):`${Kt[0]} + ${Kt.length-1} more`},_t=async()=>{if(!(ve.length<2))try{const ft=Lv(D,B);if(!ft.isConnected())throw new Error(a("errors:connection.noConnection"));const Kt=await ft.getAutomationConfigsBatch(ve.map(Xt=>Xt.automation_id)),kt=[];for(const Xt of ve){let Bn=Kt[Xt.automation_id];if(Bn||(Bn=await ft.getAutomationConfigWithFallback(Xt.automation_id,Xt.friendly_name)),!Bn)throw new Error(a("dialogs:import.mergeFailedMissingConfig",{name:Xt.friendly_name}));const tr=ise(Bn,{indent:2,lineWidth:-1,quotingType:'"',forceQuotes:!1}),Zn=await mDe.fromYaml(tr);if(!Zn.success||!Zn.graph)throw new Error(a("dialogs:import.mergeFailedInvalidYaml",{name:Xt.friendly_name}));kt.push({graph:Zn.graph,automationId:Xt.automation_id,entityId:Xt.entity_id,alias:Xt.friendly_name||Xt.automation_id})}const It=EZn(kt);Q(It),$(qe(ve)),P(null),k(new Set),setTimeout(()=>{ee({padding:.2,duration:300})},50),N2.success(a("dialogs:import.mergeSuccess",{count:ve.length})),i()}catch(ft){console.error("C.A.F.E.: Failed to merge automations:",ft),N2.error(a("dialogs:import.mergeFailed",{message:ft.message}))}},At=ft=>{if(!ft)return a("dialogs:import.never");const Kt=new Date(ft),It=new Date().getTime()-Kt.getTime(),Xt=Math.floor(It/(1e3*60)),Bn=Math.floor(Xt/60),tr=Math.floor(Bn/24);return Xt<1?a("dialogs:import.justNow"):Xt<60?a("dialogs:import.minutesAgo",{count:Xt}):Bn<24?a("dialogs:import.hoursAgo",{count:Bn}):tr<7?a("dialogs:import.daysAgo",{count:tr}):Kt.toLocaleDateString()};return n?O.jsxs(gR,{open:n,onOpenChange:i,children:[O.jsxs(aN,{className:"flex max-h-[90vh] max-w-4xl flex-col",children:[O.jsx(uN,{className:"space-y-3",children:O.jsxs("div",{className:"flex items-center justify-between pr-8",children:[O.jsxs("div",{children:[O.jsx(cN,{children:a("dialogs:import.title")}),O.jsx(lN,{children:a("dialogs:import.descriptionFull")})]}),O.jsxs("div",{className:"flex items-center gap-2",children:[O.jsxs(Di,{variant:"outline",onClick:ve.length===1?bt:()=>Y(()=>void _t()),disabled:ve.length===0,children:[ve.length>1?O.jsx(x8n,{className:"mr-2 h-4 w-4"}):O.jsx(l9t,{className:"mr-2 h-4 w-4"}),ve.length>1?a("dialogs:import.openTogether"):a("dialogs:import.openSingle")]}),O.jsxs(Di,{onClick:()=>{Y(()=>{H(),$(a("defaults.newAutomation")),i()})},className:"bg-green-600 hover:bg-green-700",children:[O.jsx(Yzt,{className:"mr-2 h-4 w-4"}),a("dialogs:import.createNew")]})]})]})}),O.jsxs("div",{className:"flex min-h-0 flex-col",children:[O.jsxs("div",{className:"relative mb-4",children:[O.jsx(eGt,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-muted-foreground"}),O.jsx(Ba,{type:"text",placeholder:a("dialogs:import.searchPlaceholder"),value:c,onChange:ft=>d(ft.target.value),className:"pl-10"})]}),O.jsx("div",{className:"max-h-[70vh] overflow-auto rounded-t-md",children:O.jsxs("div",{className:"min-w-full",children:[O.jsx("div",{className:"sticky top-0 z-20 bg-background before:absolute before:-top-px before:right-0 before:left-0 before:h-px before:bg-background",children:O.jsxs("div",{className:"flex",children:[O.jsx("div",{className:"flex w-[44px] items-center justify-center border-b bg-muted px-2 py-2",children:O.jsx(EDe,{checked:de,onCheckedChange:ke,title:a(de?"dialogs:import.unselectAll":"dialogs:import.selectAll")})}),O.jsxs("button",{type:"button",onClick:()=>Se("name"),className:"flex-1 cursor-pointer whitespace-nowrap border-b bg-muted px-3 py-2 text-left font-semibold text-muted-foreground text-xs hover:bg-muted/80",children:[a("dialogs:import.columns.name"),$e("name")]}),O.jsxs("button",{type:"button",onClick:()=>Se("lastTriggered"),className:"w-[120px] cursor-pointer whitespace-nowrap border-b bg-muted px-3 py-2 text-left font-semibold text-muted-foreground text-xs hover:bg-muted/80",children:[a("dialogs:import.columns.lastTriggered"),$e("lastTriggered")]}),O.jsxs("button",{type:"button",onClick:()=>Se("enabled"),className:"w-[80px] cursor-pointer whitespace-nowrap border-b bg-muted px-3 py-2 text-center font-semibold text-muted-foreground text-xs hover:bg-muted/80",children:[a("dialogs:import.columns.enabled"),$e("enabled")]}),O.jsx("div",{className:"w-[60px] border-b bg-muted px-3 py-2 text-center font-semibold text-muted-foreground text-xs",children:a("dialogs:import.columns.action")})]})}),O.jsxs("div",{children:[Object.entries(ae).flatMap(([ft,Kt])=>{if(Kt.length===0)return[];const kt=O.jsx("div",{className:"sticky top-[32px] z-10 -mt-1 flex border-b bg-accent",children:O.jsx("div",{className:"flex-1 px-3 py-2 font-bold text-accent-foreground text-xs",children:ft})},ft),It=Kt.map(Xt=>{const Bn=S.has(Xt.entity_id);return O.jsxs("div",{className:`flex border-b last:border-0 ${Bn?"bg-accent/40":""}`,children:[O.jsx("div",{className:"flex w-[44px] items-center justify-center px-2 py-2",children:O.jsx(EDe,{checked:Bn,onCheckedChange:()=>Te(Xt.entity_id),title:a(Bn?"dialogs:import.unselect":"dialogs:import.select")})}),O.jsxs("div",{className:"flex-1 px-3 py-2 align-top",children:[O.jsx("div",{className:"max-w-[180px] font-medium",children:Xt.friendly_name}),Xt.description&&O.jsx("div",{className:"mt-1 max-w-[180px] truncate text-muted-foreground text-xs",children:Xt.description}),Xt.tags.length>0&&O.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:Xt.tags.map(tr=>O.jsx(u5e,{variant:"secondary",className:"text-xs",children:tr},`${Xt.entity_id}-${tr}`))}),O.jsx("div",{className:"mt-1 truncate text-muted-foreground text-xs",children:a("dialogs:import.ID",{id:Xt.automation_id})}),Xt.mode&&O.jsx("div",{className:"text-muted-foreground text-xs",children:a("dialogs:import.mode",{mode:Xt.mode})})]}),O.jsx("div",{className:"w-[120px] max-w-[120px] px-3 py-2 align-top",children:Xt.last_triggered?O.jsx("span",{className:"whitespace-nowrap text-xs",children:At(Xt.last_triggered)}):O.jsx("span",{className:"text-muted-foreground text-xs",children:a("dialogs:import.never")})}),O.jsx("div",{className:"w-[80px] px-3 py-2 text-center align-top",children:O.jsx(_A,{checked:Xt.enabled,onCheckedChange:async tr=>{try{await Lv(D,B).setAutomationState(Xt.entity_id,tr),N2.success(a(tr?"dialogs:import.automationEnabled":"dialogs:import.automationDisabled"))}catch{N2.error(a("dialogs:import.updateStateFailed"))}},"aria-label":Xt.enabled?a("dialogs:import.columns.enabled"):a("dialogs:import.disabled")})}),O.jsx("div",{className:"w-[60px] px-3 py-2 text-center align-top",children:O.jsx(Di,{size:"icon",variant:"ghost",onClick:()=>Y(()=>void Je(Xt)),title:a("dialogs:import.importAutomation"),children:O.jsx(l9t,{className:"h-4 w-4"})})})]},Xt.entity_id)});return[O.jsxs(Hn.Fragment,{children:[kt,It]},ft)]}),!ge&&O.jsx("div",{className:"flex",children:O.jsx("div",{className:"flex-1 py-8 text-center text-muted-foreground",children:a("dialogs:import.noAutomations")})})]})]})})]}),O.jsx("div",{className:"border-t bg-muted/20 p-6",children:O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsx("p",{className:"text-muted-foreground text-sm",children:a("dialogs:import.openingWarning")}),O.jsx(Di,{onClick:i,variant:"ghost",children:a("buttons.cancel")})]})})]}),O.jsx(gR,{open:_,onOpenChange:De,children:O.jsxs(aN,{className:"max-w-md",children:[O.jsxs(uN,{children:[O.jsx(cN,{children:a("dialogs:import.discardTitle")}),O.jsx(lN,{children:a("dialogs:import.discardDescription")})]}),O.jsxs("div",{className:"flex justify-end gap-2 pt-4",children:[O.jsx(Di,{variant:"outline",onClick:De,children:a("buttons.cancel")}),O.jsx(Di,{variant:"destructive",onClick:fe,children:a("dialogs:import.confirmDiscard")})]})]})})]}):null}const TZn=Eae("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:top-4 [&>svg]:left-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),cA=z.forwardRef(({className:n,variant:i,...a},c)=>O.jsx("div",{ref:c,role:"alert",className:kr(TZn({variant:i}),n),...a}));cA.displayName="Alert";const pWt=z.forwardRef(({className:n,...i},a)=>O.jsx("h5",{ref:a,className:kr("mb-1 font-medium leading-none tracking-tight",n),...i}));pWt.displayName="AlertTitle";const lA=z.forwardRef(({className:n,...i},a)=>O.jsx("div",{ref:a,className:kr("text-sm [&_p]:leading-relaxed",n),...i}));lA.displayName="AlertDescription";var AZn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_Zn=AZn.reduce((n,i)=>{const a=vae(`Primitive.${i}`),c=z.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?a:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{}),kZn="Label",gWt=z.forwardRef((n,i)=>O.jsx(_Zn.label,{...n,ref:i,onMouseDown:a=>{var d;a.target.closest("button, input, select, textarea")||((d=n.onMouseDown)==null||d.call(n,a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));gWt.displayName=kZn;var bWt=gWt;const xZn=Eae("font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ll=z.forwardRef(({className:n,...i},a)=>O.jsx(bWt,{ref:a,className:kr(xZn(),n),...i}));ll.displayName=bWt.displayName;const jv=z.forwardRef(({className:n,...i},a)=>O.jsx("textarea",{className:kr("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:a,...i}));jv.displayName="Textarea";function NZn({isOpen:n,onClose:i,onSaved:a}){const{t:c}=zs(["common","dialogs","errors"]),{flowName:d,flowDescription:g,automationId:b,isSaving:w,setFlowName:E,setFlowDescription:S,setAutomationId:k,saveAutomation:_,updateAutomation:C}=ds(),{hass:R}=Gm(),[M,D]=z.useState(g),[B,F]=z.useState(null),[$,P]=z.useState(null),H=!!b;z.useEffect(()=>{n&&(D(g),F(null),P(null))},[n,g]);const Q=async de=>{if(!de.trim()){P(null);return}try{if(await Lv(R).automationExistsByAlias(de)&&!H){const Y=await Lv(R).getUniqueAutomationAlias(de);P(Y)}else P(null)}catch(ge){console.warn("Failed to check name conflict:",ge),P(null)}},re=async()=>{if(!R){F(c("errors:connection.notConnected"));return}if(!d.trim()){F(c("errors:form.nameRequired"));return}F(null);try{S(M.trim());let de;H?(await C(R),de=b||""):de=await _(R),a==null||a(de),i()}catch(de){const ge=de instanceof Error?de.message:c("errors:api.unknownError");F(ge)}},ee=()=>{F(null),P(null),i()},ae=de=>{E(de),Q(de)},he=()=>{$&&(E($),P(null))},ve=async()=>{if(!R){F(c("errors:connection.notConnected"));return}F(null);try{const de=await Lv(R).getUniqueAutomationAlias(d);E(de),S(M.trim()),k(null);const ge=await _(R);a==null||a(ge),i()}catch(de){const ge=de instanceof Error?de.message:c("errors:api.unknownError");F(ge)}};return O.jsx(gR,{open:n,onOpenChange:ee,children:O.jsxs(aN,{className:"max-w-md",children:[O.jsxs(uN,{children:[O.jsxs(cN,{className:"flex items-center gap-2",children:[O.jsx(Qzt,{className:"h-5 w-5"}),c(H?"dialogs:save.titleUpdate":"dialogs:save.title")]}),O.jsx(lN,{children:c(H?"dialogs:save.descriptionUpdate":"dialogs:save.description")})]}),O.jsxs("div",{className:"space-y-4",children:[O.jsxs("div",{className:"space-y-2",children:[O.jsx(ll,{htmlFor:"automation-name",children:c("dialogs:save.nameLabel")}),O.jsx(Ba,{id:"automation-name",value:d,onChange:de=>ae(de.target.value),placeholder:c("placeholders.enterAutomationName"),disabled:w})]}),$&&O.jsxs(cA,{children:[O.jsx(f9t,{className:"h-4 w-4"}),O.jsxs(lA,{className:"flex items-center justify-between",children:[O.jsx("span",{children:c("dialogs:save.nameConflict",{suggestedName:$})}),O.jsx(Di,{variant:"outline",size:"sm",onClick:he,disabled:w,children:c("buttons.use")})]})]}),O.jsxs("div",{className:"space-y-2",children:[O.jsx(ll,{htmlFor:"automation-description",children:c("dialogs:save.descriptionLabel")}),O.jsx(jv,{id:"automation-description",value:M,onChange:de=>D(de.target.value),placeholder:c("placeholders.describeAutomation"),rows:3,disabled:w})]}),B&&O.jsxs(cA,{variant:"destructive",children:[O.jsx(f9t,{className:"h-4 w-4"}),O.jsx(lA,{children:B})]}),O.jsxs("div",{className:"flex justify-end gap-2",children:[O.jsx(Di,{variant:"outline",onClick:ee,disabled:w,children:c("buttons.cancel")}),H&&O.jsxs(Di,{variant:"outline",onClick:ve,disabled:w||!d.trim(),children:[w?O.jsx(XH,{className:"mr-2 h-4 w-4 animate-spin"}):O.jsx(AMe,{className:"mr-2 h-4 w-4"}),c("buttons.saveAsCopy")]}),O.jsx(Di,{onClick:re,disabled:w||!d.trim(),children:w?O.jsxs(O.Fragment,{children:[O.jsx(XH,{className:"mr-2 h-4 w-4 animate-spin"}),c(H?"status.updating":"status.saving")]}):O.jsxs(O.Fragment,{children:[O.jsx(L5,{className:"mr-2 h-4 w-4"}),c(H?"buttons.update":"buttons.save")]})})]})]})]})})}function CZn({isOpen:n,onClose:i,config:a,onSave:c}){const{t:d}=zs(["common","dialogs"]),[g,b]=z.useState(a.url),[w,E]=z.useState(a.token),[S,k]=z.useState("idle"),[_,C]=z.useState("");z.useEffect(()=>{n&&(b(a.url),E(a.token),k("idle"),C(""))},[n,a]);const R=async()=>{if(!g||!w){k("error"),C(d("dialogs:settings.errors.missingFields"));return}k("testing"),C("");try{const B=g.replace(/\/$/,""),F=await fetch(`${B}/api/`,{headers:{Authorization:`Bearer ${w}`,"Content-Type":"application/json"}});F.ok?(await F.json()).message==="API running."?k("success"):(k("error"),C(d("dialogs:settings.errors.unexpectedResponse"))):F.status===401?(k("error"),C(d("dialogs:settings.errors.invalidToken"))):(k("error"),C(d("dialogs:settings.errors.httpError",{status:F.status,statusText:F.statusText})))}catch(B){k("error"),B instanceof TypeError&&B.message.includes("fetch")?C(d("dialogs:settings.errors.corsError")):C(B instanceof Error?B.message:d("dialogs:settings.errors.connectionFailed"))}},M=()=>{c({url:g.replace(/\/$/,""),token:w}),i()},D=()=>{b(""),E(""),c({url:"",token:""}),i()};return O.jsx(gR,{open:n,onOpenChange:()=>i(),children:O.jsxs(aN,{className:"max-w-md",children:[O.jsxs(uN,{children:[O.jsx(cN,{children:d("dialogs:settings.title")}),O.jsx(lN,{children:d("dialogs:settings.description")})]}),O.jsxs("div",{className:"space-y-4",children:[O.jsxs("div",{className:"space-y-2",children:[O.jsx(ll,{htmlFor:"url",children:d("dialogs:settings.urlLabel")}),O.jsx(Ba,{id:"url",type:"url",value:g,onChange:B=>b(B.target.value),placeholder:d("dialogs:settings.urlPlaceholder")}),O.jsx("p",{className:"text-muted-foreground text-xs",children:d("dialogs:settings.urlHelp")})]}),O.jsxs("div",{className:"space-y-2",children:[O.jsx(ll,{htmlFor:"token",children:d("dialogs:settings.tokenLabel")}),O.jsx(Ba,{id:"token",type:"password",value:w,onChange:B=>E(B.target.value),placeholder:d("dialogs:settings.tokenPlaceholder"),className:"font-mono text-sm"}),O.jsx("p",{className:"text-muted-foreground text-xs",children:d("dialogs:settings.tokenHelp")})]}),O.jsxs("div",{className:"flex items-center gap-2",children:[O.jsx(Di,{variant:"outline",onClick:R,disabled:S==="testing",children:S==="testing"?O.jsxs(O.Fragment,{children:[O.jsx(XH,{className:"mr-2 h-4 w-4 animate-spin"}),d("dialogs:settings.testing")]}):d("dialogs:settings.testConnection")}),S==="success"&&O.jsxs("span",{className:"flex items-center gap-1 text-green-600 text-sm",children:[O.jsx(Kzt,{className:"h-4 w-4"}),d("dialogs:settings.connected")]}),S==="error"&&O.jsxs("span",{className:"flex items-center gap-1 text-red-600 text-sm",children:[O.jsx(Pv,{className:"h-4 w-4"}),_]})]}),O.jsx(cA,{children:O.jsxs(lA,{children:[O.jsx("h4",{className:"mb-1 font-medium",children:d("dialogs:settings.corsNote")}),O.jsx("p",{className:"mb-2 text-xs",children:d("dialogs:settings.corsDescription")}),O.jsx("pre",{className:"overflow-x-auto rounded bg-muted p-2 font-mono text-xs",children:`http:
|
||
cors_allowed_origins:
|
||
- https://my-home-assistant.example.com`})]})}),O.jsx(Di,{variant:"link",asChild:!0,className:"h-auto p-0 text-sm",children:O.jsxs("a",{href:"https://www.home-assistant.io/docs/authentication/#your-account-profile",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1",children:[O.jsx(h8n,{className:"h-4 w-4"}),d("dialogs:settings.tokenGuideLink")]})})]}),O.jsxs("div",{className:"flex items-center justify-between pt-4",children:[O.jsx(Di,{variant:"destructive",onClick:D,size:"sm",children:d("dialogs:settings.disconnect")}),O.jsxs("div",{className:"flex items-center gap-2",children:[O.jsx(Di,{variant:"outline",onClick:i,size:"sm",children:d("buttons.cancel")}),O.jsx(Di,{onClick:M,disabled:!g||!w,size:"sm",children:d("buttons.save")})]})]})]})})}function IZn({isOpen:n,onClose:i,onImportSuccess:a}){const{t:c}=zs(["common","dialogs"]),[d,g]=z.useState(""),[b,w]=z.useState(!1),[E,S]=z.useState(null),[k,_]=z.useState([]),{fromFlowGraph:C}=ds(),{fitView:R}=AR();if(!n)return null;const M=async()=>{var B;w(!0),S(null),_([]);try{const F=await mDe.fromYaml(d);if(!F.success){S(((B=F.errors)==null?void 0:B.join(`
|
||
`))||"Failed to parse YAML. Please check the format."),w(!1);return}F.warnings.length>0&&(yf.warn("Import warnings:",F.warnings),_(F.warnings)),F.graph&&(C(F.graph),setTimeout(()=>{R({padding:.2,duration:300})},50),setTimeout(()=>{a==null||a(),D()},1e3))}catch(F){S(F instanceof Error?F.message:"Unknown error occurred")}finally{w(!1)}},D=()=>{g(""),S(null),_([]),i()};return O.jsx(gR,{open:n,onOpenChange:()=>D(),children:O.jsxs(aN,{className:"flex max-h-[90vh] max-w-3xl flex-col",children:[O.jsxs(uN,{children:[O.jsx(cN,{children:c("dialogs:importYaml.title")}),O.jsx(lN,{children:c("dialogs:importYaml.description")})]}),O.jsxs("div",{className:"flex-1 space-y-4",children:[O.jsx(jv,{value:d,onChange:B=>g(B.target.value),placeholder:`alias: My Automation
|
||
description: An example automation
|
||
trigger:
|
||
- platform: state
|
||
entity_id: light.living_room
|
||
to: "on"
|
||
action:
|
||
- service: notify.mobile_app
|
||
data:
|
||
message: "Light turned on!"`,className:"h-64 resize-none font-mono text-sm",disabled:b}),E&&O.jsxs(cA,{variant:"destructive",children:[O.jsx(Pv,{className:"h-4 w-4"}),O.jsxs(lA,{className:"font-medium",children:[c("dialogs:importYaml.importFailed"),O.jsx("pre",{className:"mt-1 whitespace-pre-wrap font-mono text-xs",children:E})]})]}),k.length>0&&O.jsxs(cA,{children:[O.jsx(Pv,{className:"h-4 w-4"}),O.jsxs(lA,{children:[O.jsx("p",{className:"mb-1 font-medium",children:c("dialogs:importYaml.warnings")}),O.jsx("ul",{className:"space-y-1 text-xs",children:k.map((B,F)=>O.jsxs("li",{children:["•"," ",B]},`warning-${F}-${B.slice(0,20)}`))})]})]}),b&&!E&&O.jsxs(cA,{children:[O.jsx(Kzt,{className:"h-4 w-4"}),O.jsx(lA,{children:c("dialogs:importYaml.successLoading")})]}),O.jsx(cA,{children:O.jsxs(lA,{className:"text-xs",children:[O.jsx("strong",{children:c("dialogs:importYaml.tipLabel")})," ",c("dialogs:importYaml.tipText")]})})]}),O.jsxs("div",{className:"flex items-center justify-end gap-2 pt-4",children:[O.jsx(Di,{variant:"outline",onClick:D,disabled:b,children:c("buttons.cancel")}),O.jsxs(Di,{onClick:M,disabled:!d.trim()||b,children:[O.jsx(Y8n,{className:"mr-2 h-4 w-4"}),c(b?"dialogs:importYaml.importing":"dialogs:importYaml.import")]})]})]})})}const RZn=[{type:"trigger",labelKey:"nodes:types.trigger",icon:rGt,color:"bg-amber-100 border-amber-400 text-amber-700 hover:bg-amber-200",defaultData:{trigger:"state",entity_id:""}},{type:"condition",labelKey:"nodes:types.condition",icon:Jzt,color:"bg-blue-100 border-blue-400 text-blue-700 hover:bg-blue-200",defaultData:{condition:"state",entity_id:""}},{type:"action",labelKey:"nodes:types.action",icon:Zse,color:"bg-green-100 border-green-400 text-green-700 hover:bg-green-200",defaultData:{service:"light.turn_on"}},{type:"delay",labelKey:"nodes:types.delay",icon:TMe,color:"bg-purple-100 border-purple-400 text-purple-700 hover:bg-purple-200",defaultData:{delay:"00:00:05"}},{type:"wait",labelKey:"nodes:types.wait",icon:Xzt,color:"bg-orange-100 border-orange-400 text-orange-700 hover:bg-orange-200",defaultData:{wait_template:"",timeout:"00:01:00"}},{type:"set_variables",labelKey:"nodes:types.set_variables",icon:nGt,color:"bg-cyan-100 border-cyan-400 text-cyan-700 hover:bg-cyan-200",defaultData:{variables:{}}}];function OZn(){const{t:n}=zs(["common","nodes"]),i=ds(g=>g.addNode),a=ds(g=>g.nodes),c=z.useCallback(g=>{const b=a.length*250+250;i({id:o5e(g.type),type:g.type,position:{x:b,y:150},data:{...g.defaultData}})},[i,a.length]),d=z.useCallback((g,b)=>{g.dataTransfer.setData("application/reactflow",JSON.stringify({type:b.type,defaultData:b.defaultData})),g.dataTransfer.effectAllowed="move"},[]);return O.jsxs("div",{className:"space-y-2 p-4",children:[O.jsx("h3",{className:"mb-3 font-semibold text-muted-foreground text-sm",children:n("labels.addNode")}),O.jsx("div",{className:"space-y-2",children:RZn.map(g=>O.jsxs(Di,{variant:"outline",onClick:()=>c(g),onDragStart:b=>d(b,g),draggable:!0,className:kr("h-auto w-full justify-start gap-3 py-3","cursor-grab transition-colors active:cursor-grabbing",g.color),children:[O.jsx(g.icon,{className:"h-4 w-4"}),O.jsx("span",{className:"font-medium text-sm",children:n(g.labelKey)})]},g.type))})]})}function fs({label:n,required:i,description:a,children:c}){return O.jsxs("div",{className:"flex flex-col gap-2",children:[O.jsxs(ll,{className:"font-medium text-muted-foreground text-xs",children:[n,i&&O.jsx("span",{className:"ml-1 text-destructive",children:"*"})]}),c,a&&O.jsx("p",{className:"text-muted-foreground text-xs",children:a})]})}const EFt={common:["id","alias","enabled","_conditionId"],trigger:["trigger","entity_id","to","from","for","at","event_type","event_data","event","offset","above","below","value_template","template","webhook_id","zone","topic","payload","hours","minutes","seconds","device_id","domain","type","subtype"],condition:["condition","entity_id","state","attribute","above","below","value_template","template","after","before","weekday","device_id","domain","type","subtype","zone","condition","for","conditions"],action:["service","data","target","response_variable","entity_id","action","metadata"],delay:["delay"],wait:["wait_template","timeout","wait_for_trigger","continue_on_timeout"],set_variables:["variables"]};function SFt(n,i=[]){const a=[...EFt.common,...EFt[n]||[]];return new Set([...a,...i])}function cse(n,[i,a]){return Math.min(a,Math.max(i,n))}function TFt(n){const i=DZn(n),a=z.forwardRef((c,d)=>{const{children:g,...b}=c,w=z.Children.toArray(g),E=w.find(MZn);if(E){const S=E.props.children,k=w.map(_=>_===E?z.Children.count(S)>1?z.Children.only(null):z.isValidElement(S)?S.props.children:null:_);return O.jsx(i,{...b,ref:d,children:z.isValidElement(S)?z.cloneElement(S,void 0,k):null})}return O.jsx(i,{...b,ref:d,children:g})});return a.displayName=`${n}.Slot`,a}function DZn(n){const i=z.forwardRef((a,c)=>{const{children:d,...g}=a;if(z.isValidElement(d)){const b=jZn(d),w=PZn(g,d.props);return d.type!==z.Fragment&&(w.ref=c?Gg(c,b):b),z.cloneElement(d,w)}return z.Children.count(d)>1?z.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var LZn=Symbol("radix.slottable");function MZn(n){return z.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===LZn}function PZn(n,i){const a={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?a[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(a[c]=d):c==="style"?a[c]={...d,...g}:c==="className"&&(a[c]=[d,g].filter(Boolean).join(" "))}return{...n,...a}}function jZn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?n.props.ref:n.props.ref||n.ref)}function Iae(n){const i=n+"CollectionProvider",[a,c]=Nw(i),[d,g]=a(i,{collectionRef:{current:null},itemMap:new Map}),b=D=>{const{scope:B,children:F}=D,$=Hn.useRef(null),P=Hn.useRef(new Map).current;return O.jsx(d,{scope:B,itemMap:P,collectionRef:$,children:F})};b.displayName=i;const w=n+"CollectionSlot",E=TFt(w),S=Hn.forwardRef((D,B)=>{const{scope:F,children:$}=D,P=g(w,F),H=hs(B,P.collectionRef);return O.jsx(E,{ref:H,children:$})});S.displayName=w;const k=n+"CollectionItemSlot",_="data-radix-collection-item",C=TFt(k),R=Hn.forwardRef((D,B)=>{const{scope:F,children:$,...P}=D,H=Hn.useRef(null),Q=hs(B,H),re=g(k,F);return Hn.useEffect(()=>(re.itemMap.set(H,{ref:H,...P}),()=>void re.itemMap.delete(H))),O.jsx(C,{[_]:"",ref:Q,children:$})});R.displayName=k;function M(D){const B=g(n+"CollectionConsumer",D);return Hn.useCallback(()=>{const $=B.collectionRef.current;if(!$)return[];const P=Array.from($.querySelectorAll(`[${_}]`));return Array.from(B.itemMap.values()).sort((re,ee)=>P.indexOf(re.ref.current)-P.indexOf(ee.ref.current))},[B.collectionRef,B.itemMap])}return[{Provider:b,Slot:S,ItemSlot:R},M,c]}var FZn=z.createContext(void 0);function Iz(n){const i=z.useContext(FZn);return n||i||"ltr"}const $Zn=["top","right","bottom","left"],dN=Math.min,Lm=Math.max,lse=Math.round,Nie=Math.floor,U2=n=>({x:n,y:n}),BZn={left:"right",right:"left",bottom:"top",top:"bottom"},UZn={start:"end",end:"start"};function IDe(n,i,a){return Lm(n,dN(i,a))}function vA(n,i){return typeof n=="function"?n(i):n}function EA(n){return n.split("-")[0]}function H5(n){return n.split("-")[1]}function m5e(n){return n==="x"?"y":"x"}function w5e(n){return n==="y"?"height":"width"}const HZn=new Set(["top","bottom"]);function M2(n){return HZn.has(EA(n))?"y":"x"}function y5e(n){return m5e(M2(n))}function zZn(n,i,a){a===void 0&&(a=!1);const c=H5(n),d=y5e(n),g=w5e(d);let b=d==="x"?c===(a?"end":"start")?"right":"left":c==="start"?"bottom":"top";return i.reference[g]>i.floating[g]&&(b=dse(b)),[b,dse(b)]}function GZn(n){const i=dse(n);return[RDe(n),i,RDe(i)]}function RDe(n){return n.replace(/start|end/g,i=>UZn[i])}const AFt=["left","right"],_Ft=["right","left"],qZn=["top","bottom"],VZn=["bottom","top"];function WZn(n,i,a){switch(n){case"top":case"bottom":return a?i?_Ft:AFt:i?AFt:_Ft;case"left":case"right":return i?qZn:VZn;default:return[]}}function KZn(n,i,a,c){const d=H5(n);let g=WZn(EA(n),a==="start",c);return d&&(g=g.map(b=>b+"-"+d),i&&(g=g.concat(g.map(RDe)))),g}function dse(n){return n.replace(/left|right|bottom|top/g,i=>BZn[i])}function YZn(n){return{top:0,right:0,bottom:0,left:0,...n}}function mWt(n){return typeof n!="number"?YZn(n):{top:n,right:n,bottom:n,left:n}}function fse(n){const{x:i,y:a,width:c,height:d}=n;return{width:c,height:d,top:a,left:i,right:i+c,bottom:a+d,x:i,y:a}}function kFt(n,i,a){let{reference:c,floating:d}=n;const g=M2(i),b=y5e(i),w=w5e(b),E=EA(i),S=g==="y",k=c.x+c.width/2-d.width/2,_=c.y+c.height/2-d.height/2,C=c[w]/2-d[w]/2;let R;switch(E){case"top":R={x:k,y:c.y-d.height};break;case"bottom":R={x:k,y:c.y+c.height};break;case"right":R={x:c.x+c.width,y:_};break;case"left":R={x:c.x-d.width,y:_};break;default:R={x:c.x,y:c.y}}switch(H5(i)){case"start":R[b]-=C*(a&&S?-1:1);break;case"end":R[b]+=C*(a&&S?-1:1);break}return R}const JZn=async(n,i,a)=>{const{placement:c="bottom",strategy:d="absolute",middleware:g=[],platform:b}=a,w=g.filter(Boolean),E=await(b.isRTL==null?void 0:b.isRTL(i));let S=await b.getElementRects({reference:n,floating:i,strategy:d}),{x:k,y:_}=kFt(S,c,E),C=c,R={},M=0;for(let D=0;D<w.length;D++){const{name:B,fn:F}=w[D],{x:$,y:P,data:H,reset:Q}=await F({x:k,y:_,initialPlacement:c,placement:C,strategy:d,middlewareData:R,rects:S,platform:b,elements:{reference:n,floating:i}});k=$??k,_=P??_,R={...R,[B]:{...R[B],...H}},Q&&M<=50&&(M++,typeof Q=="object"&&(Q.placement&&(C=Q.placement),Q.rects&&(S=Q.rects===!0?await b.getElementRects({reference:n,floating:i,strategy:d}):Q.rects),{x:k,y:_}=kFt(S,C,E)),D=-1)}return{x:k,y:_,placement:C,strategy:d,middlewareData:R}};async function iz(n,i){var a;i===void 0&&(i={});const{x:c,y:d,platform:g,rects:b,elements:w,strategy:E}=n,{boundary:S="clippingAncestors",rootBoundary:k="viewport",elementContext:_="floating",altBoundary:C=!1,padding:R=0}=vA(i,n),M=mWt(R),B=w[C?_==="floating"?"reference":"floating":_],F=fse(await g.getClippingRect({element:(a=await(g.isElement==null?void 0:g.isElement(B)))==null||a?B:B.contextElement||await(g.getDocumentElement==null?void 0:g.getDocumentElement(w.floating)),boundary:S,rootBoundary:k,strategy:E})),$=_==="floating"?{x:c,y:d,width:b.floating.width,height:b.floating.height}:b.reference,P=await(g.getOffsetParent==null?void 0:g.getOffsetParent(w.floating)),H=await(g.isElement==null?void 0:g.isElement(P))?await(g.getScale==null?void 0:g.getScale(P))||{x:1,y:1}:{x:1,y:1},Q=fse(g.convertOffsetParentRelativeRectToViewportRelativeRect?await g.convertOffsetParentRelativeRectToViewportRelativeRect({elements:w,rect:$,offsetParent:P,strategy:E}):$);return{top:(F.top-Q.top+M.top)/H.y,bottom:(Q.bottom-F.bottom+M.bottom)/H.y,left:(F.left-Q.left+M.left)/H.x,right:(Q.right-F.right+M.right)/H.x}}const XZn=n=>({name:"arrow",options:n,async fn(i){const{x:a,y:c,placement:d,rects:g,platform:b,elements:w,middlewareData:E}=i,{element:S,padding:k=0}=vA(n,i)||{};if(S==null)return{};const _=mWt(k),C={x:a,y:c},R=y5e(d),M=w5e(R),D=await b.getDimensions(S),B=R==="y",F=B?"top":"left",$=B?"bottom":"right",P=B?"clientHeight":"clientWidth",H=g.reference[M]+g.reference[R]-C[R]-g.floating[M],Q=C[R]-g.reference[R],re=await(b.getOffsetParent==null?void 0:b.getOffsetParent(S));let ee=re?re[P]:0;(!ee||!await(b.isElement==null?void 0:b.isElement(re)))&&(ee=w.floating[P]||g.floating[M]);const ae=H/2-Q/2,he=ee/2-D[M]/2-1,ve=dN(_[F],he),de=dN(_[$],he),ge=ve,Y=ee-D[M]-de,fe=ee/2-D[M]/2+ae,De=IDe(ge,fe,Y),Se=!E.arrow&&H5(d)!=null&&fe!==De&&g.reference[M]/2-(fe<ge?ve:de)-D[M]/2<0,$e=Se?fe<ge?fe-ge:fe-Y:0;return{[R]:C[R]+$e,data:{[R]:De,centerOffset:fe-De-$e,...Se&&{alignmentOffset:$e}},reset:Se}}}),ZZn=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(i){var a,c;const{placement:d,middlewareData:g,rects:b,initialPlacement:w,platform:E,elements:S}=i,{mainAxis:k=!0,crossAxis:_=!0,fallbackPlacements:C,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:D=!0,...B}=vA(n,i);if((a=g.arrow)!=null&&a.alignmentOffset)return{};const F=EA(d),$=M2(w),P=EA(w)===w,H=await(E.isRTL==null?void 0:E.isRTL(S.floating)),Q=C||(P||!D?[dse(w)]:GZn(w)),re=M!=="none";!C&&re&&Q.push(...KZn(w,D,M,H));const ee=[w,...Q],ae=await iz(i,B),he=[];let ve=((c=g.flip)==null?void 0:c.overflows)||[];if(k&&he.push(ae[F]),_){const fe=zZn(d,b,H);he.push(ae[fe[0]],ae[fe[1]])}if(ve=[...ve,{placement:d,overflows:he}],!he.every(fe=>fe<=0)){var de,ge;const fe=(((de=g.flip)==null?void 0:de.index)||0)+1,De=ee[fe];if(De&&(!(_==="alignment"?$!==M2(De):!1)||ve.every(Te=>M2(Te.placement)===$?Te.overflows[0]>0:!0)))return{data:{index:fe,overflows:ve},reset:{placement:De}};let Se=(ge=ve.filter($e=>$e.overflows[0]<=0).sort(($e,Te)=>$e.overflows[1]-Te.overflows[1])[0])==null?void 0:ge.placement;if(!Se)switch(R){case"bestFit":{var Y;const $e=(Y=ve.filter(Te=>{if(re){const ke=M2(Te.placement);return ke===$||ke==="y"}return!0}).map(Te=>[Te.placement,Te.overflows.filter(ke=>ke>0).reduce((ke,Je)=>ke+Je,0)]).sort((Te,ke)=>Te[1]-ke[1])[0])==null?void 0:Y[0];$e&&(Se=$e);break}case"initialPlacement":Se=w;break}if(d!==Se)return{reset:{placement:Se}}}return{}}}};function xFt(n,i){return{top:n.top-i.height,right:n.right-i.width,bottom:n.bottom-i.height,left:n.left-i.width}}function NFt(n){return $Zn.some(i=>n[i]>=0)}const QZn=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(i){const{rects:a}=i,{strategy:c="referenceHidden",...d}=vA(n,i);switch(c){case"referenceHidden":{const g=await iz(i,{...d,elementContext:"reference"}),b=xFt(g,a.reference);return{data:{referenceHiddenOffsets:b,referenceHidden:NFt(b)}}}case"escaped":{const g=await iz(i,{...d,altBoundary:!0}),b=xFt(g,a.floating);return{data:{escapedOffsets:b,escaped:NFt(b)}}}default:return{}}}}},wWt=new Set(["left","top"]);async function eQn(n,i){const{placement:a,platform:c,elements:d}=n,g=await(c.isRTL==null?void 0:c.isRTL(d.floating)),b=EA(a),w=H5(a),E=M2(a)==="y",S=wWt.has(b)?-1:1,k=g&&E?-1:1,_=vA(i,n);let{mainAxis:C,crossAxis:R,alignmentAxis:M}=typeof _=="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:{mainAxis:_.mainAxis||0,crossAxis:_.crossAxis||0,alignmentAxis:_.alignmentAxis};return w&&typeof M=="number"&&(R=w==="end"?M*-1:M),E?{x:R*k,y:C*S}:{x:C*S,y:R*k}}const tQn=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(i){var a,c;const{x:d,y:g,placement:b,middlewareData:w}=i,E=await eQn(i,n);return b===((a=w.offset)==null?void 0:a.placement)&&(c=w.arrow)!=null&&c.alignmentOffset?{}:{x:d+E.x,y:g+E.y,data:{...E,placement:b}}}}},nQn=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(i){const{x:a,y:c,placement:d}=i,{mainAxis:g=!0,crossAxis:b=!1,limiter:w={fn:B=>{let{x:F,y:$}=B;return{x:F,y:$}}},...E}=vA(n,i),S={x:a,y:c},k=await iz(i,E),_=M2(EA(d)),C=m5e(_);let R=S[C],M=S[_];if(g){const B=C==="y"?"top":"left",F=C==="y"?"bottom":"right",$=R+k[B],P=R-k[F];R=IDe($,R,P)}if(b){const B=_==="y"?"top":"left",F=_==="y"?"bottom":"right",$=M+k[B],P=M-k[F];M=IDe($,M,P)}const D=w.fn({...i,[C]:R,[_]:M});return{...D,data:{x:D.x-a,y:D.y-c,enabled:{[C]:g,[_]:b}}}}}},rQn=function(n){return n===void 0&&(n={}),{options:n,fn(i){const{x:a,y:c,placement:d,rects:g,middlewareData:b}=i,{offset:w=0,mainAxis:E=!0,crossAxis:S=!0}=vA(n,i),k={x:a,y:c},_=M2(d),C=m5e(_);let R=k[C],M=k[_];const D=vA(w,i),B=typeof D=="number"?{mainAxis:D,crossAxis:0}:{mainAxis:0,crossAxis:0,...D};if(E){const P=C==="y"?"height":"width",H=g.reference[C]-g.floating[P]+B.mainAxis,Q=g.reference[C]+g.reference[P]-B.mainAxis;R<H?R=H:R>Q&&(R=Q)}if(S){var F,$;const P=C==="y"?"width":"height",H=wWt.has(EA(d)),Q=g.reference[_]-g.floating[P]+(H&&((F=b.offset)==null?void 0:F[_])||0)+(H?0:B.crossAxis),re=g.reference[_]+g.reference[P]+(H?0:(($=b.offset)==null?void 0:$[_])||0)-(H?B.crossAxis:0);M<Q?M=Q:M>re&&(M=re)}return{[C]:R,[_]:M}}}},iQn=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(i){var a,c;const{placement:d,rects:g,platform:b,elements:w}=i,{apply:E=()=>{},...S}=vA(n,i),k=await iz(i,S),_=EA(d),C=H5(d),R=M2(d)==="y",{width:M,height:D}=g.floating;let B,F;_==="top"||_==="bottom"?(B=_,F=C===(await(b.isRTL==null?void 0:b.isRTL(w.floating))?"start":"end")?"left":"right"):(F=_,B=C==="end"?"top":"bottom");const $=D-k.top-k.bottom,P=M-k.left-k.right,H=dN(D-k[B],$),Q=dN(M-k[F],P),re=!i.middlewareData.shift;let ee=H,ae=Q;if((a=i.middlewareData.shift)!=null&&a.enabled.x&&(ae=P),(c=i.middlewareData.shift)!=null&&c.enabled.y&&(ee=$),re&&!C){const ve=Lm(k.left,0),de=Lm(k.right,0),ge=Lm(k.top,0),Y=Lm(k.bottom,0);R?ae=M-2*(ve!==0||de!==0?ve+de:Lm(k.left,k.right)):ee=D-2*(ge!==0||Y!==0?ge+Y:Lm(k.top,k.bottom))}await E({...i,availableWidth:ae,availableHeight:ee});const he=await b.getDimensions(w.floating);return M!==he.width||D!==he.height?{reset:{rects:!0}}:{}}}};function Rae(){return typeof window<"u"}function z5(n){return yWt(n)?(n.nodeName||"").toLowerCase():"#document"}function $m(n){var i;return(n==null||(i=n.ownerDocument)==null?void 0:i.defaultView)||window}function K2(n){var i;return(i=(yWt(n)?n.ownerDocument:n.document)||window.document)==null?void 0:i.documentElement}function yWt(n){return Rae()?n instanceof Node||n instanceof $m(n).Node:!1}function Fv(n){return Rae()?n instanceof Element||n instanceof $m(n).Element:!1}function q2(n){return Rae()?n instanceof HTMLElement||n instanceof $m(n).HTMLElement:!1}function CFt(n){return!Rae()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof $m(n).ShadowRoot}const oQn=new Set(["inline","contents"]);function Rz(n){const{overflow:i,overflowX:a,overflowY:c,display:d}=$v(n);return/auto|scroll|overlay|hidden|clip/.test(i+c+a)&&!oQn.has(d)}const sQn=new Set(["table","td","th"]);function aQn(n){return sQn.has(z5(n))}const uQn=[":popover-open",":modal"];function Oae(n){return uQn.some(i=>{try{return n.matches(i)}catch{return!1}})}const cQn=["transform","translate","scale","rotate","perspective"],lQn=["transform","translate","scale","rotate","perspective","filter"],dQn=["paint","layout","strict","content"];function v5e(n){const i=E5e(),a=Fv(n)?$v(n):n;return cQn.some(c=>a[c]?a[c]!=="none":!1)||(a.containerType?a.containerType!=="normal":!1)||!i&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!i&&(a.filter?a.filter!=="none":!1)||lQn.some(c=>(a.willChange||"").includes(c))||dQn.some(c=>(a.contain||"").includes(c))}function fQn(n){let i=fN(n);for(;q2(i)&&!N5(i);){if(v5e(i))return i;if(Oae(i))return null;i=fN(i)}return null}function E5e(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const hQn=new Set(["html","body","#document"]);function N5(n){return hQn.has(z5(n))}function $v(n){return $m(n).getComputedStyle(n)}function Dae(n){return Fv(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function fN(n){if(z5(n)==="html")return n;const i=n.assignedSlot||n.parentNode||CFt(n)&&n.host||K2(n);return CFt(i)?i.host:i}function vWt(n){const i=fN(n);return N5(i)?n.ownerDocument?n.ownerDocument.body:n.body:q2(i)&&Rz(i)?i:vWt(i)}function oz(n,i,a){var c;i===void 0&&(i=[]),a===void 0&&(a=!0);const d=vWt(n),g=d===((c=n.ownerDocument)==null?void 0:c.body),b=$m(d);if(g){const w=ODe(b);return i.concat(b,b.visualViewport||[],Rz(d)?d:[],w&&a?oz(w):[])}return i.concat(d,oz(d,[],a))}function ODe(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function EWt(n){const i=$v(n);let a=parseFloat(i.width)||0,c=parseFloat(i.height)||0;const d=q2(n),g=d?n.offsetWidth:a,b=d?n.offsetHeight:c,w=lse(a)!==g||lse(c)!==b;return w&&(a=g,c=b),{width:a,height:c,$:w}}function S5e(n){return Fv(n)?n:n.contextElement}function o5(n){const i=S5e(n);if(!q2(i))return U2(1);const a=i.getBoundingClientRect(),{width:c,height:d,$:g}=EWt(i);let b=(g?lse(a.width):a.width)/c,w=(g?lse(a.height):a.height)/d;return(!b||!Number.isFinite(b))&&(b=1),(!w||!Number.isFinite(w))&&(w=1),{x:b,y:w}}const pQn=U2(0);function SWt(n){const i=$m(n);return!E5e()||!i.visualViewport?pQn:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function gQn(n,i,a){return i===void 0&&(i=!1),!a||i&&a!==$m(n)?!1:i}function bR(n,i,a,c){i===void 0&&(i=!1),a===void 0&&(a=!1);const d=n.getBoundingClientRect(),g=S5e(n);let b=U2(1);i&&(c?Fv(c)&&(b=o5(c)):b=o5(n));const w=gQn(g,a,c)?SWt(g):U2(0);let E=(d.left+w.x)/b.x,S=(d.top+w.y)/b.y,k=d.width/b.x,_=d.height/b.y;if(g){const C=$m(g),R=c&&Fv(c)?$m(c):c;let M=C,D=ODe(M);for(;D&&c&&R!==M;){const B=o5(D),F=D.getBoundingClientRect(),$=$v(D),P=F.left+(D.clientLeft+parseFloat($.paddingLeft))*B.x,H=F.top+(D.clientTop+parseFloat($.paddingTop))*B.y;E*=B.x,S*=B.y,k*=B.x,_*=B.y,E+=P,S+=H,M=$m(D),D=ODe(M)}}return fse({width:k,height:_,x:E,y:S})}function Lae(n,i){const a=Dae(n).scrollLeft;return i?i.left+a:bR(K2(n)).left+a}function TWt(n,i){const a=n.getBoundingClientRect(),c=a.left+i.scrollLeft-Lae(n,a),d=a.top+i.scrollTop;return{x:c,y:d}}function bQn(n){let{elements:i,rect:a,offsetParent:c,strategy:d}=n;const g=d==="fixed",b=K2(c),w=i?Oae(i.floating):!1;if(c===b||w&&g)return a;let E={scrollLeft:0,scrollTop:0},S=U2(1);const k=U2(0),_=q2(c);if((_||!_&&!g)&&((z5(c)!=="body"||Rz(b))&&(E=Dae(c)),q2(c))){const R=bR(c);S=o5(c),k.x=R.x+c.clientLeft,k.y=R.y+c.clientTop}const C=b&&!_&&!g?TWt(b,E):U2(0);return{width:a.width*S.x,height:a.height*S.y,x:a.x*S.x-E.scrollLeft*S.x+k.x+C.x,y:a.y*S.y-E.scrollTop*S.y+k.y+C.y}}function mQn(n){return Array.from(n.getClientRects())}function wQn(n){const i=K2(n),a=Dae(n),c=n.ownerDocument.body,d=Lm(i.scrollWidth,i.clientWidth,c.scrollWidth,c.clientWidth),g=Lm(i.scrollHeight,i.clientHeight,c.scrollHeight,c.clientHeight);let b=-a.scrollLeft+Lae(n);const w=-a.scrollTop;return $v(c).direction==="rtl"&&(b+=Lm(i.clientWidth,c.clientWidth)-d),{width:d,height:g,x:b,y:w}}const IFt=25;function yQn(n,i){const a=$m(n),c=K2(n),d=a.visualViewport;let g=c.clientWidth,b=c.clientHeight,w=0,E=0;if(d){g=d.width,b=d.height;const k=E5e();(!k||k&&i==="fixed")&&(w=d.offsetLeft,E=d.offsetTop)}const S=Lae(c);if(S<=0){const k=c.ownerDocument,_=k.body,C=getComputedStyle(_),R=k.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,M=Math.abs(c.clientWidth-_.clientWidth-R);M<=IFt&&(g-=M)}else S<=IFt&&(g+=S);return{width:g,height:b,x:w,y:E}}const vQn=new Set(["absolute","fixed"]);function EQn(n,i){const a=bR(n,!0,i==="fixed"),c=a.top+n.clientTop,d=a.left+n.clientLeft,g=q2(n)?o5(n):U2(1),b=n.clientWidth*g.x,w=n.clientHeight*g.y,E=d*g.x,S=c*g.y;return{width:b,height:w,x:E,y:S}}function RFt(n,i,a){let c;if(i==="viewport")c=yQn(n,a);else if(i==="document")c=wQn(K2(n));else if(Fv(i))c=EQn(i,a);else{const d=SWt(n);c={x:i.x-d.x,y:i.y-d.y,width:i.width,height:i.height}}return fse(c)}function AWt(n,i){const a=fN(n);return a===i||!Fv(a)||N5(a)?!1:$v(a).position==="fixed"||AWt(a,i)}function SQn(n,i){const a=i.get(n);if(a)return a;let c=oz(n,[],!1).filter(w=>Fv(w)&&z5(w)!=="body"),d=null;const g=$v(n).position==="fixed";let b=g?fN(n):n;for(;Fv(b)&&!N5(b);){const w=$v(b),E=v5e(b);!E&&w.position==="fixed"&&(d=null),(g?!E&&!d:!E&&w.position==="static"&&!!d&&vQn.has(d.position)||Rz(b)&&!E&&AWt(n,b))?c=c.filter(k=>k!==b):d=w,b=fN(b)}return i.set(n,c),c}function TQn(n){let{element:i,boundary:a,rootBoundary:c,strategy:d}=n;const b=[...a==="clippingAncestors"?Oae(i)?[]:SQn(i,this._c):[].concat(a),c],w=b[0],E=b.reduce((S,k)=>{const _=RFt(i,k,d);return S.top=Lm(_.top,S.top),S.right=dN(_.right,S.right),S.bottom=dN(_.bottom,S.bottom),S.left=Lm(_.left,S.left),S},RFt(i,w,d));return{width:E.right-E.left,height:E.bottom-E.top,x:E.left,y:E.top}}function AQn(n){const{width:i,height:a}=EWt(n);return{width:i,height:a}}function _Qn(n,i,a){const c=q2(i),d=K2(i),g=a==="fixed",b=bR(n,!0,g,i);let w={scrollLeft:0,scrollTop:0};const E=U2(0);function S(){E.x=Lae(d)}if(c||!c&&!g)if((z5(i)!=="body"||Rz(d))&&(w=Dae(i)),c){const R=bR(i,!0,g,i);E.x=R.x+i.clientLeft,E.y=R.y+i.clientTop}else d&&S();g&&!c&&d&&S();const k=d&&!c&&!g?TWt(d,w):U2(0),_=b.left+w.scrollLeft-E.x-k.x,C=b.top+w.scrollTop-E.y-k.y;return{x:_,y:C,width:b.width,height:b.height}}function COe(n){return $v(n).position==="static"}function OFt(n,i){if(!q2(n)||$v(n).position==="fixed")return null;if(i)return i(n);let a=n.offsetParent;return K2(n)===a&&(a=a.ownerDocument.body),a}function _Wt(n,i){const a=$m(n);if(Oae(n))return a;if(!q2(n)){let d=fN(n);for(;d&&!N5(d);){if(Fv(d)&&!COe(d))return d;d=fN(d)}return a}let c=OFt(n,i);for(;c&&aQn(c)&&COe(c);)c=OFt(c,i);return c&&N5(c)&&COe(c)&&!v5e(c)?a:c||fQn(n)||a}const kQn=async function(n){const i=this.getOffsetParent||_Wt,a=this.getDimensions,c=await a(n.floating);return{reference:_Qn(n.reference,await i(n.floating),n.strategy),floating:{x:0,y:0,width:c.width,height:c.height}}};function xQn(n){return $v(n).direction==="rtl"}const NQn={convertOffsetParentRelativeRectToViewportRelativeRect:bQn,getDocumentElement:K2,getClippingRect:TQn,getOffsetParent:_Wt,getElementRects:kQn,getClientRects:mQn,getDimensions:AQn,getScale:o5,isElement:Fv,isRTL:xQn};function kWt(n,i){return n.x===i.x&&n.y===i.y&&n.width===i.width&&n.height===i.height}function CQn(n,i){let a=null,c;const d=K2(n);function g(){var w;clearTimeout(c),(w=a)==null||w.disconnect(),a=null}function b(w,E){w===void 0&&(w=!1),E===void 0&&(E=1),g();const S=n.getBoundingClientRect(),{left:k,top:_,width:C,height:R}=S;if(w||i(),!C||!R)return;const M=Nie(_),D=Nie(d.clientWidth-(k+C)),B=Nie(d.clientHeight-(_+R)),F=Nie(k),P={rootMargin:-M+"px "+-D+"px "+-B+"px "+-F+"px",threshold:Lm(0,dN(1,E))||1};let H=!0;function Q(re){const ee=re[0].intersectionRatio;if(ee!==E){if(!H)return b();ee?b(!1,ee):c=setTimeout(()=>{b(!1,1e-7)},1e3)}ee===1&&!kWt(S,n.getBoundingClientRect())&&b(),H=!1}try{a=new IntersectionObserver(Q,{...P,root:d.ownerDocument})}catch{a=new IntersectionObserver(Q,P)}a.observe(n)}return b(!0),g}function IQn(n,i,a,c){c===void 0&&(c={});const{ancestorScroll:d=!0,ancestorResize:g=!0,elementResize:b=typeof ResizeObserver=="function",layoutShift:w=typeof IntersectionObserver=="function",animationFrame:E=!1}=c,S=S5e(n),k=d||g?[...S?oz(S):[],...oz(i)]:[];k.forEach(F=>{d&&F.addEventListener("scroll",a,{passive:!0}),g&&F.addEventListener("resize",a)});const _=S&&w?CQn(S,a):null;let C=-1,R=null;b&&(R=new ResizeObserver(F=>{let[$]=F;$&&$.target===S&&R&&(R.unobserve(i),cancelAnimationFrame(C),C=requestAnimationFrame(()=>{var P;(P=R)==null||P.observe(i)})),a()}),S&&!E&&R.observe(S),R.observe(i));let M,D=E?bR(n):null;E&&B();function B(){const F=bR(n);D&&!kWt(D,F)&&a(),D=F,M=requestAnimationFrame(B)}return a(),()=>{var F;k.forEach($=>{d&&$.removeEventListener("scroll",a),g&&$.removeEventListener("resize",a)}),_==null||_(),(F=R)==null||F.disconnect(),R=null,E&&cancelAnimationFrame(M)}}const RQn=tQn,OQn=nQn,DQn=ZZn,LQn=iQn,MQn=QZn,DFt=XZn,PQn=rQn,jQn=(n,i,a)=>{const c=new Map,d={platform:NQn,...a},g={...d.platform,_c:c};return JZn(n,i,{...d,platform:g})};var FQn=typeof document<"u",$Qn=function(){},toe=FQn?z.useLayoutEffect:$Qn;function hse(n,i){if(n===i)return!0;if(typeof n!=typeof i)return!1;if(typeof n=="function"&&n.toString()===i.toString())return!0;let a,c,d;if(n&&i&&typeof n=="object"){if(Array.isArray(n)){if(a=n.length,a!==i.length)return!1;for(c=a;c--!==0;)if(!hse(n[c],i[c]))return!1;return!0}if(d=Object.keys(n),a=d.length,a!==Object.keys(i).length)return!1;for(c=a;c--!==0;)if(!{}.hasOwnProperty.call(i,d[c]))return!1;for(c=a;c--!==0;){const g=d[c];if(!(g==="_owner"&&n.$$typeof)&&!hse(n[g],i[g]))return!1}return!0}return n!==n&&i!==i}function xWt(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function LFt(n,i){const a=xWt(n);return Math.round(i*a)/a}function IOe(n){const i=z.useRef(n);return toe(()=>{i.current=n}),i}function BQn(n){n===void 0&&(n={});const{placement:i="bottom",strategy:a="absolute",middleware:c=[],platform:d,elements:{reference:g,floating:b}={},transform:w=!0,whileElementsMounted:E,open:S}=n,[k,_]=z.useState({x:0,y:0,strategy:a,placement:i,middlewareData:{},isPositioned:!1}),[C,R]=z.useState(c);hse(C,c)||R(c);const[M,D]=z.useState(null),[B,F]=z.useState(null),$=z.useCallback(Te=>{Te!==re.current&&(re.current=Te,D(Te))},[]),P=z.useCallback(Te=>{Te!==ee.current&&(ee.current=Te,F(Te))},[]),H=g||M,Q=b||B,re=z.useRef(null),ee=z.useRef(null),ae=z.useRef(k),he=E!=null,ve=IOe(E),de=IOe(d),ge=IOe(S),Y=z.useCallback(()=>{if(!re.current||!ee.current)return;const Te={placement:i,strategy:a,middleware:C};de.current&&(Te.platform=de.current),jQn(re.current,ee.current,Te).then(ke=>{const Je={...ke,isPositioned:ge.current!==!1};fe.current&&!hse(ae.current,Je)&&(ae.current=Je,TR.flushSync(()=>{_(Je)}))})},[C,i,a,de,ge]);toe(()=>{S===!1&&ae.current.isPositioned&&(ae.current.isPositioned=!1,_(Te=>({...Te,isPositioned:!1})))},[S]);const fe=z.useRef(!1);toe(()=>(fe.current=!0,()=>{fe.current=!1}),[]),toe(()=>{if(H&&(re.current=H),Q&&(ee.current=Q),H&&Q){if(ve.current)return ve.current(H,Q,Y);Y()}},[H,Q,Y,ve,he]);const De=z.useMemo(()=>({reference:re,floating:ee,setReference:$,setFloating:P}),[$,P]),Se=z.useMemo(()=>({reference:H,floating:Q}),[H,Q]),$e=z.useMemo(()=>{const Te={position:a,left:0,top:0};if(!Se.floating)return Te;const ke=LFt(Se.floating,k.x),Je=LFt(Se.floating,k.y);return w?{...Te,transform:"translate("+ke+"px, "+Je+"px)",...xWt(Se.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:ke,top:Je}},[a,w,Se.floating,k.x,k.y]);return z.useMemo(()=>({...k,update:Y,refs:De,elements:Se,floatingStyles:$e}),[k,Y,De,Se,$e])}const UQn=n=>{function i(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:n,fn(a){const{element:c,padding:d}=typeof n=="function"?n(a):n;return c&&i(c)?c.current!=null?DFt({element:c.current,padding:d}).fn(a):{}:c?DFt({element:c,padding:d}).fn(a):{}}}},HQn=(n,i)=>({...RQn(n),options:[n,i]}),zQn=(n,i)=>({...OQn(n),options:[n,i]}),GQn=(n,i)=>({...PQn(n),options:[n,i]}),qQn=(n,i)=>({...DQn(n),options:[n,i]}),VQn=(n,i)=>({...LQn(n),options:[n,i]}),WQn=(n,i)=>({...MQn(n),options:[n,i]}),KQn=(n,i)=>({...UQn(n),options:[n,i]});var YQn="Arrow",NWt=z.forwardRef((n,i)=>{const{children:a,width:c=10,height:d=5,...g}=n;return O.jsx(eo.svg,{...g,ref:i,width:c,height:d,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?a:O.jsx("polygon",{points:"0,0 30,0 15,10"})})});NWt.displayName=YQn;var JQn=NWt,T5e="Popper",[CWt,G5]=Nw(T5e),[XQn,IWt]=CWt(T5e),RWt=n=>{const{__scopePopper:i,children:a}=n,[c,d]=z.useState(null);return O.jsx(XQn,{scope:i,anchor:c,onAnchorChange:d,children:a})};RWt.displayName=T5e;var OWt="PopperAnchor",DWt=z.forwardRef((n,i)=>{const{__scopePopper:a,virtualRef:c,...d}=n,g=IWt(OWt,a),b=z.useRef(null),w=hs(i,b),E=z.useRef(null);return z.useEffect(()=>{const S=E.current;E.current=(c==null?void 0:c.current)||b.current,S!==E.current&&g.onAnchorChange(E.current)}),c?null:O.jsx(eo.div,{...d,ref:w})});DWt.displayName=OWt;var A5e="PopperContent",[ZQn,QQn]=CWt(A5e),LWt=z.forwardRef((n,i)=>{var kt,It,Xt,Bn,tr,Zn;const{__scopePopper:a,side:c="bottom",sideOffset:d=0,align:g="center",alignOffset:b=0,arrowPadding:w=0,avoidCollisions:E=!0,collisionBoundary:S=[],collisionPadding:k=0,sticky:_="partial",hideWhenDetached:C=!1,updatePositionStrategy:R="optimized",onPlaced:M,...D}=n,B=IWt(A5e,a),[F,$]=z.useState(null),P=hs(i,Dr=>$(Dr)),[H,Q]=z.useState(null),re=Tae(H),ee=(re==null?void 0:re.width)??0,ae=(re==null?void 0:re.height)??0,he=c+(g!=="center"?"-"+g:""),ve=typeof k=="number"?k:{top:0,right:0,bottom:0,left:0,...k},de=Array.isArray(S)?S:[S],ge=de.length>0,Y={padding:ve,boundary:de.filter(ter),altBoundary:ge},{refs:fe,floatingStyles:De,placement:Se,isPositioned:$e,middlewareData:Te}=BQn({strategy:"fixed",placement:he,whileElementsMounted:(...Dr)=>IQn(...Dr,{animationFrame:R==="always"}),elements:{reference:B.anchor},middleware:[HQn({mainAxis:d+ae,alignmentAxis:b}),E&&zQn({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?GQn():void 0,...Y}),E&&qQn({...Y}),VQn({...Y,apply:({elements:Dr,rects:Ui,availableWidth:Qr,availableHeight:Hi})=>{const{width:ai,height:jc}=Ui.reference,Xs=Dr.floating.style;Xs.setProperty("--radix-popper-available-width",`${Qr}px`),Xs.setProperty("--radix-popper-available-height",`${Hi}px`),Xs.setProperty("--radix-popper-anchor-width",`${ai}px`),Xs.setProperty("--radix-popper-anchor-height",`${jc}px`)}}),H&&KQn({element:H,padding:w}),ner({arrowWidth:ee,arrowHeight:ae}),C&&WQn({strategy:"referenceHidden",...Y})]}),[ke,Je]=jWt(Se),bt=G2(M);Up(()=>{$e&&(bt==null||bt())},[$e,bt]);const qe=(kt=Te.arrow)==null?void 0:kt.x,_t=(It=Te.arrow)==null?void 0:It.y,At=((Xt=Te.arrow)==null?void 0:Xt.centerOffset)!==0,[ft,Kt]=z.useState();return Up(()=>{F&&Kt(window.getComputedStyle(F).zIndex)},[F]),O.jsx("div",{ref:fe.setFloating,"data-radix-popper-content-wrapper":"",style:{...De,transform:$e?De.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ft,"--radix-popper-transform-origin":[(Bn=Te.transformOrigin)==null?void 0:Bn.x,(tr=Te.transformOrigin)==null?void 0:tr.y].join(" "),...((Zn=Te.hide)==null?void 0:Zn.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:O.jsx(ZQn,{scope:a,placedSide:ke,onArrowChange:Q,arrowX:qe,arrowY:_t,shouldHideArrow:At,children:O.jsx(eo.div,{"data-side":ke,"data-align":Je,...D,ref:P,style:{...D.style,animation:$e?void 0:"none"}})})})});LWt.displayName=A5e;var MWt="PopperArrow",eer={top:"bottom",right:"left",bottom:"top",left:"right"},PWt=z.forwardRef(function(i,a){const{__scopePopper:c,...d}=i,g=QQn(MWt,c),b=eer[g.placedSide];return O.jsx("span",{ref:g.onArrowChange,style:{position:"absolute",left:g.arrowX,top:g.arrowY,[b]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[g.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[g.placedSide],visibility:g.shouldHideArrow?"hidden":void 0},children:O.jsx(JQn,{...d,ref:a,style:{...d.style,display:"block"}})})});PWt.displayName=MWt;function ter(n){return n!==null}var ner=n=>({name:"transformOrigin",options:n,fn(i){var B,F,$;const{placement:a,rects:c,middlewareData:d}=i,b=((B=d.arrow)==null?void 0:B.centerOffset)!==0,w=b?0:n.arrowWidth,E=b?0:n.arrowHeight,[S,k]=jWt(a),_={start:"0%",center:"50%",end:"100%"}[k],C=(((F=d.arrow)==null?void 0:F.x)??0)+w/2,R=((($=d.arrow)==null?void 0:$.y)??0)+E/2;let M="",D="";return S==="bottom"?(M=b?_:`${C}px`,D=`${-E}px`):S==="top"?(M=b?_:`${C}px`,D=`${c.floating.height+E}px`):S==="right"?(M=`${-E}px`,D=b?_:`${R}px`):S==="left"&&(M=`${c.floating.width+E}px`,D=b?_:`${R}px`),{data:{x:M,y:D}}}});function jWt(n){const[i,a="center"]=n.split("-");return[i,a]}var _5e=RWt,Mae=DWt,k5e=LWt,x5e=PWt;function rer(n){const i=ier(n),a=z.forwardRef((c,d)=>{const{children:g,...b}=c,w=z.Children.toArray(g),E=w.find(ser);if(E){const S=E.props.children,k=w.map(_=>_===E?z.Children.count(S)>1?z.Children.only(null):z.isValidElement(S)?S.props.children:null:_);return O.jsx(i,{...b,ref:d,children:z.isValidElement(S)?z.cloneElement(S,void 0,k):null})}return O.jsx(i,{...b,ref:d,children:g})});return a.displayName=`${n}.Slot`,a}function ier(n){const i=z.forwardRef((a,c)=>{const{children:d,...g}=a;if(z.isValidElement(d)){const b=uer(d),w=aer(g,d.props);return d.type!==z.Fragment&&(w.ref=c?Gg(c,b):b),z.cloneElement(d,w)}return z.Children.count(d)>1?z.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var oer=Symbol("radix.slottable");function ser(n){return z.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===oer}function aer(n,i){const a={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?a[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(a[c]=d):c==="style"?a[c]={...d,...g}:c==="className"&&(a[c]=[d,g].filter(Boolean).join(" "))}return{...n,...a}}function uer(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?n.props.ref:n.props.ref||n.ref)}var FWt=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),cer="VisuallyHidden",ler=z.forwardRef((n,i)=>O.jsx(eo.span,{...n,ref:i,style:{...FWt,...n.style}}));ler.displayName=cer;var der=[" ","Enter","ArrowUp","ArrowDown"],fer=[" ","Enter"],mR="Select",[Pae,jae,her]=Iae(mR),[q5]=Nw(mR,[her,G5]),Fae=G5(),[per,EN]=q5(mR),[ger,ber]=q5(mR),$Wt=n=>{const{__scopeSelect:i,children:a,open:c,defaultOpen:d,onOpenChange:g,value:b,defaultValue:w,onValueChange:E,dir:S,name:k,autoComplete:_,disabled:C,required:R,form:M}=n,D=Fae(i),[B,F]=z.useState(null),[$,P]=z.useState(null),[H,Q]=z.useState(!1),re=Iz(S),[ee,ae]=z2({prop:c,defaultProp:d??!1,onChange:g,caller:mR}),[he,ve]=z2({prop:b,defaultProp:w,onChange:E,caller:mR}),de=z.useRef(null),ge=B?M||!!B.closest("form"):!0,[Y,fe]=z.useState(new Set),De=Array.from(Y).map(Se=>Se.props.value).join(";");return O.jsx(_5e,{...D,children:O.jsxs(per,{required:R,scope:i,trigger:B,onTriggerChange:F,valueNode:$,onValueNodeChange:P,valueNodeHasChildren:H,onValueNodeHasChildrenChange:Q,contentId:Fh(),value:he,onValueChange:ve,open:ee,onOpenChange:ae,dir:re,triggerPointerDownPosRef:de,disabled:C,children:[O.jsx(Pae.Provider,{scope:i,children:O.jsx(ger,{scope:n.__scopeSelect,onNativeOptionAdd:z.useCallback(Se=>{fe($e=>new Set($e).add(Se))},[]),onNativeOptionRemove:z.useCallback(Se=>{fe($e=>{const Te=new Set($e);return Te.delete(Se),Te})},[]),children:a})}),ge?O.jsxs(cKt,{"aria-hidden":!0,required:R,tabIndex:-1,name:k,autoComplete:_,value:he,onChange:Se=>ve(Se.target.value),disabled:C,form:M,children:[he===void 0?O.jsx("option",{value:""}):null,Array.from(Y)]},De):null]})})};$Wt.displayName=mR;var BWt="SelectTrigger",UWt=z.forwardRef((n,i)=>{const{__scopeSelect:a,disabled:c=!1,...d}=n,g=Fae(a),b=EN(BWt,a),w=b.disabled||c,E=hs(i,b.onTriggerChange),S=jae(a),k=z.useRef("touch"),[_,C,R]=dKt(D=>{const B=S().filter(P=>!P.disabled),F=B.find(P=>P.value===b.value),$=fKt(B,D,F);$!==void 0&&b.onValueChange($.value)}),M=D=>{w||(b.onOpenChange(!0),R()),D&&(b.triggerPointerDownPosRef.current={x:Math.round(D.pageX),y:Math.round(D.pageY)})};return O.jsx(Mae,{asChild:!0,...g,children:O.jsx(eo.button,{type:"button",role:"combobox","aria-controls":b.contentId,"aria-expanded":b.open,"aria-required":b.required,"aria-autocomplete":"none",dir:b.dir,"data-state":b.open?"open":"closed",disabled:w,"data-disabled":w?"":void 0,"data-placeholder":lKt(b.value)?"":void 0,...d,ref:E,onClick:Or(d.onClick,D=>{D.currentTarget.focus(),k.current!=="mouse"&&M(D)}),onPointerDown:Or(d.onPointerDown,D=>{k.current=D.pointerType;const B=D.target;B.hasPointerCapture(D.pointerId)&&B.releasePointerCapture(D.pointerId),D.button===0&&D.ctrlKey===!1&&D.pointerType==="mouse"&&(M(D),D.preventDefault())}),onKeyDown:Or(d.onKeyDown,D=>{const B=_.current!=="";!(D.ctrlKey||D.altKey||D.metaKey)&&D.key.length===1&&C(D.key),!(B&&D.key===" ")&&der.includes(D.key)&&(M(),D.preventDefault())})})})});UWt.displayName=BWt;var HWt="SelectValue",zWt=z.forwardRef((n,i)=>{const{__scopeSelect:a,className:c,style:d,children:g,placeholder:b="",...w}=n,E=EN(HWt,a),{onValueNodeHasChildrenChange:S}=E,k=g!==void 0,_=hs(i,E.onValueNodeChange);return Up(()=>{S(k)},[S,k]),O.jsx(eo.span,{...w,ref:_,style:{pointerEvents:"none"},children:lKt(E.value)?O.jsx(O.Fragment,{children:b}):g})});zWt.displayName=HWt;var mer="SelectIcon",GWt=z.forwardRef((n,i)=>{const{__scopeSelect:a,children:c,...d}=n;return O.jsx(eo.span,{"aria-hidden":!0,...d,ref:i,children:c||"▼"})});GWt.displayName=mer;var wer="SelectPortal",qWt=n=>O.jsx(Nz,{asChild:!0,...n});qWt.displayName=wer;var wR="SelectContent",VWt=z.forwardRef((n,i)=>{const a=EN(wR,n.__scopeSelect),[c,d]=z.useState();if(Up(()=>{d(new DocumentFragment)},[]),!a.open){const g=c;return g?TR.createPortal(O.jsx(WWt,{scope:n.__scopeSelect,children:O.jsx(Pae.Slot,{scope:n.__scopeSelect,children:O.jsx("div",{children:n.children})})}),g):null}return O.jsx(KWt,{...n,ref:i})});VWt.displayName=wR;var Av=10,[WWt,SN]=q5(wR),yer="SelectContentImpl",ver=rer("SelectContent.RemoveScroll"),KWt=z.forwardRef((n,i)=>{const{__scopeSelect:a,position:c="item-aligned",onCloseAutoFocus:d,onEscapeKeyDown:g,onPointerDownOutside:b,side:w,sideOffset:E,align:S,alignOffset:k,arrowPadding:_,collisionBoundary:C,collisionPadding:R,sticky:M,hideWhenDetached:D,avoidCollisions:B,...F}=n,$=EN(wR,a),[P,H]=z.useState(null),[Q,re]=z.useState(null),ee=hs(i,kt=>H(kt)),[ae,he]=z.useState(null),[ve,de]=z.useState(null),ge=jae(a),[Y,fe]=z.useState(!1),De=z.useRef(!1);z.useEffect(()=>{if(P)return xae(P)},[P]),_ae();const Se=z.useCallback(kt=>{const[It,...Xt]=ge().map(Zn=>Zn.ref.current),[Bn]=Xt.slice(-1),tr=document.activeElement;for(const Zn of kt)if(Zn===tr||(Zn==null||Zn.scrollIntoView({block:"nearest"}),Zn===It&&Q&&(Q.scrollTop=0),Zn===Bn&&Q&&(Q.scrollTop=Q.scrollHeight),Zn==null||Zn.focus(),document.activeElement!==tr))return},[ge,Q]),$e=z.useCallback(()=>Se([ae,P]),[Se,ae,P]);z.useEffect(()=>{Y&&$e()},[Y,$e]);const{onOpenChange:Te,triggerPointerDownPosRef:ke}=$;z.useEffect(()=>{if(P){let kt={x:0,y:0};const It=Bn=>{var tr,Zn;kt={x:Math.abs(Math.round(Bn.pageX)-(((tr=ke.current)==null?void 0:tr.x)??0)),y:Math.abs(Math.round(Bn.pageY)-(((Zn=ke.current)==null?void 0:Zn.y)??0))}},Xt=Bn=>{kt.x<=10&&kt.y<=10?Bn.preventDefault():P.contains(Bn.target)||Te(!1),document.removeEventListener("pointermove",It),ke.current=null};return ke.current!==null&&(document.addEventListener("pointermove",It),document.addEventListener("pointerup",Xt,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",It),document.removeEventListener("pointerup",Xt,{capture:!0})}}},[P,Te,ke]),z.useEffect(()=>{const kt=()=>Te(!1);return window.addEventListener("blur",kt),window.addEventListener("resize",kt),()=>{window.removeEventListener("blur",kt),window.removeEventListener("resize",kt)}},[Te]);const[Je,bt]=dKt(kt=>{const It=ge().filter(tr=>!tr.disabled),Xt=It.find(tr=>tr.ref.current===document.activeElement),Bn=fKt(It,kt,Xt);Bn&&setTimeout(()=>Bn.ref.current.focus())}),qe=z.useCallback((kt,It,Xt)=>{const Bn=!De.current&&!Xt;($.value!==void 0&&$.value===It||Bn)&&(he(kt),Bn&&(De.current=!0))},[$.value]),_t=z.useCallback(()=>P==null?void 0:P.focus(),[P]),At=z.useCallback((kt,It,Xt)=>{const Bn=!De.current&&!Xt;($.value!==void 0&&$.value===It||Bn)&&de(kt)},[$.value]),ft=c==="popper"?DDe:YWt,Kt=ft===DDe?{side:w,sideOffset:E,align:S,alignOffset:k,arrowPadding:_,collisionBoundary:C,collisionPadding:R,sticky:M,hideWhenDetached:D,avoidCollisions:B}:{};return O.jsx(WWt,{scope:a,content:P,viewport:Q,onViewportChange:re,itemRefCallback:qe,selectedItem:ae,onItemLeave:_t,itemTextRefCallback:At,focusSelectedItem:$e,selectedItemText:ve,position:c,isPositioned:Y,searchRef:Je,children:O.jsx(Cz,{as:ver,allowPinchZoom:!0,children:O.jsx(xz,{asChild:!0,trapped:$.open,onMountAutoFocus:kt=>{kt.preventDefault()},onUnmountAutoFocus:Or(d,kt=>{var It;(It=$.trigger)==null||It.focus({preventScroll:!0}),kt.preventDefault()}),children:O.jsx(kz,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:g,onPointerDownOutside:b,onFocusOutside:kt=>kt.preventDefault(),onDismiss:()=>$.onOpenChange(!1),children:O.jsx(ft,{role:"listbox",id:$.contentId,"data-state":$.open?"open":"closed",dir:$.dir,onContextMenu:kt=>kt.preventDefault(),...F,...Kt,onPlaced:()=>fe(!0),ref:ee,style:{display:"flex",flexDirection:"column",outline:"none",...F.style},onKeyDown:Or(F.onKeyDown,kt=>{const It=kt.ctrlKey||kt.altKey||kt.metaKey;if(kt.key==="Tab"&&kt.preventDefault(),!It&&kt.key.length===1&&bt(kt.key),["ArrowUp","ArrowDown","Home","End"].includes(kt.key)){let Bn=ge().filter(tr=>!tr.disabled).map(tr=>tr.ref.current);if(["ArrowUp","End"].includes(kt.key)&&(Bn=Bn.slice().reverse()),["ArrowUp","ArrowDown"].includes(kt.key)){const tr=kt.target,Zn=Bn.indexOf(tr);Bn=Bn.slice(Zn+1)}setTimeout(()=>Se(Bn)),kt.preventDefault()}})})})})})})});KWt.displayName=yer;var Eer="SelectItemAlignedPosition",YWt=z.forwardRef((n,i)=>{const{__scopeSelect:a,onPlaced:c,...d}=n,g=EN(wR,a),b=SN(wR,a),[w,E]=z.useState(null),[S,k]=z.useState(null),_=hs(i,ee=>k(ee)),C=jae(a),R=z.useRef(!1),M=z.useRef(!0),{viewport:D,selectedItem:B,selectedItemText:F,focusSelectedItem:$}=b,P=z.useCallback(()=>{if(g.trigger&&g.valueNode&&w&&S&&D&&B&&F){const ee=g.trigger.getBoundingClientRect(),ae=S.getBoundingClientRect(),he=g.valueNode.getBoundingClientRect(),ve=F.getBoundingClientRect();if(g.dir!=="rtl"){const tr=ve.left-ae.left,Zn=he.left-tr,Dr=ee.left-Zn,Ui=ee.width+Dr,Qr=Math.max(Ui,ae.width),Hi=window.innerWidth-Av,ai=cse(Zn,[Av,Math.max(Av,Hi-Qr)]);w.style.minWidth=Ui+"px",w.style.left=ai+"px"}else{const tr=ae.right-ve.right,Zn=window.innerWidth-he.right-tr,Dr=window.innerWidth-ee.right-Zn,Ui=ee.width+Dr,Qr=Math.max(Ui,ae.width),Hi=window.innerWidth-Av,ai=cse(Zn,[Av,Math.max(Av,Hi-Qr)]);w.style.minWidth=Ui+"px",w.style.right=ai+"px"}const de=C(),ge=window.innerHeight-Av*2,Y=D.scrollHeight,fe=window.getComputedStyle(S),De=parseInt(fe.borderTopWidth,10),Se=parseInt(fe.paddingTop,10),$e=parseInt(fe.borderBottomWidth,10),Te=parseInt(fe.paddingBottom,10),ke=De+Se+Y+Te+$e,Je=Math.min(B.offsetHeight*5,ke),bt=window.getComputedStyle(D),qe=parseInt(bt.paddingTop,10),_t=parseInt(bt.paddingBottom,10),At=ee.top+ee.height/2-Av,ft=ge-At,Kt=B.offsetHeight/2,kt=B.offsetTop+Kt,It=De+Se+kt,Xt=ke-It;if(It<=At){const tr=de.length>0&&B===de[de.length-1].ref.current;w.style.bottom="0px";const Zn=S.clientHeight-D.offsetTop-D.offsetHeight,Dr=Math.max(ft,Kt+(tr?_t:0)+Zn+$e),Ui=It+Dr;w.style.height=Ui+"px"}else{const tr=de.length>0&&B===de[0].ref.current;w.style.top="0px";const Dr=Math.max(At,De+D.offsetTop+(tr?qe:0)+Kt)+Xt;w.style.height=Dr+"px",D.scrollTop=It-At+D.offsetTop}w.style.margin=`${Av}px 0`,w.style.minHeight=Je+"px",w.style.maxHeight=ge+"px",c==null||c(),requestAnimationFrame(()=>R.current=!0)}},[C,g.trigger,g.valueNode,w,S,D,B,F,g.dir,c]);Up(()=>P(),[P]);const[H,Q]=z.useState();Up(()=>{S&&Q(window.getComputedStyle(S).zIndex)},[S]);const re=z.useCallback(ee=>{ee&&M.current===!0&&(P(),$==null||$(),M.current=!1)},[P,$]);return O.jsx(Ter,{scope:a,contentWrapper:w,shouldExpandOnScrollRef:R,onScrollButtonChange:re,children:O.jsx("div",{ref:E,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:H},children:O.jsx(eo.div,{...d,ref:_,style:{boxSizing:"border-box",maxHeight:"100%",...d.style}})})})});YWt.displayName=Eer;var Ser="SelectPopperPosition",DDe=z.forwardRef((n,i)=>{const{__scopeSelect:a,align:c="start",collisionPadding:d=Av,...g}=n,b=Fae(a);return O.jsx(k5e,{...b,...g,ref:i,align:c,collisionPadding:d,style:{boxSizing:"border-box",...g.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});DDe.displayName=Ser;var[Ter,N5e]=q5(wR,{}),LDe="SelectViewport",JWt=z.forwardRef((n,i)=>{const{__scopeSelect:a,nonce:c,...d}=n,g=SN(LDe,a),b=N5e(LDe,a),w=hs(i,g.onViewportChange),E=z.useRef(0);return O.jsxs(O.Fragment,{children:[O.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:c}),O.jsx(Pae.Slot,{scope:a,children:O.jsx(eo.div,{"data-radix-select-viewport":"",role:"presentation",...d,ref:w,style:{position:"relative",flex:1,overflow:"hidden auto",...d.style},onScroll:Or(d.onScroll,S=>{const k=S.currentTarget,{contentWrapper:_,shouldExpandOnScrollRef:C}=b;if(C!=null&&C.current&&_){const R=Math.abs(E.current-k.scrollTop);if(R>0){const M=window.innerHeight-Av*2,D=parseFloat(_.style.minHeight),B=parseFloat(_.style.height),F=Math.max(D,B);if(F<M){const $=F+R,P=Math.min(M,$),H=$-P;_.style.height=P+"px",_.style.bottom==="0px"&&(k.scrollTop=H>0?H:0,_.style.justifyContent="flex-end")}}}E.current=k.scrollTop})})})]})});JWt.displayName=LDe;var XWt="SelectGroup",[Aer,_er]=q5(XWt),ker=z.forwardRef((n,i)=>{const{__scopeSelect:a,...c}=n,d=Fh();return O.jsx(Aer,{scope:a,id:d,children:O.jsx(eo.div,{role:"group","aria-labelledby":d,...c,ref:i})})});ker.displayName=XWt;var ZWt="SelectLabel",QWt=z.forwardRef((n,i)=>{const{__scopeSelect:a,...c}=n,d=_er(ZWt,a);return O.jsx(eo.div,{id:d.id,...c,ref:i})});QWt.displayName=ZWt;var pse="SelectItem",[xer,eKt]=q5(pse),tKt=z.forwardRef((n,i)=>{const{__scopeSelect:a,value:c,disabled:d=!1,textValue:g,...b}=n,w=EN(pse,a),E=SN(pse,a),S=w.value===c,[k,_]=z.useState(g??""),[C,R]=z.useState(!1),M=hs(i,$=>{var P;return(P=E.itemRefCallback)==null?void 0:P.call(E,$,c,d)}),D=Fh(),B=z.useRef("touch"),F=()=>{d||(w.onValueChange(c),w.onOpenChange(!1))};if(c==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return O.jsx(xer,{scope:a,value:c,disabled:d,textId:D,isSelected:S,onItemTextChange:z.useCallback($=>{_(P=>P||(($==null?void 0:$.textContent)??"").trim())},[]),children:O.jsx(Pae.ItemSlot,{scope:a,value:c,disabled:d,textValue:k,children:O.jsx(eo.div,{role:"option","aria-labelledby":D,"data-highlighted":C?"":void 0,"aria-selected":S&&C,"data-state":S?"checked":"unchecked","aria-disabled":d||void 0,"data-disabled":d?"":void 0,tabIndex:d?void 0:-1,...b,ref:M,onFocus:Or(b.onFocus,()=>R(!0)),onBlur:Or(b.onBlur,()=>R(!1)),onClick:Or(b.onClick,()=>{B.current!=="mouse"&&F()}),onPointerUp:Or(b.onPointerUp,()=>{B.current==="mouse"&&F()}),onPointerDown:Or(b.onPointerDown,$=>{B.current=$.pointerType}),onPointerMove:Or(b.onPointerMove,$=>{var P;B.current=$.pointerType,d?(P=E.onItemLeave)==null||P.call(E):B.current==="mouse"&&$.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Or(b.onPointerLeave,$=>{var P;$.currentTarget===document.activeElement&&((P=E.onItemLeave)==null||P.call(E))}),onKeyDown:Or(b.onKeyDown,$=>{var H;((H=E.searchRef)==null?void 0:H.current)!==""&&$.key===" "||(fer.includes($.key)&&F(),$.key===" "&&$.preventDefault())})})})})});tKt.displayName=pse;var nH="SelectItemText",nKt=z.forwardRef((n,i)=>{const{__scopeSelect:a,className:c,style:d,...g}=n,b=EN(nH,a),w=SN(nH,a),E=eKt(nH,a),S=ber(nH,a),[k,_]=z.useState(null),C=hs(i,F=>_(F),E.onItemTextChange,F=>{var $;return($=w.itemTextRefCallback)==null?void 0:$.call(w,F,E.value,E.disabled)}),R=k==null?void 0:k.textContent,M=z.useMemo(()=>O.jsx("option",{value:E.value,disabled:E.disabled,children:R},E.value),[E.disabled,E.value,R]),{onNativeOptionAdd:D,onNativeOptionRemove:B}=S;return Up(()=>(D(M),()=>B(M)),[D,B,M]),O.jsxs(O.Fragment,{children:[O.jsx(eo.span,{id:E.textId,...g,ref:C}),E.isSelected&&b.valueNode&&!b.valueNodeHasChildren?TR.createPortal(g.children,b.valueNode):null]})});nKt.displayName=nH;var rKt="SelectItemIndicator",iKt=z.forwardRef((n,i)=>{const{__scopeSelect:a,...c}=n;return eKt(rKt,a).isSelected?O.jsx(eo.span,{"aria-hidden":!0,...c,ref:i}):null});iKt.displayName=rKt;var MDe="SelectScrollUpButton",oKt=z.forwardRef((n,i)=>{const a=SN(MDe,n.__scopeSelect),c=N5e(MDe,n.__scopeSelect),[d,g]=z.useState(!1),b=hs(i,c.onScrollButtonChange);return Up(()=>{if(a.viewport&&a.isPositioned){let w=function(){const S=E.scrollTop>0;g(S)};const E=a.viewport;return w(),E.addEventListener("scroll",w),()=>E.removeEventListener("scroll",w)}},[a.viewport,a.isPositioned]),d?O.jsx(aKt,{...n,ref:b,onAutoScroll:()=>{const{viewport:w,selectedItem:E}=a;w&&E&&(w.scrollTop=w.scrollTop-E.offsetHeight)}}):null});oKt.displayName=MDe;var PDe="SelectScrollDownButton",sKt=z.forwardRef((n,i)=>{const a=SN(PDe,n.__scopeSelect),c=N5e(PDe,n.__scopeSelect),[d,g]=z.useState(!1),b=hs(i,c.onScrollButtonChange);return Up(()=>{if(a.viewport&&a.isPositioned){let w=function(){const S=E.scrollHeight-E.clientHeight,k=Math.ceil(E.scrollTop)<S;g(k)};const E=a.viewport;return w(),E.addEventListener("scroll",w),()=>E.removeEventListener("scroll",w)}},[a.viewport,a.isPositioned]),d?O.jsx(aKt,{...n,ref:b,onAutoScroll:()=>{const{viewport:w,selectedItem:E}=a;w&&E&&(w.scrollTop=w.scrollTop+E.offsetHeight)}}):null});sKt.displayName=PDe;var aKt=z.forwardRef((n,i)=>{const{__scopeSelect:a,onAutoScroll:c,...d}=n,g=SN("SelectScrollButton",a),b=z.useRef(null),w=jae(a),E=z.useCallback(()=>{b.current!==null&&(window.clearInterval(b.current),b.current=null)},[]);return z.useEffect(()=>()=>E(),[E]),Up(()=>{var k;const S=w().find(_=>_.ref.current===document.activeElement);(k=S==null?void 0:S.ref.current)==null||k.scrollIntoView({block:"nearest"})},[w]),O.jsx(eo.div,{"aria-hidden":!0,...d,ref:i,style:{flexShrink:0,...d.style},onPointerDown:Or(d.onPointerDown,()=>{b.current===null&&(b.current=window.setInterval(c,50))}),onPointerMove:Or(d.onPointerMove,()=>{var S;(S=g.onItemLeave)==null||S.call(g),b.current===null&&(b.current=window.setInterval(c,50))}),onPointerLeave:Or(d.onPointerLeave,()=>{E()})})}),Ner="SelectSeparator",uKt=z.forwardRef((n,i)=>{const{__scopeSelect:a,...c}=n;return O.jsx(eo.div,{"aria-hidden":!0,...c,ref:i})});uKt.displayName=Ner;var jDe="SelectArrow",Cer=z.forwardRef((n,i)=>{const{__scopeSelect:a,...c}=n,d=Fae(a),g=EN(jDe,a),b=SN(jDe,a);return g.open&&b.position==="popper"?O.jsx(x5e,{...d,...c,ref:i}):null});Cer.displayName=jDe;var Ier="SelectBubbleInput",cKt=z.forwardRef(({__scopeSelect:n,value:i,...a},c)=>{const d=z.useRef(null),g=hs(c,d),b=Sae(i);return z.useEffect(()=>{const w=d.current;if(!w)return;const E=window.HTMLSelectElement.prototype,k=Object.getOwnPropertyDescriptor(E,"value").set;if(b!==i&&k){const _=new Event("change",{bubbles:!0});k.call(w,i),w.dispatchEvent(_)}},[b,i]),O.jsx(eo.select,{...a,style:{...FWt,...a.style},ref:g,defaultValue:i})});cKt.displayName=Ier;function lKt(n){return n===""||n===void 0}function dKt(n){const i=G2(n),a=z.useRef(""),c=z.useRef(0),d=z.useCallback(b=>{const w=a.current+b;i(w),function E(S){a.current=S,window.clearTimeout(c.current),S!==""&&(c.current=window.setTimeout(()=>E(""),1e3))}(w)},[i]),g=z.useCallback(()=>{a.current="",window.clearTimeout(c.current)},[]);return z.useEffect(()=>()=>window.clearTimeout(c.current),[]),[a,d,g]}function fKt(n,i,a){const d=i.length>1&&Array.from(i).every(S=>S===i[0])?i[0]:i,g=a?n.indexOf(a):-1;let b=Rer(n,Math.max(g,0));d.length===1&&(b=b.filter(S=>S!==a));const E=b.find(S=>S.textValue.toLowerCase().startsWith(d.toLowerCase()));return E!==a?E:void 0}function Rer(n,i){return n.map((a,c)=>n[(i+c)%n.length])}var Oer=$Wt,hKt=UWt,Der=zWt,Ler=GWt,Mer=qWt,pKt=VWt,Per=JWt,gKt=QWt,bKt=tKt,jer=nKt,Fer=iKt,mKt=oKt,wKt=sKt,yKt=uKt;const Hp=Oer,zp=Der,Uh=z.forwardRef(({className:n,children:i,...a},c)=>O.jsxs(hKt,{ref:c,className:kr("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted-foreground [&>span]:line-clamp-1",n),...a,children:[i,O.jsx(Ler,{asChild:!0,children:O.jsx(Xse,{className:"h-4 w-4 opacity-50"})})]}));Uh.displayName=hKt.displayName;const vKt=z.forwardRef(({className:n,...i},a)=>O.jsx(mKt,{ref:a,className:kr("flex cursor-default items-center justify-center py-1",n),...i,children:O.jsx(Y9n,{className:"h-4 w-4"})}));vKt.displayName=mKt.displayName;const EKt=z.forwardRef(({className:n,...i},a)=>O.jsx(wKt,{ref:a,className:kr("flex cursor-default items-center justify-center py-1",n),...i,children:O.jsx(Xse,{className:"h-4 w-4"})}));EKt.displayName=wKt.displayName;const Hh=z.forwardRef(({className:n,children:i,position:a="popper",container:c,...d},g)=>O.jsx(Mer,{container:c,children:O.jsxs(pKt,{ref:g,className:kr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] origin-[--radix-select-content-transform-origin] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in",a==="popper"&&"data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1",n),position:a,...d,children:[O.jsx(vKt,{}),O.jsx(Per,{className:kr("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:i}),O.jsx(EKt,{})]})}));Hh.displayName=pKt.displayName;const $er=z.forwardRef(({className:n,...i},a)=>O.jsx(gKt,{ref:a,className:kr("px-2 py-1.5 font-semibold text-sm",n),...i}));$er.displayName=gKt.displayName;const io=z.forwardRef(({className:n,children:i,...a},c)=>O.jsxs(bKt,{ref:c,className:kr("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-8 pl-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...a,children:[O.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:O.jsx(Fer,{children:O.jsx(L5,{className:"h-4 w-4"})})}),O.jsx(jer,{children:i})]}));io.displayName=bKt.displayName;const Ber=z.forwardRef(({className:n,...i},a)=>O.jsx(yKt,{ref:a,className:kr("-mx-1 my-1 h-px bg-muted",n),...i}));Ber.displayName=yKt.displayName;const Uer=["single","restart","queued","parallel"],Her=["silent","warning","critical"],MFt=new Set(["queued","parallel"]);function zer(){const{t:n}=zs("common"),i=ds(C=>C.flowName),a=ds(C=>C.flowDescription),c=ds(C=>C.setFlowName),d=ds(C=>C.setFlowDescription),g=ds(C=>C.flowMetadata),b=ds(C=>C.setFlowMetadata),w=g.mode??"single",E=MFt.has(w),S=C=>{const R=C,M={mode:R};MFt.has(R)||(M.max=void 0,M.max_exceeded=void 0),b(M)},k=C=>{const R=Number.parseInt(C,10);C===""||Number.isNaN(R)?b({max:void 0}):R>0&&b({max:R})},_=C=>{b(C==="none"?{max_exceeded:void 0}:{max_exceeded:C})};return O.jsxs("div",{className:"h-full flex-1 space-y-4 overflow-y-auto p-4",children:[O.jsx("h3",{className:"mt-1.5 font-semibold text-foreground text-sm",children:n("automationSettings.title")}),O.jsx(fs,{label:n("labels.automationName"),children:O.jsx(Ba,{type:"text",value:i,onChange:C=>c(C.target.value),placeholder:n("placeholders.enterAutomationName")})}),O.jsx(fs,{label:n("automationSettings.description"),children:O.jsx(jv,{value:a,onChange:C=>d(C.target.value),placeholder:n("placeholders.describeAutomation"),rows:3})}),O.jsx(_z,{}),O.jsxs(fs,{label:n("automationSettings.mode"),description:n("automationSettings.modeDescription"),children:[O.jsxs(Hp,{value:w,onValueChange:S,children:[O.jsx(Uh,{children:O.jsx(zp,{})}),O.jsx(Hh,{children:Uer.map(C=>O.jsx(io,{value:C,children:n(`automationSettings.modes.${C}`)},C))})]}),O.jsx("p",{className:"text-muted-foreground text-xs",children:n(`automationSettings.modeDescriptions.${w}`)})]}),E&&O.jsxs(O.Fragment,{children:[O.jsx(fs,{label:n("automationSettings.max"),description:n("automationSettings.maxDescription"),children:O.jsx(Ba,{type:"number",min:1,value:g.max??"",onChange:C=>k(C.target.value),placeholder:"10"})}),g.max!=null&&O.jsx(fs,{label:n("automationSettings.maxExceeded"),description:n("automationSettings.maxExceededDescription"),children:O.jsxs(Hp,{value:g.max_exceeded??"none",onValueChange:_,children:[O.jsx(Uh,{children:O.jsx(zp,{})}),O.jsxs(Hh,{children:[O.jsx(io,{value:"none",children:n("placeholders.none")}),Her.map(C=>O.jsx(io,{value:C,children:n(`automationSettings.maxExceededOptions.${C}`)},C))]})]})})]})]})}function eN({message:n}){return n?O.jsxs("div",{className:"mt-1.5 flex items-center gap-1.5 text-red-600 text-xs",children:[O.jsx(Pv,{className:"h-3 w-3 flex-shrink-0"}),O.jsx("span",{children:n})]}):null}var PFt=1,Ger=.9,qer=.8,Ver=.17,ROe=.1,OOe=.999,Wer=.9999,Ker=.99,Yer=/[\\\/_+.#"@\[\(\{&]/,Jer=/[\\\/_+.#"@\[\(\{&]/g,Xer=/[\s-]/,SKt=/[\s-]/g;function FDe(n,i,a,c,d,g,b){if(g===i.length)return d===n.length?PFt:Ker;var w=`${d},${g}`;if(b[w]!==void 0)return b[w];for(var E=c.charAt(g),S=a.indexOf(E,d),k=0,_,C,R,M;S>=0;)_=FDe(n,i,a,c,S+1,g+1,b),_>k&&(S===d?_*=PFt:Yer.test(n.charAt(S-1))?(_*=qer,R=n.slice(d,S-1).match(Jer),R&&d>0&&(_*=Math.pow(OOe,R.length))):Xer.test(n.charAt(S-1))?(_*=Ger,M=n.slice(d,S-1).match(SKt),M&&d>0&&(_*=Math.pow(OOe,M.length))):(_*=Ver,d>0&&(_*=Math.pow(OOe,S-d))),n.charAt(S)!==i.charAt(g)&&(_*=Wer)),(_<ROe&&a.charAt(S-1)===c.charAt(g+1)||c.charAt(g+1)===c.charAt(g)&&a.charAt(S-1)!==c.charAt(g))&&(C=FDe(n,i,a,c,S+1,g+2,b),C*ROe>_&&(_=C*ROe)),_>k&&(k=_),S=a.indexOf(E,S+1);return b[w]=k,k}function jFt(n){return n.toLowerCase().replace(SKt," ")}function Zer(n,i,a){return n=a&&a.length>0?`${n+" "+a.join(" ")}`:n,FDe(n,i,jFt(n),jFt(i),0,0,{})}var Qer=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],TN=Qer.reduce((n,i)=>{const a=vae(`Primitive.${i}`),c=z.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?a:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{}),UU='[cmdk-group=""]',DOe='[cmdk-group-items=""]',etr='[cmdk-group-heading=""]',TKt='[cmdk-item=""]',FFt=`${TKt}:not([aria-disabled="true"])`,$De="cmdk-item-select",AM="data-value",ttr=(n,i,a)=>Zer(n,i,a),AKt=z.createContext(void 0),Oz=()=>z.useContext(AKt),_Kt=z.createContext(void 0),C5e=()=>z.useContext(_Kt),kKt=z.createContext(void 0),xKt=z.forwardRef((n,i)=>{let a=_M(()=>{var qe,_t;return{search:"",value:(_t=(qe=n.value)!=null?qe:n.defaultValue)!=null?_t:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),c=_M(()=>new Set),d=_M(()=>new Map),g=_M(()=>new Map),b=_M(()=>new Set),w=NKt(n),{label:E,children:S,value:k,onValueChange:_,filter:C,shouldFilter:R,loop:M,disablePointerSelection:D=!1,vimBindings:B=!0,...F}=n,$=Fh(),P=Fh(),H=Fh(),Q=z.useRef(null),re=ftr();yR(()=>{if(k!==void 0){let qe=k.trim();a.current.value=qe,ee.emit()}},[k]),yR(()=>{re(6,Y)},[]);let ee=z.useMemo(()=>({subscribe:qe=>(b.current.add(qe),()=>b.current.delete(qe)),snapshot:()=>a.current,setState:(qe,_t,At)=>{var ft,Kt,kt,It;if(!Object.is(a.current[qe],_t)){if(a.current[qe]=_t,qe==="search")ge(),ve(),re(1,de);else if(qe==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Xt=document.getElementById(H);Xt?Xt.focus():(ft=document.getElementById($))==null||ft.focus()}if(re(7,()=>{var Xt;a.current.selectedItemId=(Xt=fe())==null?void 0:Xt.id,ee.emit()}),At||re(5,Y),((Kt=w.current)==null?void 0:Kt.value)!==void 0){let Xt=_t??"";(It=(kt=w.current).onValueChange)==null||It.call(kt,Xt);return}}ee.emit()}},emit:()=>{b.current.forEach(qe=>qe())}}),[]),ae=z.useMemo(()=>({value:(qe,_t,At)=>{var ft;_t!==((ft=g.current.get(qe))==null?void 0:ft.value)&&(g.current.set(qe,{value:_t,keywords:At}),a.current.filtered.items.set(qe,he(_t,At)),re(2,()=>{ve(),ee.emit()}))},item:(qe,_t)=>(c.current.add(qe),_t&&(d.current.has(_t)?d.current.get(_t).add(qe):d.current.set(_t,new Set([qe]))),re(3,()=>{ge(),ve(),a.current.value||de(),ee.emit()}),()=>{g.current.delete(qe),c.current.delete(qe),a.current.filtered.items.delete(qe);let At=fe();re(4,()=>{ge(),(At==null?void 0:At.getAttribute("id"))===qe&&de(),ee.emit()})}),group:qe=>(d.current.has(qe)||d.current.set(qe,new Set),()=>{g.current.delete(qe),d.current.delete(qe)}),filter:()=>w.current.shouldFilter,label:E||n["aria-label"],getDisablePointerSelection:()=>w.current.disablePointerSelection,listId:$,inputId:H,labelId:P,listInnerRef:Q}),[]);function he(qe,_t){var At,ft;let Kt=(ft=(At=w.current)==null?void 0:At.filter)!=null?ft:ttr;return qe?Kt(qe,a.current.search,_t):0}function ve(){if(!a.current.search||w.current.shouldFilter===!1)return;let qe=a.current.filtered.items,_t=[];a.current.filtered.groups.forEach(ft=>{let Kt=d.current.get(ft),kt=0;Kt.forEach(It=>{let Xt=qe.get(It);kt=Math.max(Xt,kt)}),_t.push([ft,kt])});let At=Q.current;De().sort((ft,Kt)=>{var kt,It;let Xt=ft.getAttribute("id"),Bn=Kt.getAttribute("id");return((kt=qe.get(Bn))!=null?kt:0)-((It=qe.get(Xt))!=null?It:0)}).forEach(ft=>{let Kt=ft.closest(DOe);Kt?Kt.appendChild(ft.parentElement===Kt?ft:ft.closest(`${DOe} > *`)):At.appendChild(ft.parentElement===At?ft:ft.closest(`${DOe} > *`))}),_t.sort((ft,Kt)=>Kt[1]-ft[1]).forEach(ft=>{var Kt;let kt=(Kt=Q.current)==null?void 0:Kt.querySelector(`${UU}[${AM}="${encodeURIComponent(ft[0])}"]`);kt==null||kt.parentElement.appendChild(kt)})}function de(){let qe=De().find(At=>At.getAttribute("aria-disabled")!=="true"),_t=qe==null?void 0:qe.getAttribute(AM);ee.setState("value",_t||void 0)}function ge(){var qe,_t,At,ft;if(!a.current.search||w.current.shouldFilter===!1){a.current.filtered.count=c.current.size;return}a.current.filtered.groups=new Set;let Kt=0;for(let kt of c.current){let It=(_t=(qe=g.current.get(kt))==null?void 0:qe.value)!=null?_t:"",Xt=(ft=(At=g.current.get(kt))==null?void 0:At.keywords)!=null?ft:[],Bn=he(It,Xt);a.current.filtered.items.set(kt,Bn),Bn>0&&Kt++}for(let[kt,It]of d.current)for(let Xt of It)if(a.current.filtered.items.get(Xt)>0){a.current.filtered.groups.add(kt);break}a.current.filtered.count=Kt}function Y(){var qe,_t,At;let ft=fe();ft&&(((qe=ft.parentElement)==null?void 0:qe.firstChild)===ft&&((At=(_t=ft.closest(UU))==null?void 0:_t.querySelector(etr))==null||At.scrollIntoView({block:"nearest"})),ft.scrollIntoView({block:"nearest"}))}function fe(){var qe;return(qe=Q.current)==null?void 0:qe.querySelector(`${TKt}[aria-selected="true"]`)}function De(){var qe;return Array.from(((qe=Q.current)==null?void 0:qe.querySelectorAll(FFt))||[])}function Se(qe){let _t=De()[qe];_t&&ee.setState("value",_t.getAttribute(AM))}function $e(qe){var _t;let At=fe(),ft=De(),Kt=ft.findIndex(It=>It===At),kt=ft[Kt+qe];(_t=w.current)!=null&&_t.loop&&(kt=Kt+qe<0?ft[ft.length-1]:Kt+qe===ft.length?ft[0]:ft[Kt+qe]),kt&&ee.setState("value",kt.getAttribute(AM))}function Te(qe){let _t=fe(),At=_t==null?void 0:_t.closest(UU),ft;for(;At&&!ft;)At=qe>0?ltr(At,UU):dtr(At,UU),ft=At==null?void 0:At.querySelector(FFt);ft?ee.setState("value",ft.getAttribute(AM)):$e(qe)}let ke=()=>Se(De().length-1),Je=qe=>{qe.preventDefault(),qe.metaKey?ke():qe.altKey?Te(1):$e(1)},bt=qe=>{qe.preventDefault(),qe.metaKey?Se(0):qe.altKey?Te(-1):$e(-1)};return z.createElement(TN.div,{ref:i,tabIndex:-1,...F,"cmdk-root":"",onKeyDown:qe=>{var _t;(_t=F.onKeyDown)==null||_t.call(F,qe);let At=qe.nativeEvent.isComposing||qe.keyCode===229;if(!(qe.defaultPrevented||At))switch(qe.key){case"n":case"j":{B&&qe.ctrlKey&&Je(qe);break}case"ArrowDown":{Je(qe);break}case"p":case"k":{B&&qe.ctrlKey&&bt(qe);break}case"ArrowUp":{bt(qe);break}case"Home":{qe.preventDefault(),Se(0);break}case"End":{qe.preventDefault(),ke();break}case"Enter":{qe.preventDefault();let ft=fe();if(ft){let Kt=new Event($De);ft.dispatchEvent(Kt)}}}}},z.createElement("label",{"cmdk-label":"",htmlFor:ae.inputId,id:ae.labelId,style:ptr},E),$ae(n,qe=>z.createElement(_Kt.Provider,{value:ee},z.createElement(AKt.Provider,{value:ae},qe))))}),ntr=z.forwardRef((n,i)=>{var a,c;let d=Fh(),g=z.useRef(null),b=z.useContext(kKt),w=Oz(),E=NKt(n),S=(c=(a=E.current)==null?void 0:a.forceMount)!=null?c:b==null?void 0:b.forceMount;yR(()=>{if(!S)return w.item(d,b==null?void 0:b.id)},[S]);let k=CKt(d,g,[n.value,n.children,g],n.keywords),_=C5e(),C=hN(re=>re.value&&re.value===k.current),R=hN(re=>S||w.filter()===!1?!0:re.search?re.filtered.items.get(d)>0:!0);z.useEffect(()=>{let re=g.current;if(!(!re||n.disabled))return re.addEventListener($De,M),()=>re.removeEventListener($De,M)},[R,n.onSelect,n.disabled]);function M(){var re,ee;D(),(ee=(re=E.current).onSelect)==null||ee.call(re,k.current)}function D(){_.setState("value",k.current,!0)}if(!R)return null;let{disabled:B,value:F,onSelect:$,forceMount:P,keywords:H,...Q}=n;return z.createElement(TN.div,{ref:Gg(g,i),...Q,id:d,"cmdk-item":"",role:"option","aria-disabled":!!B,"aria-selected":!!C,"data-disabled":!!B,"data-selected":!!C,onPointerMove:B||w.getDisablePointerSelection()?void 0:D,onClick:B?void 0:M},n.children)}),rtr=z.forwardRef((n,i)=>{let{heading:a,children:c,forceMount:d,...g}=n,b=Fh(),w=z.useRef(null),E=z.useRef(null),S=Fh(),k=Oz(),_=hN(R=>d||k.filter()===!1?!0:R.search?R.filtered.groups.has(b):!0);yR(()=>k.group(b),[]),CKt(b,w,[n.value,n.heading,E]);let C=z.useMemo(()=>({id:b,forceMount:d}),[d]);return z.createElement(TN.div,{ref:Gg(w,i),...g,"cmdk-group":"",role:"presentation",hidden:_?void 0:!0},a&&z.createElement("div",{ref:E,"cmdk-group-heading":"","aria-hidden":!0,id:S},a),$ae(n,R=>z.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":a?S:void 0},z.createElement(kKt.Provider,{value:C},R))))}),itr=z.forwardRef((n,i)=>{let{alwaysRender:a,...c}=n,d=z.useRef(null),g=hN(b=>!b.search);return!a&&!g?null:z.createElement(TN.div,{ref:Gg(d,i),...c,"cmdk-separator":"",role:"separator"})}),otr=z.forwardRef((n,i)=>{let{onValueChange:a,...c}=n,d=n.value!=null,g=C5e(),b=hN(S=>S.search),w=hN(S=>S.selectedItemId),E=Oz();return z.useEffect(()=>{n.value!=null&&g.setState("search",n.value)},[n.value]),z.createElement(TN.input,{ref:i,...c,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":E.listId,"aria-labelledby":E.labelId,"aria-activedescendant":w,id:E.inputId,type:"text",value:d?n.value:b,onChange:S=>{d||g.setState("search",S.target.value),a==null||a(S.target.value)}})}),str=z.forwardRef((n,i)=>{let{children:a,label:c="Suggestions",...d}=n,g=z.useRef(null),b=z.useRef(null),w=hN(S=>S.selectedItemId),E=Oz();return z.useEffect(()=>{if(b.current&&g.current){let S=b.current,k=g.current,_,C=new ResizeObserver(()=>{_=requestAnimationFrame(()=>{let R=S.offsetHeight;k.style.setProperty("--cmdk-list-height",R.toFixed(1)+"px")})});return C.observe(S),()=>{cancelAnimationFrame(_),C.unobserve(S)}}},[]),z.createElement(TN.div,{ref:Gg(g,i),...d,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":w,"aria-label":c,id:E.listId},$ae(n,S=>z.createElement("div",{ref:Gg(b,E.listInnerRef),"cmdk-list-sizer":""},S)))}),atr=z.forwardRef((n,i)=>{let{open:a,onOpenChange:c,overlayClassName:d,contentClassName:g,container:b,...w}=n;return z.createElement(KVt,{open:a,onOpenChange:c},z.createElement(YVt,{container:b},z.createElement(p5e,{"cmdk-overlay":"",className:d}),z.createElement(g5e,{"aria-label":n.label,"cmdk-dialog":"",className:g},z.createElement(xKt,{ref:i,...w}))))}),utr=z.forwardRef((n,i)=>hN(a=>a.filtered.count===0)?z.createElement(TN.div,{ref:i,...n,"cmdk-empty":"",role:"presentation"}):null),ctr=z.forwardRef((n,i)=>{let{progress:a,children:c,label:d="Loading...",...g}=n;return z.createElement(TN.div,{ref:i,...g,"cmdk-loading":"",role:"progressbar","aria-valuenow":a,"aria-valuemin":0,"aria-valuemax":100,"aria-label":d},$ae(n,b=>z.createElement("div",{"aria-hidden":!0},b)))}),hb=Object.assign(xKt,{List:str,Item:ntr,Input:otr,Group:rtr,Separator:itr,Dialog:atr,Empty:utr,Loading:ctr});function ltr(n,i){let a=n.nextElementSibling;for(;a;){if(a.matches(i))return a;a=a.nextElementSibling}}function dtr(n,i){let a=n.previousElementSibling;for(;a;){if(a.matches(i))return a;a=a.previousElementSibling}}function NKt(n){let i=z.useRef(n);return yR(()=>{i.current=n}),i}var yR=typeof window>"u"?z.useEffect:z.useLayoutEffect;function _M(n){let i=z.useRef();return i.current===void 0&&(i.current=n()),i}function hN(n){let i=C5e(),a=()=>n(i.snapshot());return z.useSyncExternalStore(i.subscribe,a,a)}function CKt(n,i,a,c=[]){let d=z.useRef(),g=Oz();return yR(()=>{var b;let w=(()=>{var S;for(let k of a){if(typeof k=="string")return k.trim();if(typeof k=="object"&&"current"in k)return k.current?(S=k.current.textContent)==null?void 0:S.trim():d.current}})(),E=c.map(S=>S.trim());g.value(n,w,E),(b=i.current)==null||b.setAttribute(AM,w),d.current=w}),d}var ftr=()=>{let[n,i]=z.useState(),a=_M(()=>new Map);return yR(()=>{a.current.forEach(c=>c()),a.current=new Map},[n]),(c,d)=>{a.current.set(c,d),i({})}};function htr(n){let i=n.type;return typeof i=="function"?i(n.props):"render"in i?i.render(n.props):n}function $ae({asChild:n,children:i},a){return n&&z.isValidElement(i)?z.cloneElement(htr(i),{ref:i.ref},a(i.props.children)):a(i)}var ptr={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const IKt=z.forwardRef(({className:n,...i},a)=>O.jsx(hb,{ref:a,className:kr("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",n),...i}));IKt.displayName=hb.displayName;const RKt=z.forwardRef(({className:n,...i},a)=>O.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[O.jsx(eGt,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),O.jsx(hb.Input,{ref:a,className:kr("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n),...i})]}));RKt.displayName=hb.Input.displayName;const OKt=z.forwardRef(({className:n,...i},a)=>O.jsx(hb.List,{ref:a,className:kr("max-h-[300px] overflow-y-auto overflow-x-hidden",n),...i}));OKt.displayName=hb.List.displayName;const DKt=z.forwardRef((n,i)=>O.jsx(hb.Empty,{ref:i,className:"py-6 text-center text-sm",...n}));DKt.displayName=hb.Empty.displayName;const LKt=z.forwardRef(({className:n,...i},a)=>O.jsx(hb.Group,{ref:a,className:kr("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:text-xs",n),...i}));LKt.displayName=hb.Group.displayName;const gtr=z.forwardRef(({className:n,...i},a)=>O.jsx(hb.Separator,{ref:a,className:kr("-mx-1 h-px bg-border",n),...i}));gtr.displayName=hb.Separator.displayName;const MKt=z.forwardRef(({className:n,...i},a)=>O.jsx(hb.Item,{ref:a,className:kr("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n),...i}));MKt.displayName=hb.Item.displayName;function btr(n){const i=mtr(n),a=z.forwardRef((c,d)=>{const{children:g,...b}=c,w=z.Children.toArray(g),E=w.find(ytr);if(E){const S=E.props.children,k=w.map(_=>_===E?z.Children.count(S)>1?z.Children.only(null):z.isValidElement(S)?S.props.children:null:_);return O.jsx(i,{...b,ref:d,children:z.isValidElement(S)?z.cloneElement(S,void 0,k):null})}return O.jsx(i,{...b,ref:d,children:g})});return a.displayName=`${n}.Slot`,a}function mtr(n){const i=z.forwardRef((a,c)=>{const{children:d,...g}=a;if(z.isValidElement(d)){const b=Etr(d),w=vtr(g,d.props);return d.type!==z.Fragment&&(w.ref=c?Gg(c,b):b),z.cloneElement(d,w)}return z.Children.count(d)>1?z.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var wtr=Symbol("radix.slottable");function ytr(n){return z.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===wtr}function vtr(n,i){const a={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?a[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(a[c]=d):c==="style"?a[c]={...d,...g}:c==="className"&&(a[c]=[d,g].filter(Boolean).join(" "))}return{...n,...a}}function Etr(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?n.props.ref:n.props.ref||n.ref)}var Bae="Popover",[PKt]=Nw(Bae,[G5]),Dz=G5(),[Str,AN]=PKt(Bae),jKt=n=>{const{__scopePopover:i,children:a,open:c,defaultOpen:d,onOpenChange:g,modal:b=!1}=n,w=Dz(i),E=z.useRef(null),[S,k]=z.useState(!1),[_,C]=z2({prop:c,defaultProp:d??!1,onChange:g,caller:Bae});return O.jsx(_5e,{...w,children:O.jsx(Str,{scope:i,contentId:Fh(),triggerRef:E,open:_,onOpenChange:C,onOpenToggle:z.useCallback(()=>C(R=>!R),[C]),hasCustomAnchor:S,onCustomAnchorAdd:z.useCallback(()=>k(!0),[]),onCustomAnchorRemove:z.useCallback(()=>k(!1),[]),modal:b,children:a})})};jKt.displayName=Bae;var FKt="PopoverAnchor",Ttr=z.forwardRef((n,i)=>{const{__scopePopover:a,...c}=n,d=AN(FKt,a),g=Dz(a),{onCustomAnchorAdd:b,onCustomAnchorRemove:w}=d;return z.useEffect(()=>(b(),()=>w()),[b,w]),O.jsx(Mae,{...g,...c,ref:i})});Ttr.displayName=FKt;var $Kt="PopoverTrigger",BKt=z.forwardRef((n,i)=>{const{__scopePopover:a,...c}=n,d=AN($Kt,a),g=Dz(a),b=hs(i,d.triggerRef),w=O.jsx(eo.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.contentId,"data-state":qKt(d.open),...c,ref:b,onClick:Or(n.onClick,d.onOpenToggle)});return d.hasCustomAnchor?w:O.jsx(Mae,{asChild:!0,...g,children:w})});BKt.displayName=$Kt;var I5e="PopoverPortal",[Atr,_tr]=PKt(I5e,{forceMount:void 0}),UKt=n=>{const{__scopePopover:i,forceMount:a,children:c,container:d}=n,g=AN(I5e,i);return O.jsx(Atr,{scope:i,forceMount:a,children:O.jsx(Cw,{present:a||g.open,children:O.jsx(Nz,{asChild:!0,container:d,children:c})})})};UKt.displayName=I5e;var C5="PopoverContent",HKt=z.forwardRef((n,i)=>{const a=_tr(C5,n.__scopePopover),{forceMount:c=a.forceMount,...d}=n,g=AN(C5,n.__scopePopover);return O.jsx(Cw,{present:c||g.open,children:g.modal?O.jsx(xtr,{...d,ref:i}):O.jsx(Ntr,{...d,ref:i})})});HKt.displayName=C5;var ktr=btr("PopoverContent.RemoveScroll"),xtr=z.forwardRef((n,i)=>{const a=AN(C5,n.__scopePopover),c=z.useRef(null),d=hs(i,c),g=z.useRef(!1);return z.useEffect(()=>{const b=c.current;if(b)return xae(b)},[]),O.jsx(Cz,{as:ktr,allowPinchZoom:!0,children:O.jsx(zKt,{...n,ref:d,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Or(n.onCloseAutoFocus,b=>{var w;b.preventDefault(),g.current||(w=a.triggerRef.current)==null||w.focus()}),onPointerDownOutside:Or(n.onPointerDownOutside,b=>{const w=b.detail.originalEvent,E=w.button===0&&w.ctrlKey===!0,S=w.button===2||E;g.current=S},{checkForDefaultPrevented:!1}),onFocusOutside:Or(n.onFocusOutside,b=>b.preventDefault(),{checkForDefaultPrevented:!1})})})}),Ntr=z.forwardRef((n,i)=>{const a=AN(C5,n.__scopePopover),c=z.useRef(!1),d=z.useRef(!1);return O.jsx(zKt,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:g=>{var b,w;(b=n.onCloseAutoFocus)==null||b.call(n,g),g.defaultPrevented||(c.current||(w=a.triggerRef.current)==null||w.focus(),g.preventDefault()),c.current=!1,d.current=!1},onInteractOutside:g=>{var E,S;(E=n.onInteractOutside)==null||E.call(n,g),g.defaultPrevented||(c.current=!0,g.detail.originalEvent.type==="pointerdown"&&(d.current=!0));const b=g.target;((S=a.triggerRef.current)==null?void 0:S.contains(b))&&g.preventDefault(),g.detail.originalEvent.type==="focusin"&&d.current&&g.preventDefault()}})}),zKt=z.forwardRef((n,i)=>{const{__scopePopover:a,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:g,disableOutsidePointerEvents:b,onEscapeKeyDown:w,onPointerDownOutside:E,onFocusOutside:S,onInteractOutside:k,..._}=n,C=AN(C5,a),R=Dz(a);return _ae(),O.jsx(xz,{asChild:!0,loop:!0,trapped:c,onMountAutoFocus:d,onUnmountAutoFocus:g,children:O.jsx(kz,{asChild:!0,disableOutsidePointerEvents:b,onInteractOutside:k,onEscapeKeyDown:w,onPointerDownOutside:E,onFocusOutside:S,onDismiss:()=>C.onOpenChange(!1),children:O.jsx(k5e,{"data-state":qKt(C.open),role:"dialog",id:C.contentId,...R,..._,ref:i,style:{..._.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),GKt="PopoverClose",Ctr=z.forwardRef((n,i)=>{const{__scopePopover:a,...c}=n,d=AN(GKt,a);return O.jsx(eo.button,{type:"button",...c,ref:i,onClick:Or(n.onClick,()=>d.onOpenChange(!1))})});Ctr.displayName=GKt;var Itr="PopoverArrow",Rtr=z.forwardRef((n,i)=>{const{__scopePopover:a,...c}=n,d=Dz(a);return O.jsx(x5e,{...d,...c,ref:i})});Rtr.displayName=Itr;function qKt(n){return n?"open":"closed"}var Otr=jKt,Dtr=BKt,Ltr=UKt,VKt=HKt;const Mtr=Otr,Ptr=Dtr,WKt=z.forwardRef(({className:n,align:i="center",sideOffset:a=4,container:c,...d},g)=>O.jsx(Ltr,{container:c,children:O.jsx(VKt,{ref:g,align:i,sideOffset:a,className:kr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",n),...d})}));WKt.displayName=VKt.displayName;function jtr(n,i){const[a,c]=z.useState(""),d=z.useMemo(()=>{const b={threshold:.3,ignoreLocation:!0,includeScore:!0,includeMatches:!0,minMatchCharLength:1,keys:i.keys,...i.threshold!==void 0&&{threshold:i.threshold},...i.includeScore!==void 0&&{includeScore:i.includeScore},...i.ignoreLocation!==void 0&&{ignoreLocation:i.ignoreLocation},...i.includeMatches!==void 0&&{includeMatches:i.includeMatches},...i.minMatchCharLength!==void 0&&{minMatchCharLength:i.minMatchCharLength}};return new RR(n,b)},[n,i]),g=z.useMemo(()=>a.trim()?d.search(a):n.map((b,w)=>({item:b,refIndex:w,score:0})),[a,d,n]);return{query:a,setQuery:c,filteredItems:g.map(b=>b.item),results:g}}function KKt({options:n,value:i,onChange:a,placeholder:c,className:d,buttonClassName:g,disabled:b=!1,renderOption:w,renderValue:E,searchKeys:S=["label","value"],fuzzyOptions:k={}}){const{t:_}=zs(["common"]),[C,R]=z.useState(!1),{query:M,setQuery:D,filteredItems:B}=jtr(n,{keys:S,threshold:.4,includeScore:!0,ignoreLocation:!0,includeMatches:!0,minMatchCharLength:1,...k}),F=n.find(P=>P.value===i),$=P=>{D(P)};return O.jsxs(Mtr,{open:C,onOpenChange:R,children:[O.jsx(Ptr,{asChild:!0,children:O.jsxs(Di,{variant:"outline",role:"combobox","aria-expanded":C,className:kr("flex w-full justify-between",g),disabled:b,children:[F?E?E(F):F.label:c||_("combobox.select"),O.jsx(X9n,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),O.jsx(WKt,{className:kr("w-[286px] p-0",d),children:O.jsxs(IKt,{shouldFilter:!1,children:[O.jsx(RKt,{placeholder:c||_("combobox.select"),className:"h-9",value:M,onValueChange:$}),O.jsxs(OKt,{children:[O.jsx(DKt,{children:_("combobox.noOptions")}),O.jsx(LKt,{children:B.map(P=>O.jsxs(MKt,{value:P.value,onSelect:H=>{a(H===i?"":H),R(!1),D("")},children:[w?w(P):P.label,O.jsx(L5,{className:kr("ml-auto h-4 w-4",i===P.value?"opacity-100":"opacity-0")})]},P.value))})]})]})})]})}function BDe({values:n,onChange:i,placeholder:a="Add ID...",className:c}){const[d,g]=z.useState(""),b=()=>{const S=d.trim();S&&!n.includes(S)&&(i([...n,S]),g(""))},w=S=>{i(n.filter(k=>k!==S))},E=S=>{S.key==="Enter"&&(S.preventDefault(),b())};return O.jsxs("div",{className:kr("space-y-1",c),children:[O.jsxs("div",{className:"flex gap-1",children:[O.jsx(Ba,{value:d,onChange:S=>g(S.target.value),onKeyDown:E,placeholder:a,className:"flex-1 font-mono text-xs"}),O.jsx(Di,{type:"button",size:"icon",variant:"outline",onClick:b,disabled:!d.trim(),children:O.jsx(Qse,{className:"h-4 w-4"})})]}),n.length>0&&O.jsx("div",{className:"flex flex-wrap gap-1",children:n.map(S=>O.jsxs("span",{className:"inline-flex items-center rounded border bg-muted px-2 py-0.5 font-mono text-muted-foreground text-xs",children:[S,O.jsx(eae,{className:"ml-1 h-3 w-3 cursor-pointer hover:text-destructive",onClick:()=>w(S)})]},S))})]})}const Ftr={light:{label:"Light",color:"bg-yellow-100 dark:bg-yellow-900/50 text-yellow-800 dark:text-yellow-200"},switch:{label:"Switch",color:"bg-blue-100 dark:bg-blue-900/50 text-blue-800 dark:text-blue-200"},sensor:{label:"Sensor",color:"bg-green-100 dark:bg-green-900/50 text-green-800 dark:text-green-200"},binary_sensor:{label:"Binary Sensor",color:"bg-purple-100 dark:bg-purple-900/50 text-purple-800 dark:text-purple-200"},climate:{label:"Climate",color:"bg-orange-100 dark:bg-orange-900/50 text-orange-800 dark:text-orange-200"},cover:{label:"Cover",color:"bg-indigo-100 dark:bg-indigo-900/50 text-indigo-800 dark:text-indigo-200"},fan:{label:"Fan",color:"bg-cyan-100 dark:bg-cyan-900/50 text-cyan-800 dark:text-cyan-200"},media_player:{label:"Media",color:"bg-pink-100 dark:bg-pink-900/50 text-pink-800 dark:text-pink-200"},automation:{label:"Automation",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},script:{label:"Script",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},scene:{label:"Scene",color:"bg-violet-100 dark:bg-violet-900/50 text-violet-800 dark:text-violet-200"},input_boolean:{label:"Input Bool",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_number:{label:"Input Num",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_select:{label:"Input Select",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_text:{label:"Input Text",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_datetime:{label:"Input Time",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},person:{label:"Person",color:"bg-amber-100 dark:bg-amber-900/50 text-amber-800 dark:text-amber-200"},device_tracker:{label:"Tracker",color:"bg-amber-100 dark:bg-amber-900/50 text-amber-800 dark:text-amber-200"},zone:{label:"Zone",color:"bg-lime-100 dark:bg-lime-900/50 text-lime-800 dark:text-lime-200"},sun:{label:"Sun",color:"bg-orange-100 dark:bg-orange-900/50 text-orange-800 dark:text-orange-200"},weather:{label:"Weather",color:"bg-sky-100 dark:bg-sky-900/50 text-sky-800 dark:text-sky-200"},camera:{label:"Camera",color:"bg-rose-100 dark:bg-rose-900/50 text-rose-800 dark:text-rose-200"},remote:{label:"Remote",color:"bg-gray-100 dark:bg-gray-700/50 text-gray-800 dark:text-gray-200"},vacuum:{label:"Vacuum",color:"bg-teal-100 dark:bg-teal-900/50 text-teal-800 dark:text-teal-200"},lock:{label:"Lock",color:"bg-red-100 dark:bg-red-900/50 text-red-800 dark:text-red-200"},alarm_control_panel:{label:"Alarm",color:"bg-red-100 dark:bg-red-900/50 text-red-800 dark:text-red-200"},water_heater:{label:"Water Heater",color:"bg-blue-100 dark:bg-blue-900/50 text-blue-800 dark:text-blue-200"},humidifier:{label:"Humidifier",color:"bg-cyan-100 dark:bg-cyan-900/50 text-cyan-800 dark:text-cyan-200"},button:{label:"Button",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},number:{label:"Number",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},select:{label:"Select",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},text:{label:"Text",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},update:{label:"Update",color:"bg-blue-100 dark:bg-blue-900/50 text-blue-800 dark:text-blue-200"}};function $tr(n){if(!n||typeof n!="string")return{label:"Unknown",color:"bg-gray-100 dark:bg-gray-700/50 text-gray-700 dark:text-gray-300"};const i=n.split(".")[0];return Ftr[i]||{label:i,color:"bg-gray-100 dark:bg-gray-700/50 text-gray-700 dark:text-gray-300"}}function Btr(n){return n.attributes.friendly_name||n.entity_id}function Uae({value:n,onChange:i,entities:a,placeholder:c="Select entity...",className:d}){const{entities:g,getDeviceNameForEntity:b}=Gm(),w=a??g,E=z.useMemo(()=>w.map(R=>{const M=$tr(R.entity_id);return{value:R.entity_id,label:Btr(R),domainLabel:M.label,domainColor:M.color,deviceLabel:b(R.entity_id)??void 0}}),[w,b]),S=Array.isArray(n)?n[0]:n,k=w.find(R=>R.entity_id===S),_=S&&!k,C=R=>{i(R)};return O.jsxs("div",{className:kr("relative",d),children:[O.jsx(KKt,{options:E,value:S||"",onChange:C,placeholder:c,buttonClassName:kr(!S&&"text-muted-foreground"),disabled:E.length===0,searchKeys:["label","value","deviceLabel"],fuzzyOptions:{threshold:.3,minMatchCharLength:2},renderOption:R=>O.jsxs("div",{className:"flex min-w-0 flex-col gap-2",children:[O.jsx("span",{children:R.label}),O.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[O.jsx("span",{className:kr("rounded px-1.5 py-0.5 font-medium text-xs",R.domainColor),children:R.domainLabel}),R.deviceLabel&&O.jsx("span",{className:"truncate text-muted-foreground text-xs",children:R.deviceLabel})]})]}),renderValue:R=>R?O.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[O.jsx("span",{className:kr("rounded px-1.5 py-0.5 font-medium text-xs",R.domainColor),children:R.domainLabel}),O.jsx("span",{className:"truncate",children:R.label})]}):null}),_&&O.jsx("div",{className:"mt-1 truncate font-mono text-red-600",children:S})]})}function R5e({value:n,onChange:i,entities:a,placeholder:c="Select entities...",className:d}){const g=w=>{n.includes(w)||i([...n,w])},b=w=>{i(n.filter(E=>E!==w))};return O.jsxs("div",{className:kr("space-y-1",d),children:[O.jsx(Uae,{value:"",onChange:g,entities:a,placeholder:c,className:"w-full"}),O.jsx("div",{className:"flex flex-wrap gap-1",children:n.map(w=>O.jsxs("span",{className:"inline-flex items-center rounded border bg-muted px-2 py-0.5 font-mono text-muted-foreground text-xs",children:[w,O.jsx(eae,{className:"ml-1 h-3 w-3 cursor-pointer hover:text-destructive",onClick:()=>b(w)})]},w))})]})}function O5e(n,i,a){const d=n.data[i];return d??a}function Ug(n,i,a=""){const c=O5e(n,i,a);if(typeof c=="string")return c;if(typeof c=="object"&&c!==null&&!Array.isArray(c)){const d=c;if(typeof d.value=="string")return d.value}return a}function kM(n,i,a={}){const c=O5e(n,i,a);return typeof c=="object"&&c!==null&&!Array.isArray(c)?c:a}function Utr({response:n,responseVariable:i,showResponseVariable:a,setShowResponseVariable:c,onChange:d,handleResponseVariableChange:g}){const{t:b}=zs(["common","nodes"]),w=O.jsxs(O.Fragment,{children:[O.jsx(Ba,{type:"text",value:i??"",onChange:g,placeholder:b("nodes:responseVariableField.placeholder")}),(i==null?void 0:i.trim())==="current_node"&&O.jsxs(cA,{variant:"destructive",className:"mt-2 border-0 px-0",children:[O.jsx(pWt,{children:b("labels.warning")}),O.jsx(lA,{children:b("nodes:responseVariableField.currentNodeWarning")})]})]});return n.optional?O.jsxs(fs,{label:b("nodes:responseVariableField.label"),description:b("nodes:responseVariableField.optionalDescription"),children:[O.jsxs("div",{className:"mb-2 flex items-center gap-3",children:[O.jsx(_A,{checked:a,onCheckedChange:E=>{c(E),E||d("response_variable",void 0)},id:"response-variable-switch"}),O.jsx("label",{htmlFor:"response-variable-switch",className:"cursor-pointer select-none text-sm",children:b("nodes:responseVariableField.useResponseVariable")})]}),a&&w]}):O.jsx(fs,{label:b("nodes:responseVariableField.label"),description:b("nodes:responseVariableField.requiredDescription"),children:w})}function Htr({serviceFields:n,currentData:i,onChange:a}){const{t:c}=zs(["common","nodes"]);return Object.keys(n).length===0?null:O.jsxs("div",{className:"mt-3 flex flex-col gap-3 border-t pt-3",children:[O.jsx("h4",{className:"mb-3 font-semibold text-muted-foreground text-xs",children:c("nodes:serviceDataFields.heading")}),Object.entries(n).map(([d,g])=>{var _;const b=g.selector||{},w=Object.keys(b)[0],E=b[w]||{},S=i[d],k=g.name||d.replace(/_/g," ").replace(/\b\w/g,C=>C.toUpperCase());if(w==="number"){const C=E;return O.jsx(fs,{label:`${k}${C.unit_of_measurement?` (${C.unit_of_measurement})`:""}`,required:g.required,description:g.description,children:O.jsx(Ba,{type:"number",value:S??"",onChange:R=>a(d,R.target.value?Number(R.target.value):""),min:C.min,max:C.max,placeholder:g.example!==void 0?String(g.example):""})},d)}if(w==="select"){const C=E;return O.jsx(fs,{label:k,required:g.required,description:g.description,children:O.jsxs(Hp,{value:String(S===""?"__NONE__":S??"__NONE__"),onValueChange:R=>a(d,R==="__NONE__"?"":R),children:[O.jsx(Uh,{children:O.jsx(zp,{placeholder:c("placeholders.none")})}),O.jsxs(Hh,{children:[O.jsx(io,{value:"__NONE__",children:c("placeholders.none")}),(_=C.options)==null?void 0:_.map(R=>O.jsx(io,{value:R,children:R},R))]})]})},d)}if(w==="boolean")return O.jsxs("div",{className:"mb-3 flex items-center gap-2",children:[O.jsx("input",{type:"checkbox",checked:S??!1,onChange:C=>a(d,C.target.checked),className:"rounded"}),O.jsxs(ll,{className:"font-medium text-muted-foreground text-xs",children:[k,g.required&&O.jsx("span",{className:"ml-0.5 text-destructive",children:c("labels.requiredAsterisk")})]})]},d);if(w==="entity"){if(E.multiple===!0){const M=Array.isArray(S)?S:S?[String(S)]:[];return O.jsx(fs,{label:k,required:g.required,description:g.description,children:O.jsx(R5e,{value:M,onChange:D=>a(d,D),placeholder:g.example!==void 0?String(g.example):void 0})},d)}return O.jsx(fs,{label:k,required:g.required,description:g.description,children:O.jsx(Uae,{value:String(S??""),onChange:M=>a(d,M),placeholder:g.example!==void 0?String(g.example):void 0})},d)}return O.jsx(fs,{label:k,required:g.required,description:g.description,children:O.jsx(Ba,{type:"text",value:S??"",onChange:C=>a(d,C.target.value),placeholder:g.example!==void 0?String(g.example):""})},d)})]})}const ztr=new Set(["homeassistant","group"]);function Gtr(n,i){if(!n||!n.includes("."))return i;const a=n.split(".")[0];if(ztr.has(a))return i;const c=i.filter(d=>d.entity_id.startsWith(`${a}.`));return c.length>0?c:i}function qtr({node:n,onChange:i,entities:a}){const{t:c}=zs(["nodes"]),{getAllServices:d,getServiceDefinition:g}=Gm(),{getFieldError:b}=xw(n.id),w=Ug(n,"service"),E=Ug(n,"event"),S=g(w),k=(S==null?void 0:S.fields)||{},_=kM(n,"data",{}),C=Ug(n,"response_variable"),[R,M]=z.useState(!!C),D=E?"event":"service";z.useEffect(()=>{M(!!C)},[C]);const B=fe=>{fe==="event"?(i("service",void 0),i("target",void 0),i("data",void 0)):(i("event",void 0),i("event_data",void 0))},F=fe=>{i("service",fe),i("data",void 0)},$=fe=>{const Se={...kM(n,"target",{}),entity_id:fe.length>0?fe:void 0};Se.entity_id||delete Se.entity_id,i("target",Object.keys(Se).length>0?Se:void 0)},P=fe=>{const Se={...kM(n,"target",{}),device_id:fe.length>0?fe:void 0};Se.device_id||delete Se.device_id,i("target",Object.keys(Se).length>0?Se:void 0)},H=fe=>{const Se={...kM(n,"target",{}),area_id:fe.length>0?fe:void 0};Se.area_id||delete Se.area_id,i("target",Object.keys(Se).length>0?Se:void 0)},Q=(fe,De)=>{const Se={..._,[fe]:De===""?void 0:De},$e=Object.fromEntries(Object.entries(Se).filter(([,Te])=>Te!==void 0&&Te!==""));i("data",Object.keys($e).length>0?$e:void 0)},re=fe=>{i("response_variable",fe.target.value===""?void 0:fe.target.value)},ee=kM(n,"target",{}),ae=fe=>fe?Array.isArray(fe)?fe:[fe]:[],he=ae(ee.entity_id),ve=ae(ee.device_id),de=ae(ee.area_id),ge=ve.length>0,Y=de.length>0;return O.jsxs(O.Fragment,{children:[O.jsx(fs,{label:c("nodes:actions.actionTypeLabel"),required:!0,children:O.jsxs(Hp,{value:D,onValueChange:B,children:[O.jsx(Uh,{children:O.jsx(zp,{})}),O.jsxs(Hh,{children:[O.jsx(io,{value:"service",children:c("nodes:actions.actionTypes.service")}),O.jsx(io,{value:"event",children:c("nodes:actions.actionTypes.event")})]})]})}),D==="event"?O.jsx(O.Fragment,{children:O.jsxs(fs,{label:c("nodes:actions.eventNameLabel"),required:!0,children:[O.jsx(Ba,{type:"text",value:E,onChange:fe=>i("event",fe.target.value||void 0),placeholder:c("nodes:actions.eventNamePlaceholder")}),O.jsx(eN,{message:b("event")})]})}):O.jsxs(O.Fragment,{children:[O.jsxs(fs,{label:c("nodes:actions.actionLabel"),required:!0,children:[O.jsx(KKt,{options:d().map(({domain:fe,service:De})=>({value:`${fe}.${De}`,label:`${fe}.${De}`})),value:w,onChange:F,placeholder:c("nodes:actions.selectAction")}),O.jsx(eN,{message:b("service")})]}),((S==null?void 0:S.target)||he.length>0)&&O.jsx(fs,{label:c("nodes:actions.targetEntities"),children:O.jsx(R5e,{value:he,onChange:$,entities:Gtr(w,a),placeholder:c("nodes:actions.selectTargetEntities")})}),(ge||(S==null?void 0:S.target))&&O.jsx(fs,{label:c("nodes:actions.targetDevices"),description:c("nodes:actions.targetDevicesDescription"),children:O.jsx(BDe,{values:ve,onChange:P,placeholder:c("nodes:actions.addDeviceId")})}),(Y||(S==null?void 0:S.target))&&O.jsx(fs,{label:c("nodes:actions.targetAreas"),description:c("nodes:actions.targetAreasDescription"),children:O.jsx(BDe,{values:de,onChange:H,placeholder:c("nodes:actions.addAreaId")})}),O.jsx(Htr,{serviceFields:k,currentData:_,onChange:Q}),(S==null?void 0:S.response)&&O.jsx(Utr,{response:S.response,responseVariable:C,showResponseVariable:R,setShowResponseVariable:M,onChange:i,handleResponseVariableChange:re})]})]})}function YKt({value:n,onChange:i}){const{t:a}=zs(["common","nodes"]),c=typeof n=="string",d=!c&&typeof n=="object"&&n!==null?n:{},[g,b]=z.useState(c),w=S=>{if(b(S),S){const k=d.hours??0,_=d.minutes??0,C=d.seconds??0,R=d.milliseconds??0,M=[k,_,C].map(B=>B.toString().padStart(2,"0")).join(":"),D=R?`${M}.${R}`:M;i(D)}else if(c){const k=/^([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})(?:\.(\d{1,3}))?$/.exec(n);if(k){const[,_,C,R,M]=k;i({hours:Number(_),minutes:Number(C),seconds:Number(R),...M?{milliseconds:Number(M)}:{}})}else i({})}},E=(S,k)=>{const _=k===""?void 0:Number(k),C={...d,[S]:Number.isNaN(_)?void 0:_};Object.keys(C).forEach(R=>{const M=C[R];M==null&&delete C[R]}),i(C)};return O.jsxs("div",{className:"flex flex-col gap-2",children:[O.jsxs("div",{className:"flex items-center gap-2",children:[O.jsx("span",{className:"text-muted-foreground text-xs",children:a("nodes:durationField.string")}),O.jsx(_A,{checked:g,onCheckedChange:w}),O.jsx("span",{className:"text-muted-foreground text-xs",children:a("nodes:durationField.object")})]}),g?O.jsx(Ba,{type:"text",value:c?n:"",onChange:S=>i(S.target.value),placeholder:a("nodes:durationField.placeholder")}):O.jsxs("div",{className:"flex gap-2",children:[O.jsxs("div",{className:"flex-1",children:[O.jsx(ll,{className:"text-muted-foreground text-xs",children:a("nodes:durationField.hours")}),O.jsx(Ba,{type:"number",min:0,value:d.hours??"",onChange:S=>E("hours",S.target.value),placeholder:"0",className:"mt-1"})]}),O.jsxs("div",{className:"flex-1",children:[O.jsx(ll,{className:"text-muted-foreground text-xs",children:a("nodes:durationField.minutes")}),O.jsx(Ba,{type:"number",min:0,value:d.minutes??"",onChange:S=>E("minutes",S.target.value),placeholder:"0",className:"mt-1"})]}),O.jsxs("div",{className:"flex-1",children:[O.jsx(ll,{className:"text-muted-foreground text-xs",children:a("nodes:durationField.seconds")}),O.jsx(Ba,{type:"number",min:0,value:d.seconds??"",onChange:S=>E("seconds",S.target.value),placeholder:"0",className:"mt-1"})]}),O.jsxs("div",{className:"flex-1",children:[O.jsx(ll,{className:"text-muted-foreground text-xs",children:a("nodes:durationField.milliseconds")}),O.jsx(Ba,{type:"number",min:0,value:d.milliseconds??"",onChange:S=>E("milliseconds",S.target.value),placeholder:"0",className:"mt-1"})]})]})]})}function JKt({label:n,description:i,value:a,onChange:c}){const{t:d}=zs(["common","nodes"]);return O.jsx(fs,{label:n??d("nodes:durationField.label"),description:i||d("nodes:durationField.description"),children:O.jsx(YKt,{value:a,onChange:c})})}var LOe="rovingFocusGroup.onEntryFocus",Vtr={bubbles:!1,cancelable:!0},Lz="RovingFocusGroup",[UDe,XKt,Wtr]=Iae(Lz),[Ktr,Hae]=Nw(Lz,[Wtr]),[Ytr,Jtr]=Ktr(Lz),ZKt=z.forwardRef((n,i)=>O.jsx(UDe.Provider,{scope:n.__scopeRovingFocusGroup,children:O.jsx(UDe.Slot,{scope:n.__scopeRovingFocusGroup,children:O.jsx(Xtr,{...n,ref:i})})}));ZKt.displayName=Lz;var Xtr=z.forwardRef((n,i)=>{const{__scopeRovingFocusGroup:a,orientation:c,loop:d=!1,dir:g,currentTabStopId:b,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:E,onEntryFocus:S,preventScrollOnEntryFocus:k=!1,..._}=n,C=z.useRef(null),R=hs(i,C),M=Iz(g),[D,B]=z2({prop:b,defaultProp:w??null,onChange:E,caller:Lz}),[F,$]=z.useState(!1),P=G2(S),H=XKt(a),Q=z.useRef(!1),[re,ee]=z.useState(0);return z.useEffect(()=>{const ae=C.current;if(ae)return ae.addEventListener(LOe,P),()=>ae.removeEventListener(LOe,P)},[P]),O.jsx(Ytr,{scope:a,orientation:c,dir:M,loop:d,currentTabStopId:D,onItemFocus:z.useCallback(ae=>B(ae),[B]),onItemShiftTab:z.useCallback(()=>$(!0),[]),onFocusableItemAdd:z.useCallback(()=>ee(ae=>ae+1),[]),onFocusableItemRemove:z.useCallback(()=>ee(ae=>ae-1),[]),children:O.jsx(eo.div,{tabIndex:F||re===0?-1:0,"data-orientation":c,..._,ref:R,style:{outline:"none",...n.style},onMouseDown:Or(n.onMouseDown,()=>{Q.current=!0}),onFocus:Or(n.onFocus,ae=>{const he=!Q.current;if(ae.target===ae.currentTarget&&he&&!F){const ve=new CustomEvent(LOe,Vtr);if(ae.currentTarget.dispatchEvent(ve),!ve.defaultPrevented){const de=H().filter(Se=>Se.focusable),ge=de.find(Se=>Se.active),Y=de.find(Se=>Se.id===D),De=[ge,Y,...de].filter(Boolean).map(Se=>Se.ref.current);tYt(De,k)}}Q.current=!1}),onBlur:Or(n.onBlur,()=>$(!1))})})}),QKt="RovingFocusGroupItem",eYt=z.forwardRef((n,i)=>{const{__scopeRovingFocusGroup:a,focusable:c=!0,active:d=!1,tabStopId:g,children:b,...w}=n,E=Fh(),S=g||E,k=Jtr(QKt,a),_=k.currentTabStopId===S,C=XKt(a),{onFocusableItemAdd:R,onFocusableItemRemove:M,currentTabStopId:D}=k;return z.useEffect(()=>{if(c)return R(),()=>M()},[c,R,M]),O.jsx(UDe.ItemSlot,{scope:a,id:S,focusable:c,active:d,children:O.jsx(eo.span,{tabIndex:_?0:-1,"data-orientation":k.orientation,...w,ref:i,onMouseDown:Or(n.onMouseDown,B=>{c?k.onItemFocus(S):B.preventDefault()}),onFocus:Or(n.onFocus,()=>k.onItemFocus(S)),onKeyDown:Or(n.onKeyDown,B=>{if(B.key==="Tab"&&B.shiftKey){k.onItemShiftTab();return}if(B.target!==B.currentTarget)return;const F=enr(B,k.orientation,k.dir);if(F!==void 0){if(B.metaKey||B.ctrlKey||B.altKey||B.shiftKey)return;B.preventDefault();let P=C().filter(H=>H.focusable).map(H=>H.ref.current);if(F==="last")P.reverse();else if(F==="prev"||F==="next"){F==="prev"&&P.reverse();const H=P.indexOf(B.currentTarget);P=k.loop?tnr(P,H+1):P.slice(H+1)}setTimeout(()=>tYt(P))}}),children:typeof b=="function"?b({isCurrentTabStop:_,hasTabStop:D!=null}):b})})});eYt.displayName=QKt;var Ztr={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Qtr(n,i){return i!=="rtl"?n:n==="ArrowLeft"?"ArrowRight":n==="ArrowRight"?"ArrowLeft":n}function enr(n,i,a){const c=Qtr(n.key,a);if(!(i==="vertical"&&["ArrowLeft","ArrowRight"].includes(c))&&!(i==="horizontal"&&["ArrowUp","ArrowDown"].includes(c)))return Ztr[c]}function tYt(n,i=!1){const a=document.activeElement;for(const c of n)if(c===a||(c.focus({preventScroll:i}),document.activeElement!==a))return}function tnr(n,i){return n.map((a,c)=>n[(i+c)%n.length])}var nYt=ZKt,rYt=eYt;function nnr(n){const i=rnr(n),a=z.forwardRef((c,d)=>{const{children:g,...b}=c,w=z.Children.toArray(g),E=w.find(onr);if(E){const S=E.props.children,k=w.map(_=>_===E?z.Children.count(S)>1?z.Children.only(null):z.isValidElement(S)?S.props.children:null:_);return O.jsx(i,{...b,ref:d,children:z.isValidElement(S)?z.cloneElement(S,void 0,k):null})}return O.jsx(i,{...b,ref:d,children:g})});return a.displayName=`${n}.Slot`,a}function rnr(n){const i=z.forwardRef((a,c)=>{const{children:d,...g}=a;if(z.isValidElement(d)){const b=anr(d),w=snr(g,d.props);return d.type!==z.Fragment&&(w.ref=c?Gg(c,b):b),z.cloneElement(d,w)}return z.Children.count(d)>1?z.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var inr=Symbol("radix.slottable");function onr(n){return z.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===inr}function snr(n,i){const a={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?a[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(a[c]=d):c==="style"?a[c]={...d,...g}:c==="className"&&(a[c]=[d,g].filter(Boolean).join(" "))}return{...n,...a}}function anr(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?n.props.ref:n.props.ref||n.ref)}var HDe=["Enter"," "],unr=["ArrowDown","PageUp","Home"],iYt=["ArrowUp","PageDown","End"],cnr=[...unr,...iYt],lnr={ltr:[...HDe,"ArrowRight"],rtl:[...HDe,"ArrowLeft"]},dnr={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Mz="Menu",[sz,fnr,hnr]=Iae(Mz),[OR,oYt]=Nw(Mz,[hnr,G5,Hae]),zae=G5(),sYt=Hae(),[pnr,DR]=OR(Mz),[gnr,Pz]=OR(Mz),aYt=n=>{const{__scopeMenu:i,open:a=!1,children:c,dir:d,onOpenChange:g,modal:b=!0}=n,w=zae(i),[E,S]=z.useState(null),k=z.useRef(!1),_=G2(g),C=Iz(d);return z.useEffect(()=>{const R=()=>{k.current=!0,document.addEventListener("pointerdown",M,{capture:!0,once:!0}),document.addEventListener("pointermove",M,{capture:!0,once:!0})},M=()=>k.current=!1;return document.addEventListener("keydown",R,{capture:!0}),()=>{document.removeEventListener("keydown",R,{capture:!0}),document.removeEventListener("pointerdown",M,{capture:!0}),document.removeEventListener("pointermove",M,{capture:!0})}},[]),O.jsx(_5e,{...w,children:O.jsx(pnr,{scope:i,open:a,onOpenChange:_,content:E,onContentChange:S,children:O.jsx(gnr,{scope:i,onClose:z.useCallback(()=>_(!1),[_]),isUsingKeyboardRef:k,dir:C,modal:b,children:c})})})};aYt.displayName=Mz;var bnr="MenuAnchor",D5e=z.forwardRef((n,i)=>{const{__scopeMenu:a,...c}=n,d=zae(a);return O.jsx(Mae,{...d,...c,ref:i})});D5e.displayName=bnr;var L5e="MenuPortal",[mnr,uYt]=OR(L5e,{forceMount:void 0}),cYt=n=>{const{__scopeMenu:i,forceMount:a,children:c,container:d}=n,g=DR(L5e,i);return O.jsx(mnr,{scope:i,forceMount:a,children:O.jsx(Cw,{present:a||g.open,children:O.jsx(Nz,{asChild:!0,container:d,children:c})})})};cYt.displayName=L5e;var Ew="MenuContent",[wnr,M5e]=OR(Ew),lYt=z.forwardRef((n,i)=>{const a=uYt(Ew,n.__scopeMenu),{forceMount:c=a.forceMount,...d}=n,g=DR(Ew,n.__scopeMenu),b=Pz(Ew,n.__scopeMenu);return O.jsx(sz.Provider,{scope:n.__scopeMenu,children:O.jsx(Cw,{present:c||g.open,children:O.jsx(sz.Slot,{scope:n.__scopeMenu,children:b.modal?O.jsx(ynr,{...d,ref:i}):O.jsx(vnr,{...d,ref:i})})})})}),ynr=z.forwardRef((n,i)=>{const a=DR(Ew,n.__scopeMenu),c=z.useRef(null),d=hs(i,c);return z.useEffect(()=>{const g=c.current;if(g)return xae(g)},[]),O.jsx(P5e,{...n,ref:d,trapFocus:a.open,disableOutsidePointerEvents:a.open,disableOutsideScroll:!0,onFocusOutside:Or(n.onFocusOutside,g=>g.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>a.onOpenChange(!1)})}),vnr=z.forwardRef((n,i)=>{const a=DR(Ew,n.__scopeMenu);return O.jsx(P5e,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>a.onOpenChange(!1)})}),Enr=nnr("MenuContent.ScrollLock"),P5e=z.forwardRef((n,i)=>{const{__scopeMenu:a,loop:c=!1,trapFocus:d,onOpenAutoFocus:g,onCloseAutoFocus:b,disableOutsidePointerEvents:w,onEntryFocus:E,onEscapeKeyDown:S,onPointerDownOutside:k,onFocusOutside:_,onInteractOutside:C,onDismiss:R,disableOutsideScroll:M,...D}=n,B=DR(Ew,a),F=Pz(Ew,a),$=zae(a),P=sYt(a),H=fnr(a),[Q,re]=z.useState(null),ee=z.useRef(null),ae=hs(i,ee,B.onContentChange),he=z.useRef(0),ve=z.useRef(""),de=z.useRef(0),ge=z.useRef(null),Y=z.useRef("right"),fe=z.useRef(0),De=M?Cz:z.Fragment,Se=M?{as:Enr,allowPinchZoom:!0}:void 0,$e=ke=>{var kt,It;const Je=ve.current+ke,bt=H().filter(Xt=>!Xt.disabled),qe=document.activeElement,_t=(kt=bt.find(Xt=>Xt.ref.current===qe))==null?void 0:kt.textValue,At=bt.map(Xt=>Xt.textValue),ft=Dnr(At,Je,_t),Kt=(It=bt.find(Xt=>Xt.textValue===ft))==null?void 0:It.ref.current;(function Xt(Bn){ve.current=Bn,window.clearTimeout(he.current),Bn!==""&&(he.current=window.setTimeout(()=>Xt(""),1e3))})(Je),Kt&&setTimeout(()=>Kt.focus())};z.useEffect(()=>()=>window.clearTimeout(he.current),[]),_ae();const Te=z.useCallback(ke=>{var bt,qe;return Y.current===((bt=ge.current)==null?void 0:bt.side)&&Mnr(ke,(qe=ge.current)==null?void 0:qe.area)},[]);return O.jsx(wnr,{scope:a,searchRef:ve,onItemEnter:z.useCallback(ke=>{Te(ke)&&ke.preventDefault()},[Te]),onItemLeave:z.useCallback(ke=>{var Je;Te(ke)||((Je=ee.current)==null||Je.focus(),re(null))},[Te]),onTriggerLeave:z.useCallback(ke=>{Te(ke)&&ke.preventDefault()},[Te]),pointerGraceTimerRef:de,onPointerGraceIntentChange:z.useCallback(ke=>{ge.current=ke},[]),children:O.jsx(De,{...Se,children:O.jsx(xz,{asChild:!0,trapped:d,onMountAutoFocus:Or(g,ke=>{var Je;ke.preventDefault(),(Je=ee.current)==null||Je.focus({preventScroll:!0})}),onUnmountAutoFocus:b,children:O.jsx(kz,{asChild:!0,disableOutsidePointerEvents:w,onEscapeKeyDown:S,onPointerDownOutside:k,onFocusOutside:_,onInteractOutside:C,onDismiss:R,children:O.jsx(nYt,{asChild:!0,...P,dir:F.dir,orientation:"vertical",loop:c,currentTabStopId:Q,onCurrentTabStopIdChange:re,onEntryFocus:Or(E,ke=>{F.isUsingKeyboardRef.current||ke.preventDefault()}),preventScrollOnEntryFocus:!0,children:O.jsx(k5e,{role:"menu","aria-orientation":"vertical","data-state":kYt(B.open),"data-radix-menu-content":"",dir:F.dir,...$,...D,ref:ae,style:{outline:"none",...D.style},onKeyDown:Or(D.onKeyDown,ke=>{const bt=ke.target.closest("[data-radix-menu-content]")===ke.currentTarget,qe=ke.ctrlKey||ke.altKey||ke.metaKey,_t=ke.key.length===1;bt&&(ke.key==="Tab"&&ke.preventDefault(),!qe&&_t&&$e(ke.key));const At=ee.current;if(ke.target!==At||!cnr.includes(ke.key))return;ke.preventDefault();const Kt=H().filter(kt=>!kt.disabled).map(kt=>kt.ref.current);iYt.includes(ke.key)&&Kt.reverse(),Rnr(Kt)}),onBlur:Or(n.onBlur,ke=>{ke.currentTarget.contains(ke.target)||(window.clearTimeout(he.current),ve.current="")}),onPointerMove:Or(n.onPointerMove,az(ke=>{const Je=ke.target,bt=fe.current!==ke.clientX;if(ke.currentTarget.contains(Je)&&bt){const qe=ke.clientX>fe.current?"right":"left";Y.current=qe,fe.current=ke.clientX}}))})})})})})})});lYt.displayName=Ew;var Snr="MenuGroup",j5e=z.forwardRef((n,i)=>{const{__scopeMenu:a,...c}=n;return O.jsx(eo.div,{role:"group",...c,ref:i})});j5e.displayName=Snr;var Tnr="MenuLabel",dYt=z.forwardRef((n,i)=>{const{__scopeMenu:a,...c}=n;return O.jsx(eo.div,{...c,ref:i})});dYt.displayName=Tnr;var gse="MenuItem",$Ft="menu.itemSelect",Gae=z.forwardRef((n,i)=>{const{disabled:a=!1,onSelect:c,...d}=n,g=z.useRef(null),b=Pz(gse,n.__scopeMenu),w=M5e(gse,n.__scopeMenu),E=hs(i,g),S=z.useRef(!1),k=()=>{const _=g.current;if(!a&&_){const C=new CustomEvent($Ft,{bubbles:!0,cancelable:!0});_.addEventListener($Ft,R=>c==null?void 0:c(R),{once:!0}),pVt(_,C),C.defaultPrevented?S.current=!1:b.onClose()}};return O.jsx(fYt,{...d,ref:E,disabled:a,onClick:Or(n.onClick,k),onPointerDown:_=>{var C;(C=n.onPointerDown)==null||C.call(n,_),S.current=!0},onPointerUp:Or(n.onPointerUp,_=>{var C;S.current||(C=_.currentTarget)==null||C.click()}),onKeyDown:Or(n.onKeyDown,_=>{const C=w.searchRef.current!=="";a||C&&_.key===" "||HDe.includes(_.key)&&(_.currentTarget.click(),_.preventDefault())})})});Gae.displayName=gse;var fYt=z.forwardRef((n,i)=>{const{__scopeMenu:a,disabled:c=!1,textValue:d,...g}=n,b=M5e(gse,a),w=sYt(a),E=z.useRef(null),S=hs(i,E),[k,_]=z.useState(!1),[C,R]=z.useState("");return z.useEffect(()=>{const M=E.current;M&&R((M.textContent??"").trim())},[g.children]),O.jsx(sz.ItemSlot,{scope:a,disabled:c,textValue:d??C,children:O.jsx(rYt,{asChild:!0,...w,focusable:!c,children:O.jsx(eo.div,{role:"menuitem","data-highlighted":k?"":void 0,"aria-disabled":c||void 0,"data-disabled":c?"":void 0,...g,ref:S,onPointerMove:Or(n.onPointerMove,az(M=>{c?b.onItemLeave(M):(b.onItemEnter(M),M.defaultPrevented||M.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Or(n.onPointerLeave,az(M=>b.onItemLeave(M))),onFocus:Or(n.onFocus,()=>_(!0)),onBlur:Or(n.onBlur,()=>_(!1))})})})}),Anr="MenuCheckboxItem",hYt=z.forwardRef((n,i)=>{const{checked:a=!1,onCheckedChange:c,...d}=n;return O.jsx(wYt,{scope:n.__scopeMenu,checked:a,children:O.jsx(Gae,{role:"menuitemcheckbox","aria-checked":bse(a)?"mixed":a,...d,ref:i,"data-state":$5e(a),onSelect:Or(d.onSelect,()=>c==null?void 0:c(bse(a)?!0:!a),{checkForDefaultPrevented:!1})})})});hYt.displayName=Anr;var pYt="MenuRadioGroup",[_nr,knr]=OR(pYt,{value:void 0,onValueChange:()=>{}}),gYt=z.forwardRef((n,i)=>{const{value:a,onValueChange:c,...d}=n,g=G2(c);return O.jsx(_nr,{scope:n.__scopeMenu,value:a,onValueChange:g,children:O.jsx(j5e,{...d,ref:i})})});gYt.displayName=pYt;var bYt="MenuRadioItem",mYt=z.forwardRef((n,i)=>{const{value:a,...c}=n,d=knr(bYt,n.__scopeMenu),g=a===d.value;return O.jsx(wYt,{scope:n.__scopeMenu,checked:g,children:O.jsx(Gae,{role:"menuitemradio","aria-checked":g,...c,ref:i,"data-state":$5e(g),onSelect:Or(c.onSelect,()=>{var b;return(b=d.onValueChange)==null?void 0:b.call(d,a)},{checkForDefaultPrevented:!1})})})});mYt.displayName=bYt;var F5e="MenuItemIndicator",[wYt,xnr]=OR(F5e,{checked:!1}),yYt=z.forwardRef((n,i)=>{const{__scopeMenu:a,forceMount:c,...d}=n,g=xnr(F5e,a);return O.jsx(Cw,{present:c||bse(g.checked)||g.checked===!0,children:O.jsx(eo.span,{...d,ref:i,"data-state":$5e(g.checked)})})});yYt.displayName=F5e;var Nnr="MenuSeparator",vYt=z.forwardRef((n,i)=>{const{__scopeMenu:a,...c}=n;return O.jsx(eo.div,{role:"separator","aria-orientation":"horizontal",...c,ref:i})});vYt.displayName=Nnr;var Cnr="MenuArrow",EYt=z.forwardRef((n,i)=>{const{__scopeMenu:a,...c}=n,d=zae(a);return O.jsx(x5e,{...d,...c,ref:i})});EYt.displayName=Cnr;var Inr="MenuSub",[ngr,SYt]=OR(Inr),rH="MenuSubTrigger",TYt=z.forwardRef((n,i)=>{const a=DR(rH,n.__scopeMenu),c=Pz(rH,n.__scopeMenu),d=SYt(rH,n.__scopeMenu),g=M5e(rH,n.__scopeMenu),b=z.useRef(null),{pointerGraceTimerRef:w,onPointerGraceIntentChange:E}=g,S={__scopeMenu:n.__scopeMenu},k=z.useCallback(()=>{b.current&&window.clearTimeout(b.current),b.current=null},[]);return z.useEffect(()=>k,[k]),z.useEffect(()=>{const _=w.current;return()=>{window.clearTimeout(_),E(null)}},[w,E]),O.jsx(D5e,{asChild:!0,...S,children:O.jsx(fYt,{id:d.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":d.contentId,"data-state":kYt(a.open),...n,ref:Gg(i,d.onTriggerChange),onClick:_=>{var C;(C=n.onClick)==null||C.call(n,_),!(n.disabled||_.defaultPrevented)&&(_.currentTarget.focus(),a.open||a.onOpenChange(!0))},onPointerMove:Or(n.onPointerMove,az(_=>{g.onItemEnter(_),!_.defaultPrevented&&!n.disabled&&!a.open&&!b.current&&(g.onPointerGraceIntentChange(null),b.current=window.setTimeout(()=>{a.onOpenChange(!0),k()},100))})),onPointerLeave:Or(n.onPointerLeave,az(_=>{var R,M;k();const C=(R=a.content)==null?void 0:R.getBoundingClientRect();if(C){const D=(M=a.content)==null?void 0:M.dataset.side,B=D==="right",F=B?-5:5,$=C[B?"left":"right"],P=C[B?"right":"left"];g.onPointerGraceIntentChange({area:[{x:_.clientX+F,y:_.clientY},{x:$,y:C.top},{x:P,y:C.top},{x:P,y:C.bottom},{x:$,y:C.bottom}],side:D}),window.clearTimeout(w.current),w.current=window.setTimeout(()=>g.onPointerGraceIntentChange(null),300)}else{if(g.onTriggerLeave(_),_.defaultPrevented)return;g.onPointerGraceIntentChange(null)}})),onKeyDown:Or(n.onKeyDown,_=>{var R;const C=g.searchRef.current!=="";n.disabled||C&&_.key===" "||lnr[c.dir].includes(_.key)&&(a.onOpenChange(!0),(R=a.content)==null||R.focus(),_.preventDefault())})})})});TYt.displayName=rH;var AYt="MenuSubContent",_Yt=z.forwardRef((n,i)=>{const a=uYt(Ew,n.__scopeMenu),{forceMount:c=a.forceMount,...d}=n,g=DR(Ew,n.__scopeMenu),b=Pz(Ew,n.__scopeMenu),w=SYt(AYt,n.__scopeMenu),E=z.useRef(null),S=hs(i,E);return O.jsx(sz.Provider,{scope:n.__scopeMenu,children:O.jsx(Cw,{present:c||g.open,children:O.jsx(sz.Slot,{scope:n.__scopeMenu,children:O.jsx(P5e,{id:w.contentId,"aria-labelledby":w.triggerId,...d,ref:S,align:"start",side:b.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:k=>{var _;b.isUsingKeyboardRef.current&&((_=E.current)==null||_.focus()),k.preventDefault()},onCloseAutoFocus:k=>k.preventDefault(),onFocusOutside:Or(n.onFocusOutside,k=>{k.target!==w.trigger&&g.onOpenChange(!1)}),onEscapeKeyDown:Or(n.onEscapeKeyDown,k=>{b.onClose(),k.preventDefault()}),onKeyDown:Or(n.onKeyDown,k=>{var R;const _=k.currentTarget.contains(k.target),C=dnr[b.dir].includes(k.key);_&&C&&(g.onOpenChange(!1),(R=w.trigger)==null||R.focus(),k.preventDefault())})})})})})});_Yt.displayName=AYt;function kYt(n){return n?"open":"closed"}function bse(n){return n==="indeterminate"}function $5e(n){return bse(n)?"indeterminate":n?"checked":"unchecked"}function Rnr(n){const i=document.activeElement;for(const a of n)if(a===i||(a.focus(),document.activeElement!==i))return}function Onr(n,i){return n.map((a,c)=>n[(i+c)%n.length])}function Dnr(n,i,a){const d=i.length>1&&Array.from(i).every(S=>S===i[0])?i[0]:i,g=a?n.indexOf(a):-1;let b=Onr(n,Math.max(g,0));d.length===1&&(b=b.filter(S=>S!==a));const E=b.find(S=>S.toLowerCase().startsWith(d.toLowerCase()));return E!==a?E:void 0}function Lnr(n,i){const{x:a,y:c}=n;let d=!1;for(let g=0,b=i.length-1;g<i.length;b=g++){const w=i[g],E=i[b],S=w.x,k=w.y,_=E.x,C=E.y;k>c!=C>c&&a<(_-S)*(c-k)/(C-k)+S&&(d=!d)}return d}function Mnr(n,i){if(!i)return!1;const a={x:n.clientX,y:n.clientY};return Lnr(a,i)}function az(n){return i=>i.pointerType==="mouse"?n(i):void 0}var Pnr=aYt,jnr=D5e,Fnr=cYt,$nr=lYt,Bnr=j5e,Unr=dYt,Hnr=Gae,znr=hYt,Gnr=gYt,qnr=mYt,Vnr=yYt,Wnr=vYt,Knr=EYt,Ynr=TYt,Jnr=_Yt,qae="DropdownMenu",[Xnr]=Nw(qae,[oYt]),Wg=oYt(),[Znr,xYt]=Xnr(qae),NYt=n=>{const{__scopeDropdownMenu:i,children:a,dir:c,open:d,defaultOpen:g,onOpenChange:b,modal:w=!0}=n,E=Wg(i),S=z.useRef(null),[k,_]=z2({prop:d,defaultProp:g??!1,onChange:b,caller:qae});return O.jsx(Znr,{scope:i,triggerId:Fh(),triggerRef:S,contentId:Fh(),open:k,onOpenChange:_,onOpenToggle:z.useCallback(()=>_(C=>!C),[_]),modal:w,children:O.jsx(Pnr,{...E,open:k,onOpenChange:_,dir:c,modal:w,children:a})})};NYt.displayName=qae;var CYt="DropdownMenuTrigger",IYt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,disabled:c=!1,...d}=n,g=xYt(CYt,a),b=Wg(a);return O.jsx(jnr,{asChild:!0,...b,children:O.jsx(eo.button,{type:"button",id:g.triggerId,"aria-haspopup":"menu","aria-expanded":g.open,"aria-controls":g.open?g.contentId:void 0,"data-state":g.open?"open":"closed","data-disabled":c?"":void 0,disabled:c,...d,ref:Gg(i,g.triggerRef),onPointerDown:Or(n.onPointerDown,w=>{!c&&w.button===0&&w.ctrlKey===!1&&(g.onOpenToggle(),g.open||w.preventDefault())}),onKeyDown:Or(n.onKeyDown,w=>{c||(["Enter"," "].includes(w.key)&&g.onOpenToggle(),w.key==="ArrowDown"&&g.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(w.key)&&w.preventDefault())})})})});IYt.displayName=CYt;var Qnr="DropdownMenuPortal",RYt=n=>{const{__scopeDropdownMenu:i,...a}=n,c=Wg(i);return O.jsx(Fnr,{...c,...a})};RYt.displayName=Qnr;var OYt="DropdownMenuContent",DYt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=xYt(OYt,a),g=Wg(a),b=z.useRef(!1);return O.jsx($nr,{id:d.contentId,"aria-labelledby":d.triggerId,...g,...c,ref:i,onCloseAutoFocus:Or(n.onCloseAutoFocus,w=>{var E;b.current||(E=d.triggerRef.current)==null||E.focus(),b.current=!1,w.preventDefault()}),onInteractOutside:Or(n.onInteractOutside,w=>{const E=w.detail.originalEvent,S=E.button===0&&E.ctrlKey===!0,k=E.button===2||S;(!d.modal||k)&&(b.current=!0)}),style:{...n.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});DYt.displayName=OYt;var err="DropdownMenuGroup",trr=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(Bnr,{...d,...c,ref:i})});trr.displayName=err;var nrr="DropdownMenuLabel",LYt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(Unr,{...d,...c,ref:i})});LYt.displayName=nrr;var rrr="DropdownMenuItem",MYt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(Hnr,{...d,...c,ref:i})});MYt.displayName=rrr;var irr="DropdownMenuCheckboxItem",PYt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(znr,{...d,...c,ref:i})});PYt.displayName=irr;var orr="DropdownMenuRadioGroup",srr=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(Gnr,{...d,...c,ref:i})});srr.displayName=orr;var arr="DropdownMenuRadioItem",jYt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(qnr,{...d,...c,ref:i})});jYt.displayName=arr;var urr="DropdownMenuItemIndicator",FYt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(Vnr,{...d,...c,ref:i})});FYt.displayName=urr;var crr="DropdownMenuSeparator",$Yt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(Wnr,{...d,...c,ref:i})});$Yt.displayName=crr;var lrr="DropdownMenuArrow",drr=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(Knr,{...d,...c,ref:i})});drr.displayName=lrr;var frr="DropdownMenuSubTrigger",BYt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(Ynr,{...d,...c,ref:i})});BYt.displayName=frr;var hrr="DropdownMenuSubContent",UYt=z.forwardRef((n,i)=>{const{__scopeDropdownMenu:a,...c}=n,d=Wg(a);return O.jsx(Jnr,{...d,...c,ref:i,style:{...n.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});UYt.displayName=hrr;var prr=NYt,grr=IYt,brr=RYt,HYt=DYt,zYt=LYt,GYt=MYt,qYt=PYt,VYt=jYt,WYt=FYt,KYt=$Yt,YYt=BYt,JYt=UYt;const XYt=prr,ZYt=grr,mrr=z.forwardRef(({className:n,inset:i,children:a,...c},d)=>O.jsxs(YYt,{ref:d,className:kr("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",i&&"pl-8",n),...c,children:[a,O.jsx(W9n,{className:"ml-auto"})]}));mrr.displayName=YYt.displayName;const wrr=z.forwardRef(({className:n,...i},a)=>O.jsx(JYt,{ref:a,className:kr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-[--radix-dropdown-menu-content-transform-origin] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=closed]:animate-out data-[state=open]:animate-in",n),...i}));wrr.displayName=JYt.displayName;const B5e=z.forwardRef(({className:n,sideOffset:i=4,container:a,...c},d)=>O.jsx(brr,{container:a,children:O.jsx(HYt,{ref:d,sideOffset:i,className:kr("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin] data-[state=closed]:animate-out data-[state=open]:animate-in",n),...c})}));B5e.displayName=HYt.displayName;const zDe=z.forwardRef(({className:n,inset:i,...a},c)=>O.jsx(GYt,{ref:c,className:kr("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",i&&"pl-8",n),...a}));zDe.displayName=GYt.displayName;const QYt=z.forwardRef(({className:n,children:i,checked:a,...c},d)=>O.jsxs(qYt,{ref:d,className:kr("relative flex cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),checked:a,...c,children:[O.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:O.jsx(WYt,{children:O.jsx(L5,{className:"h-4 w-4"})})}),i]}));QYt.displayName=qYt.displayName;const yrr=z.forwardRef(({className:n,children:i,...a},c)=>O.jsxs(VYt,{ref:c,className:kr("relative flex cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...a,children:[O.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:O.jsx(WYt,{children:O.jsx(r8n,{className:"h-2 w-2 fill-current"})})}),i]}));yrr.displayName=VYt.displayName;const vrr=z.forwardRef(({className:n,inset:i,...a},c)=>O.jsx(zYt,{ref:c,className:kr("px-2 py-1.5 font-semibold text-sm",i&&"pl-8",n),...a}));vrr.displayName=zYt.displayName;const Err=z.forwardRef(({className:n,...i},a)=>O.jsx(KYt,{ref:a,className:kr("-mx-1 my-1 h-px bg-muted",n),...i}));Err.displayName=KYt.displayName;function jz({field:n,value:i,onChange:a,entities:c,domain:d,translations:g={},error:b}){const{t:w}=zs(["common"]),E=n.name,S=n.required??!1;let k=E,_="",C="";if("label"in n)k=n.label,_=n.description||"",C=n.placeholder||"";else if(d){const P=`component.${d}.device_automation.extra_fields.${E}`,H=`component.${d}.device_automation.extra_fields_descriptions.${E}`;k=g[P]||E.split("_").map(Q=>Q.charAt(0).toUpperCase()+Q.slice(1)).join(" "),_=g[H]||"",console.log(`Field "${E}" in domain "${d}":`),console.log(` Label key: ${P} = ${g[P]||"(not found)"}`),console.log(` Desc key: ${H} = ${g[H]||"(not found)"}`),console.log(` Final label: ${k}`),console.log(` Final description: ${_}`)}else k=E.split("_").map(P=>P.charAt(0).toUpperCase()+P.slice(1)).join(" "),console.log(`Field "${E}" with no domain - using formatted name: ${k}`);let R=null,M={};if("type"in n&&n.type)R=n.type;else if("selector"in n&&n.selector){const P=Object.keys(n.selector);P.length>0&&(R=P[0],M=n.selector[R]||{})}const D=typeof i=="string"?i:String(i??""),B=typeof i=="number"?i:Number(i)||void 0,F=typeof i=="boolean"?i:!!i,$=()=>{switch(R){case"text":{if("multiple"in n&&n.multiple){const H=Array.isArray(i)?i:typeof i=="string"&&i?[i]:[];return O.jsx(BDe,{values:H,onChange:a,placeholder:C||"Add value..."})}return O.jsx(Ba,{type:"text",value:D,onChange:H=>a(H.target.value),placeholder:C,required:S})}case"number":return O.jsx(Ba,{type:"number",value:B??"",onChange:P=>a(P.target.value?Number(P.target.value):null),placeholder:C,required:S});case"boolean":return O.jsxs("div",{className:"flex items-center space-x-2",children:[O.jsx(_A,{checked:F,onCheckedChange:a}),O.jsx("span",{className:"text-muted-foreground text-sm",children:w(F?"dynamicField.enabled":"dynamicField.disabled")})]});case"select":{let P=[];if("options"in n&&n.options){const Q=n.options;Q.length>0&&(Array.isArray(Q[0])?P=Q.map(([re,ee])=>({value:re,label:ee})):P=Q)}else M.options&&Array.isArray(M.options)&&(P=M.options);if("multiple"in n&&n.multiple||M.multiple===!0){const Q=Array.isArray(i)?i:i?[i]:[],re=()=>{var ee;return Q.length===0?C||w("dynamicField.selectItems"):Q.length===1?((ee=P.find(ae=>ae.value===Q[0]))==null?void 0:ee.label)||Q[0]:w("dynamicField.itemsSelected",{count:Q.length})};return O.jsxs(XYt,{children:[O.jsx(ZYt,{asChild:!0,children:O.jsxs(Di,{variant:"outline",className:"w-full justify-between font-normal",children:[O.jsx("span",{className:Q.length===0?"text-muted-foreground":"",children:re()}),O.jsx(Xse,{className:"ml-2 h-4 w-4 opacity-50"})]})}),O.jsx(B5e,{className:"w-[var(--radix-dropdown-menu-trigger-width)]",children:P.map(ee=>{const ae=Q.includes(ee.value);return O.jsx(QYt,{checked:ae,onCheckedChange:he=>{a(he?[...Q,ee.value]:Q.filter(ve=>ve!==ee.value))},children:ee.label},ee.value)})})]})}return O.jsxs(Hp,{value:D,onValueChange:a,children:[O.jsx(Uh,{children:O.jsx(zp,{placeholder:C||"Select..."})}),O.jsx(Hh,{children:P.map(Q=>O.jsx(io,{value:Q.value,children:Q.label},Q.value))})]})}case"entity":{if("multiple"in n&&n.multiple||M.multiple===!0){const H=Array.isArray(i)?i:typeof i=="string"&&i?i.split(",").map(Q=>Q.trim()):[];return O.jsx(R5e,{value:H,onChange:a,entities:c,placeholder:C||w("dynamicField.selectEntities")})}return O.jsx(Uae,{value:D,onChange:a,entities:c,placeholder:C||w("dynamicField.selectEntity")})}case"template":return O.jsx(jv,{value:D,onChange:P=>a(P.target.value),placeholder:C||w("placeholders.enterTemplate"),className:"font-mono text-sm",rows:4,required:S});case"duration":return O.jsx(YKt,{value:i??"",onChange:a});case"object":return O.jsx(jv,{value:typeof i=="object"?JSON.stringify(i,null,2):D,onChange:P=>{try{a(JSON.parse(P.target.value))}catch{a(P.target.value)}},placeholder:C||w("placeholders.jsonExample"),className:"font-mono text-sm",rows:4,required:S});case"time":return O.jsx(Ba,{type:"time",value:D,onChange:P=>a(P.target.value),required:S});case"date":return O.jsx(Ba,{type:"date",value:D,onChange:P=>a(P.target.value),required:S});default:return O.jsx(Ba,{type:"text",value:D,onChange:P=>a(P.target.value),placeholder:C||w("dynamicField.enterValue",{name:E}),required:S})}};return O.jsxs("div",{className:"space-y-2",children:[O.jsxs(ll,{className:"font-medium text-muted-foreground text-xs",children:[k,S&&O.jsx("span",{className:"ml-1 text-destructive",children:w("labels.requiredAsterisk")})]}),$(),O.jsx(eN,{message:b}),_&&O.jsx("p",{className:"text-muted-foreground text-xs",children:_})]})}const Srr={state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,description:"The entity to check"},{name:"state",label:"State",type:"text",required:!0,placeholder:"e.g., on, off, home",description:"The state value to check for"},{name:"attribute",label:"Attribute (optional)",type:"text",required:!1,placeholder:"e.g., brightness, temperature",description:"Check a specific attribute instead of the state"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"00:05:00",description:"How long the condition must be true"}],numeric_state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,description:"The sensor entity to check"},{name:"above",label:"Above (optional)",type:"number",required:!1,placeholder:"Minimum value",description:"Condition is true when value > this"},{name:"below",label:"Below (optional)",type:"number",required:!1,placeholder:"Maximum value",description:"Condition is true when value < this"},{name:"attribute",label:"Attribute (optional)",type:"text",required:!1,placeholder:"e.g., brightness, temperature",description:"Check a specific attribute instead of the state"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"00:05:00",description:"How long the condition must be true"}],template:[{name:"value_template",label:"Value Template",type:"template",required:!0,placeholder:'{{ states("sensor.temperature") | float > 20 }}',description:"Template that should evaluate to true/false"}],time:[{name:"after",label:"After (optional)",type:"time",required:!1,description:"Condition is true after this time"},{name:"before",label:"Before (optional)",type:"time",required:!1,description:"Condition is true before this time"},{name:"weekday",label:"Weekday (optional)",type:"select",required:!1,multiple:!0,description:"Days of the week when condition is true",options:[{value:"mon",label:"Monday"},{value:"tue",label:"Tuesday"},{value:"wed",label:"Wednesday"},{value:"thu",label:"Thursday"},{value:"fri",label:"Friday"},{value:"sat",label:"Saturday"},{value:"sun",label:"Sunday"}]}],sun:[{name:"after",label:"After",type:"select",required:!1,description:"Condition is true after this sun event",options:[{value:"sunrise",label:"Sunrise"},{value:"sunset",label:"Sunset"}]},{name:"after_offset",label:"After Offset (optional)",type:"text",required:!1,placeholder:"e.g., -00:30:00",description:"Time offset for the after event"},{name:"before",label:"Before",type:"select",required:!1,description:"Condition is true before this sun event",options:[{value:"sunrise",label:"Sunrise"},{value:"sunset",label:"Sunset"}]},{name:"before_offset",label:"Before Offset (optional)",type:"text",required:!1,placeholder:"e.g., +01:00:00",description:"Time offset for the before event"}],zone:[{name:"entity_id",label:"Entity",type:"entity",required:!0,description:"Person or device tracker to monitor"},{name:"zone",label:"Zone",type:"text",required:!0,placeholder:"zone.home",description:"Zone entity to check for presence"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"00:05:00",description:"How long the entity must be in the zone"}],trigger:[{name:"id",label:"Trigger ID(s)",type:"text",required:!0,multiple:!0,placeholder:"e.g., arriving, leaving",description:"The ID(s) of the trigger(s) to match"}],device:[],and:[],or:[],not:[]};function U5e(n){return Srr[n]||[]}function eJt(n){const i=U5e(n),a={condition:n};for(const c of i)c.default!==void 0&&(a[c.name]=c.default);return H5e(n)&&(a.conditions=[]),a}function H5e(n){return n==="and"||n==="or"||n==="not"}const Trr=[{value:"state",labelKey:"nodes:conditions.types.state"},{value:"numeric_state",labelKey:"nodes:conditions.types.numeric_state"},{value:"template",labelKey:"nodes:conditions.types.template"},{value:"trigger",labelKey:"nodes:conditions.types.trigger"},{value:"zone",labelKey:"nodes:conditions.types.zone"},{value:"time",labelKey:"nodes:conditions.types.time"},{value:"sun",labelKey:"nodes:conditions.types.sun"},{value:"and",labelKey:"nodes:conditions.types.and"},{value:"or",labelKey:"nodes:conditions.types.or"},{value:"not",labelKey:"nodes:conditions.types.not"}];function Arr({cond:n,onUpdate:i,entities:a}){const c=n.condition||"state",d=U5e(c);return d.length===0?null:O.jsx("div",{className:"space-y-2",children:d.map(g=>O.jsx(jz,{field:g,value:n[g.name],onChange:b=>i({...n,[g.name]:b}),entities:a},g.name))})}function _rr({cond:n,onUpdate:i,onRemove:a,entities:c,depth:d}){const g=n.condition||"state",b=H5e(g),{t:w}=zs(["common","nodes","panels"]),E=S=>{i(eJt(S))};return O.jsxs("div",{className:kr("space-y-3 rounded-md border bg-card p-3",d>0&&"bg-muted/30"),children:[O.jsxs("div",{className:"flex items-center justify-between gap-2",children:[O.jsxs(Hp,{value:n.condition||"state",onValueChange:E,children:[O.jsx(Uh,{className:"w-full max-w-[180px]",children:O.jsx(zp,{})}),O.jsx(Hh,{children:Trr.map(S=>O.jsx(io,{value:S.value,children:w(S.labelKey)},S.value))})]}),O.jsx(Di,{size:"icon",variant:"ghost",onClick:a,className:"h-8 w-8 shrink-0 text-muted-foreground hover:text-destructive",children:O.jsx(M5,{className:"h-4 w-4"})})]}),b?O.jsx(tJt,{conditions:n.conditions||[],onChange:S=>i({...n,conditions:S}),parentType:n.condition,depth:d+1}):O.jsx(Arr,{cond:n,onUpdate:i,entities:c})]})}const tJt=z.memo(function({conditions:i,onChange:a,depth:c=0}){const{hass:d}=Gm(),g=d?Object.values(d.states):[],{t:b}=zs(["common","nodes","panels"]),w=()=>{a([...i,{condition:"state",entity_id:"",state:""}])},E=k=>{a(i.filter((_,C)=>C!==k))},S=(k,_)=>{a(i.map((C,R)=>R===k?_:C))};return O.jsxs("div",{className:kr("space-y-2",c>0&&"border-muted border-l-2 pl-2"),children:[i.length===0?O.jsx("p",{className:"py-2 text-muted-foreground text-xs italic",children:b("panels:conditionGroupEditor.noConditions")}):i.map((k,_)=>O.jsx(_rr,{cond:k,onUpdate:C=>S(_,C),onRemove:()=>E(_),entities:g,depth:c},_)),O.jsxs(Di,{size:"sm",variant:"outline",onClick:w,className:"w-full",children:[O.jsx(Qse,{className:"mr-1 h-4 w-4"}),b("panels:conditionGroupEditor.addCondition")]})]})});function nJt({value:n,onChange:i,label:a="",required:c=!1,placeholder:d=""}){const{t:g}=zs(["common"]),{hass:b}=Gm(),[w,E]=z.useState(n);z.useEffect(()=>{E(n)},[n]);const S=(b==null?void 0:b.devices)??{},k=Object.keys(S).length>0,_=n&&k&&!S[n],C=()=>{if(!n)return;const R=S[n];return R?R.name_by_user||R.name||R.id:n};return O.jsx(fs,{label:a||g("labels.device"),required:c,children:k?O.jsxs(Hp,{value:n,onValueChange:i,children:[O.jsx(Uh,{className:_?"font-mono text-red-600":void 0,children:O.jsx(zp,{placeholder:d||g("placeholders.selectDevice"),children:C()})}),O.jsx(Hh,{children:Object.values(S).map(R=>O.jsx(io,{value:R.id,children:R.name_by_user||R.name||R.id},R.id))})]}):O.jsxs(O.Fragment,{children:[O.jsx(Ba,{type:"text",value:w,onChange:R=>{E(R.target.value),i(R.target.value)},placeholder:g("deviceSelector.enterId")}),O.jsx("p",{className:"text-muted-foreground text-xs",children:g("deviceSelector.noDevices")})]})})}function krr({node:n,onChange:i}){const a=Ug(n,"device_id"),c=Ug(n,"domain"),d=Ug(n,"type");return O.jsxs(O.Fragment,{children:[O.jsx(nJt,{value:a,onChange:g=>i("device_id",g),label:"Device",required:!0,placeholder:"Select device..."}),O.jsx(fs,{label:"Domain",required:!0,description:"Device integration domain",children:O.jsx(Ba,{type:"text",value:c,onChange:g=>i("domain",g.target.value),placeholder:"e.g., binary_sensor, sensor"})}),O.jsx(fs,{label:"Type",required:!0,description:"Device condition type",children:O.jsx(Ba,{type:"text",value:d,onChange:g=>i("type",g.target.value),placeholder:"e.g., button_short_press"})})]})}function xrr({node:n,onChange:i,entities:a}){const{t:c}=zs(["common","nodes"]),{getFieldError:d}=xw(n.id),g=Ug(n,"condition","state"),b=n.data,w=Array.isArray(b.conditions)&&b.conditions.length>0,E=H5e(g),S=_=>{const C=eJt(_);for(const[R,M]of Object.entries(C))i(R,M)},k=()=>g==="device"?O.jsx(krr,{node:n,onChange:i}):E?null:U5e(g).map(C=>O.jsx(jz,{field:C,value:b[C.name],onChange:R=>i(C.name,R),entities:a,error:d(C.name)},C.name));return O.jsxs(O.Fragment,{children:[O.jsx(fs,{label:c("nodes:conditions.conditionLabel"),required:!0,children:O.jsxs(Hp,{value:g,onValueChange:S,children:[O.jsx(Uh,{children:O.jsx(zp,{})}),O.jsxs(Hh,{children:[O.jsx(io,{value:"state",children:c("nodes:conditions.types.state")}),O.jsx(io,{value:"numeric_state",children:c("nodes:conditions.types.numeric_state")}),O.jsx(io,{value:"template",children:c("nodes:conditions.types.template")}),O.jsx(io,{value:"time",children:c("nodes:conditions.types.time")}),O.jsx(io,{value:"sun",children:c("nodes:conditions.types.sun")}),O.jsx(io,{value:"zone",children:c("nodes:conditions.types.zone")}),O.jsx(io,{value:"device",children:c("nodes:conditions.types.device")}),O.jsx(io,{value:"trigger",children:c("nodes:conditions.types.trigger")}),O.jsx(io,{value:"and",children:c("nodes:conditions.types.and")}),O.jsx(io,{value:"or",children:c("nodes:conditions.types.or")}),O.jsx(io,{value:"not",children:c("nodes:conditions.types.not")})]})]})}),k(),(E||w)&&O.jsx(fs,{label:c("nodes:conditions.nestedConditions"),children:O.jsx(tJt,{conditions:b.conditions||[],onChange:_=>i("conditions",_),parentType:E?g:"and"})})]})}function Nrr({node:n,onChange:i}){const{getFieldError:a}=xw(n.id);return O.jsxs(O.Fragment,{children:[O.jsx(JKt,{label:"Delay",value:n.data.delay,onChange:c=>i("delay",c)}),O.jsx(eN,{message:a("delay")})]})}function Crr({node:n,onChange:i}){const{t:a}=zs(["nodes"]),{getFieldError:c}=xw(n.id),d=kM(n,"variables",{}),g=Object.entries(d),b=()=>{const k=Object.keys(d);let _="variable",C=1;for(;k.includes(_);)_=`variable_${C}`,C++;i("variables",{...d,[_]:""})},w=(k,_)=>{if(k===_)return;const C={};for(const[R,M]of Object.entries(d))R===k?C[_]=M:C[R]=M;i("variables",C)},E=(k,_)=>{i("variables",{...d,[k]:_})},S=k=>{const _={...d};delete _[k],i("variables",_)};return O.jsxs("div",{className:"space-y-4",children:[O.jsx(eN,{message:c("variables")}),g.length===0?O.jsx("p",{className:"text-muted-foreground text-sm",children:a("nodes:setVariablesFields.empty")}):g.map(([k,_],C)=>O.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-3",children:[O.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[O.jsx("span",{className:"font-medium text-muted-foreground text-xs",children:a("nodes:setVariablesFields.variableLabel",{index:C+1})}),O.jsx(Di,{variant:"ghost",size:"sm",onClick:()=>S(k),className:"h-6 w-6 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:O.jsx(M5,{className:"h-3.5 w-3.5"})})]}),O.jsxs("div",{className:"space-y-3",children:[O.jsx(fs,{label:a("nodes:setVariablesFields.name"),children:O.jsx(Ba,{value:k,onChange:R=>w(k,R.target.value),placeholder:a("nodes:setVariablesFields.namePlaceholder"),className:"font-mono text-sm"})}),O.jsx(fs,{label:a("nodes:setVariablesFields.value"),description:a("nodes:setVariablesFields.valueDescription"),children:O.jsx(jv,{value:String(_??""),onChange:R=>E(k,R.target.value),placeholder:a("nodes:setVariablesFields.valuePlaceholder"),className:"font-mono text-sm"})})]})]},`${k}-${C}`)),O.jsxs(Di,{variant:"outline",onClick:b,className:"w-full gap-2",size:"sm",children:[O.jsx(Qse,{className:"h-4 w-4"}),a("nodes:setVariablesFields.addVariable")]})]})}const rJt={state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,multiple:!0,description:"The entity to monitor for state changes"},{name:"to",label:"To State",type:"text",required:!1,placeholder:"e.g., on, off, home",description:"The target state to trigger on"},{name:"from",label:"From State",type:"text",required:!1,placeholder:"e.g., off",description:"Only trigger when transitioning from this state"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"e.g., 00:05:00",description:"State must be stable for this duration"}],numeric_state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,multiple:!0,description:"The sensor entity to monitor"},{name:"above",label:"Above",type:"number",required:!1,placeholder:"e.g., 20",description:"Trigger when value goes above this threshold"},{name:"below",label:"Below",type:"number",required:!1,placeholder:"e.g., 30",description:"Trigger when value goes below this threshold"},{name:"value_template",label:"Value Template (optional)",type:"template",required:!1,placeholder:"e.g., {{ state.attributes.temperature }}",description:"Template to extract numeric value from entity"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"e.g., 00:05:00",description:"Value must be stable for this duration"}],time:[{name:"at",label:"At (time)",type:"text",required:!0,placeholder:"e.g., 07:00:00 or input_datetime.wake_up",description:"Time to trigger (HH:MM:SS or entity reference)"}],time_pattern:[{name:"hours",label:"Hours",type:"text",required:!1,placeholder:"e.g., */2 (every 2 hours)",description:"Hour pattern (cron-style)"},{name:"minutes",label:"Minutes",type:"text",required:!1,placeholder:"e.g., /5 (every 5 minutes)",description:"Minute pattern (cron-style)"},{name:"seconds",label:"Seconds",type:"text",required:!1,placeholder:"e.g., 0",description:"Second pattern (cron-style)"}],event:[{name:"event_type",label:"Event Type",type:"text",required:!0,placeholder:"e.g., zha_event, call_service",description:"The type of event to listen for"},{name:"event_data",label:"Event Data (optional)",type:"object",required:!1,description:"Filter events by data fields (JSON object)"}],mqtt:[{name:"topic",label:"Topic",type:"text",required:!0,placeholder:"e.g., home/bedroom/temperature",description:"MQTT topic to subscribe to"},{name:"payload",label:"Payload (optional)",type:"text",required:!1,placeholder:"e.g., ON",description:"Only trigger on this specific payload"}],webhook:[{name:"webhook_id",label:"Webhook ID",type:"text",required:!0,placeholder:"e.g., my_webhook",description:"Unique identifier for this webhook"}],sun:[{name:"event",label:"Event",type:"select",required:!0,description:"Trigger at sunrise or sunset",options:[{value:"sunrise",label:"Sunrise"},{value:"sunset",label:"Sunset"}],default:"sunset"},{name:"offset",label:"Offset (optional)",type:"text",required:!1,placeholder:"e.g., -00:30:00",description:"Time offset before (-) or after (+) the event"}],zone:[{name:"entity_id",label:"Person/Device",type:"entity",required:!0,multiple:!0,description:"The person or device tracker to monitor"},{name:"zone",label:"Zone",type:"text",required:!0,placeholder:"e.g., zone.home",description:"The zone entity to monitor"},{name:"event",label:"Event",type:"select",required:!0,description:"Trigger on enter or leave",options:[{value:"enter",label:"Enter"},{value:"leave",label:"Leave"}],default:"enter"}],template:[{name:"value_template",label:"Value Template",type:"template",required:!0,placeholder:'e.g., {{ is_state("light.bedroom", "on") }}',description:"Template that evaluates to true/false"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"e.g., 00:05:00",description:"Template must be true for this duration"}],homeassistant:[{name:"event",label:"Event",type:"select",required:!0,description:"Home Assistant lifecycle event",options:[{value:"start",label:"Start"},{value:"shutdown",label:"Shutdown"}],default:"start"}],device:[]};function z5e(n){return rJt[n]||[]}function Irr(n){const i=z5e(n),a={trigger:n};for(const c of i)c.default!==void 0&&(a[c.name]=c.default);return a}function Rrr(){const{hass:n}=Gm(),i=z.useCallback(async c=>{if(!(n!=null&&n.callWS))return console.warn("callWS not available"),[];try{return await n.callWS({type:"device_automation/trigger/list",device_id:c})||[]}catch(d){throw console.error("Failed to fetch device triggers:",d),d}},[n]),a=z.useCallback(async c=>{if(!(n!=null&&n.callWS))return console.warn("callWS not available"),{extra_fields:[]};try{return await n.callWS({type:"device_automation/trigger/capabilities",trigger:c})||{extra_fields:[]}}catch(d){throw console.error("Failed to fetch trigger capabilities:",d),d}},[n]);return{getDeviceTriggers:i,getTriggerCapabilities:a}}const Orr=Su({resources:th(nn(),lc()).transform(n=>{const i={};for(const[a,c]of Object.entries(n))typeof c=="string"&&(i[a]=c);return i})});function Drr(){const{hass:n}=Gm(),[i,a]=z.useState({}),[c,d]=z.useState(!0),g=z.useMemo(()=>{const w=n==null?void 0:n.resources;if(!w||Object.keys(w).length===0)return{};const E=Object.values(w)[0];if(typeof E=="string")return w;if(typeof E=="object"&&E!==null){const S={};for(const k of Object.values(w))typeof k=="object"&&k!==null&&Object.assign(S,k);return S}return{}},[n==null?void 0:n.resources]);return z.useEffect(()=>{if(!n){d(!1);return}(async()=>{d(!0);try{const E=await n.callWS({type:"frontend/get_translations",language:navigator.language.split("-")[0]||"en",category:"device_automation"}),S=Orr.safeParse(E);S.success&&a(S.data.resources)}catch{}finally{d(!1)}})()},[n]),{translations:z.useMemo(()=>({...g,...i}),[g,i]),isLoading:c}}function Lrr({node:n,onChange:i,entities:a}){const{t:c}=zs(["common","nodes","errors"]),{getDeviceTriggers:d,getTriggerCapabilities:g}=Rrr(),{translations:b}=Drr(),[w,E]=z.useState([]),[S,k]=z.useState([]),[_,C]=z.useState(!1),R=Ug(n,"device_id"),M=Ug(n,"type"),D=Ug(n,"domain"),B=Ug(n,"entity_id"),F=Ug(n,"subtype"),$=M&&F?`${M}::${F}`:M??"";return z.useEffect(()=>{if(!R){E([]);return}C(!0),d(R).then(P=>{E(P)}).catch(P=>{console.error(c("errors:api.loadDeviceTriggersFailed"),P),E([])}).finally(()=>{C(!1)})},[R,d,c]),z.useEffect(()=>{if(!R||!M){k([]);return}const P=w.find(H=>H.type===M&&H.domain===D&&(H.subtype??"")===(F??""));if(!P){k([]);return}g(P).then(H=>{k(H.extra_fields||[])}).catch(H=>{console.error(c("errors:api.loadTriggerCapabilitiesFailed"),H),k([])})},[R,M,F,D,w,g,c]),O.jsxs(O.Fragment,{children:[O.jsx(nJt,{value:R,onChange:P=>i("device_id",P),label:c("labels.device"),required:!0,placeholder:c("placeholders.selectDevice")}),R&&w.length>0?O.jsx(fs,{label:c("labels.triggerType"),required:!0,children:O.jsxs(Hp,{value:$,onValueChange:P=>{const[H,Q]=P.split("::"),re=w.find(ee=>ee.type===H&&(ee.subtype??"")===(Q??""));re&&(i("type",H),i("domain",re.domain),i("subtype",Q??void 0))},children:[O.jsx(Uh,{children:O.jsx(zp,{placeholder:c("placeholders.selectTriggerType")})}),O.jsx(Hh,{children:Array.from(new Map(w.map(P=>[`${P.domain}-${P.type}-${P.subtype??""}`,P])).values()).map(P=>{const H=P.subtype?`${P.type}::${P.subtype}`:P.type,Q=P.subtype?`${P.type}: ${P.subtype} (${P.domain})`:`${P.type} (${P.domain})`;return O.jsx(io,{value:H,children:Q},`${P.domain}-${P.type}-${P.subtype??""}`)})})]})}):R&&M&&O.jsx(fs,{label:"Trigger Type",children:O.jsxs("div",{className:"truncate rounded-md border bg-muted px-3 py-2 font-mono text-sm",children:[M,F&&O.jsxs("span",{className:"text-muted-foreground",children:[" · ",F]}),D&&O.jsxs("span",{className:"text-muted-foreground",children:[" ",`(${D})`]})]})}),R&&O.jsx(fs,{label:c("labels.entityId"),children:O.jsx(Uae,{value:B||"",onChange:P=>i("entity_id",P),entities:a,placeholder:c("placeholders.selectEntity")})}),_&&O.jsx("div",{className:"text-muted-foreground text-sm",children:c("status.loadingTriggers")}),S.map(P=>O.jsx(jz,{field:P,value:n.data[P.name],onChange:H=>i(P.name,H),entities:a,domain:D,translations:b},P.name))]})}function Mrr({node:n,onChange:i,entities:a}){const{t:c}=zs(["nodes"]),{getFieldError:d}=xw(n.id),g=Ug(n,"trigger","state"),b=Ug(n,"device_id"),w=b&&g!=="device"?"device":g;z.useEffect(()=>{b&&g!=="device"&&i("trigger","device")},[b,g,i]);const E=S=>{const k=Irr(S);for(const[_,C]of Object.entries(k))i(_,C);S!=="device"&&b&&i("device_id",void 0)};return O.jsxs(O.Fragment,{children:[O.jsx(fs,{label:c("nodes:triggers.platformLabel"),required:!0,children:O.jsxs(Hp,{value:w,onValueChange:E,children:[O.jsx(Uh,{children:O.jsx(zp,{})}),O.jsxs(Hh,{children:[O.jsx(io,{value:"state",children:c("nodes:triggers.platforms.state")}),O.jsx(io,{value:"numeric_state",children:c("nodes:triggers.platforms.numeric_state")}),O.jsx(io,{value:"time",children:c("nodes:triggers.platforms.time")}),O.jsx(io,{value:"time_pattern",children:c("nodes:triggers.platforms.time_pattern")}),O.jsx(io,{value:"sun",children:c("nodes:triggers.platforms.sun")}),O.jsx(io,{value:"event",children:c("nodes:triggers.platforms.event")}),O.jsx(io,{value:"mqtt",children:c("nodes:triggers.platforms.mqtt")}),O.jsx(io,{value:"webhook",children:c("nodes:triggers.platforms.webhook")}),O.jsx(io,{value:"zone",children:c("nodes:triggers.platforms.zone")}),O.jsx(io,{value:"template",children:c("nodes:triggers.platforms.template")}),O.jsx(io,{value:"homeassistant",children:c("nodes:triggers.platforms.homeassistant")}),O.jsx(io,{value:"device",children:c("nodes:triggers.platforms.device")})]})]})}),O.jsx(Prr,{effectiveTriggerType:w,deviceId:b,node:n,onChange:i,entities:a,getFieldError:d})]})}function Prr({effectiveTriggerType:n,deviceId:i,node:a,onChange:c,entities:d,getFieldError:g}){return n==="device"||i?O.jsx(Lrr,{node:a,onChange:c,entities:d}):z5e(n).map(w=>O.jsx(jz,{field:w,value:a.data[w.name],onChange:E=>c(w.name,E),entities:d,error:g(w.name)},w.name))}function jrr({node:n,onChange:i}){const{t:a}=zs(["nodes"]),{getFieldError:c,getRootError:d}=xw(n.id),g=Ug(n,"wait_template"),b=O5e(n,"wait_for_trigger"),w=b!==void 0?"trigger":"template",E=d(),S=R=>{R==="template"?(i("wait_for_trigger",void 0),i("wait_template","")):(i("wait_template",void 0),i("wait_for_trigger",[{trigger:"state"}]))},k=(R,M,D)=>{if(!b)return;const B=[...b];B[R]={...B[R],[M]:D},i("wait_for_trigger",B)},_=()=>{const R=[...b||[],{trigger:"state"}];i("wait_for_trigger",R)},C=R=>{if(!b)return;const M=b.filter((D,B)=>B!==R);i("wait_for_trigger",M)};return O.jsxs(O.Fragment,{children:[O.jsx(eN,{message:E}),O.jsx(fs,{label:a("nodes:wait.waitType"),description:a("nodes:wait.waitTypeDescription"),children:O.jsxs(Hp,{value:w,onValueChange:S,children:[O.jsx(Uh,{children:O.jsx(zp,{})}),O.jsxs(Hh,{children:[O.jsx(io,{value:"template",children:a("nodes:wait.types.template")}),O.jsx(io,{value:"trigger",children:a("nodes:wait.types.triggers")})]})]})}),w==="template"&&O.jsxs(fs,{label:a("nodes:wait.waitTemplate"),required:!0,description:a("nodes:wait.waitTemplateDescription"),children:[O.jsx(jv,{value:g||"",onChange:R=>i("wait_template",R.target.value),className:"font-mono",rows:3,placeholder:a("nodes:placeholders.waitTemplate")}),O.jsx(eN,{message:c("wait_template")})]}),w==="trigger"&&O.jsxs("div",{className:"space-y-4",children:[O.jsx(eN,{message:c("wait_for_trigger")}),O.jsxs("div",{className:"space-y-2",children:[O.jsx("h3",{className:"font-medium",children:a("nodes:wait.triggersHeading")}),b==null?void 0:b.map((R,M)=>O.jsxs("div",{className:"space-y-3 rounded-md border p-3",children:[O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsx("p",{className:"font-semibold text-sm capitalize",children:a("nodes:wait.triggerLabel",{index:M+1,platform:R.trigger})}),O.jsx(Di,{variant:"ghost",size:"sm",onClick:()=>C(M),className:"h-8 w-8 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:O.jsx(M5,{})})]}),O.jsx(fs,{label:a("nodes:wait.triggerPlatformLabel","Platform"),children:O.jsxs(Hp,{value:R.trigger,onValueChange:D=>k(M,"trigger",D),children:[O.jsx(Uh,{children:O.jsx(zp,{})}),O.jsx(Hh,{children:Object.keys(rJt).map(D=>O.jsx(io,{value:D,children:D},D))})]})}),z5e(R.trigger).map(D=>O.jsx(jz,{field:D,value:R[D.name],onChange:B=>k(M,D.name,B)},D.name))]},M))]}),O.jsx(Di,{onClick:_,variant:"outline",size:"sm",children:a("nodes:wait.addTrigger")})]}),O.jsx(JKt,{label:a("nodes:wait.timeoutLabel"),description:a("nodes:wait.timeoutDescription"),value:n.data.timeout??"",onChange:R=>i("timeout",R||void 0)}),n.data.timeout&&O.jsx(fs,{label:a("nodes:wait.continueOnTimeout"),description:a("nodes:wait.continueOnTimeoutDescription"),children:O.jsx(_A,{checked:n.data.continue_on_timeout??!0,onCheckedChange:R=>i("continue_on_timeout",R)})})]})}function Frr({node:n,onChange:i,entities:a}){switch(n.type){case"trigger":return O.jsx(Mrr,{node:n,onChange:i,entities:a});case"condition":return O.jsx(xrr,{node:n,onChange:i,entities:a});case"action":return O.jsx(qtr,{node:n,onChange:i,entities:a});case"delay":return O.jsx(Nrr,{node:n,onChange:i});case"wait":return O.jsx(jrr,{node:n,onChange:i});case"set_variables":return O.jsx(Crr,{node:n,onChange:i});default:return null}}const GDe={key:"",value:"",type:"string",isAdding:!1};function $rr(n,i){switch(i.type){case"setKey":return{...n,key:i.payload};case"setValue":return{...n,value:i.payload};case"setType":return{...n,type:i.payload};case"startAdding":return{...n,isAdding:!0};case"cancelAdding":return{...GDe};case"reset":return{...GDe};default:return n}}function Brr(n,i){switch(i){case"number":{const a=Number(n);if(Number.isNaN(a))throw new Error("Invalid number value");return a}case"boolean":return n.toLowerCase()==="true";case"array":try{const a=JSON.parse(n);if(!Array.isArray(a))throw new Error("Not an array");return a}catch{throw new Error("Invalid JSON array format")}default:return n}}function Urr(n){const[i,a]=z.useReducer($rr,GDe);return{state:i,setKey:d=>a({type:"setKey",payload:d}),setValue:d=>a({type:"setValue",payload:d}),setType:d=>a({type:"setType",payload:d}),startAdding:()=>a({type:"startAdding"}),cancelAdding:()=>a({type:"cancelAdding"}),handleAdd:()=>{if(!i.key.trim())throw new Error("Property name is required");const d=Brr(i.value,i.type);n(i.key,d),a({type:"reset"})}}}function Hrr({node:n,handledProperties:i,onChange:a,onDelete:c}){const{t:d}=zs(["common","nodes","errors"]),b=Urr((k,_)=>{a(k,_)}),w=n.data,E=Object.entries(w).filter(([k,_])=>!i.has(k)&&_!==void 0&&_!==null&&_!=="");if(E.length===0&&!b.state.isAdding)return null;const S=()=>{try{b.handleAdd()}catch(k){alert(k instanceof Error?k.message:d("errors:properties.addFailed"))}};return O.jsxs("div",{className:"space-y-3",children:[O.jsx("div",{className:"border-t pt-3",children:O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:d("nodes:panel.additionalProperties")}),O.jsxs(Di,{variant:"ghost",size:"sm",onClick:b.startAdding,className:"h-6 px-2 text-xs",children:[O.jsx(Qse,{className:"mr-1 h-3 w-3"}),d("buttons.add")]})]})}),b.state.isAdding&&O.jsxs("div",{className:"space-y-2 rounded border p-3",children:[O.jsx(fs,{label:d("nodes:panel.propertyName"),required:!0,children:O.jsx(Ba,{type:"text",value:b.state.key,onChange:k=>b.setKey(k.target.value),placeholder:d("nodes:placeholders.customProperty")})}),O.jsx(fs,{label:d("nodes:panel.type"),children:O.jsxs(Hp,{value:b.state.type,onValueChange:k=>b.setType(k),children:[O.jsx(Uh,{children:O.jsx(zp,{})}),O.jsxs(Hh,{children:[O.jsx(io,{value:"string",children:d("nodes:triggers.dataTypes.string")}),O.jsx(io,{value:"number",children:d("nodes:triggers.dataTypes.number")}),O.jsx(io,{value:"boolean",children:d("nodes:triggers.dataTypes.boolean")}),O.jsx(io,{value:"array",children:d("nodes:triggers.dataTypes.json")})]})]})}),O.jsx(fs,{label:d("nodes:panel.value"),children:b.state.type==="boolean"?O.jsxs("div",{className:"flex items-center space-x-2",children:[O.jsx(_A,{checked:b.state.value==="true",onCheckedChange:k=>b.setValue(k?"true":"false")}),O.jsx(ll,{className:"text-sm",children:b.state.value==="true"?d("boolean.true"):d("boolean.false")})]}):b.state.type==="array"?O.jsx(jv,{value:b.state.value,onChange:k=>b.setValue(k.target.value),placeholder:d("nodes:placeholders.jsonArray"),className:"font-mono",rows:2}):O.jsx(Ba,{type:b.state.type==="number"?"number":"text",value:b.state.value,onChange:k=>b.setValue(k.target.value),placeholder:b.state.type==="number"?d("nodes:placeholders.number"):d("nodes:placeholders.enterValue")})}),O.jsxs("div",{className:"flex justify-end gap-2",children:[O.jsx(Di,{variant:"ghost",size:"sm",onClick:b.cancelAdding,children:d("buttons.cancel")}),O.jsx(Di,{size:"sm",onClick:S,children:d("nodes:panel.addProperty")})]})]}),E.map(([k,_])=>O.jsx(zrr,{name:k,value:_,onChange:C=>a(k,C),onDelete:()=>c(k)},k))]})}function zrr({name:n,value:i,onChange:a,onDelete:c}){const{t:d}=zs(["common","nodes"]);return O.jsxs("div",{className:"space-y-2",children:[O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsx(ll,{className:"font-medium text-muted-foreground text-xs capitalize",children:n.replace(/_/g," ")}),O.jsx(Di,{variant:"ghost",size:"sm",onClick:c,className:"h-6 w-6 p-0 text-destructive hover:bg-destructive/10",children:O.jsx(M5,{className:"h-3 w-3"})})]}),typeof i=="boolean"?O.jsxs("div",{className:"flex items-center space-x-2",children:[O.jsx(_A,{checked:i,onCheckedChange:g=>a(g)}),O.jsx(ll,{className:"text-sm",children:d(i?"boolean.true":"boolean.false")})]}):Array.isArray(i)?O.jsx(jv,{value:JSON.stringify(i,null,2),onChange:g=>{try{const b=JSON.parse(g.target.value);a(b)}catch{}},className:"font-mono",rows:Math.min(i.length+1,4),placeholder:d("nodes:placeholders.jsonArray")}):typeof i=="object"?O.jsx(jv,{value:JSON.stringify(i,null,2),onChange:g=>{try{const b=JSON.parse(g.target.value);a(b)}catch{}},className:"font-mono",rows:4,placeholder:d("nodes:placeholders.jsonObject")}):O.jsx(Ba,{type:"text",value:String(i),onChange:g=>{const b=g.target.value;if(typeof i=="number"){const w=Number(b);Number.isNaN(w)||a(w)}else a(b)},placeholder:d("nodes:placeholders.enterType",{type:typeof i})})]})}function Grr(){const{t:n}=zs(["common","nodes"]),i=ds(C=>C.selectedNodeId),a=ds(C=>C.nodes),c=ds(C=>C.updateNodeData),d=ds(C=>C.removeNode),{hass:g,entities:b}=Gm(),w=z.useMemo(()=>g!=null&&g.states&&Object.keys(g.states).length>0?Object.values(g.states).map(C=>({entity_id:C.entity_id,state:C.state,attributes:C.attributes||{},last_changed:C.last_changed||"",last_updated:C.last_updated||"",context:C.context})):b,[g,b]),E=z.useMemo(()=>a.find(C=>C.id===i),[a,i]),S=z.useMemo(()=>{if(!E)return SFt("trigger",[]);const C=SFt(E.type||"trigger",[]),R=E.data,M=typeof R.trigger=="string"?R.trigger:"",D=typeof R.device_id=="string"?R.device_id:"";if((M==="device"||D)&&(E.type==="trigger"||E.type==="condition")){const F=Object.keys(R);return new Set([...C,...F])}return C},[E]);if(!E)return O.jsx(zer,{});const k=(C,R)=>{c(E.id,{[C]:R})},_=C=>{c(E.id,{[C]:void 0})};return O.jsxs("div",{className:"h-full flex-1 space-y-4 overflow-y-auto p-4",children:[O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsxs("h3",{className:"font-semibold text-foreground text-sm",children:[E.type?n(`nodes:types.${E.type}`):n("nodes:types.node")," ",n("nodes:panel.properties")]}),O.jsx(Di,{variant:"ghost",size:"sm",onClick:()=>d(E.id),className:"h-8 w-8 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:O.jsx(M5,{className:"h-4 w-4"})})]}),O.jsx(fs,{label:n("labels.alias"),children:O.jsx(Ba,{type:"text",value:typeof E.data.alias=="string"?E.data.alias:"",onChange:C=>k("alias",C.target.value),placeholder:n("placeholders.optionalDisplayName")})}),E.type!=="action"&&O.jsx(fs,{label:n("labels.id"),children:O.jsx(Ba,{type:"text",value:typeof E.data.id=="string"?E.data.id:"",onChange:C=>k("id",C.target.value||void 0),placeholder:n("placeholders.optionalUniqueId"),className:"font-mono"})}),O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsx(ll,{htmlFor:"node-enabled",className:"text-sm",children:n("labels.enabled")}),O.jsx(_A,{id:"node-enabled",checked:E.data.enabled!==!1,onCheckedChange:C=>k("enabled",C?void 0:!1)})]}),O.jsx(_z,{}),O.jsx(Frr,{node:E,onChange:k,entities:w}),O.jsx(Hrr,{node:E,handledProperties:S,onChange:k,onDelete:_}),O.jsx("div",{className:"pt-2 text-muted-foreground text-xs",children:n("nodes:panel.nodeId",{id:E.id})})]})}function qrr(n){const i=document.createElement("textarea");i.value=n,document.body.appendChild(i),i.focus(),i.select();try{document.execCommand("copy")}catch(a){console.error("Unable to copy to clipboard",a)}document.body.removeChild(i)}async function Vrr(n){return navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(n):qrr(n)}function Bx(){return Bx=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var c in a)({}).hasOwnProperty.call(a,c)&&(n[c]=a[c])}return n},Bx.apply(null,arguments)}function iJt(n,i){if(n==null)return{};var a={};for(var c in n)if({}.hasOwnProperty.call(n,c)){if(i.indexOf(c)!==-1)continue;a[c]=n[c]}return a}let Fz=class{constructor(i,a,c){this.normal=a,this.property=i,c&&(this.space=c)}};Fz.prototype.normal={};Fz.prototype.property={};Fz.prototype.space=void 0;function oJt(n,i){const a={},c={};for(const d of n)Object.assign(a,d.property),Object.assign(c,d.normal);return new Fz(a,c,i)}function uz(n){return n.toLowerCase()}let pb=class{constructor(i,a){this.attribute=a,this.property=i}};pb.prototype.attribute="";pb.prototype.booleanish=!1;pb.prototype.boolean=!1;pb.prototype.commaOrSpaceSeparated=!1;pb.prototype.commaSeparated=!1;pb.prototype.defined=!1;pb.prototype.mustUseProperty=!1;pb.prototype.number=!1;pb.prototype.overloadedBoolean=!1;pb.prototype.property="";pb.prototype.spaceSeparated=!1;pb.prototype.space=void 0;let Wrr=0;const Yo=LR(),Pd=LR(),qDe=LR(),ar=LR(),Gu=LR(),s5=LR(),Im=LR();function LR(){return 2**++Wrr}const VDe=Object.freeze(Object.defineProperty({__proto__:null,boolean:Yo,booleanish:Pd,commaOrSpaceSeparated:Im,commaSeparated:s5,number:ar,overloadedBoolean:qDe,spaceSeparated:Gu},Symbol.toStringTag,{value:"Module"})),MOe=Object.keys(VDe);let G5e=class extends pb{constructor(i,a,c,d){let g=-1;if(super(i,a),BFt(this,"space",d),typeof c=="number")for(;++g<MOe.length;){const b=MOe[g];BFt(this,MOe[g],(c&VDe[b])===VDe[b])}}};G5e.prototype.defined=!0;function BFt(n,i,a){a&&(n[i]=a)}function V5(n){const i={},a={};for(const[c,d]of Object.entries(n.properties)){const g=new G5e(c,n.transform(n.attributes||{},c),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(c)&&(g.mustUseProperty=!0),i[c]=g,a[uz(c)]=c,a[uz(g.attribute)]=c}return new Fz(i,a,n.space)}const sJt=V5({properties:{ariaActiveDescendant:null,ariaAtomic:Pd,ariaAutoComplete:null,ariaBusy:Pd,ariaChecked:Pd,ariaColCount:ar,ariaColIndex:ar,ariaColSpan:ar,ariaControls:Gu,ariaCurrent:null,ariaDescribedBy:Gu,ariaDetails:null,ariaDisabled:Pd,ariaDropEffect:Gu,ariaErrorMessage:null,ariaExpanded:Pd,ariaFlowTo:Gu,ariaGrabbed:Pd,ariaHasPopup:null,ariaHidden:Pd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Gu,ariaLevel:ar,ariaLive:null,ariaModal:Pd,ariaMultiLine:Pd,ariaMultiSelectable:Pd,ariaOrientation:null,ariaOwns:Gu,ariaPlaceholder:null,ariaPosInSet:ar,ariaPressed:Pd,ariaReadOnly:Pd,ariaRelevant:null,ariaRequired:Pd,ariaRoleDescription:Gu,ariaRowCount:ar,ariaRowIndex:ar,ariaRowSpan:ar,ariaSelected:Pd,ariaSetSize:ar,ariaSort:null,ariaValueMax:ar,ariaValueMin:ar,ariaValueNow:ar,ariaValueText:null,role:null},transform(n,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()}});function aJt(n,i){return i in n?n[i]:i}function uJt(n,i){return aJt(n,i.toLowerCase())}const Krr=V5({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:s5,acceptCharset:Gu,accessKey:Gu,action:null,allow:null,allowFullScreen:Yo,allowPaymentRequest:Yo,allowUserMedia:Yo,alt:null,as:null,async:Yo,autoCapitalize:null,autoComplete:Gu,autoFocus:Yo,autoPlay:Yo,blocking:Gu,capture:null,charSet:null,checked:Yo,cite:null,className:Gu,cols:ar,colSpan:null,content:null,contentEditable:Pd,controls:Yo,controlsList:Gu,coords:ar|s5,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Yo,defer:Yo,dir:null,dirName:null,disabled:Yo,download:qDe,draggable:Pd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Yo,formTarget:null,headers:Gu,height:ar,hidden:qDe,high:ar,href:null,hrefLang:null,htmlFor:Gu,httpEquiv:Gu,id:null,imageSizes:null,imageSrcSet:null,inert:Yo,inputMode:null,integrity:null,is:null,isMap:Yo,itemId:null,itemProp:Gu,itemRef:Gu,itemScope:Yo,itemType:Gu,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Yo,low:ar,manifest:null,max:null,maxLength:ar,media:null,method:null,min:null,minLength:ar,multiple:Yo,muted:Yo,name:null,nonce:null,noModule:Yo,noValidate:Yo,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Yo,optimum:ar,pattern:null,ping:Gu,placeholder:null,playsInline:Yo,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Yo,referrerPolicy:null,rel:Gu,required:Yo,reversed:Yo,rows:ar,rowSpan:ar,sandbox:Gu,scope:null,scoped:Yo,seamless:Yo,selected:Yo,shadowRootClonable:Yo,shadowRootDelegatesFocus:Yo,shadowRootMode:null,shape:null,size:ar,sizes:null,slot:null,span:ar,spellCheck:Pd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ar,step:null,style:null,tabIndex:ar,target:null,title:null,translate:null,type:null,typeMustMatch:Yo,useMap:null,value:Pd,width:ar,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Gu,axis:null,background:null,bgColor:null,border:ar,borderColor:null,bottomMargin:ar,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Yo,declare:Yo,event:null,face:null,frame:null,frameBorder:null,hSpace:ar,leftMargin:ar,link:null,longDesc:null,lowSrc:null,marginHeight:ar,marginWidth:ar,noResize:Yo,noHref:Yo,noShade:Yo,noWrap:Yo,object:null,profile:null,prompt:null,rev:null,rightMargin:ar,rules:null,scheme:null,scrolling:Pd,standby:null,summary:null,text:null,topMargin:ar,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ar,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Yo,disableRemotePlayback:Yo,prefix:null,property:null,results:ar,security:null,unselectable:null},space:"html",transform:uJt}),Yrr=V5({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Im,accentHeight:ar,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ar,amplitude:ar,arabicForm:null,ascent:ar,attributeName:null,attributeType:null,azimuth:ar,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ar,by:null,calcMode:null,capHeight:ar,className:Gu,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ar,diffuseConstant:ar,direction:null,display:null,dur:null,divisor:ar,dominantBaseline:null,download:Yo,dx:null,dy:null,edgeMode:null,editable:null,elevation:ar,enableBackground:null,end:null,event:null,exponent:ar,externalResourcesRequired:null,fill:null,fillOpacity:ar,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:s5,g2:s5,glyphName:s5,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ar,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ar,horizOriginX:ar,horizOriginY:ar,id:null,ideographic:ar,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ar,k:ar,k1:ar,k2:ar,k3:ar,k4:ar,kernelMatrix:Im,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ar,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ar,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ar,overlineThickness:ar,paintOrder:null,panose1:null,path:null,pathLength:ar,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Gu,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ar,pointsAtY:ar,pointsAtZ:ar,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Im,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Im,rev:Im,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Im,requiredFeatures:Im,requiredFonts:Im,requiredFormats:Im,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ar,specularExponent:ar,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ar,strikethroughThickness:ar,string:null,stroke:null,strokeDashArray:Im,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ar,strokeOpacity:ar,strokeWidth:null,style:null,surfaceScale:ar,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Im,tabIndex:ar,tableValues:null,target:null,targetX:ar,targetY:ar,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Im,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ar,underlineThickness:ar,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ar,values:null,vAlphabetic:ar,vMathematical:ar,vectorEffect:null,vHanging:ar,vIdeographic:ar,version:null,vertAdvY:ar,vertOriginX:ar,vertOriginY:ar,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ar,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:aJt}),cJt=V5({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,i){return"xlink:"+i.slice(5).toLowerCase()}}),lJt=V5({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:uJt}),dJt=V5({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,i){return"xml:"+i.slice(3).toLowerCase()}}),Jrr=/[A-Z]/g,UFt=/-[a-z]/g,Xrr=/^data[-\w.:]+$/i;function q5e(n,i){const a=uz(i);let c=i,d=pb;if(a in n.normal)return n.property[n.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&Xrr.test(i)){if(i.charAt(4)==="-"){const g=i.slice(5).replace(UFt,Qrr);c="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=i.slice(4);if(!UFt.test(g)){let b=g.replace(Jrr,Zrr);b.charAt(0)!=="-"&&(b="-"+b),i="data"+b}}d=G5e}return new d(c,i)}function Zrr(n){return"-"+n.toLowerCase()}function Qrr(n){return n.charAt(1).toUpperCase()}const Vae=oJt([sJt,Krr,cJt,lJt,dJt],"html"),$z=oJt([sJt,Yrr,cJt,lJt,dJt],"svg");function mse(n){const i=[],a=String(n||"");let c=a.indexOf(","),d=0,g=!1;for(;!g;){c===-1&&(c=a.length,g=!0);const b=a.slice(d,c).trim();(b||!g)&&i.push(b),d=c+1,c=a.indexOf(",",d)}return i}function eir(n,i){const a=i||{};return(n[n.length-1]===""?[...n,""]:n).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const HFt=/[#.]/g;function tir(n,i){const a=n||"",c={};let d=0,g,b;for(;d<a.length;){HFt.lastIndex=d;const w=HFt.exec(a),E=a.slice(d,w?w.index:a.length);E&&(g?g==="#"?c.id=E:Array.isArray(c.className)?c.className.push(E):c.className=[E]:b=E,d+=E.length),w&&(g=w[0],d++)}return{type:"element",tagName:b||i||"div",properties:c,children:[]}}function wse(n){const i=String(n||"").trim();return i?i.split(/[ \t\n\r\f]+/g):[]}function nir(n){return n.join(" ").trim()}function fJt(n,i,a){const c=a?sir(a):void 0;function d(g,b,...w){let E;if(g==null){E={type:"root",children:[]};const S=b;w.unshift(S)}else{E=tir(g,i);const S=E.tagName.toLowerCase(),k=c?c.get(S):void 0;if(E.tagName=k||S,rir(b))w.unshift(b);else for(const[_,C]of Object.entries(b))iir(n,E.properties,_,C)}for(const S of w)WDe(E.children,S);return E.type==="element"&&E.tagName==="template"&&(E.content={type:"root",children:E.children},E.children=[]),E}return d}function rir(n){if(n===null||typeof n!="object"||Array.isArray(n))return!0;if(typeof n.type!="string")return!1;const i=n,a=Object.keys(n);for(const c of a){const d=i[c];if(d&&typeof d=="object"){if(!Array.isArray(d))return!0;const g=d;for(const b of g)if(typeof b!="number"&&typeof b!="string")return!0}}return!!("children"in n&&Array.isArray(n.children))}function iir(n,i,a,c){const d=q5e(n,a);let g;if(c!=null){if(typeof c=="number"){if(Number.isNaN(c))return;g=c}else typeof c=="boolean"?g=c:typeof c=="string"?d.spaceSeparated?g=wse(c):d.commaSeparated?g=mse(c):d.commaOrSpaceSeparated?g=wse(mse(c).join(" ")):g=zFt(d,d.property,c):Array.isArray(c)?g=[...c]:g=d.property==="style"?oir(c):String(c);if(Array.isArray(g)){const b=[];for(const w of g)b.push(zFt(d,d.property,w));g=b}d.property==="className"&&Array.isArray(i.className)&&(g=i.className.concat(g)),i[d.property]=g}}function WDe(n,i){if(i!=null)if(typeof i=="number"||typeof i=="string")n.push({type:"text",value:String(i)});else if(Array.isArray(i))for(const a of i)WDe(n,a);else if(typeof i=="object"&&"type"in i)i.type==="root"?WDe(n,i.children):n.push(i);else throw new Error("Expected node, nodes, or string, got `"+i+"`")}function zFt(n,i,a){if(typeof a=="string"){if(n.number&&a&&!Number.isNaN(Number(a)))return Number(a);if((n.boolean||n.overloadedBoolean)&&(a===""||uz(a)===uz(i)))return!0}return a}function oir(n){const i=[];for(const[a,c]of Object.entries(n))i.push([a,c].join(": "));return i.join("; ")}function sir(n){const i=new Map;for(const a of n)i.set(a.toLowerCase(),a);return i}const air=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],uir=fJt(Vae,"div"),cir=fJt($z,"g",air);function lir(n){const i=String(n),a=[];return{toOffset:d,toPoint:c};function c(g){if(typeof g=="number"&&g>-1&&g<=i.length){let b=0;for(;;){let w=a[b];if(w===void 0){const E=GFt(i,a[b-1]);w=E===-1?i.length+1:E+1,a[b]=w}if(w>g)return{line:b+1,column:g-(b>0?a[b-1]:0)+1,offset:g};b++}}}function d(g){if(g&&typeof g.line=="number"&&typeof g.column=="number"&&!Number.isNaN(g.line)&&!Number.isNaN(g.column)){for(;a.length<g.line;){const w=a[a.length-1],E=GFt(i,w),S=E===-1?i.length+1:E+1;if(w===S)break;a.push(S)}const b=(g.line>1?a[g.line-2]:0)+g.column-1;if(b<a[g.line-1])return b}}}function GFt(n,i){const a=n.indexOf("\r",i),c=n.indexOf(`
|
||
`,i);return c===-1?a:a===-1||a+1===c?c:a<c?a:c}const dir={svg:"http://www.w3.org/2000/svg"},hJt={}.hasOwnProperty,fir=Object.prototype;function hir(n,i){const a=i||{};return V5e({file:a.file||void 0,location:!1,schema:a.space==="svg"?$z:Vae,verbose:a.verbose||!1},n)}function V5e(n,i){let a;switch(i.nodeName){case"#comment":{const c=i;return a={type:"comment",value:c.data},noe(n,c,a),a}case"#document":case"#document-fragment":{const c=i,d="mode"in c?c.mode==="quirks"||c.mode==="limited-quirks":!1;if(a={type:"root",children:pJt(n,i.childNodes),data:{quirksMode:d}},n.file&&n.location){const g=String(n.file),b=lir(g),w=b.toPoint(0),E=b.toPoint(g.length);a.position={start:w,end:E}}return a}case"#documentType":{const c=i;return a={type:"doctype"},noe(n,c,a),a}case"#text":{const c=i;return a={type:"text",value:c.value},noe(n,c,a),a}default:return a=pir(n,i),a}}function pJt(n,i){let a=-1;const c=[];for(;++a<i.length;){const d=V5e(n,i[a]);c.push(d)}return c}function pir(n,i){const a=n.schema;n.schema=i.namespaceURI===dir.svg?$z:Vae;let c=-1;const d={};for(;++c<i.attrs.length;){const w=i.attrs[c],E=(w.prefix?w.prefix+":":"")+w.name;hJt.call(fir,E)||(d[E]=w.value)}const b=(n.schema.space==="svg"?cir:uir)(i.tagName,d,pJt(n,i.childNodes));if(noe(n,i,b),b.tagName==="template"){const w=i,E=w.sourceCodeLocation,S=E&&E.startTag&&VM(E.startTag),k=E&&E.endTag&&VM(E.endTag),_=V5e(n,w.content);S&&k&&n.file&&(_.position={start:S.end,end:k.start}),b.content=_}return n.schema=a,b}function noe(n,i,a){if("sourceCodeLocation"in i&&i.sourceCodeLocation&&n.file){const c=gir(n,a,i.sourceCodeLocation);c&&(n.location=!0,a.position=c)}}function gir(n,i,a){const c=VM(a);if(i.type==="element"){const d=i.children[i.children.length-1];if(c&&!a.endTag&&d&&d.position&&d.position.end&&(c.end=Object.assign({},d.position.end)),n.verbose){const g={};let b;if(a.attrs)for(b in a.attrs)hJt.call(a.attrs,b)&&(g[q5e(n.schema,b).property]=VM(a.attrs[b]));a.startTag;const w=VM(a.startTag),E=a.endTag?VM(a.endTag):void 0,S={opening:w};E&&(S.closing=E),S.properties=g,i.data={position:S}}}return c}function VM(n){const i=qFt({line:n.startLine,column:n.startCol,offset:n.startOffset}),a=qFt({line:n.endLine,column:n.endCol,offset:n.endOffset});return i||a?{start:i,end:a}:void 0}function qFt(n){return n.line&&n.column?n:void 0}const bir=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Oc="�";var Fe;(function(n){n[n.EOF=-1]="EOF",n[n.NULL=0]="NULL",n[n.TABULATION=9]="TABULATION",n[n.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",n[n.LINE_FEED=10]="LINE_FEED",n[n.FORM_FEED=12]="FORM_FEED",n[n.SPACE=32]="SPACE",n[n.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",n[n.QUOTATION_MARK=34]="QUOTATION_MARK",n[n.AMPERSAND=38]="AMPERSAND",n[n.APOSTROPHE=39]="APOSTROPHE",n[n.HYPHEN_MINUS=45]="HYPHEN_MINUS",n[n.SOLIDUS=47]="SOLIDUS",n[n.DIGIT_0=48]="DIGIT_0",n[n.DIGIT_9=57]="DIGIT_9",n[n.SEMICOLON=59]="SEMICOLON",n[n.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",n[n.EQUALS_SIGN=61]="EQUALS_SIGN",n[n.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",n[n.QUESTION_MARK=63]="QUESTION_MARK",n[n.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",n[n.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",n[n.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",n[n.GRAVE_ACCENT=96]="GRAVE_ACCENT",n[n.LATIN_SMALL_A=97]="LATIN_SMALL_A",n[n.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(Fe||(Fe={}));const tb={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function gJt(n){return n>=55296&&n<=57343}function mir(n){return n>=56320&&n<=57343}function wir(n,i){return(n-55296)*1024+9216+i}function bJt(n){return n!==32&&n!==10&&n!==13&&n!==9&&n!==12&&n>=1&&n<=31||n>=127&&n<=159}function mJt(n){return n>=64976&&n<=65007||bir.has(n)}var sn;(function(n){n.controlCharacterInInputStream="control-character-in-input-stream",n.noncharacterInInputStream="noncharacter-in-input-stream",n.surrogateInInputStream="surrogate-in-input-stream",n.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",n.endTagWithAttributes="end-tag-with-attributes",n.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",n.unexpectedSolidusInTag="unexpected-solidus-in-tag",n.unexpectedNullCharacter="unexpected-null-character",n.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",n.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",n.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",n.missingEndTagName="missing-end-tag-name",n.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",n.unknownNamedCharacterReference="unknown-named-character-reference",n.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",n.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",n.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",n.eofBeforeTagName="eof-before-tag-name",n.eofInTag="eof-in-tag",n.missingAttributeValue="missing-attribute-value",n.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",n.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",n.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",n.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",n.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",n.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",n.missingDoctypePublicIdentifier="missing-doctype-public-identifier",n.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",n.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",n.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",n.cdataInHtmlContent="cdata-in-html-content",n.incorrectlyOpenedComment="incorrectly-opened-comment",n.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",n.eofInDoctype="eof-in-doctype",n.nestedComment="nested-comment",n.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",n.eofInComment="eof-in-comment",n.incorrectlyClosedComment="incorrectly-closed-comment",n.eofInCdata="eof-in-cdata",n.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",n.nullCharacterReference="null-character-reference",n.surrogateCharacterReference="surrogate-character-reference",n.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",n.controlCharacterReference="control-character-reference",n.noncharacterCharacterReference="noncharacter-character-reference",n.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",n.missingDoctypeName="missing-doctype-name",n.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",n.duplicateAttribute="duplicate-attribute",n.nonConformingDoctype="non-conforming-doctype",n.missingDoctype="missing-doctype",n.misplacedDoctype="misplaced-doctype",n.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",n.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",n.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",n.openElementsLeftAfterEof="open-elements-left-after-eof",n.abandonedHeadElementChild="abandoned-head-element-child",n.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",n.nestedNoscriptInHead="nested-noscript-in-head",n.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(sn||(sn={}));const yir=65536;class vir{constructor(i){this.handler=i,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=yir,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(i,a){const{line:c,col:d,offset:g}=this,b=d+a,w=g+a;return{code:i,startLine:c,endLine:c,startCol:b,endCol:b,startOffset:w,endOffset:w}}_err(i){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(i,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(i){if(this.pos!==this.html.length-1){const a=this.html.charCodeAt(this.pos+1);if(mir(a))return this.pos++,this._addGap(),wir(i,a)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Fe.EOF;return this._err(sn.surrogateInInputStream),i}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(i,a){this.html.length>0?this.html+=i:this.html=i,this.endOfChunkHit=!1,this.lastChunkWritten=a}insertHtmlAtCurrentPos(i){this.html=this.html.substring(0,this.pos+1)+i+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(i,a){if(this.pos+i.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(a)return this.html.startsWith(i,this.pos);for(let c=0;c<i.length;c++)if((this.html.charCodeAt(this.pos+c)|32)!==i.charCodeAt(c))return!1;return!0}peek(i){const a=this.pos+i;if(a>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Fe.EOF;const c=this.html.charCodeAt(a);return c===Fe.CARRIAGE_RETURN?Fe.LINE_FEED:c}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Fe.EOF;let i=this.html.charCodeAt(this.pos);return i===Fe.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Fe.LINE_FEED):i===Fe.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,gJt(i)&&(i=this._processSurrogate(i)),this.handler.onParseError===null||i>31&&i<127||i===Fe.LINE_FEED||i===Fe.CARRIAGE_RETURN||i>159&&i<64976||this._checkForProblematicCharacters(i),i)}_checkForProblematicCharacters(i){bJt(i)?this._err(sn.controlCharacterInInputStream):mJt(i)&&this._err(sn.noncharacterInInputStream)}retreat(i){for(this.pos-=i;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ha;(function(n){n[n.CHARACTER=0]="CHARACTER",n[n.NULL_CHARACTER=1]="NULL_CHARACTER",n[n.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",n[n.START_TAG=3]="START_TAG",n[n.END_TAG=4]="END_TAG",n[n.COMMENT=5]="COMMENT",n[n.DOCTYPE=6]="DOCTYPE",n[n.EOF=7]="EOF",n[n.HIBERNATION=8]="HIBERNATION"})(ha||(ha={}));function wJt(n,i){for(let a=n.attrs.length-1;a>=0;a--)if(n.attrs[a].name===i)return n.attrs[a].value;return null}const Eir=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(n=>n.charCodeAt(0))),Sir=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function Tir(n){var i;return n>=55296&&n<=57343||n>1114111?65533:(i=Sir.get(n))!==null&&i!==void 0?i:n}var nh;(function(n){n[n.NUM=35]="NUM",n[n.SEMI=59]="SEMI",n[n.EQUALS=61]="EQUALS",n[n.ZERO=48]="ZERO",n[n.NINE=57]="NINE",n[n.LOWER_A=97]="LOWER_A",n[n.LOWER_F=102]="LOWER_F",n[n.LOWER_X=120]="LOWER_X",n[n.LOWER_Z=122]="LOWER_Z",n[n.UPPER_A=65]="UPPER_A",n[n.UPPER_F=70]="UPPER_F",n[n.UPPER_Z=90]="UPPER_Z"})(nh||(nh={}));const Air=32;var zx;(function(n){n[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE"})(zx||(zx={}));function KDe(n){return n>=nh.ZERO&&n<=nh.NINE}function _ir(n){return n>=nh.UPPER_A&&n<=nh.UPPER_F||n>=nh.LOWER_A&&n<=nh.LOWER_F}function kir(n){return n>=nh.UPPER_A&&n<=nh.UPPER_Z||n>=nh.LOWER_A&&n<=nh.LOWER_Z||KDe(n)}function xir(n){return n===nh.EQUALS||kir(n)}var Zf;(function(n){n[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity"})(Zf||(Zf={}));var oA;(function(n){n[n.Legacy=0]="Legacy",n[n.Strict=1]="Strict",n[n.Attribute=2]="Attribute"})(oA||(oA={}));class Nir{constructor(i,a,c){this.decodeTree=i,this.emitCodePoint=a,this.errors=c,this.state=Zf.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=oA.Strict}startEntity(i){this.decodeMode=i,this.state=Zf.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(i,a){switch(this.state){case Zf.EntityStart:return i.charCodeAt(a)===nh.NUM?(this.state=Zf.NumericStart,this.consumed+=1,this.stateNumericStart(i,a+1)):(this.state=Zf.NamedEntity,this.stateNamedEntity(i,a));case Zf.NumericStart:return this.stateNumericStart(i,a);case Zf.NumericDecimal:return this.stateNumericDecimal(i,a);case Zf.NumericHex:return this.stateNumericHex(i,a);case Zf.NamedEntity:return this.stateNamedEntity(i,a)}}stateNumericStart(i,a){return a>=i.length?-1:(i.charCodeAt(a)|Air)===nh.LOWER_X?(this.state=Zf.NumericHex,this.consumed+=1,this.stateNumericHex(i,a+1)):(this.state=Zf.NumericDecimal,this.stateNumericDecimal(i,a))}addToNumericResult(i,a,c,d){if(a!==c){const g=c-a;this.result=this.result*Math.pow(d,g)+Number.parseInt(i.substr(a,g),d),this.consumed+=g}}stateNumericHex(i,a){const c=a;for(;a<i.length;){const d=i.charCodeAt(a);if(KDe(d)||_ir(d))a+=1;else return this.addToNumericResult(i,c,a,16),this.emitNumericEntity(d,3)}return this.addToNumericResult(i,c,a,16),-1}stateNumericDecimal(i,a){const c=a;for(;a<i.length;){const d=i.charCodeAt(a);if(KDe(d))a+=1;else return this.addToNumericResult(i,c,a,10),this.emitNumericEntity(d,2)}return this.addToNumericResult(i,c,a,10),-1}emitNumericEntity(i,a){var c;if(this.consumed<=a)return(c=this.errors)===null||c===void 0||c.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(i===nh.SEMI)this.consumed+=1;else if(this.decodeMode===oA.Strict)return 0;return this.emitCodePoint(Tir(this.result),this.consumed),this.errors&&(i!==nh.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(i,a){const{decodeTree:c}=this;let d=c[this.treeIndex],g=(d&zx.VALUE_LENGTH)>>14;for(;a<i.length;a++,this.excess++){const b=i.charCodeAt(a);if(this.treeIndex=Cir(c,d,this.treeIndex+Math.max(1,g),b),this.treeIndex<0)return this.result===0||this.decodeMode===oA.Attribute&&(g===0||xir(b))?0:this.emitNotTerminatedNamedEntity();if(d=c[this.treeIndex],g=(d&zx.VALUE_LENGTH)>>14,g!==0){if(b===nh.SEMI)return this.emitNamedEntityData(this.treeIndex,g,this.consumed+this.excess);this.decodeMode!==oA.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var i;const{result:a,decodeTree:c}=this,d=(c[a]&zx.VALUE_LENGTH)>>14;return this.emitNamedEntityData(a,d,this.consumed),(i=this.errors)===null||i===void 0||i.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(i,a,c){const{decodeTree:d}=this;return this.emitCodePoint(a===1?d[i]&~zx.VALUE_LENGTH:d[i+1],c),a===3&&this.emitCodePoint(d[i+2],c),c}end(){var i;switch(this.state){case Zf.NamedEntity:return this.result!==0&&(this.decodeMode!==oA.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Zf.NumericDecimal:return this.emitNumericEntity(0,2);case Zf.NumericHex:return this.emitNumericEntity(0,3);case Zf.NumericStart:return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Zf.EntityStart:return 0}}}function Cir(n,i,a,c){const d=(i&zx.BRANCH_LENGTH)>>7,g=i&zx.JUMP_TABLE;if(d===0)return g!==0&&c===g?a:-1;if(g){const E=c-g;return E<0||E>=d?-1:n[a+E]-1}let b=a,w=b+d-1;for(;b<=w;){const E=b+w>>>1,S=n[E];if(S<c)b=E+1;else if(S>c)w=E-1;else return n[E+d]}return-1}var jn;(function(n){n.HTML="http://www.w3.org/1999/xhtml",n.MATHML="http://www.w3.org/1998/Math/MathML",n.SVG="http://www.w3.org/2000/svg",n.XLINK="http://www.w3.org/1999/xlink",n.XML="http://www.w3.org/XML/1998/namespace",n.XMLNS="http://www.w3.org/2000/xmlns/"})(jn||(jn={}));var tR;(function(n){n.TYPE="type",n.ACTION="action",n.ENCODING="encoding",n.PROMPT="prompt",n.NAME="name",n.COLOR="color",n.FACE="face",n.SIZE="size"})(tR||(tR={}));var mw;(function(n){n.NO_QUIRKS="no-quirks",n.QUIRKS="quirks",n.LIMITED_QUIRKS="limited-quirks"})(mw||(mw={}));var Pt;(function(n){n.A="a",n.ADDRESS="address",n.ANNOTATION_XML="annotation-xml",n.APPLET="applet",n.AREA="area",n.ARTICLE="article",n.ASIDE="aside",n.B="b",n.BASE="base",n.BASEFONT="basefont",n.BGSOUND="bgsound",n.BIG="big",n.BLOCKQUOTE="blockquote",n.BODY="body",n.BR="br",n.BUTTON="button",n.CAPTION="caption",n.CENTER="center",n.CODE="code",n.COL="col",n.COLGROUP="colgroup",n.DD="dd",n.DESC="desc",n.DETAILS="details",n.DIALOG="dialog",n.DIR="dir",n.DIV="div",n.DL="dl",n.DT="dt",n.EM="em",n.EMBED="embed",n.FIELDSET="fieldset",n.FIGCAPTION="figcaption",n.FIGURE="figure",n.FONT="font",n.FOOTER="footer",n.FOREIGN_OBJECT="foreignObject",n.FORM="form",n.FRAME="frame",n.FRAMESET="frameset",n.H1="h1",n.H2="h2",n.H3="h3",n.H4="h4",n.H5="h5",n.H6="h6",n.HEAD="head",n.HEADER="header",n.HGROUP="hgroup",n.HR="hr",n.HTML="html",n.I="i",n.IMG="img",n.IMAGE="image",n.INPUT="input",n.IFRAME="iframe",n.KEYGEN="keygen",n.LABEL="label",n.LI="li",n.LINK="link",n.LISTING="listing",n.MAIN="main",n.MALIGNMARK="malignmark",n.MARQUEE="marquee",n.MATH="math",n.MENU="menu",n.META="meta",n.MGLYPH="mglyph",n.MI="mi",n.MO="mo",n.MN="mn",n.MS="ms",n.MTEXT="mtext",n.NAV="nav",n.NOBR="nobr",n.NOFRAMES="noframes",n.NOEMBED="noembed",n.NOSCRIPT="noscript",n.OBJECT="object",n.OL="ol",n.OPTGROUP="optgroup",n.OPTION="option",n.P="p",n.PARAM="param",n.PLAINTEXT="plaintext",n.PRE="pre",n.RB="rb",n.RP="rp",n.RT="rt",n.RTC="rtc",n.RUBY="ruby",n.S="s",n.SCRIPT="script",n.SEARCH="search",n.SECTION="section",n.SELECT="select",n.SOURCE="source",n.SMALL="small",n.SPAN="span",n.STRIKE="strike",n.STRONG="strong",n.STYLE="style",n.SUB="sub",n.SUMMARY="summary",n.SUP="sup",n.TABLE="table",n.TBODY="tbody",n.TEMPLATE="template",n.TEXTAREA="textarea",n.TFOOT="tfoot",n.TD="td",n.TH="th",n.THEAD="thead",n.TITLE="title",n.TR="tr",n.TRACK="track",n.TT="tt",n.U="u",n.UL="ul",n.SVG="svg",n.VAR="var",n.WBR="wbr",n.XMP="xmp"})(Pt||(Pt={}));var W;(function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.A=1]="A",n[n.ADDRESS=2]="ADDRESS",n[n.ANNOTATION_XML=3]="ANNOTATION_XML",n[n.APPLET=4]="APPLET",n[n.AREA=5]="AREA",n[n.ARTICLE=6]="ARTICLE",n[n.ASIDE=7]="ASIDE",n[n.B=8]="B",n[n.BASE=9]="BASE",n[n.BASEFONT=10]="BASEFONT",n[n.BGSOUND=11]="BGSOUND",n[n.BIG=12]="BIG",n[n.BLOCKQUOTE=13]="BLOCKQUOTE",n[n.BODY=14]="BODY",n[n.BR=15]="BR",n[n.BUTTON=16]="BUTTON",n[n.CAPTION=17]="CAPTION",n[n.CENTER=18]="CENTER",n[n.CODE=19]="CODE",n[n.COL=20]="COL",n[n.COLGROUP=21]="COLGROUP",n[n.DD=22]="DD",n[n.DESC=23]="DESC",n[n.DETAILS=24]="DETAILS",n[n.DIALOG=25]="DIALOG",n[n.DIR=26]="DIR",n[n.DIV=27]="DIV",n[n.DL=28]="DL",n[n.DT=29]="DT",n[n.EM=30]="EM",n[n.EMBED=31]="EMBED",n[n.FIELDSET=32]="FIELDSET",n[n.FIGCAPTION=33]="FIGCAPTION",n[n.FIGURE=34]="FIGURE",n[n.FONT=35]="FONT",n[n.FOOTER=36]="FOOTER",n[n.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",n[n.FORM=38]="FORM",n[n.FRAME=39]="FRAME",n[n.FRAMESET=40]="FRAMESET",n[n.H1=41]="H1",n[n.H2=42]="H2",n[n.H3=43]="H3",n[n.H4=44]="H4",n[n.H5=45]="H5",n[n.H6=46]="H6",n[n.HEAD=47]="HEAD",n[n.HEADER=48]="HEADER",n[n.HGROUP=49]="HGROUP",n[n.HR=50]="HR",n[n.HTML=51]="HTML",n[n.I=52]="I",n[n.IMG=53]="IMG",n[n.IMAGE=54]="IMAGE",n[n.INPUT=55]="INPUT",n[n.IFRAME=56]="IFRAME",n[n.KEYGEN=57]="KEYGEN",n[n.LABEL=58]="LABEL",n[n.LI=59]="LI",n[n.LINK=60]="LINK",n[n.LISTING=61]="LISTING",n[n.MAIN=62]="MAIN",n[n.MALIGNMARK=63]="MALIGNMARK",n[n.MARQUEE=64]="MARQUEE",n[n.MATH=65]="MATH",n[n.MENU=66]="MENU",n[n.META=67]="META",n[n.MGLYPH=68]="MGLYPH",n[n.MI=69]="MI",n[n.MO=70]="MO",n[n.MN=71]="MN",n[n.MS=72]="MS",n[n.MTEXT=73]="MTEXT",n[n.NAV=74]="NAV",n[n.NOBR=75]="NOBR",n[n.NOFRAMES=76]="NOFRAMES",n[n.NOEMBED=77]="NOEMBED",n[n.NOSCRIPT=78]="NOSCRIPT",n[n.OBJECT=79]="OBJECT",n[n.OL=80]="OL",n[n.OPTGROUP=81]="OPTGROUP",n[n.OPTION=82]="OPTION",n[n.P=83]="P",n[n.PARAM=84]="PARAM",n[n.PLAINTEXT=85]="PLAINTEXT",n[n.PRE=86]="PRE",n[n.RB=87]="RB",n[n.RP=88]="RP",n[n.RT=89]="RT",n[n.RTC=90]="RTC",n[n.RUBY=91]="RUBY",n[n.S=92]="S",n[n.SCRIPT=93]="SCRIPT",n[n.SEARCH=94]="SEARCH",n[n.SECTION=95]="SECTION",n[n.SELECT=96]="SELECT",n[n.SOURCE=97]="SOURCE",n[n.SMALL=98]="SMALL",n[n.SPAN=99]="SPAN",n[n.STRIKE=100]="STRIKE",n[n.STRONG=101]="STRONG",n[n.STYLE=102]="STYLE",n[n.SUB=103]="SUB",n[n.SUMMARY=104]="SUMMARY",n[n.SUP=105]="SUP",n[n.TABLE=106]="TABLE",n[n.TBODY=107]="TBODY",n[n.TEMPLATE=108]="TEMPLATE",n[n.TEXTAREA=109]="TEXTAREA",n[n.TFOOT=110]="TFOOT",n[n.TD=111]="TD",n[n.TH=112]="TH",n[n.THEAD=113]="THEAD",n[n.TITLE=114]="TITLE",n[n.TR=115]="TR",n[n.TRACK=116]="TRACK",n[n.TT=117]="TT",n[n.U=118]="U",n[n.UL=119]="UL",n[n.SVG=120]="SVG",n[n.VAR=121]="VAR",n[n.WBR=122]="WBR",n[n.XMP=123]="XMP"})(W||(W={}));const Iir=new Map([[Pt.A,W.A],[Pt.ADDRESS,W.ADDRESS],[Pt.ANNOTATION_XML,W.ANNOTATION_XML],[Pt.APPLET,W.APPLET],[Pt.AREA,W.AREA],[Pt.ARTICLE,W.ARTICLE],[Pt.ASIDE,W.ASIDE],[Pt.B,W.B],[Pt.BASE,W.BASE],[Pt.BASEFONT,W.BASEFONT],[Pt.BGSOUND,W.BGSOUND],[Pt.BIG,W.BIG],[Pt.BLOCKQUOTE,W.BLOCKQUOTE],[Pt.BODY,W.BODY],[Pt.BR,W.BR],[Pt.BUTTON,W.BUTTON],[Pt.CAPTION,W.CAPTION],[Pt.CENTER,W.CENTER],[Pt.CODE,W.CODE],[Pt.COL,W.COL],[Pt.COLGROUP,W.COLGROUP],[Pt.DD,W.DD],[Pt.DESC,W.DESC],[Pt.DETAILS,W.DETAILS],[Pt.DIALOG,W.DIALOG],[Pt.DIR,W.DIR],[Pt.DIV,W.DIV],[Pt.DL,W.DL],[Pt.DT,W.DT],[Pt.EM,W.EM],[Pt.EMBED,W.EMBED],[Pt.FIELDSET,W.FIELDSET],[Pt.FIGCAPTION,W.FIGCAPTION],[Pt.FIGURE,W.FIGURE],[Pt.FONT,W.FONT],[Pt.FOOTER,W.FOOTER],[Pt.FOREIGN_OBJECT,W.FOREIGN_OBJECT],[Pt.FORM,W.FORM],[Pt.FRAME,W.FRAME],[Pt.FRAMESET,W.FRAMESET],[Pt.H1,W.H1],[Pt.H2,W.H2],[Pt.H3,W.H3],[Pt.H4,W.H4],[Pt.H5,W.H5],[Pt.H6,W.H6],[Pt.HEAD,W.HEAD],[Pt.HEADER,W.HEADER],[Pt.HGROUP,W.HGROUP],[Pt.HR,W.HR],[Pt.HTML,W.HTML],[Pt.I,W.I],[Pt.IMG,W.IMG],[Pt.IMAGE,W.IMAGE],[Pt.INPUT,W.INPUT],[Pt.IFRAME,W.IFRAME],[Pt.KEYGEN,W.KEYGEN],[Pt.LABEL,W.LABEL],[Pt.LI,W.LI],[Pt.LINK,W.LINK],[Pt.LISTING,W.LISTING],[Pt.MAIN,W.MAIN],[Pt.MALIGNMARK,W.MALIGNMARK],[Pt.MARQUEE,W.MARQUEE],[Pt.MATH,W.MATH],[Pt.MENU,W.MENU],[Pt.META,W.META],[Pt.MGLYPH,W.MGLYPH],[Pt.MI,W.MI],[Pt.MO,W.MO],[Pt.MN,W.MN],[Pt.MS,W.MS],[Pt.MTEXT,W.MTEXT],[Pt.NAV,W.NAV],[Pt.NOBR,W.NOBR],[Pt.NOFRAMES,W.NOFRAMES],[Pt.NOEMBED,W.NOEMBED],[Pt.NOSCRIPT,W.NOSCRIPT],[Pt.OBJECT,W.OBJECT],[Pt.OL,W.OL],[Pt.OPTGROUP,W.OPTGROUP],[Pt.OPTION,W.OPTION],[Pt.P,W.P],[Pt.PARAM,W.PARAM],[Pt.PLAINTEXT,W.PLAINTEXT],[Pt.PRE,W.PRE],[Pt.RB,W.RB],[Pt.RP,W.RP],[Pt.RT,W.RT],[Pt.RTC,W.RTC],[Pt.RUBY,W.RUBY],[Pt.S,W.S],[Pt.SCRIPT,W.SCRIPT],[Pt.SEARCH,W.SEARCH],[Pt.SECTION,W.SECTION],[Pt.SELECT,W.SELECT],[Pt.SOURCE,W.SOURCE],[Pt.SMALL,W.SMALL],[Pt.SPAN,W.SPAN],[Pt.STRIKE,W.STRIKE],[Pt.STRONG,W.STRONG],[Pt.STYLE,W.STYLE],[Pt.SUB,W.SUB],[Pt.SUMMARY,W.SUMMARY],[Pt.SUP,W.SUP],[Pt.TABLE,W.TABLE],[Pt.TBODY,W.TBODY],[Pt.TEMPLATE,W.TEMPLATE],[Pt.TEXTAREA,W.TEXTAREA],[Pt.TFOOT,W.TFOOT],[Pt.TD,W.TD],[Pt.TH,W.TH],[Pt.THEAD,W.THEAD],[Pt.TITLE,W.TITLE],[Pt.TR,W.TR],[Pt.TRACK,W.TRACK],[Pt.TT,W.TT],[Pt.U,W.U],[Pt.UL,W.UL],[Pt.SVG,W.SVG],[Pt.VAR,W.VAR],[Pt.WBR,W.WBR],[Pt.XMP,W.XMP]]);function Wae(n){var i;return(i=Iir.get(n))!==null&&i!==void 0?i:W.UNKNOWN}const Jn=W,Rir={[jn.HTML]:new Set([Jn.ADDRESS,Jn.APPLET,Jn.AREA,Jn.ARTICLE,Jn.ASIDE,Jn.BASE,Jn.BASEFONT,Jn.BGSOUND,Jn.BLOCKQUOTE,Jn.BODY,Jn.BR,Jn.BUTTON,Jn.CAPTION,Jn.CENTER,Jn.COL,Jn.COLGROUP,Jn.DD,Jn.DETAILS,Jn.DIR,Jn.DIV,Jn.DL,Jn.DT,Jn.EMBED,Jn.FIELDSET,Jn.FIGCAPTION,Jn.FIGURE,Jn.FOOTER,Jn.FORM,Jn.FRAME,Jn.FRAMESET,Jn.H1,Jn.H2,Jn.H3,Jn.H4,Jn.H5,Jn.H6,Jn.HEAD,Jn.HEADER,Jn.HGROUP,Jn.HR,Jn.HTML,Jn.IFRAME,Jn.IMG,Jn.INPUT,Jn.LI,Jn.LINK,Jn.LISTING,Jn.MAIN,Jn.MARQUEE,Jn.MENU,Jn.META,Jn.NAV,Jn.NOEMBED,Jn.NOFRAMES,Jn.NOSCRIPT,Jn.OBJECT,Jn.OL,Jn.P,Jn.PARAM,Jn.PLAINTEXT,Jn.PRE,Jn.SCRIPT,Jn.SECTION,Jn.SELECT,Jn.SOURCE,Jn.STYLE,Jn.SUMMARY,Jn.TABLE,Jn.TBODY,Jn.TD,Jn.TEMPLATE,Jn.TEXTAREA,Jn.TFOOT,Jn.TH,Jn.THEAD,Jn.TITLE,Jn.TR,Jn.TRACK,Jn.UL,Jn.WBR,Jn.XMP]),[jn.MATHML]:new Set([Jn.MI,Jn.MO,Jn.MN,Jn.MS,Jn.MTEXT,Jn.ANNOTATION_XML]),[jn.SVG]:new Set([Jn.TITLE,Jn.FOREIGN_OBJECT,Jn.DESC]),[jn.XLINK]:new Set,[jn.XML]:new Set,[jn.XMLNS]:new Set},YDe=new Set([Jn.H1,Jn.H2,Jn.H3,Jn.H4,Jn.H5,Jn.H6]);Pt.STYLE,Pt.SCRIPT,Pt.XMP,Pt.IFRAME,Pt.NOEMBED,Pt.NOFRAMES,Pt.PLAINTEXT;var Ve;(function(n){n[n.DATA=0]="DATA",n[n.RCDATA=1]="RCDATA",n[n.RAWTEXT=2]="RAWTEXT",n[n.SCRIPT_DATA=3]="SCRIPT_DATA",n[n.PLAINTEXT=4]="PLAINTEXT",n[n.TAG_OPEN=5]="TAG_OPEN",n[n.END_TAG_OPEN=6]="END_TAG_OPEN",n[n.TAG_NAME=7]="TAG_NAME",n[n.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",n[n.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",n[n.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",n[n.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",n[n.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",n[n.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",n[n.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",n[n.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",n[n.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",n[n.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",n[n.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",n[n.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",n[n.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",n[n.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",n[n.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",n[n.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",n[n.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",n[n.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",n[n.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",n[n.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",n[n.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",n[n.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",n[n.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",n[n.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",n[n.BOGUS_COMMENT=40]="BOGUS_COMMENT",n[n.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",n[n.COMMENT_START=42]="COMMENT_START",n[n.COMMENT_START_DASH=43]="COMMENT_START_DASH",n[n.COMMENT=44]="COMMENT",n[n.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",n[n.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",n[n.COMMENT_END_DASH=49]="COMMENT_END_DASH",n[n.COMMENT_END=50]="COMMENT_END",n[n.COMMENT_END_BANG=51]="COMMENT_END_BANG",n[n.DOCTYPE=52]="DOCTYPE",n[n.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",n[n.DOCTYPE_NAME=54]="DOCTYPE_NAME",n[n.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",n[n.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",n[n.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",n[n.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",n[n.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",n[n.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",n[n.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",n[n.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",n[n.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",n[n.CDATA_SECTION=68]="CDATA_SECTION",n[n.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",n[n.CDATA_SECTION_END=70]="CDATA_SECTION_END",n[n.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",n[n.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(Ve||(Ve={}));const ob={DATA:Ve.DATA,RCDATA:Ve.RCDATA,RAWTEXT:Ve.RAWTEXT,SCRIPT_DATA:Ve.SCRIPT_DATA,PLAINTEXT:Ve.PLAINTEXT,CDATA_SECTION:Ve.CDATA_SECTION};function Oir(n){return n>=Fe.DIGIT_0&&n<=Fe.DIGIT_9}function iH(n){return n>=Fe.LATIN_CAPITAL_A&&n<=Fe.LATIN_CAPITAL_Z}function Dir(n){return n>=Fe.LATIN_SMALL_A&&n<=Fe.LATIN_SMALL_Z}function Dx(n){return Dir(n)||iH(n)}function VFt(n){return Dx(n)||Oir(n)}function Cie(n){return n+32}function yJt(n){return n===Fe.SPACE||n===Fe.LINE_FEED||n===Fe.TABULATION||n===Fe.FORM_FEED}function WFt(n){return yJt(n)||n===Fe.SOLIDUS||n===Fe.GREATER_THAN_SIGN}function Lir(n){return n===Fe.NULL?sn.nullCharacterReference:n>1114111?sn.characterReferenceOutsideUnicodeRange:gJt(n)?sn.surrogateCharacterReference:mJt(n)?sn.noncharacterCharacterReference:bJt(n)||n===Fe.CARRIAGE_RETURN?sn.controlCharacterReference:null}class Mir{constructor(i,a){this.options=i,this.handler=a,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Ve.DATA,this.returnState=Ve.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new vir(a),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Nir(Eir,(c,d)=>{this.preprocessor.pos=this.entityStartPos+d-1,this._flushCodePointConsumedAsCharacterReference(c)},a.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(sn.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:c=>{this._err(sn.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+c)},validateNumericCharacterReference:c=>{const d=Lir(c);d&&this._err(d,1)}}:void 0)}_err(i,a=0){var c,d;(d=(c=this.handler).onParseError)===null||d===void 0||d.call(c,this.preprocessor.getError(i,a))}getCurrentLocation(i){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-i,startOffset:this.preprocessor.offset-i,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const i=this._consume();this._ensureHibernation()||this._callState(i)}this.inLoop=!1}}pause(){this.paused=!0}resume(i){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||i==null||i())}write(i,a,c){this.active=!0,this.preprocessor.write(i,a),this._runParsingLoop(),this.paused||c==null||c()}insertHtmlAtCurrentPos(i){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(i),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(i){this.consumedAfterSnapshot+=i;for(let a=0;a<i;a++)this.preprocessor.advance()}_consumeSequenceIfMatch(i,a){return this.preprocessor.startsWith(i,a)?(this._advanceBy(i.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ha.START_TAG,tagName:"",tagID:W.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ha.END_TAG,tagName:"",tagID:W.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(i){this.currentToken={type:ha.COMMENT,data:"",location:this.getCurrentLocation(i)}}_createDoctypeToken(i){this.currentToken={type:ha.DOCTYPE,name:i,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(i,a){this.currentCharacterToken={type:i,chars:a,location:this.currentLocation}}_createAttr(i){this.currentAttr={name:i,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var i,a;const c=this.currentToken;if(wJt(c,this.currentAttr.name)===null){if(c.attrs.push(this.currentAttr),c.location&&this.currentLocation){const d=(i=(a=c.location).attrs)!==null&&i!==void 0?i:a.attrs=Object.create(null);d[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(sn.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(i){this._emitCurrentCharacterToken(i.location),this.currentToken=null,i.location&&(i.location.endLine=this.preprocessor.line,i.location.endCol=this.preprocessor.col+1,i.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const i=this.currentToken;this.prepareToken(i),i.tagID=Wae(i.tagName),i.type===ha.START_TAG?(this.lastStartTagName=i.tagName,this.handler.onStartTag(i)):(i.attrs.length>0&&this._err(sn.endTagWithAttributes),i.selfClosing&&this._err(sn.endTagWithTrailingSolidus),this.handler.onEndTag(i)),this.preprocessor.dropParsedChunk()}emitCurrentComment(i){this.prepareToken(i),this.handler.onComment(i),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(i){this.prepareToken(i),this.handler.onDoctype(i),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(i){if(this.currentCharacterToken){switch(i&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=i.startLine,this.currentCharacterToken.location.endCol=i.startCol,this.currentCharacterToken.location.endOffset=i.startOffset),this.currentCharacterToken.type){case ha.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ha.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ha.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const i=this.getCurrentLocation(0);i&&(i.endLine=i.startLine,i.endCol=i.startCol,i.endOffset=i.startOffset),this._emitCurrentCharacterToken(i),this.handler.onEof({type:ha.EOF,location:i}),this.active=!1}_appendCharToCurrentCharacterToken(i,a){if(this.currentCharacterToken)if(this.currentCharacterToken.type===i){this.currentCharacterToken.chars+=a;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(i,a)}_emitCodePoint(i){const a=yJt(i)?ha.WHITESPACE_CHARACTER:i===Fe.NULL?ha.NULL_CHARACTER:ha.CHARACTER;this._appendCharToCurrentCharacterToken(a,String.fromCodePoint(i))}_emitChars(i){this._appendCharToCurrentCharacterToken(ha.CHARACTER,i)}_startCharacterReference(){this.returnState=this.state,this.state=Ve.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?oA.Attribute:oA.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===Ve.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Ve.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Ve.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(i){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(i):this._emitCodePoint(i)}_callState(i){switch(this.state){case Ve.DATA:{this._stateData(i);break}case Ve.RCDATA:{this._stateRcdata(i);break}case Ve.RAWTEXT:{this._stateRawtext(i);break}case Ve.SCRIPT_DATA:{this._stateScriptData(i);break}case Ve.PLAINTEXT:{this._statePlaintext(i);break}case Ve.TAG_OPEN:{this._stateTagOpen(i);break}case Ve.END_TAG_OPEN:{this._stateEndTagOpen(i);break}case Ve.TAG_NAME:{this._stateTagName(i);break}case Ve.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(i);break}case Ve.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(i);break}case Ve.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(i);break}case Ve.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(i);break}case Ve.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(i);break}case Ve.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(i);break}case Ve.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(i);break}case Ve.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(i);break}case Ve.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(i);break}case Ve.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(i);break}case Ve.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(i);break}case Ve.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(i);break}case Ve.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(i);break}case Ve.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(i);break}case Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(i);break}case Ve.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(i);break}case Ve.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(i);break}case Ve.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(i);break}case Ve.ATTRIBUTE_NAME:{this._stateAttributeName(i);break}case Ve.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(i);break}case Ve.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(i);break}case Ve.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(i);break}case Ve.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(i);break}case Ve.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(i);break}case Ve.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(i);break}case Ve.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(i);break}case Ve.BOGUS_COMMENT:{this._stateBogusComment(i);break}case Ve.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(i);break}case Ve.COMMENT_START:{this._stateCommentStart(i);break}case Ve.COMMENT_START_DASH:{this._stateCommentStartDash(i);break}case Ve.COMMENT:{this._stateComment(i);break}case Ve.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(i);break}case Ve.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(i);break}case Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(i);break}case Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(i);break}case Ve.COMMENT_END_DASH:{this._stateCommentEndDash(i);break}case Ve.COMMENT_END:{this._stateCommentEnd(i);break}case Ve.COMMENT_END_BANG:{this._stateCommentEndBang(i);break}case Ve.DOCTYPE:{this._stateDoctype(i);break}case Ve.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(i);break}case Ve.DOCTYPE_NAME:{this._stateDoctypeName(i);break}case Ve.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(i);break}case Ve.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(i);break}case Ve.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(i);break}case Ve.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(i);break}case Ve.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(i);break}case Ve.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(i);break}case Ve.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(i);break}case Ve.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(i);break}case Ve.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(i);break}case Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(i);break}case Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(i);break}case Ve.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(i);break}case Ve.BOGUS_DOCTYPE:{this._stateBogusDoctype(i);break}case Ve.CDATA_SECTION:{this._stateCdataSection(i);break}case Ve.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(i);break}case Ve.CDATA_SECTION_END:{this._stateCdataSectionEnd(i);break}case Ve.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case Ve.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(i);break}default:throw new Error("Unknown state")}}_stateData(i){switch(i){case Fe.LESS_THAN_SIGN:{this.state=Ve.TAG_OPEN;break}case Fe.AMPERSAND:{this._startCharacterReference();break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this._emitCodePoint(i);break}case Fe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateRcdata(i){switch(i){case Fe.AMPERSAND:{this._startCharacterReference();break}case Fe.LESS_THAN_SIGN:{this.state=Ve.RCDATA_LESS_THAN_SIGN;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case Fe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateRawtext(i){switch(i){case Fe.LESS_THAN_SIGN:{this.state=Ve.RAWTEXT_LESS_THAN_SIGN;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case Fe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateScriptData(i){switch(i){case Fe.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_LESS_THAN_SIGN;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case Fe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_statePlaintext(i){switch(i){case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case Fe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateTagOpen(i){if(Dx(i))this._createStartTagToken(),this.state=Ve.TAG_NAME,this._stateTagName(i);else switch(i){case Fe.EXCLAMATION_MARK:{this.state=Ve.MARKUP_DECLARATION_OPEN;break}case Fe.SOLIDUS:{this.state=Ve.END_TAG_OPEN;break}case Fe.QUESTION_MARK:{this._err(sn.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Ve.BOGUS_COMMENT,this._stateBogusComment(i);break}case Fe.EOF:{this._err(sn.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(sn.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Ve.DATA,this._stateData(i)}}_stateEndTagOpen(i){if(Dx(i))this._createEndTagToken(),this.state=Ve.TAG_NAME,this._stateTagName(i);else switch(i){case Fe.GREATER_THAN_SIGN:{this._err(sn.missingEndTagName),this.state=Ve.DATA;break}case Fe.EOF:{this._err(sn.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(sn.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Ve.BOGUS_COMMENT,this._stateBogusComment(i)}}_stateTagName(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:{this.state=Ve.BEFORE_ATTRIBUTE_NAME;break}case Fe.SOLIDUS:{this.state=Ve.SELF_CLOSING_START_TAG;break}case Fe.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentTagToken();break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),a.tagName+=Oc;break}case Fe.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:a.tagName+=String.fromCodePoint(iH(i)?Cie(i):i)}}_stateRcdataLessThanSign(i){i===Fe.SOLIDUS?this.state=Ve.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Ve.RCDATA,this._stateRcdata(i))}_stateRcdataEndTagOpen(i){Dx(i)?(this.state=Ve.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(i)):(this._emitChars("</"),this.state=Ve.RCDATA,this._stateRcdata(i))}handleSpecialEndTag(i){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const a=this.currentToken;switch(a.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Ve.BEFORE_ATTRIBUTE_NAME,!1;case Fe.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Ve.SELF_CLOSING_START_TAG,!1;case Fe.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Ve.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.RCDATA,this._stateRcdata(i))}_stateRawtextLessThanSign(i){i===Fe.SOLIDUS?this.state=Ve.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Ve.RAWTEXT,this._stateRawtext(i))}_stateRawtextEndTagOpen(i){Dx(i)?(this.state=Ve.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(i)):(this._emitChars("</"),this.state=Ve.RAWTEXT,this._stateRawtext(i))}_stateRawtextEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.RAWTEXT,this._stateRawtext(i))}_stateScriptDataLessThanSign(i){switch(i){case Fe.SOLIDUS:{this.state=Ve.SCRIPT_DATA_END_TAG_OPEN;break}case Fe.EXCLAMATION_MARK:{this.state=Ve.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=Ve.SCRIPT_DATA,this._stateScriptData(i)}}_stateScriptDataEndTagOpen(i){Dx(i)?(this.state=Ve.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(i)):(this._emitChars("</"),this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscapeStart(i){i===Fe.HYPHEN_MINUS?(this.state=Ve.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscapeStartDash(i){i===Fe.HYPHEN_MINUS?(this.state=Ve.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscaped(i){switch(i){case Fe.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case Fe.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case Fe.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateScriptDataEscapedDash(i){switch(i){case Fe.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case Fe.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitChars(Oc);break}case Fe.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataEscapedDashDash(i){switch(i){case Fe.HYPHEN_MINUS:{this._emitChars("-");break}case Fe.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Fe.GREATER_THAN_SIGN:{this.state=Ve.SCRIPT_DATA,this._emitChars(">");break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitChars(Oc);break}case Fe.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataEscapedLessThanSign(i){i===Fe.SOLIDUS?this.state=Ve.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Dx(i)?(this._emitChars("<"),this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(i)):(this._emitChars("<"),this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataEscapedEndTagOpen(i){Dx(i)?(this.state=Ve.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(i)):(this._emitChars("</"),this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataEscapedEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataDoubleEscapeStart(i){if(this.preprocessor.startsWith(tb.SCRIPT,!1)&&WFt(this.preprocessor.peek(tb.SCRIPT.length))){this._emitCodePoint(i);for(let a=0;a<tb.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataDoubleEscaped(i){switch(i){case Fe.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case Fe.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case Fe.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedDash(i){switch(i){case Fe.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case Fe.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Oc);break}case Fe.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedDashDash(i){switch(i){case Fe.HYPHEN_MINUS:{this._emitChars("-");break}case Fe.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Fe.GREATER_THAN_SIGN:{this.state=Ve.SCRIPT_DATA,this._emitChars(">");break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Oc);break}case Fe.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedLessThanSign(i){i===Fe.SOLIDUS?(this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(i))}_stateScriptDataDoubleEscapeEnd(i){if(this.preprocessor.startsWith(tb.SCRIPT,!1)&&WFt(this.preprocessor.peek(tb.SCRIPT.length))){this._emitCodePoint(i);for(let a=0;a<tb.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=Ve.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(i))}_stateBeforeAttributeName(i){switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:break;case Fe.SOLIDUS:case Fe.GREATER_THAN_SIGN:case Fe.EOF:{this.state=Ve.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(i);break}case Fe.EQUALS_SIGN:{this._err(sn.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Ve.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=Ve.ATTRIBUTE_NAME,this._stateAttributeName(i)}}_stateAttributeName(i){switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:case Fe.SOLIDUS:case Fe.GREATER_THAN_SIGN:case Fe.EOF:{this._leaveAttrName(),this.state=Ve.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(i);break}case Fe.EQUALS_SIGN:{this._leaveAttrName(),this.state=Ve.BEFORE_ATTRIBUTE_VALUE;break}case Fe.QUOTATION_MARK:case Fe.APOSTROPHE:case Fe.LESS_THAN_SIGN:{this._err(sn.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(i);break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.name+=Oc;break}default:this.currentAttr.name+=String.fromCodePoint(iH(i)?Cie(i):i)}}_stateAfterAttributeName(i){switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:break;case Fe.SOLIDUS:{this.state=Ve.SELF_CLOSING_START_TAG;break}case Fe.EQUALS_SIGN:{this.state=Ve.BEFORE_ATTRIBUTE_VALUE;break}case Fe.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentTagToken();break}case Fe.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=Ve.ATTRIBUTE_NAME,this._stateAttributeName(i)}}_stateBeforeAttributeValue(i){switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:break;case Fe.QUOTATION_MARK:{this.state=Ve.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Fe.APOSTROPHE:{this.state=Ve.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.missingAttributeValue),this.state=Ve.DATA,this.emitCurrentTagToken();break}default:this.state=Ve.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(i)}}_stateAttributeValueDoubleQuoted(i){switch(i){case Fe.QUOTATION_MARK:{this.state=Ve.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Fe.AMPERSAND:{this._startCharacterReference();break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.value+=Oc;break}case Fe.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAttributeValueSingleQuoted(i){switch(i){case Fe.APOSTROPHE:{this.state=Ve.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Fe.AMPERSAND:{this._startCharacterReference();break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.value+=Oc;break}case Fe.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAttributeValueUnquoted(i){switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:{this._leaveAttrValue(),this.state=Ve.BEFORE_ATTRIBUTE_NAME;break}case Fe.AMPERSAND:{this._startCharacterReference();break}case Fe.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Ve.DATA,this.emitCurrentTagToken();break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.value+=Oc;break}case Fe.QUOTATION_MARK:case Fe.APOSTROPHE:case Fe.LESS_THAN_SIGN:case Fe.EQUALS_SIGN:case Fe.GRAVE_ACCENT:{this._err(sn.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(i);break}case Fe.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAfterAttributeValueQuoted(i){switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:{this._leaveAttrValue(),this.state=Ve.BEFORE_ATTRIBUTE_NAME;break}case Fe.SOLIDUS:{this._leaveAttrValue(),this.state=Ve.SELF_CLOSING_START_TAG;break}case Fe.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Ve.DATA,this.emitCurrentTagToken();break}case Fe.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this._err(sn.missingWhitespaceBetweenAttributes),this.state=Ve.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(i)}}_stateSelfClosingStartTag(i){switch(i){case Fe.GREATER_THAN_SIGN:{const a=this.currentToken;a.selfClosing=!0,this.state=Ve.DATA,this.emitCurrentTagToken();break}case Fe.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this._err(sn.unexpectedSolidusInTag),this.state=Ve.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(i)}}_stateBogusComment(i){const a=this.currentToken;switch(i){case Fe.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentComment(a);break}case Fe.EOF:{this.emitCurrentComment(a),this._emitEOFToken();break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),a.data+=Oc;break}default:a.data+=String.fromCodePoint(i)}}_stateMarkupDeclarationOpen(i){this._consumeSequenceIfMatch(tb.DASH_DASH,!0)?(this._createCommentToken(tb.DASH_DASH.length+1),this.state=Ve.COMMENT_START):this._consumeSequenceIfMatch(tb.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(tb.DOCTYPE.length+1),this.state=Ve.DOCTYPE):this._consumeSequenceIfMatch(tb.CDATA_START,!0)?this.inForeignNode?this.state=Ve.CDATA_SECTION:(this._err(sn.cdataInHtmlContent),this._createCommentToken(tb.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=Ve.BOGUS_COMMENT):this._ensureHibernation()||(this._err(sn.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Ve.BOGUS_COMMENT,this._stateBogusComment(i))}_stateCommentStart(i){switch(i){case Fe.HYPHEN_MINUS:{this.state=Ve.COMMENT_START_DASH;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.abruptClosingOfEmptyComment),this.state=Ve.DATA;const a=this.currentToken;this.emitCurrentComment(a);break}default:this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentStartDash(i){const a=this.currentToken;switch(i){case Fe.HYPHEN_MINUS:{this.state=Ve.COMMENT_END;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.abruptClosingOfEmptyComment),this.state=Ve.DATA,this.emitCurrentComment(a);break}case Fe.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=Ve.COMMENT,this._stateComment(i)}}_stateComment(i){const a=this.currentToken;switch(i){case Fe.HYPHEN_MINUS:{this.state=Ve.COMMENT_END_DASH;break}case Fe.LESS_THAN_SIGN:{a.data+="<",this.state=Ve.COMMENT_LESS_THAN_SIGN;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),a.data+=Oc;break}case Fe.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+=String.fromCodePoint(i)}}_stateCommentLessThanSign(i){const a=this.currentToken;switch(i){case Fe.EXCLAMATION_MARK:{a.data+="!",this.state=Ve.COMMENT_LESS_THAN_SIGN_BANG;break}case Fe.LESS_THAN_SIGN:{a.data+="<";break}default:this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentLessThanSignBang(i){i===Fe.HYPHEN_MINUS?this.state=Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Ve.COMMENT,this._stateComment(i))}_stateCommentLessThanSignBangDash(i){i===Fe.HYPHEN_MINUS?this.state=Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Ve.COMMENT_END_DASH,this._stateCommentEndDash(i))}_stateCommentLessThanSignBangDashDash(i){i!==Fe.GREATER_THAN_SIGN&&i!==Fe.EOF&&this._err(sn.nestedComment),this.state=Ve.COMMENT_END,this._stateCommentEnd(i)}_stateCommentEndDash(i){const a=this.currentToken;switch(i){case Fe.HYPHEN_MINUS:{this.state=Ve.COMMENT_END;break}case Fe.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentEnd(i){const a=this.currentToken;switch(i){case Fe.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentComment(a);break}case Fe.EXCLAMATION_MARK:{this.state=Ve.COMMENT_END_BANG;break}case Fe.HYPHEN_MINUS:{a.data+="-";break}case Fe.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--",this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentEndBang(i){const a=this.currentToken;switch(i){case Fe.HYPHEN_MINUS:{a.data+="--!",this.state=Ve.COMMENT_END_DASH;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.incorrectlyClosedComment),this.state=Ve.DATA,this.emitCurrentComment(a);break}case Fe.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--!",this.state=Ve.COMMENT,this._stateComment(i)}}_stateDoctype(i){switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:{this.state=Ve.BEFORE_DOCTYPE_NAME;break}case Fe.GREATER_THAN_SIGN:{this.state=Ve.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(i);break}case Fe.EOF:{this._err(sn.eofInDoctype),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(sn.missingWhitespaceBeforeDoctypeName),this.state=Ve.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(i)}}_stateBeforeDoctypeName(i){if(iH(i))this._createDoctypeToken(String.fromCharCode(Cie(i))),this.state=Ve.DOCTYPE_NAME;else switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:break;case Fe.NULL:{this._err(sn.unexpectedNullCharacter),this._createDoctypeToken(Oc),this.state=Ve.DOCTYPE_NAME;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.missingDoctypeName),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=Ve.DATA;break}case Fe.EOF:{this._err(sn.eofInDoctype),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(i)),this.state=Ve.DOCTYPE_NAME}}_stateDoctypeName(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:{this.state=Ve.AFTER_DOCTYPE_NAME;break}case Fe.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentDoctype(a);break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),a.name+=Oc;break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.name+=String.fromCodePoint(iH(i)?Cie(i):i)}}_stateAfterDoctypeName(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:break;case Fe.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentDoctype(a);break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(tb.PUBLIC,!1)?this.state=Ve.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(tb.SYSTEM,!1)?this.state=Ve.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(sn.invalidCharacterSequenceAfterDoctypeName),a.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i))}}_stateAfterDoctypePublicKeyword(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:{this.state=Ve.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Fe.QUOTATION_MARK:{this._err(sn.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Fe.APOSTROPHE:{this._err(sn.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(a);break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBeforeDoctypePublicIdentifier(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:break;case Fe.QUOTATION_MARK:{a.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Fe.APOSTROPHE:{a.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(a);break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateDoctypePublicIdentifierDoubleQuoted(i){const a=this.currentToken;switch(i){case Fe.QUOTATION_MARK:{this.state=Ve.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),a.publicId+=Oc;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=Ve.DATA;break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.publicId+=String.fromCodePoint(i)}}_stateDoctypePublicIdentifierSingleQuoted(i){const a=this.currentToken;switch(i){case Fe.APOSTROPHE:{this.state=Ve.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),a.publicId+=Oc;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=Ve.DATA;break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.publicId+=String.fromCodePoint(i)}}_stateAfterDoctypePublicIdentifier(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:{this.state=Ve.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Fe.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentDoctype(a);break}case Fe.QUOTATION_MARK:{this._err(sn.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Fe.APOSTROPHE:{this._err(sn.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBetweenDoctypePublicAndSystemIdentifiers(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:break;case Fe.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=Ve.DATA;break}case Fe.QUOTATION_MARK:{a.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Fe.APOSTROPHE:{a.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateAfterDoctypeSystemKeyword(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:{this.state=Ve.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Fe.QUOTATION_MARK:{this._err(sn.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Fe.APOSTROPHE:{this._err(sn.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(a);break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBeforeDoctypeSystemIdentifier(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:break;case Fe.QUOTATION_MARK:{a.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Fe.APOSTROPHE:{a.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(a);break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateDoctypeSystemIdentifierDoubleQuoted(i){const a=this.currentToken;switch(i){case Fe.QUOTATION_MARK:{this.state=Ve.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),a.systemId+=Oc;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=Ve.DATA;break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.systemId+=String.fromCodePoint(i)}}_stateDoctypeSystemIdentifierSingleQuoted(i){const a=this.currentToken;switch(i){case Fe.APOSTROPHE:{this.state=Ve.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter),a.systemId+=Oc;break}case Fe.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=Ve.DATA;break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.systemId+=String.fromCodePoint(i)}}_stateAfterDoctypeSystemIdentifier(i){const a=this.currentToken;switch(i){case Fe.SPACE:case Fe.LINE_FEED:case Fe.TABULATION:case Fe.FORM_FEED:break;case Fe.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=Ve.DATA;break}case Fe.EOF:{this._err(sn.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(sn.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBogusDoctype(i){const a=this.currentToken;switch(i){case Fe.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=Ve.DATA;break}case Fe.NULL:{this._err(sn.unexpectedNullCharacter);break}case Fe.EOF:{this.emitCurrentDoctype(a),this._emitEOFToken();break}}}_stateCdataSection(i){switch(i){case Fe.RIGHT_SQUARE_BRACKET:{this.state=Ve.CDATA_SECTION_BRACKET;break}case Fe.EOF:{this._err(sn.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateCdataSectionBracket(i){i===Fe.RIGHT_SQUARE_BRACKET?this.state=Ve.CDATA_SECTION_END:(this._emitChars("]"),this.state=Ve.CDATA_SECTION,this._stateCdataSection(i))}_stateCdataSectionEnd(i){switch(i){case Fe.GREATER_THAN_SIGN:{this.state=Ve.DATA;break}case Fe.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=Ve.CDATA_SECTION,this._stateCdataSection(i)}}_stateCharacterReference(){let i=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(i<0)if(this.preprocessor.lastChunkWritten)i=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}i===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(Fe.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&VFt(this.preprocessor.peek(1))?Ve.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(i){VFt(i)?this._flushCodePointConsumedAsCharacterReference(i):(i===Fe.SEMICOLON&&this._err(sn.unknownNamedCharacterReference),this.state=this.returnState,this._callState(i))}}const vJt=new Set([W.DD,W.DT,W.LI,W.OPTGROUP,W.OPTION,W.P,W.RB,W.RP,W.RT,W.RTC]),KFt=new Set([...vJt,W.CAPTION,W.COLGROUP,W.TBODY,W.TD,W.TFOOT,W.TH,W.THEAD,W.TR]),yse=new Set([W.APPLET,W.CAPTION,W.HTML,W.MARQUEE,W.OBJECT,W.TABLE,W.TD,W.TEMPLATE,W.TH]),Pir=new Set([...yse,W.OL,W.UL]),jir=new Set([...yse,W.BUTTON]),YFt=new Set([W.ANNOTATION_XML,W.MI,W.MN,W.MO,W.MS,W.MTEXT]),JFt=new Set([W.DESC,W.FOREIGN_OBJECT,W.TITLE]),Fir=new Set([W.TR,W.TEMPLATE,W.HTML]),$ir=new Set([W.TBODY,W.TFOOT,W.THEAD,W.TEMPLATE,W.HTML]),Bir=new Set([W.TABLE,W.TEMPLATE,W.HTML]),Uir=new Set([W.TD,W.TH]);class Hir{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(i,a,c){this.treeAdapter=a,this.handler=c,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=W.UNKNOWN,this.current=i}_indexOf(i){return this.items.lastIndexOf(i,this.stackTop)}_isInTemplate(){return this.currentTagId===W.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===jn.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(i,a){this.stackTop++,this.items[this.stackTop]=i,this.current=i,this.tagIDs[this.stackTop]=a,this.currentTagId=a,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(i,a,!0)}pop(){const i=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,!0)}replace(i,a){const c=this._indexOf(i);this.items[c]=a,c===this.stackTop&&(this.current=a)}insertAfter(i,a,c){const d=this._indexOf(i)+1;this.items.splice(d,0,a),this.tagIDs.splice(d,0,c),this.stackTop++,d===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,d===this.stackTop)}popUntilTagNamePopped(i){let a=this.stackTop+1;do a=this.tagIDs.lastIndexOf(i,a-1);while(a>0&&this.treeAdapter.getNamespaceURI(this.items[a])!==jn.HTML);this.shortenToLength(Math.max(a,0))}shortenToLength(i){for(;this.stackTop>=i;){const a=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,this.stackTop<i)}}popUntilElementPopped(i){const a=this._indexOf(i);this.shortenToLength(Math.max(a,0))}popUntilPopped(i,a){const c=this._indexOfTagNames(i,a);this.shortenToLength(Math.max(c,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(YDe,jn.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Uir,jn.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(i,a){for(let c=this.stackTop;c>=0;c--)if(i.has(this.tagIDs[c])&&this.treeAdapter.getNamespaceURI(this.items[c])===a)return c;return-1}clearBackTo(i,a){const c=this._indexOfTagNames(i,a);this.shortenToLength(c+1)}clearBackToTableContext(){this.clearBackTo(Bir,jn.HTML)}clearBackToTableBodyContext(){this.clearBackTo($ir,jn.HTML)}clearBackToTableRowContext(){this.clearBackTo(Fir,jn.HTML)}remove(i){const a=this._indexOf(i);a>=0&&(a===this.stackTop?this.pop():(this.items.splice(a,1),this.tagIDs.splice(a,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===W.BODY?this.items[1]:null}contains(i){return this._indexOf(i)>-1}getCommonAncestor(i){const a=this._indexOf(i)-1;return a>=0?this.items[a]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===W.HTML}hasInDynamicScope(i,a){for(let c=this.stackTop;c>=0;c--){const d=this.tagIDs[c];switch(this.treeAdapter.getNamespaceURI(this.items[c])){case jn.HTML:{if(d===i)return!0;if(a.has(d))return!1;break}case jn.SVG:{if(JFt.has(d))return!1;break}case jn.MATHML:{if(YFt.has(d))return!1;break}}}return!0}hasInScope(i){return this.hasInDynamicScope(i,yse)}hasInListItemScope(i){return this.hasInDynamicScope(i,Pir)}hasInButtonScope(i){return this.hasInDynamicScope(i,jir)}hasNumberedHeaderInScope(){for(let i=this.stackTop;i>=0;i--){const a=this.tagIDs[i];switch(this.treeAdapter.getNamespaceURI(this.items[i])){case jn.HTML:{if(YDe.has(a))return!0;if(yse.has(a))return!1;break}case jn.SVG:{if(JFt.has(a))return!1;break}case jn.MATHML:{if(YFt.has(a))return!1;break}}}return!0}hasInTableScope(i){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===jn.HTML)switch(this.tagIDs[a]){case i:return!0;case W.TABLE:case W.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let i=this.stackTop;i>=0;i--)if(this.treeAdapter.getNamespaceURI(this.items[i])===jn.HTML)switch(this.tagIDs[i]){case W.TBODY:case W.THEAD:case W.TFOOT:return!0;case W.TABLE:case W.HTML:return!1}return!0}hasInSelectScope(i){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===jn.HTML)switch(this.tagIDs[a]){case i:return!0;case W.OPTION:case W.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&vJt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&KFt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(i){for(;this.currentTagId!==void 0&&this.currentTagId!==i&&KFt.has(this.currentTagId);)this.pop()}}const POe=3;var I2;(function(n){n[n.Marker=0]="Marker",n[n.Element=1]="Element"})(I2||(I2={}));const XFt={type:I2.Marker};class zir{constructor(i){this.treeAdapter=i,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(i,a){const c=[],d=a.length,g=this.treeAdapter.getTagName(i),b=this.treeAdapter.getNamespaceURI(i);for(let w=0;w<this.entries.length;w++){const E=this.entries[w];if(E.type===I2.Marker)break;const{element:S}=E;if(this.treeAdapter.getTagName(S)===g&&this.treeAdapter.getNamespaceURI(S)===b){const k=this.treeAdapter.getAttrList(S);k.length===d&&c.push({idx:w,attrs:k})}}return c}_ensureNoahArkCondition(i){if(this.entries.length<POe)return;const a=this.treeAdapter.getAttrList(i),c=this._getNoahArkConditionCandidates(i,a);if(c.length<POe)return;const d=new Map(a.map(b=>[b.name,b.value]));let g=0;for(let b=0;b<c.length;b++){const w=c[b];w.attrs.every(E=>d.get(E.name)===E.value)&&(g+=1,g>=POe&&this.entries.splice(w.idx,1))}}insertMarker(){this.entries.unshift(XFt)}pushElement(i,a){this._ensureNoahArkCondition(i),this.entries.unshift({type:I2.Element,element:i,token:a})}insertElementAfterBookmark(i,a){const c=this.entries.indexOf(this.bookmark);this.entries.splice(c,0,{type:I2.Element,element:i,token:a})}removeEntry(i){const a=this.entries.indexOf(i);a!==-1&&this.entries.splice(a,1)}clearToLastMarker(){const i=this.entries.indexOf(XFt);i===-1?this.entries.length=0:this.entries.splice(0,i+1)}getElementEntryInScopeWithTagName(i){const a=this.entries.find(c=>c.type===I2.Marker||this.treeAdapter.getTagName(c.element)===i);return a&&a.type===I2.Element?a:null}getElementEntry(i){return this.entries.find(a=>a.type===I2.Element&&a.element===i)}}const Lx={createDocument(){return{nodeName:"#document",mode:mw.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(n,i,a){return{nodeName:n,tagName:n,attrs:a,namespaceURI:i,childNodes:[],parentNode:null}},createCommentNode(n){return{nodeName:"#comment",data:n,parentNode:null}},createTextNode(n){return{nodeName:"#text",value:n,parentNode:null}},appendChild(n,i){n.childNodes.push(i),i.parentNode=n},insertBefore(n,i,a){const c=n.childNodes.indexOf(a);n.childNodes.splice(c,0,i),i.parentNode=n},setTemplateContent(n,i){n.content=i},getTemplateContent(n){return n.content},setDocumentType(n,i,a,c){const d=n.childNodes.find(g=>g.nodeName==="#documentType");if(d)d.name=i,d.publicId=a,d.systemId=c;else{const g={nodeName:"#documentType",name:i,publicId:a,systemId:c,parentNode:null};Lx.appendChild(n,g)}},setDocumentMode(n,i){n.mode=i},getDocumentMode(n){return n.mode},detachNode(n){if(n.parentNode){const i=n.parentNode.childNodes.indexOf(n);n.parentNode.childNodes.splice(i,1),n.parentNode=null}},insertText(n,i){if(n.childNodes.length>0){const a=n.childNodes[n.childNodes.length-1];if(Lx.isTextNode(a)){a.value+=i;return}}Lx.appendChild(n,Lx.createTextNode(i))},insertTextBefore(n,i,a){const c=n.childNodes[n.childNodes.indexOf(a)-1];c&&Lx.isTextNode(c)?c.value+=i:Lx.insertBefore(n,Lx.createTextNode(i),a)},adoptAttributes(n,i){const a=new Set(n.attrs.map(c=>c.name));for(let c=0;c<i.length;c++)a.has(i[c].name)||n.attrs.push(i[c])},getFirstChild(n){return n.childNodes[0]},getChildNodes(n){return n.childNodes},getParentNode(n){return n.parentNode},getAttrList(n){return n.attrs},getTagName(n){return n.tagName},getNamespaceURI(n){return n.namespaceURI},getTextNodeContent(n){return n.value},getCommentNodeContent(n){return n.data},getDocumentTypeNodeName(n){return n.name},getDocumentTypeNodePublicId(n){return n.publicId},getDocumentTypeNodeSystemId(n){return n.systemId},isTextNode(n){return n.nodeName==="#text"},isCommentNode(n){return n.nodeName==="#comment"},isDocumentTypeNode(n){return n.nodeName==="#documentType"},isElementNode(n){return Object.prototype.hasOwnProperty.call(n,"tagName")},setNodeSourceCodeLocation(n,i){n.sourceCodeLocation=i},getNodeSourceCodeLocation(n){return n.sourceCodeLocation},updateNodeSourceCodeLocation(n,i){n.sourceCodeLocation={...n.sourceCodeLocation,...i}}},EJt="html",Gir="about:legacy-compat",qir="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",SJt=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Vir=[...SJt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Wir=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),TJt=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Kir=[...TJt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ZFt(n,i){return i.some(a=>n.startsWith(a))}function Yir(n){return n.name===EJt&&n.publicId===null&&(n.systemId===null||n.systemId===Gir)}function Jir(n){if(n.name!==EJt)return mw.QUIRKS;const{systemId:i}=n;if(i&&i.toLowerCase()===qir)return mw.QUIRKS;let{publicId:a}=n;if(a!==null){if(a=a.toLowerCase(),Wir.has(a))return mw.QUIRKS;let c=i===null?Vir:SJt;if(ZFt(a,c))return mw.QUIRKS;if(c=i===null?TJt:Kir,ZFt(a,c))return mw.LIMITED_QUIRKS}return mw.NO_QUIRKS}const QFt={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Xir="definitionurl",Zir="definitionURL",Qir=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(n=>[n.toLowerCase(),n])),eor=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:jn.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:jn.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:jn.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:jn.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:jn.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:jn.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:jn.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:jn.XML}],["xml:space",{prefix:"xml",name:"space",namespace:jn.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:jn.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:jn.XMLNS}]]),tor=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(n=>[n.toLowerCase(),n])),nor=new Set([W.B,W.BIG,W.BLOCKQUOTE,W.BODY,W.BR,W.CENTER,W.CODE,W.DD,W.DIV,W.DL,W.DT,W.EM,W.EMBED,W.H1,W.H2,W.H3,W.H4,W.H5,W.H6,W.HEAD,W.HR,W.I,W.IMG,W.LI,W.LISTING,W.MENU,W.META,W.NOBR,W.OL,W.P,W.PRE,W.RUBY,W.S,W.SMALL,W.SPAN,W.STRONG,W.STRIKE,W.SUB,W.SUP,W.TABLE,W.TT,W.U,W.UL,W.VAR]);function ror(n){const i=n.tagID;return i===W.FONT&&n.attrs.some(({name:c})=>c===tR.COLOR||c===tR.SIZE||c===tR.FACE)||nor.has(i)}function AJt(n){for(let i=0;i<n.attrs.length;i++)if(n.attrs[i].name===Xir){n.attrs[i].name=Zir;break}}function _Jt(n){for(let i=0;i<n.attrs.length;i++){const a=Qir.get(n.attrs[i].name);a!=null&&(n.attrs[i].name=a)}}function W5e(n){for(let i=0;i<n.attrs.length;i++){const a=eor.get(n.attrs[i].name);a&&(n.attrs[i].prefix=a.prefix,n.attrs[i].name=a.name,n.attrs[i].namespace=a.namespace)}}function ior(n){const i=tor.get(n.tagName);i!=null&&(n.tagName=i,n.tagID=Wae(n.tagName))}function oor(n,i){return i===jn.MATHML&&(n===W.MI||n===W.MO||n===W.MN||n===W.MS||n===W.MTEXT)}function sor(n,i,a){if(i===jn.MATHML&&n===W.ANNOTATION_XML){for(let c=0;c<a.length;c++)if(a[c].name===tR.ENCODING){const d=a[c].value.toLowerCase();return d===QFt.TEXT_HTML||d===QFt.APPLICATION_XML}}return i===jn.SVG&&(n===W.FOREIGN_OBJECT||n===W.DESC||n===W.TITLE)}function aor(n,i,a,c){return(!c||c===jn.HTML)&&sor(n,i,a)||(!c||c===jn.MATHML)&&oor(n,i)}const uor="hidden",cor=8,lor=3;var ut;(function(n){n[n.INITIAL=0]="INITIAL",n[n.BEFORE_HTML=1]="BEFORE_HTML",n[n.BEFORE_HEAD=2]="BEFORE_HEAD",n[n.IN_HEAD=3]="IN_HEAD",n[n.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",n[n.AFTER_HEAD=5]="AFTER_HEAD",n[n.IN_BODY=6]="IN_BODY",n[n.TEXT=7]="TEXT",n[n.IN_TABLE=8]="IN_TABLE",n[n.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",n[n.IN_CAPTION=10]="IN_CAPTION",n[n.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",n[n.IN_TABLE_BODY=12]="IN_TABLE_BODY",n[n.IN_ROW=13]="IN_ROW",n[n.IN_CELL=14]="IN_CELL",n[n.IN_SELECT=15]="IN_SELECT",n[n.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",n[n.IN_TEMPLATE=17]="IN_TEMPLATE",n[n.AFTER_BODY=18]="AFTER_BODY",n[n.IN_FRAMESET=19]="IN_FRAMESET",n[n.AFTER_FRAMESET=20]="AFTER_FRAMESET",n[n.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",n[n.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(ut||(ut={}));const dor={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},kJt=new Set([W.TABLE,W.TBODY,W.TFOOT,W.THEAD,W.TR]),e$t={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Lx,onParseError:null};class xJt{constructor(i,a,c=null,d=null){this.fragmentContext=c,this.scriptHandler=d,this.currentToken=null,this.stopped=!1,this.insertionMode=ut.INITIAL,this.originalInsertionMode=ut.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...e$t,...i},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=a??this.treeAdapter.createDocument(),this.tokenizer=new Mir(this.options,this),this.activeFormattingElements=new zir(this.treeAdapter),this.fragmentContextID=c?Wae(this.treeAdapter.getTagName(c)):W.UNKNOWN,this._setContextModes(c??this.document,this.fragmentContextID),this.openElements=new Hir(this.document,this.treeAdapter,this)}static parse(i,a){const c=new this(a);return c.tokenizer.write(i,!0),c.document}static getFragmentParser(i,a){const c={...e$t,...a};i??(i=c.treeAdapter.createElement(Pt.TEMPLATE,jn.HTML,[]));const d=c.treeAdapter.createElement("documentmock",jn.HTML,[]),g=new this(c,d,i);return g.fragmentContextID===W.TEMPLATE&&g.tmplInsertionModeStack.unshift(ut.IN_TEMPLATE),g._initTokenizerForFragmentParsing(),g._insertFakeRootElement(),g._resetInsertionMode(),g._findFormInFragmentContext(),g}getFragment(){const i=this.treeAdapter.getFirstChild(this.document),a=this.treeAdapter.createDocumentFragment();return this._adoptNodes(i,a),a}_err(i,a,c){var d;if(!this.onParseError)return;const g=(d=i.location)!==null&&d!==void 0?d:dor,b={code:a,startLine:g.startLine,startCol:g.startCol,startOffset:g.startOffset,endLine:c?g.startLine:g.endLine,endCol:c?g.startCol:g.endCol,endOffset:c?g.startOffset:g.endOffset};this.onParseError(b)}onItemPush(i,a,c){var d,g;(g=(d=this.treeAdapter).onItemPush)===null||g===void 0||g.call(d,i),c&&this.openElements.stackTop>0&&this._setContextModes(i,a)}onItemPop(i,a){var c,d;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(i,this.currentToken),(d=(c=this.treeAdapter).onItemPop)===null||d===void 0||d.call(c,i,this.openElements.current),a){let g,b;this.openElements.stackTop===0&&this.fragmentContext?(g=this.fragmentContext,b=this.fragmentContextID):{current:g,currentTagId:b}=this.openElements,this._setContextModes(g,b)}}_setContextModes(i,a){const c=i===this.document||i&&this.treeAdapter.getNamespaceURI(i)===jn.HTML;this.currentNotInHTML=!c,this.tokenizer.inForeignNode=!c&&i!==void 0&&a!==void 0&&!this._isIntegrationPoint(a,i)}_switchToTextParsing(i,a){this._insertElement(i,jn.HTML),this.tokenizer.state=a,this.originalInsertionMode=this.insertionMode,this.insertionMode=ut.TEXT}switchToPlaintextParsing(){this.insertionMode=ut.TEXT,this.originalInsertionMode=ut.IN_BODY,this.tokenizer.state=ob.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let i=this.fragmentContext;for(;i;){if(this.treeAdapter.getTagName(i)===Pt.FORM){this.formElement=i;break}i=this.treeAdapter.getParentNode(i)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==jn.HTML))switch(this.fragmentContextID){case W.TITLE:case W.TEXTAREA:{this.tokenizer.state=ob.RCDATA;break}case W.STYLE:case W.XMP:case W.IFRAME:case W.NOEMBED:case W.NOFRAMES:case W.NOSCRIPT:{this.tokenizer.state=ob.RAWTEXT;break}case W.SCRIPT:{this.tokenizer.state=ob.SCRIPT_DATA;break}case W.PLAINTEXT:{this.tokenizer.state=ob.PLAINTEXT;break}}}_setDocumentType(i){const a=i.name||"",c=i.publicId||"",d=i.systemId||"";if(this.treeAdapter.setDocumentType(this.document,a,c,d),i.location){const b=this.treeAdapter.getChildNodes(this.document).find(w=>this.treeAdapter.isDocumentTypeNode(w));b&&this.treeAdapter.setNodeSourceCodeLocation(b,i.location)}}_attachElementToTree(i,a){if(this.options.sourceCodeLocationInfo){const c=a&&{...a,startTag:a};this.treeAdapter.setNodeSourceCodeLocation(i,c)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(i);else{const c=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(c??this.document,i)}}_appendElement(i,a){const c=this.treeAdapter.createElement(i.tagName,a,i.attrs);this._attachElementToTree(c,i.location)}_insertElement(i,a){const c=this.treeAdapter.createElement(i.tagName,a,i.attrs);this._attachElementToTree(c,i.location),this.openElements.push(c,i.tagID)}_insertFakeElement(i,a){const c=this.treeAdapter.createElement(i,jn.HTML,[]);this._attachElementToTree(c,null),this.openElements.push(c,a)}_insertTemplate(i){const a=this.treeAdapter.createElement(i.tagName,jn.HTML,i.attrs),c=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(a,c),this._attachElementToTree(a,i.location),this.openElements.push(a,i.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,null)}_insertFakeRootElement(){const i=this.treeAdapter.createElement(Pt.HTML,jn.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,null),this.treeAdapter.appendChild(this.openElements.current,i),this.openElements.push(i,W.HTML)}_appendCommentNode(i,a){const c=this.treeAdapter.createCommentNode(i.data);this.treeAdapter.appendChild(a,c),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,i.location)}_insertCharacters(i){let a,c;if(this._shouldFosterParentOnInsertion()?({parent:a,beforeElement:c}=this._findFosterParentingLocation(),c?this.treeAdapter.insertTextBefore(a,i.chars,c):this.treeAdapter.insertText(a,i.chars)):(a=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(a,i.chars)),!i.location)return;const d=this.treeAdapter.getChildNodes(a),g=c?d.lastIndexOf(c):d.length,b=d[g-1];if(this.treeAdapter.getNodeSourceCodeLocation(b)){const{endLine:E,endCol:S,endOffset:k}=i.location;this.treeAdapter.updateNodeSourceCodeLocation(b,{endLine:E,endCol:S,endOffset:k})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(b,i.location)}_adoptNodes(i,a){for(let c=this.treeAdapter.getFirstChild(i);c;c=this.treeAdapter.getFirstChild(i))this.treeAdapter.detachNode(c),this.treeAdapter.appendChild(a,c)}_setEndLocation(i,a){if(this.treeAdapter.getNodeSourceCodeLocation(i)&&a.location){const c=a.location,d=this.treeAdapter.getTagName(i),g=a.type===ha.END_TAG&&d===a.tagName?{endTag:{...c},endLine:c.endLine,endCol:c.endCol,endOffset:c.endOffset}:{endLine:c.startLine,endCol:c.startCol,endOffset:c.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(i,g)}}shouldProcessStartTagTokenInForeignContent(i){if(!this.currentNotInHTML)return!1;let a,c;return this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,c=this.fragmentContextID):{current:a,currentTagId:c}=this.openElements,i.tagID===W.SVG&&this.treeAdapter.getTagName(a)===Pt.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(a)===jn.MATHML?!1:this.tokenizer.inForeignNode||(i.tagID===W.MGLYPH||i.tagID===W.MALIGNMARK)&&c!==void 0&&!this._isIntegrationPoint(c,a,jn.HTML)}_processToken(i){switch(i.type){case ha.CHARACTER:{this.onCharacter(i);break}case ha.NULL_CHARACTER:{this.onNullCharacter(i);break}case ha.COMMENT:{this.onComment(i);break}case ha.DOCTYPE:{this.onDoctype(i);break}case ha.START_TAG:{this._processStartTag(i);break}case ha.END_TAG:{this.onEndTag(i);break}case ha.EOF:{this.onEof(i);break}case ha.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(i);break}}}_isIntegrationPoint(i,a,c){const d=this.treeAdapter.getNamespaceURI(a),g=this.treeAdapter.getAttrList(a);return aor(i,d,g,c)}_reconstructActiveFormattingElements(){const i=this.activeFormattingElements.entries.length;if(i){const a=this.activeFormattingElements.entries.findIndex(d=>d.type===I2.Marker||this.openElements.contains(d.element)),c=a===-1?i-1:a-1;for(let d=c;d>=0;d--){const g=this.activeFormattingElements.entries[d];this._insertElement(g.token,this.treeAdapter.getNamespaceURI(g.element)),g.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=ut.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(W.P),this.openElements.popUntilTagNamePopped(W.P)}_resetInsertionMode(){for(let i=this.openElements.stackTop;i>=0;i--)switch(i===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[i]){case W.TR:{this.insertionMode=ut.IN_ROW;return}case W.TBODY:case W.THEAD:case W.TFOOT:{this.insertionMode=ut.IN_TABLE_BODY;return}case W.CAPTION:{this.insertionMode=ut.IN_CAPTION;return}case W.COLGROUP:{this.insertionMode=ut.IN_COLUMN_GROUP;return}case W.TABLE:{this.insertionMode=ut.IN_TABLE;return}case W.BODY:{this.insertionMode=ut.IN_BODY;return}case W.FRAMESET:{this.insertionMode=ut.IN_FRAMESET;return}case W.SELECT:{this._resetInsertionModeForSelect(i);return}case W.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case W.HTML:{this.insertionMode=this.headElement?ut.AFTER_HEAD:ut.BEFORE_HEAD;return}case W.TD:case W.TH:{if(i>0){this.insertionMode=ut.IN_CELL;return}break}case W.HEAD:{if(i>0){this.insertionMode=ut.IN_HEAD;return}break}}this.insertionMode=ut.IN_BODY}_resetInsertionModeForSelect(i){if(i>0)for(let a=i-1;a>0;a--){const c=this.openElements.tagIDs[a];if(c===W.TEMPLATE)break;if(c===W.TABLE){this.insertionMode=ut.IN_SELECT_IN_TABLE;return}}this.insertionMode=ut.IN_SELECT}_isElementCausesFosterParenting(i){return kJt.has(i)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let i=this.openElements.stackTop;i>=0;i--){const a=this.openElements.items[i];switch(this.openElements.tagIDs[i]){case W.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(a)===jn.HTML)return{parent:this.treeAdapter.getTemplateContent(a),beforeElement:null};break}case W.TABLE:{const c=this.treeAdapter.getParentNode(a);return c?{parent:c,beforeElement:a}:{parent:this.openElements.items[i-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(i){const a=this._findFosterParentingLocation();a.beforeElement?this.treeAdapter.insertBefore(a.parent,i,a.beforeElement):this.treeAdapter.appendChild(a.parent,i)}_isSpecialElement(i,a){const c=this.treeAdapter.getNamespaceURI(i);return Rir[c].has(a)}onCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Hsr(this,i);return}switch(this.insertionMode){case ut.INITIAL:{HU(this,i);break}case ut.BEFORE_HTML:{wH(this,i);break}case ut.BEFORE_HEAD:{yH(this,i);break}case ut.IN_HEAD:{vH(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{EH(this,i);break}case ut.AFTER_HEAD:{SH(this,i);break}case ut.IN_BODY:case ut.IN_CAPTION:case ut.IN_CELL:case ut.IN_TEMPLATE:{CJt(this,i);break}case ut.TEXT:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:{this._insertCharacters(i);break}case ut.IN_TABLE:case ut.IN_TABLE_BODY:case ut.IN_ROW:{jOe(this,i);break}case ut.IN_TABLE_TEXT:{MJt(this,i);break}case ut.IN_COLUMN_GROUP:{vse(this,i);break}case ut.AFTER_BODY:{Ese(this,i);break}case ut.AFTER_AFTER_BODY:{roe(this,i);break}}}onNullCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Usr(this,i);return}switch(this.insertionMode){case ut.INITIAL:{HU(this,i);break}case ut.BEFORE_HTML:{wH(this,i);break}case ut.BEFORE_HEAD:{yH(this,i);break}case ut.IN_HEAD:{vH(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{EH(this,i);break}case ut.AFTER_HEAD:{SH(this,i);break}case ut.TEXT:{this._insertCharacters(i);break}case ut.IN_TABLE:case ut.IN_TABLE_BODY:case ut.IN_ROW:{jOe(this,i);break}case ut.IN_COLUMN_GROUP:{vse(this,i);break}case ut.AFTER_BODY:{Ese(this,i);break}case ut.AFTER_AFTER_BODY:{roe(this,i);break}}}onComment(i){if(this.skipNextNewLine=!1,this.currentNotInHTML){JDe(this,i);return}switch(this.insertionMode){case ut.INITIAL:case ut.BEFORE_HTML:case ut.BEFORE_HEAD:case ut.IN_HEAD:case ut.IN_HEAD_NO_SCRIPT:case ut.AFTER_HEAD:case ut.IN_BODY:case ut.IN_TABLE:case ut.IN_CAPTION:case ut.IN_COLUMN_GROUP:case ut.IN_TABLE_BODY:case ut.IN_ROW:case ut.IN_CELL:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:case ut.IN_TEMPLATE:case ut.IN_FRAMESET:case ut.AFTER_FRAMESET:{JDe(this,i);break}case ut.IN_TABLE_TEXT:{zU(this,i);break}case ut.AFTER_BODY:{yor(this,i);break}case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{vor(this,i);break}}}onDoctype(i){switch(this.skipNextNewLine=!1,this.insertionMode){case ut.INITIAL:{Eor(this,i);break}case ut.BEFORE_HEAD:case ut.IN_HEAD:case ut.IN_HEAD_NO_SCRIPT:case ut.AFTER_HEAD:{this._err(i,sn.misplacedDoctype);break}case ut.IN_TABLE_TEXT:{zU(this,i);break}}}onStartTag(i){this.skipNextNewLine=!1,this.currentToken=i,this._processStartTag(i),i.selfClosing&&!i.ackSelfClosing&&this._err(i,sn.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(i){this.shouldProcessStartTagTokenInForeignContent(i)?zsr(this,i):this._startTagOutsideForeignContent(i)}_startTagOutsideForeignContent(i){switch(this.insertionMode){case ut.INITIAL:{HU(this,i);break}case ut.BEFORE_HTML:{Sor(this,i);break}case ut.BEFORE_HEAD:{Aor(this,i);break}case ut.IN_HEAD:{Hv(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{xor(this,i);break}case ut.AFTER_HEAD:{Cor(this,i);break}case ut.IN_BODY:{qp(this,i);break}case ut.IN_TABLE:{I5(this,i);break}case ut.IN_TABLE_TEXT:{zU(this,i);break}case ut.IN_CAPTION:{_sr(this,i);break}case ut.IN_COLUMN_GROUP:{J5e(this,i);break}case ut.IN_TABLE_BODY:{Jae(this,i);break}case ut.IN_ROW:{Xae(this,i);break}case ut.IN_CELL:{Nsr(this,i);break}case ut.IN_SELECT:{FJt(this,i);break}case ut.IN_SELECT_IN_TABLE:{Isr(this,i);break}case ut.IN_TEMPLATE:{Osr(this,i);break}case ut.AFTER_BODY:{Lsr(this,i);break}case ut.IN_FRAMESET:{Msr(this,i);break}case ut.AFTER_FRAMESET:{jsr(this,i);break}case ut.AFTER_AFTER_BODY:{$sr(this,i);break}case ut.AFTER_AFTER_FRAMESET:{Bsr(this,i);break}}}onEndTag(i){this.skipNextNewLine=!1,this.currentToken=i,this.currentNotInHTML?Gsr(this,i):this._endTagOutsideForeignContent(i)}_endTagOutsideForeignContent(i){switch(this.insertionMode){case ut.INITIAL:{HU(this,i);break}case ut.BEFORE_HTML:{Tor(this,i);break}case ut.BEFORE_HEAD:{_or(this,i);break}case ut.IN_HEAD:{kor(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{Nor(this,i);break}case ut.AFTER_HEAD:{Ior(this,i);break}case ut.IN_BODY:{Yae(this,i);break}case ut.TEXT:{gsr(this,i);break}case ut.IN_TABLE:{cz(this,i);break}case ut.IN_TABLE_TEXT:{zU(this,i);break}case ut.IN_CAPTION:{ksr(this,i);break}case ut.IN_COLUMN_GROUP:{xsr(this,i);break}case ut.IN_TABLE_BODY:{XDe(this,i);break}case ut.IN_ROW:{jJt(this,i);break}case ut.IN_CELL:{Csr(this,i);break}case ut.IN_SELECT:{$Jt(this,i);break}case ut.IN_SELECT_IN_TABLE:{Rsr(this,i);break}case ut.IN_TEMPLATE:{Dsr(this,i);break}case ut.AFTER_BODY:{UJt(this,i);break}case ut.IN_FRAMESET:{Psr(this,i);break}case ut.AFTER_FRAMESET:{Fsr(this,i);break}case ut.AFTER_AFTER_BODY:{roe(this,i);break}}}onEof(i){switch(this.insertionMode){case ut.INITIAL:{HU(this,i);break}case ut.BEFORE_HTML:{wH(this,i);break}case ut.BEFORE_HEAD:{yH(this,i);break}case ut.IN_HEAD:{vH(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{EH(this,i);break}case ut.AFTER_HEAD:{SH(this,i);break}case ut.IN_BODY:case ut.IN_TABLE:case ut.IN_CAPTION:case ut.IN_COLUMN_GROUP:case ut.IN_TABLE_BODY:case ut.IN_ROW:case ut.IN_CELL:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:{DJt(this,i);break}case ut.TEXT:{bsr(this,i);break}case ut.IN_TABLE_TEXT:{zU(this,i);break}case ut.IN_TEMPLATE:{BJt(this,i);break}case ut.AFTER_BODY:case ut.IN_FRAMESET:case ut.AFTER_FRAMESET:case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{Y5e(this,i);break}}}onWhitespaceCharacter(i){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,i.chars.charCodeAt(0)===Fe.LINE_FEED)){if(i.chars.length===1)return;i.chars=i.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(i);return}switch(this.insertionMode){case ut.IN_HEAD:case ut.IN_HEAD_NO_SCRIPT:case ut.AFTER_HEAD:case ut.TEXT:case ut.IN_COLUMN_GROUP:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:case ut.IN_FRAMESET:case ut.AFTER_FRAMESET:{this._insertCharacters(i);break}case ut.IN_BODY:case ut.IN_CAPTION:case ut.IN_CELL:case ut.IN_TEMPLATE:case ut.AFTER_BODY:case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{NJt(this,i);break}case ut.IN_TABLE:case ut.IN_TABLE_BODY:case ut.IN_ROW:{jOe(this,i);break}case ut.IN_TABLE_TEXT:{LJt(this,i);break}}}}function hor(n,i){let a=n.activeFormattingElements.getElementEntryInScopeWithTagName(i.tagName);return a?n.openElements.contains(a.element)?n.openElements.hasInScope(i.tagID)||(a=null):(n.activeFormattingElements.removeEntry(a),a=null):OJt(n,i),a}function por(n,i){let a=null,c=n.openElements.stackTop;for(;c>=0;c--){const d=n.openElements.items[c];if(d===i.element)break;n._isSpecialElement(d,n.openElements.tagIDs[c])&&(a=d)}return a||(n.openElements.shortenToLength(Math.max(c,0)),n.activeFormattingElements.removeEntry(i)),a}function gor(n,i,a){let c=i,d=n.openElements.getCommonAncestor(i);for(let g=0,b=d;b!==a;g++,b=d){d=n.openElements.getCommonAncestor(b);const w=n.activeFormattingElements.getElementEntry(b),E=w&&g>=lor;!w||E?(E&&n.activeFormattingElements.removeEntry(w),n.openElements.remove(b)):(b=bor(n,w),c===i&&(n.activeFormattingElements.bookmark=w),n.treeAdapter.detachNode(c),n.treeAdapter.appendChild(b,c),c=b)}return c}function bor(n,i){const a=n.treeAdapter.getNamespaceURI(i.element),c=n.treeAdapter.createElement(i.token.tagName,a,i.token.attrs);return n.openElements.replace(i.element,c),i.element=c,c}function mor(n,i,a){const c=n.treeAdapter.getTagName(i),d=Wae(c);if(n._isElementCausesFosterParenting(d))n._fosterParentElement(a);else{const g=n.treeAdapter.getNamespaceURI(i);d===W.TEMPLATE&&g===jn.HTML&&(i=n.treeAdapter.getTemplateContent(i)),n.treeAdapter.appendChild(i,a)}}function wor(n,i,a){const c=n.treeAdapter.getNamespaceURI(a.element),{token:d}=a,g=n.treeAdapter.createElement(d.tagName,c,d.attrs);n._adoptNodes(i,g),n.treeAdapter.appendChild(i,g),n.activeFormattingElements.insertElementAfterBookmark(g,d),n.activeFormattingElements.removeEntry(a),n.openElements.remove(a.element),n.openElements.insertAfter(i,g,d.tagID)}function K5e(n,i){for(let a=0;a<cor;a++){const c=hor(n,i);if(!c)break;const d=por(n,c);if(!d)break;n.activeFormattingElements.bookmark=c;const g=gor(n,d,c.element),b=n.openElements.getCommonAncestor(c.element);n.treeAdapter.detachNode(g),b&&mor(n,b,g),wor(n,d,c)}}function JDe(n,i){n._appendCommentNode(i,n.openElements.currentTmplContentOrNode)}function yor(n,i){n._appendCommentNode(i,n.openElements.items[0])}function vor(n,i){n._appendCommentNode(i,n.document)}function Y5e(n,i){if(n.stopped=!0,i.location){const a=n.fragmentContext?0:2;for(let c=n.openElements.stackTop;c>=a;c--)n._setEndLocation(n.openElements.items[c],i);if(!n.fragmentContext&&n.openElements.stackTop>=0){const c=n.openElements.items[0],d=n.treeAdapter.getNodeSourceCodeLocation(c);if(d&&!d.endTag&&(n._setEndLocation(c,i),n.openElements.stackTop>=1)){const g=n.openElements.items[1],b=n.treeAdapter.getNodeSourceCodeLocation(g);b&&!b.endTag&&n._setEndLocation(g,i)}}}}function Eor(n,i){n._setDocumentType(i);const a=i.forceQuirks?mw.QUIRKS:Jir(i);Yir(i)||n._err(i,sn.nonConformingDoctype),n.treeAdapter.setDocumentMode(n.document,a),n.insertionMode=ut.BEFORE_HTML}function HU(n,i){n._err(i,sn.missingDoctype,!0),n.treeAdapter.setDocumentMode(n.document,mw.QUIRKS),n.insertionMode=ut.BEFORE_HTML,n._processToken(i)}function Sor(n,i){i.tagID===W.HTML?(n._insertElement(i,jn.HTML),n.insertionMode=ut.BEFORE_HEAD):wH(n,i)}function Tor(n,i){const a=i.tagID;(a===W.HTML||a===W.HEAD||a===W.BODY||a===W.BR)&&wH(n,i)}function wH(n,i){n._insertFakeRootElement(),n.insertionMode=ut.BEFORE_HEAD,n._processToken(i)}function Aor(n,i){switch(i.tagID){case W.HTML:{qp(n,i);break}case W.HEAD:{n._insertElement(i,jn.HTML),n.headElement=n.openElements.current,n.insertionMode=ut.IN_HEAD;break}default:yH(n,i)}}function _or(n,i){const a=i.tagID;a===W.HEAD||a===W.BODY||a===W.HTML||a===W.BR?yH(n,i):n._err(i,sn.endTagWithoutMatchingOpenElement)}function yH(n,i){n._insertFakeElement(Pt.HEAD,W.HEAD),n.headElement=n.openElements.current,n.insertionMode=ut.IN_HEAD,n._processToken(i)}function Hv(n,i){switch(i.tagID){case W.HTML:{qp(n,i);break}case W.BASE:case W.BASEFONT:case W.BGSOUND:case W.LINK:case W.META:{n._appendElement(i,jn.HTML),i.ackSelfClosing=!0;break}case W.TITLE:{n._switchToTextParsing(i,ob.RCDATA);break}case W.NOSCRIPT:{n.options.scriptingEnabled?n._switchToTextParsing(i,ob.RAWTEXT):(n._insertElement(i,jn.HTML),n.insertionMode=ut.IN_HEAD_NO_SCRIPT);break}case W.NOFRAMES:case W.STYLE:{n._switchToTextParsing(i,ob.RAWTEXT);break}case W.SCRIPT:{n._switchToTextParsing(i,ob.SCRIPT_DATA);break}case W.TEMPLATE:{n._insertTemplate(i),n.activeFormattingElements.insertMarker(),n.framesetOk=!1,n.insertionMode=ut.IN_TEMPLATE,n.tmplInsertionModeStack.unshift(ut.IN_TEMPLATE);break}case W.HEAD:{n._err(i,sn.misplacedStartTagForHeadElement);break}default:vH(n,i)}}function kor(n,i){switch(i.tagID){case W.HEAD:{n.openElements.pop(),n.insertionMode=ut.AFTER_HEAD;break}case W.BODY:case W.BR:case W.HTML:{vH(n,i);break}case W.TEMPLATE:{MR(n,i);break}default:n._err(i,sn.endTagWithoutMatchingOpenElement)}}function MR(n,i){n.openElements.tmplCount>0?(n.openElements.generateImpliedEndTagsThoroughly(),n.openElements.currentTagId!==W.TEMPLATE&&n._err(i,sn.closingOfElementWithOpenChildElements),n.openElements.popUntilTagNamePopped(W.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode()):n._err(i,sn.endTagWithoutMatchingOpenElement)}function vH(n,i){n.openElements.pop(),n.insertionMode=ut.AFTER_HEAD,n._processToken(i)}function xor(n,i){switch(i.tagID){case W.HTML:{qp(n,i);break}case W.BASEFONT:case W.BGSOUND:case W.HEAD:case W.LINK:case W.META:case W.NOFRAMES:case W.STYLE:{Hv(n,i);break}case W.NOSCRIPT:{n._err(i,sn.nestedNoscriptInHead);break}default:EH(n,i)}}function Nor(n,i){switch(i.tagID){case W.NOSCRIPT:{n.openElements.pop(),n.insertionMode=ut.IN_HEAD;break}case W.BR:{EH(n,i);break}default:n._err(i,sn.endTagWithoutMatchingOpenElement)}}function EH(n,i){const a=i.type===ha.EOF?sn.openElementsLeftAfterEof:sn.disallowedContentInNoscriptInHead;n._err(i,a),n.openElements.pop(),n.insertionMode=ut.IN_HEAD,n._processToken(i)}function Cor(n,i){switch(i.tagID){case W.HTML:{qp(n,i);break}case W.BODY:{n._insertElement(i,jn.HTML),n.framesetOk=!1,n.insertionMode=ut.IN_BODY;break}case W.FRAMESET:{n._insertElement(i,jn.HTML),n.insertionMode=ut.IN_FRAMESET;break}case W.BASE:case W.BASEFONT:case W.BGSOUND:case W.LINK:case W.META:case W.NOFRAMES:case W.SCRIPT:case W.STYLE:case W.TEMPLATE:case W.TITLE:{n._err(i,sn.abandonedHeadElementChild),n.openElements.push(n.headElement,W.HEAD),Hv(n,i),n.openElements.remove(n.headElement);break}case W.HEAD:{n._err(i,sn.misplacedStartTagForHeadElement);break}default:SH(n,i)}}function Ior(n,i){switch(i.tagID){case W.BODY:case W.HTML:case W.BR:{SH(n,i);break}case W.TEMPLATE:{MR(n,i);break}default:n._err(i,sn.endTagWithoutMatchingOpenElement)}}function SH(n,i){n._insertFakeElement(Pt.BODY,W.BODY),n.insertionMode=ut.IN_BODY,Kae(n,i)}function Kae(n,i){switch(i.type){case ha.CHARACTER:{CJt(n,i);break}case ha.WHITESPACE_CHARACTER:{NJt(n,i);break}case ha.COMMENT:{JDe(n,i);break}case ha.START_TAG:{qp(n,i);break}case ha.END_TAG:{Yae(n,i);break}case ha.EOF:{DJt(n,i);break}}}function NJt(n,i){n._reconstructActiveFormattingElements(),n._insertCharacters(i)}function CJt(n,i){n._reconstructActiveFormattingElements(),n._insertCharacters(i),n.framesetOk=!1}function Ror(n,i){n.openElements.tmplCount===0&&n.treeAdapter.adoptAttributes(n.openElements.items[0],i.attrs)}function Oor(n,i){const a=n.openElements.tryPeekProperlyNestedBodyElement();a&&n.openElements.tmplCount===0&&(n.framesetOk=!1,n.treeAdapter.adoptAttributes(a,i.attrs))}function Dor(n,i){const a=n.openElements.tryPeekProperlyNestedBodyElement();n.framesetOk&&a&&(n.treeAdapter.detachNode(a),n.openElements.popAllUpToHtmlElement(),n._insertElement(i,jn.HTML),n.insertionMode=ut.IN_FRAMESET)}function Lor(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,jn.HTML)}function Mor(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n.openElements.currentTagId!==void 0&&YDe.has(n.openElements.currentTagId)&&n.openElements.pop(),n._insertElement(i,jn.HTML)}function Por(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,jn.HTML),n.skipNextNewLine=!0,n.framesetOk=!1}function jor(n,i){const a=n.openElements.tmplCount>0;(!n.formElement||a)&&(n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,jn.HTML),a||(n.formElement=n.openElements.current))}function For(n,i){n.framesetOk=!1;const a=i.tagID;for(let c=n.openElements.stackTop;c>=0;c--){const d=n.openElements.tagIDs[c];if(a===W.LI&&d===W.LI||(a===W.DD||a===W.DT)&&(d===W.DD||d===W.DT)){n.openElements.generateImpliedEndTagsWithExclusion(d),n.openElements.popUntilTagNamePopped(d);break}if(d!==W.ADDRESS&&d!==W.DIV&&d!==W.P&&n._isSpecialElement(n.openElements.items[c],d))break}n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,jn.HTML)}function $or(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,jn.HTML),n.tokenizer.state=ob.PLAINTEXT}function Bor(n,i){n.openElements.hasInScope(W.BUTTON)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(W.BUTTON)),n._reconstructActiveFormattingElements(),n._insertElement(i,jn.HTML),n.framesetOk=!1}function Uor(n,i){const a=n.activeFormattingElements.getElementEntryInScopeWithTagName(Pt.A);a&&(K5e(n,i),n.openElements.remove(a.element),n.activeFormattingElements.removeEntry(a)),n._reconstructActiveFormattingElements(),n._insertElement(i,jn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function Hor(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,jn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function zor(n,i){n._reconstructActiveFormattingElements(),n.openElements.hasInScope(W.NOBR)&&(K5e(n,i),n._reconstructActiveFormattingElements()),n._insertElement(i,jn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function Gor(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,jn.HTML),n.activeFormattingElements.insertMarker(),n.framesetOk=!1}function qor(n,i){n.treeAdapter.getDocumentMode(n.document)!==mw.QUIRKS&&n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,jn.HTML),n.framesetOk=!1,n.insertionMode=ut.IN_TABLE}function IJt(n,i){n._reconstructActiveFormattingElements(),n._appendElement(i,jn.HTML),n.framesetOk=!1,i.ackSelfClosing=!0}function RJt(n){const i=wJt(n,tR.TYPE);return i!=null&&i.toLowerCase()===uor}function Vor(n,i){n._reconstructActiveFormattingElements(),n._appendElement(i,jn.HTML),RJt(i)||(n.framesetOk=!1),i.ackSelfClosing=!0}function Wor(n,i){n._appendElement(i,jn.HTML),i.ackSelfClosing=!0}function Kor(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._appendElement(i,jn.HTML),n.framesetOk=!1,i.ackSelfClosing=!0}function Yor(n,i){i.tagName=Pt.IMG,i.tagID=W.IMG,IJt(n,i)}function Jor(n,i){n._insertElement(i,jn.HTML),n.skipNextNewLine=!0,n.tokenizer.state=ob.RCDATA,n.originalInsertionMode=n.insertionMode,n.framesetOk=!1,n.insertionMode=ut.TEXT}function Xor(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._reconstructActiveFormattingElements(),n.framesetOk=!1,n._switchToTextParsing(i,ob.RAWTEXT)}function Zor(n,i){n.framesetOk=!1,n._switchToTextParsing(i,ob.RAWTEXT)}function t$t(n,i){n._switchToTextParsing(i,ob.RAWTEXT)}function Qor(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,jn.HTML),n.framesetOk=!1,n.insertionMode=n.insertionMode===ut.IN_TABLE||n.insertionMode===ut.IN_CAPTION||n.insertionMode===ut.IN_TABLE_BODY||n.insertionMode===ut.IN_ROW||n.insertionMode===ut.IN_CELL?ut.IN_SELECT_IN_TABLE:ut.IN_SELECT}function esr(n,i){n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n._reconstructActiveFormattingElements(),n._insertElement(i,jn.HTML)}function tsr(n,i){n.openElements.hasInScope(W.RUBY)&&n.openElements.generateImpliedEndTags(),n._insertElement(i,jn.HTML)}function nsr(n,i){n.openElements.hasInScope(W.RUBY)&&n.openElements.generateImpliedEndTagsWithExclusion(W.RTC),n._insertElement(i,jn.HTML)}function rsr(n,i){n._reconstructActiveFormattingElements(),AJt(i),W5e(i),i.selfClosing?n._appendElement(i,jn.MATHML):n._insertElement(i,jn.MATHML),i.ackSelfClosing=!0}function isr(n,i){n._reconstructActiveFormattingElements(),_Jt(i),W5e(i),i.selfClosing?n._appendElement(i,jn.SVG):n._insertElement(i,jn.SVG),i.ackSelfClosing=!0}function n$t(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,jn.HTML)}function qp(n,i){switch(i.tagID){case W.I:case W.S:case W.B:case W.U:case W.EM:case W.TT:case W.BIG:case W.CODE:case W.FONT:case W.SMALL:case W.STRIKE:case W.STRONG:{Hor(n,i);break}case W.A:{Uor(n,i);break}case W.H1:case W.H2:case W.H3:case W.H4:case W.H5:case W.H6:{Mor(n,i);break}case W.P:case W.DL:case W.OL:case W.UL:case W.DIV:case W.DIR:case W.NAV:case W.MAIN:case W.MENU:case W.ASIDE:case W.CENTER:case W.FIGURE:case W.FOOTER:case W.HEADER:case W.HGROUP:case W.DIALOG:case W.DETAILS:case W.ADDRESS:case W.ARTICLE:case W.SEARCH:case W.SECTION:case W.SUMMARY:case W.FIELDSET:case W.BLOCKQUOTE:case W.FIGCAPTION:{Lor(n,i);break}case W.LI:case W.DD:case W.DT:{For(n,i);break}case W.BR:case W.IMG:case W.WBR:case W.AREA:case W.EMBED:case W.KEYGEN:{IJt(n,i);break}case W.HR:{Kor(n,i);break}case W.RB:case W.RTC:{tsr(n,i);break}case W.RT:case W.RP:{nsr(n,i);break}case W.PRE:case W.LISTING:{Por(n,i);break}case W.XMP:{Xor(n,i);break}case W.SVG:{isr(n,i);break}case W.HTML:{Ror(n,i);break}case W.BASE:case W.LINK:case W.META:case W.STYLE:case W.TITLE:case W.SCRIPT:case W.BGSOUND:case W.BASEFONT:case W.TEMPLATE:{Hv(n,i);break}case W.BODY:{Oor(n,i);break}case W.FORM:{jor(n,i);break}case W.NOBR:{zor(n,i);break}case W.MATH:{rsr(n,i);break}case W.TABLE:{qor(n,i);break}case W.INPUT:{Vor(n,i);break}case W.PARAM:case W.TRACK:case W.SOURCE:{Wor(n,i);break}case W.IMAGE:{Yor(n,i);break}case W.BUTTON:{Bor(n,i);break}case W.APPLET:case W.OBJECT:case W.MARQUEE:{Gor(n,i);break}case W.IFRAME:{Zor(n,i);break}case W.SELECT:{Qor(n,i);break}case W.OPTION:case W.OPTGROUP:{esr(n,i);break}case W.NOEMBED:case W.NOFRAMES:{t$t(n,i);break}case W.FRAMESET:{Dor(n,i);break}case W.TEXTAREA:{Jor(n,i);break}case W.NOSCRIPT:{n.options.scriptingEnabled?t$t(n,i):n$t(n,i);break}case W.PLAINTEXT:{$or(n,i);break}case W.COL:case W.TH:case W.TD:case W.TR:case W.HEAD:case W.FRAME:case W.TBODY:case W.TFOOT:case W.THEAD:case W.CAPTION:case W.COLGROUP:break;default:n$t(n,i)}}function osr(n,i){if(n.openElements.hasInScope(W.BODY)&&(n.insertionMode=ut.AFTER_BODY,n.options.sourceCodeLocationInfo)){const a=n.openElements.tryPeekProperlyNestedBodyElement();a&&n._setEndLocation(a,i)}}function ssr(n,i){n.openElements.hasInScope(W.BODY)&&(n.insertionMode=ut.AFTER_BODY,UJt(n,i))}function asr(n,i){const a=i.tagID;n.openElements.hasInScope(a)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(a))}function usr(n){const i=n.openElements.tmplCount>0,{formElement:a}=n;i||(n.formElement=null),(a||i)&&n.openElements.hasInScope(W.FORM)&&(n.openElements.generateImpliedEndTags(),i?n.openElements.popUntilTagNamePopped(W.FORM):a&&n.openElements.remove(a))}function csr(n){n.openElements.hasInButtonScope(W.P)||n._insertFakeElement(Pt.P,W.P),n._closePElement()}function lsr(n){n.openElements.hasInListItemScope(W.LI)&&(n.openElements.generateImpliedEndTagsWithExclusion(W.LI),n.openElements.popUntilTagNamePopped(W.LI))}function dsr(n,i){const a=i.tagID;n.openElements.hasInScope(a)&&(n.openElements.generateImpliedEndTagsWithExclusion(a),n.openElements.popUntilTagNamePopped(a))}function fsr(n){n.openElements.hasNumberedHeaderInScope()&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilNumberedHeaderPopped())}function hsr(n,i){const a=i.tagID;n.openElements.hasInScope(a)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(a),n.activeFormattingElements.clearToLastMarker())}function psr(n){n._reconstructActiveFormattingElements(),n._insertFakeElement(Pt.BR,W.BR),n.openElements.pop(),n.framesetOk=!1}function OJt(n,i){const a=i.tagName,c=i.tagID;for(let d=n.openElements.stackTop;d>0;d--){const g=n.openElements.items[d],b=n.openElements.tagIDs[d];if(c===b&&(c!==W.UNKNOWN||n.treeAdapter.getTagName(g)===a)){n.openElements.generateImpliedEndTagsWithExclusion(c),n.openElements.stackTop>=d&&n.openElements.shortenToLength(d);break}if(n._isSpecialElement(g,b))break}}function Yae(n,i){switch(i.tagID){case W.A:case W.B:case W.I:case W.S:case W.U:case W.EM:case W.TT:case W.BIG:case W.CODE:case W.FONT:case W.NOBR:case W.SMALL:case W.STRIKE:case W.STRONG:{K5e(n,i);break}case W.P:{csr(n);break}case W.DL:case W.UL:case W.OL:case W.DIR:case W.DIV:case W.NAV:case W.PRE:case W.MAIN:case W.MENU:case W.ASIDE:case W.BUTTON:case W.CENTER:case W.FIGURE:case W.FOOTER:case W.HEADER:case W.HGROUP:case W.DIALOG:case W.ADDRESS:case W.ARTICLE:case W.DETAILS:case W.SEARCH:case W.SECTION:case W.SUMMARY:case W.LISTING:case W.FIELDSET:case W.BLOCKQUOTE:case W.FIGCAPTION:{asr(n,i);break}case W.LI:{lsr(n);break}case W.DD:case W.DT:{dsr(n,i);break}case W.H1:case W.H2:case W.H3:case W.H4:case W.H5:case W.H6:{fsr(n);break}case W.BR:{psr(n);break}case W.BODY:{osr(n,i);break}case W.HTML:{ssr(n,i);break}case W.FORM:{usr(n);break}case W.APPLET:case W.OBJECT:case W.MARQUEE:{hsr(n,i);break}case W.TEMPLATE:{MR(n,i);break}default:OJt(n,i)}}function DJt(n,i){n.tmplInsertionModeStack.length>0?BJt(n,i):Y5e(n,i)}function gsr(n,i){var a;i.tagID===W.SCRIPT&&((a=n.scriptHandler)===null||a===void 0||a.call(n,n.openElements.current)),n.openElements.pop(),n.insertionMode=n.originalInsertionMode}function bsr(n,i){n._err(i,sn.eofInElementThatCanContainOnlyText),n.openElements.pop(),n.insertionMode=n.originalInsertionMode,n.onEof(i)}function jOe(n,i){if(n.openElements.currentTagId!==void 0&&kJt.has(n.openElements.currentTagId))switch(n.pendingCharacterTokens.length=0,n.hasNonWhitespacePendingCharacterToken=!1,n.originalInsertionMode=n.insertionMode,n.insertionMode=ut.IN_TABLE_TEXT,i.type){case ha.CHARACTER:{MJt(n,i);break}case ha.WHITESPACE_CHARACTER:{LJt(n,i);break}}else Bz(n,i)}function msr(n,i){n.openElements.clearBackToTableContext(),n.activeFormattingElements.insertMarker(),n._insertElement(i,jn.HTML),n.insertionMode=ut.IN_CAPTION}function wsr(n,i){n.openElements.clearBackToTableContext(),n._insertElement(i,jn.HTML),n.insertionMode=ut.IN_COLUMN_GROUP}function ysr(n,i){n.openElements.clearBackToTableContext(),n._insertFakeElement(Pt.COLGROUP,W.COLGROUP),n.insertionMode=ut.IN_COLUMN_GROUP,J5e(n,i)}function vsr(n,i){n.openElements.clearBackToTableContext(),n._insertElement(i,jn.HTML),n.insertionMode=ut.IN_TABLE_BODY}function Esr(n,i){n.openElements.clearBackToTableContext(),n._insertFakeElement(Pt.TBODY,W.TBODY),n.insertionMode=ut.IN_TABLE_BODY,Jae(n,i)}function Ssr(n,i){n.openElements.hasInTableScope(W.TABLE)&&(n.openElements.popUntilTagNamePopped(W.TABLE),n._resetInsertionMode(),n._processStartTag(i))}function Tsr(n,i){RJt(i)?n._appendElement(i,jn.HTML):Bz(n,i),i.ackSelfClosing=!0}function Asr(n,i){!n.formElement&&n.openElements.tmplCount===0&&(n._insertElement(i,jn.HTML),n.formElement=n.openElements.current,n.openElements.pop())}function I5(n,i){switch(i.tagID){case W.TD:case W.TH:case W.TR:{Esr(n,i);break}case W.STYLE:case W.SCRIPT:case W.TEMPLATE:{Hv(n,i);break}case W.COL:{ysr(n,i);break}case W.FORM:{Asr(n,i);break}case W.TABLE:{Ssr(n,i);break}case W.TBODY:case W.TFOOT:case W.THEAD:{vsr(n,i);break}case W.INPUT:{Tsr(n,i);break}case W.CAPTION:{msr(n,i);break}case W.COLGROUP:{wsr(n,i);break}default:Bz(n,i)}}function cz(n,i){switch(i.tagID){case W.TABLE:{n.openElements.hasInTableScope(W.TABLE)&&(n.openElements.popUntilTagNamePopped(W.TABLE),n._resetInsertionMode());break}case W.TEMPLATE:{MR(n,i);break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:case W.TBODY:case W.TD:case W.TFOOT:case W.TH:case W.THEAD:case W.TR:break;default:Bz(n,i)}}function Bz(n,i){const a=n.fosterParentingEnabled;n.fosterParentingEnabled=!0,Kae(n,i),n.fosterParentingEnabled=a}function LJt(n,i){n.pendingCharacterTokens.push(i)}function MJt(n,i){n.pendingCharacterTokens.push(i),n.hasNonWhitespacePendingCharacterToken=!0}function zU(n,i){let a=0;if(n.hasNonWhitespacePendingCharacterToken)for(;a<n.pendingCharacterTokens.length;a++)Bz(n,n.pendingCharacterTokens[a]);else for(;a<n.pendingCharacterTokens.length;a++)n._insertCharacters(n.pendingCharacterTokens[a]);n.insertionMode=n.originalInsertionMode,n._processToken(i)}const PJt=new Set([W.CAPTION,W.COL,W.COLGROUP,W.TBODY,W.TD,W.TFOOT,W.TH,W.THEAD,W.TR]);function _sr(n,i){const a=i.tagID;PJt.has(a)?n.openElements.hasInTableScope(W.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(W.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=ut.IN_TABLE,I5(n,i)):qp(n,i)}function ksr(n,i){const a=i.tagID;switch(a){case W.CAPTION:case W.TABLE:{n.openElements.hasInTableScope(W.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(W.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=ut.IN_TABLE,a===W.TABLE&&cz(n,i));break}case W.BODY:case W.COL:case W.COLGROUP:case W.HTML:case W.TBODY:case W.TD:case W.TFOOT:case W.TH:case W.THEAD:case W.TR:break;default:Yae(n,i)}}function J5e(n,i){switch(i.tagID){case W.HTML:{qp(n,i);break}case W.COL:{n._appendElement(i,jn.HTML),i.ackSelfClosing=!0;break}case W.TEMPLATE:{Hv(n,i);break}default:vse(n,i)}}function xsr(n,i){switch(i.tagID){case W.COLGROUP:{n.openElements.currentTagId===W.COLGROUP&&(n.openElements.pop(),n.insertionMode=ut.IN_TABLE);break}case W.TEMPLATE:{MR(n,i);break}case W.COL:break;default:vse(n,i)}}function vse(n,i){n.openElements.currentTagId===W.COLGROUP&&(n.openElements.pop(),n.insertionMode=ut.IN_TABLE,n._processToken(i))}function Jae(n,i){switch(i.tagID){case W.TR:{n.openElements.clearBackToTableBodyContext(),n._insertElement(i,jn.HTML),n.insertionMode=ut.IN_ROW;break}case W.TH:case W.TD:{n.openElements.clearBackToTableBodyContext(),n._insertFakeElement(Pt.TR,W.TR),n.insertionMode=ut.IN_ROW,Xae(n,i);break}case W.CAPTION:case W.COL:case W.COLGROUP:case W.TBODY:case W.TFOOT:case W.THEAD:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE,I5(n,i));break}default:I5(n,i)}}function XDe(n,i){const a=i.tagID;switch(i.tagID){case W.TBODY:case W.TFOOT:case W.THEAD:{n.openElements.hasInTableScope(a)&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE);break}case W.TABLE:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE,cz(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:case W.TD:case W.TH:case W.TR:break;default:cz(n,i)}}function Xae(n,i){switch(i.tagID){case W.TH:case W.TD:{n.openElements.clearBackToTableRowContext(),n._insertElement(i,jn.HTML),n.insertionMode=ut.IN_CELL,n.activeFormattingElements.insertMarker();break}case W.CAPTION:case W.COL:case W.COLGROUP:case W.TBODY:case W.TFOOT:case W.THEAD:case W.TR:{n.openElements.hasInTableScope(W.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE_BODY,Jae(n,i));break}default:I5(n,i)}}function jJt(n,i){switch(i.tagID){case W.TR:{n.openElements.hasInTableScope(W.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE_BODY);break}case W.TABLE:{n.openElements.hasInTableScope(W.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE_BODY,XDe(n,i));break}case W.TBODY:case W.TFOOT:case W.THEAD:{(n.openElements.hasInTableScope(i.tagID)||n.openElements.hasInTableScope(W.TR))&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE_BODY,XDe(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:case W.TD:case W.TH:break;default:cz(n,i)}}function Nsr(n,i){const a=i.tagID;PJt.has(a)?(n.openElements.hasInTableScope(W.TD)||n.openElements.hasInTableScope(W.TH))&&(n._closeTableCell(),Xae(n,i)):qp(n,i)}function Csr(n,i){const a=i.tagID;switch(a){case W.TD:case W.TH:{n.openElements.hasInTableScope(a)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(a),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=ut.IN_ROW);break}case W.TABLE:case W.TBODY:case W.TFOOT:case W.THEAD:case W.TR:{n.openElements.hasInTableScope(a)&&(n._closeTableCell(),jJt(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:break;default:Yae(n,i)}}function FJt(n,i){switch(i.tagID){case W.HTML:{qp(n,i);break}case W.OPTION:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n._insertElement(i,jn.HTML);break}case W.OPTGROUP:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n.openElements.currentTagId===W.OPTGROUP&&n.openElements.pop(),n._insertElement(i,jn.HTML);break}case W.HR:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n.openElements.currentTagId===W.OPTGROUP&&n.openElements.pop(),n._appendElement(i,jn.HTML),i.ackSelfClosing=!0;break}case W.INPUT:case W.KEYGEN:case W.TEXTAREA:case W.SELECT:{n.openElements.hasInSelectScope(W.SELECT)&&(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode(),i.tagID!==W.SELECT&&n._processStartTag(i));break}case W.SCRIPT:case W.TEMPLATE:{Hv(n,i);break}}}function $Jt(n,i){switch(i.tagID){case W.OPTGROUP:{n.openElements.stackTop>0&&n.openElements.currentTagId===W.OPTION&&n.openElements.tagIDs[n.openElements.stackTop-1]===W.OPTGROUP&&n.openElements.pop(),n.openElements.currentTagId===W.OPTGROUP&&n.openElements.pop();break}case W.OPTION:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop();break}case W.SELECT:{n.openElements.hasInSelectScope(W.SELECT)&&(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode());break}case W.TEMPLATE:{MR(n,i);break}}}function Isr(n,i){const a=i.tagID;a===W.CAPTION||a===W.TABLE||a===W.TBODY||a===W.TFOOT||a===W.THEAD||a===W.TR||a===W.TD||a===W.TH?(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode(),n._processStartTag(i)):FJt(n,i)}function Rsr(n,i){const a=i.tagID;a===W.CAPTION||a===W.TABLE||a===W.TBODY||a===W.TFOOT||a===W.THEAD||a===W.TR||a===W.TD||a===W.TH?n.openElements.hasInTableScope(a)&&(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode(),n.onEndTag(i)):$Jt(n,i)}function Osr(n,i){switch(i.tagID){case W.BASE:case W.BASEFONT:case W.BGSOUND:case W.LINK:case W.META:case W.NOFRAMES:case W.SCRIPT:case W.STYLE:case W.TEMPLATE:case W.TITLE:{Hv(n,i);break}case W.CAPTION:case W.COLGROUP:case W.TBODY:case W.TFOOT:case W.THEAD:{n.tmplInsertionModeStack[0]=ut.IN_TABLE,n.insertionMode=ut.IN_TABLE,I5(n,i);break}case W.COL:{n.tmplInsertionModeStack[0]=ut.IN_COLUMN_GROUP,n.insertionMode=ut.IN_COLUMN_GROUP,J5e(n,i);break}case W.TR:{n.tmplInsertionModeStack[0]=ut.IN_TABLE_BODY,n.insertionMode=ut.IN_TABLE_BODY,Jae(n,i);break}case W.TD:case W.TH:{n.tmplInsertionModeStack[0]=ut.IN_ROW,n.insertionMode=ut.IN_ROW,Xae(n,i);break}default:n.tmplInsertionModeStack[0]=ut.IN_BODY,n.insertionMode=ut.IN_BODY,qp(n,i)}}function Dsr(n,i){i.tagID===W.TEMPLATE&&MR(n,i)}function BJt(n,i){n.openElements.tmplCount>0?(n.openElements.popUntilTagNamePopped(W.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode(),n.onEof(i)):Y5e(n,i)}function Lsr(n,i){i.tagID===W.HTML?qp(n,i):Ese(n,i)}function UJt(n,i){var a;if(i.tagID===W.HTML){if(n.fragmentContext||(n.insertionMode=ut.AFTER_AFTER_BODY),n.options.sourceCodeLocationInfo&&n.openElements.tagIDs[0]===W.HTML){n._setEndLocation(n.openElements.items[0],i);const c=n.openElements.items[1];c&&!(!((a=n.treeAdapter.getNodeSourceCodeLocation(c))===null||a===void 0)&&a.endTag)&&n._setEndLocation(c,i)}}else Ese(n,i)}function Ese(n,i){n.insertionMode=ut.IN_BODY,Kae(n,i)}function Msr(n,i){switch(i.tagID){case W.HTML:{qp(n,i);break}case W.FRAMESET:{n._insertElement(i,jn.HTML);break}case W.FRAME:{n._appendElement(i,jn.HTML),i.ackSelfClosing=!0;break}case W.NOFRAMES:{Hv(n,i);break}}}function Psr(n,i){i.tagID===W.FRAMESET&&!n.openElements.isRootHtmlElementCurrent()&&(n.openElements.pop(),!n.fragmentContext&&n.openElements.currentTagId!==W.FRAMESET&&(n.insertionMode=ut.AFTER_FRAMESET))}function jsr(n,i){switch(i.tagID){case W.HTML:{qp(n,i);break}case W.NOFRAMES:{Hv(n,i);break}}}function Fsr(n,i){i.tagID===W.HTML&&(n.insertionMode=ut.AFTER_AFTER_FRAMESET)}function $sr(n,i){i.tagID===W.HTML?qp(n,i):roe(n,i)}function roe(n,i){n.insertionMode=ut.IN_BODY,Kae(n,i)}function Bsr(n,i){switch(i.tagID){case W.HTML:{qp(n,i);break}case W.NOFRAMES:{Hv(n,i);break}}}function Usr(n,i){i.chars=Oc,n._insertCharacters(i)}function Hsr(n,i){n._insertCharacters(i),n.framesetOk=!1}function HJt(n){for(;n.treeAdapter.getNamespaceURI(n.openElements.current)!==jn.HTML&&n.openElements.currentTagId!==void 0&&!n._isIntegrationPoint(n.openElements.currentTagId,n.openElements.current);)n.openElements.pop()}function zsr(n,i){if(ror(i))HJt(n),n._startTagOutsideForeignContent(i);else{const a=n._getAdjustedCurrentElement(),c=n.treeAdapter.getNamespaceURI(a);c===jn.MATHML?AJt(i):c===jn.SVG&&(ior(i),_Jt(i)),W5e(i),i.selfClosing?n._appendElement(i,c):n._insertElement(i,c),i.ackSelfClosing=!0}}function Gsr(n,i){if(i.tagID===W.P||i.tagID===W.BR){HJt(n),n._endTagOutsideForeignContent(i);return}for(let a=n.openElements.stackTop;a>0;a--){const c=n.openElements.items[a];if(n.treeAdapter.getNamespaceURI(c)===jn.HTML){n._endTagOutsideForeignContent(i);break}const d=n.treeAdapter.getTagName(c);if(d.toLowerCase()===i.tagName){i.tagName=d,n.openElements.shortenToLength(a);break}}}Pt.AREA,Pt.BASE,Pt.BASEFONT,Pt.BGSOUND,Pt.BR,Pt.COL,Pt.EMBED,Pt.FRAME,Pt.HR,Pt.IMG,Pt.INPUT,Pt.KEYGEN,Pt.LINK,Pt.META,Pt.PARAM,Pt.SOURCE,Pt.TRACK,Pt.WBR;function qsr(n,i){return xJt.parse(n,i)}function Vsr(n,i,a){typeof n=="string"&&(a=i,i=n,n=null);const c=xJt.getFragmentParser(n,a);return c.tokenizer.write(i,!0),c.getFragment()}function Wsr(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?r$t(n.position):"start"in n||"end"in n?r$t(n):"line"in n||"column"in n?ZDe(n):""}function ZDe(n){return i$t(n&&n.line)+":"+i$t(n&&n.column)}function r$t(n){return ZDe(n&&n.start)+"-"+ZDe(n&&n.end)}function i$t(n){return n&&typeof n=="number"?n:1}class Kg extends Error{constructor(i,a,c){super(),typeof a=="string"&&(c=a,a=void 0);let d="",g={},b=!1;if(a&&("line"in a&&"column"in a?g={place:a}:"start"in a&&"end"in a?g={place:a}:"type"in a?g={ancestors:[a],place:a.position}:g={...a}),typeof i=="string"?d=i:!g.cause&&i&&(b=!0,d=i.message,g.cause=i),!g.ruleId&&!g.source&&typeof c=="string"){const E=c.indexOf(":");E===-1?g.ruleId=c:(g.source=c.slice(0,E),g.ruleId=c.slice(E+1))}if(!g.place&&g.ancestors&&g.ancestors){const E=g.ancestors[g.ancestors.length-1];E&&(g.place=E.position)}const w=g.place&&"start"in g.place?g.place.start:g.place;this.ancestors=g.ancestors||void 0,this.cause=g.cause||void 0,this.column=w?w.column:void 0,this.fatal=void 0,this.file="",this.message=d,this.line=w?w.line:void 0,this.name=Wsr(g.place)||"1:1",this.place=g.place||void 0,this.reason=this.message,this.ruleId=g.ruleId||void 0,this.source=g.source||void 0,this.stack=b&&g.cause&&typeof g.cause.stack=="string"?g.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Kg.prototype.file="";Kg.prototype.name="";Kg.prototype.reason="";Kg.prototype.message="";Kg.prototype.stack="";Kg.prototype.column=void 0;Kg.prototype.line=void 0;Kg.prototype.ancestors=void 0;Kg.prototype.cause=void 0;Kg.prototype.fatal=void 0;Kg.prototype.place=void 0;Kg.prototype.ruleId=void 0;Kg.prototype.source=void 0;const x2={basename:Ksr,dirname:Ysr,extname:Jsr,join:Xsr,sep:"/"};function Ksr(n,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');Uz(n);let a=0,c=-1,d=n.length,g;if(i===void 0||i.length===0||i.length>n.length){for(;d--;)if(n.codePointAt(d)===47){if(g){a=d+1;break}}else c<0&&(g=!0,c=d+1);return c<0?"":n.slice(a,c)}if(i===n)return"";let b=-1,w=i.length-1;for(;d--;)if(n.codePointAt(d)===47){if(g){a=d+1;break}}else b<0&&(g=!0,b=d+1),w>-1&&(n.codePointAt(d)===i.codePointAt(w--)?w<0&&(c=d):(w=-1,c=b));return a===c?c=b:c<0&&(c=n.length),n.slice(a,c)}function Ysr(n){if(Uz(n),n.length===0)return".";let i=-1,a=n.length,c;for(;--a;)if(n.codePointAt(a)===47){if(c){i=a;break}}else c||(c=!0);return i<0?n.codePointAt(0)===47?"/":".":i===1&&n.codePointAt(0)===47?"//":n.slice(0,i)}function Jsr(n){Uz(n);let i=n.length,a=-1,c=0,d=-1,g=0,b;for(;i--;){const w=n.codePointAt(i);if(w===47){if(b){c=i+1;break}continue}a<0&&(b=!0,a=i+1),w===46?d<0?d=i:g!==1&&(g=1):d>-1&&(g=-1)}return d<0||a<0||g===0||g===1&&d===a-1&&d===c+1?"":n.slice(d,a)}function Xsr(...n){let i=-1,a;for(;++i<n.length;)Uz(n[i]),n[i]&&(a=a===void 0?n[i]:a+"/"+n[i]);return a===void 0?".":Zsr(a)}function Zsr(n){Uz(n);const i=n.codePointAt(0)===47;let a=Qsr(n,!i);return a.length===0&&!i&&(a="."),a.length>0&&n.codePointAt(n.length-1)===47&&(a+="/"),i?"/"+a:a}function Qsr(n,i){let a="",c=0,d=-1,g=0,b=-1,w,E;for(;++b<=n.length;){if(b<n.length)w=n.codePointAt(b);else{if(w===47)break;w=47}if(w===47){if(!(d===b-1||g===1))if(d!==b-1&&g===2){if(a.length<2||c!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(E=a.lastIndexOf("/"),E!==a.length-1){E<0?(a="",c=0):(a=a.slice(0,E),c=a.length-1-a.lastIndexOf("/")),d=b,g=0;continue}}else if(a.length>0){a="",c=0,d=b,g=0;continue}}i&&(a=a.length>0?a+"/..":"..",c=2)}else a.length>0?a+="/"+n.slice(d+1,b):a=n.slice(d+1,b),c=b-d-1;d=b,g=0}else w===46&&g>-1?g++:g=-1}return a}function Uz(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const ear={cwd:tar};function tar(){return"/"}function QDe(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function nar(n){if(typeof n=="string")n=new URL(n);else if(!QDe(n)){const i=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw i.code="ERR_INVALID_ARG_TYPE",i}if(n.protocol!=="file:"){const i=new TypeError("The URL must be of scheme file");throw i.code="ERR_INVALID_URL_SCHEME",i}return rar(n)}function rar(n){if(n.hostname!==""){const c=new TypeError('File URL host must be "localhost" or empty on darwin');throw c.code="ERR_INVALID_FILE_URL_HOST",c}const i=n.pathname;let a=-1;for(;++a<i.length;)if(i.codePointAt(a)===37&&i.codePointAt(a+1)===50){const c=i.codePointAt(a+2);if(c===70||c===102){const d=new TypeError("File URL path must not include encoded / characters");throw d.code="ERR_INVALID_FILE_URL_PATH",d}}return decodeURIComponent(i)}const FOe=["history","path","basename","stem","extname","dirname"];class eLe{constructor(i){let a;i?QDe(i)?a={path:i}:typeof i=="string"||iar(i)?a={value:i}:a=i:a={},this.cwd="cwd"in a?"":ear.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let c=-1;for(;++c<FOe.length;){const g=FOe[c];g in a&&a[g]!==void 0&&a[g]!==null&&(this[g]=g==="history"?[...a[g]]:a[g])}let d;for(d in a)FOe.includes(d)||(this[d]=a[d])}get basename(){return typeof this.path=="string"?x2.basename(this.path):void 0}set basename(i){BOe(i,"basename"),$Oe(i,"basename"),this.path=x2.join(this.dirname||"",i)}get dirname(){return typeof this.path=="string"?x2.dirname(this.path):void 0}set dirname(i){o$t(this.basename,"dirname"),this.path=x2.join(i||"",this.basename)}get extname(){return typeof this.path=="string"?x2.extname(this.path):void 0}set extname(i){if($Oe(i,"extname"),o$t(this.dirname,"extname"),i){if(i.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(i.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=x2.join(this.dirname,this.stem+(i||""))}get path(){return this.history[this.history.length-1]}set path(i){QDe(i)&&(i=nar(i)),BOe(i,"path"),this.path!==i&&this.history.push(i)}get stem(){return typeof this.path=="string"?x2.basename(this.path,this.extname):void 0}set stem(i){BOe(i,"stem"),$Oe(i,"stem"),this.path=x2.join(this.dirname||"",i+(this.extname||""))}fail(i,a,c){const d=this.message(i,a,c);throw d.fatal=!0,d}info(i,a,c){const d=this.message(i,a,c);return d.fatal=void 0,d}message(i,a,c){const d=new Kg(i,a,c);return this.path&&(d.name=this.path+":"+d.name,d.file=this.path),d.fatal=!1,this.messages.push(d),d}toString(i){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(i||void 0).decode(this.value)}}function $Oe(n,i){if(n&&n.includes(x2.sep))throw new Error("`"+i+"` cannot be a path: did not expect `"+x2.sep+"`")}function BOe(n,i){if(!n)throw new Error("`"+i+"` cannot be empty")}function o$t(n,i){if(!n)throw new Error("Setting `"+i+"` requires `path` to be set too")}function iar(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const oar={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},sar="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",aar=/-[a-z]/g,uar=/%c(?:([-+])(\d+))?/g,car=/%x/g,lar={2:!0,1:!1,0:null},dar={};function far(n,i){const a=i||dar,c=a.onerror,d=n instanceof eLe?n:new eLe(n),g=a.fragment?Vsr:qsr,b=String(d),w=g(b,{sourceCodeLocationInfo:!0,onParseError:a.onerror?E:null,scriptingEnabled:!1});return hir(w,{file:d,space:a.space,verbose:a.verbose});function E(S){const k=S.code,_=har(k),C=a[_],R=C??!0,M=typeof R=="number"?R:R?1:0;if(M){const B=oar[_],F=new Kg(D(B.reason),{place:{start:{line:S.startLine,column:S.startCol,offset:S.startOffset},end:{line:S.endLine,column:S.endCol,offset:S.endOffset}},ruleId:k,source:"hast-util-from-html"});d.path&&(F.file=d.path,F.name=d.path+":"+F.name),F.fatal=lar[M],F.note=D(B.description),F.url=B.url===!1?void 0:sar+k,c(F)}function D(B){return B.replace(uar,F).replace(car,$);function F(P,H,Q){const re=(Q?Number.parseInt(Q,10):0)*(H==="-"?-1:1),ee=b.charAt(S.startOffset+re);return gar(ee)}function $(){return bar(b.charCodeAt(S.startOffset))}}}}function har(n){return n.replace(aar,par)}function par(n){return n.charAt(1).toUpperCase()}function gar(n){return n==="`"?"` ` `":n}function bar(n){return"0x"+n.toString(16).toUpperCase()}function mar(n){const i=this,{emitParseErrors:a,...c}={...i.data("settings"),...n};i.parser=d;function d(g,b){return far(g,{...c,onerror:a?function(w){b.path&&(w.name=b.path+":"+w.name,w.file=b.path),b.messages.push(w)}:void 0})}}const war=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],s$t={}.hasOwnProperty;function yar(n,i){const a=i||{};function c(d,...g){let b=c.invalid;const w=c.handlers;if(d&&s$t.call(d,n)){const E=String(d[n]);b=s$t.call(w,E)?w[E]:c.unknown}if(b)return b.call(this,d,...g)}return c.handlers=a.handlers||{},c.invalid=a.invalid,c.unknown=a.unknown,c}const Ear=/["&'<>`]/g,Sar=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tar=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Aar=/[|\\{}()[\]^$+*?.]/g,a$t=new WeakMap;function _ar(n,i){if(n=n.replace(i.subset?kar(i.subset):Ear,c),i.subset||i.escapeOnly)return n;return n.replace(Sar,a).replace(Tar,c);function a(d,g,b){return i.format((d.charCodeAt(0)-55296)*1024+d.charCodeAt(1)-56320+65536,b.charCodeAt(g+2),i)}function c(d,g,b){return i.format(d.charCodeAt(0),b.charCodeAt(g+1),i)}}function kar(n){let i=a$t.get(n);return i||(i=xar(n),a$t.set(n,i)),i}function xar(n){const i=[];let a=-1;for(;++a<n.length;)i.push(n[a].replace(Aar,"\\$&"));return new RegExp("(?:"+i.join("|")+")","g")}const Nar=/[\dA-Fa-f]/;function Car(n,i,a){const c="&#x"+n.toString(16).toUpperCase();return a&&i&&!Nar.test(String.fromCharCode(i))?c:c+";"}const Iar=/\d/;function Rar(n,i,a){const c="&#"+String(n);return a&&i&&!Iar.test(String.fromCharCode(i))?c:c+";"}const zJt=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],UOe={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Oar=["cent","copy","divide","gt","lt","not","para","times"],GJt={}.hasOwnProperty,tLe={};let Iie;for(Iie in UOe)GJt.call(UOe,Iie)&&(tLe[UOe[Iie]]=Iie);const Dar=/[^\dA-Za-z]/;function Lar(n,i,a,c){const d=String.fromCharCode(n);if(GJt.call(tLe,d)){const g=tLe[d],b="&"+g;return a&&zJt.includes(g)&&!Oar.includes(g)&&(!c||i&&i!==61&&Dar.test(String.fromCharCode(i)))?b:b+";"}return""}function Mar(n,i,a){let c=Car(n,i,a.omitOptionalSemicolons),d;if((a.useNamedReferences||a.useShortestReferences)&&(d=Lar(n,i,a.omitOptionalSemicolons,a.attribute)),(a.useShortestReferences||!d)&&a.useShortestReferences){const g=Rar(n,i,a.omitOptionalSemicolons);g.length<c.length&&(c=g)}return d&&(!a.useShortestReferences||d.length<c.length)?d:c}function a5(n,i){return _ar(n,Object.assign({format:Mar},i))}const Par=/^>|^->|<!--|-->|--!>|<!-$/g,jar=[">"],Far=["<",">"];function $ar(n,i,a,c){return c.settings.bogusComments?"<?"+a5(n.value,Object.assign({},c.settings.characterReferences,{subset:jar}))+">":"<!--"+n.value.replace(Par,d)+"-->";function d(g){return a5(g,Object.assign({},c.settings.characterReferences,{subset:Far}))}}function Bar(n,i,a,c){return"<!"+(c.settings.upperDoctype?"DOCTYPE":"doctype")+(c.settings.tightDoctype?"":" ")+"html>"}function u$t(n,i){const a=String(n);if(typeof i!="string")throw new TypeError("Expected character");let c=0,d=a.indexOf(i);for(;d!==-1;)c++,d=a.indexOf(i,d+i.length);return c}const Uar=/[ \t\n\f\r]/g;function X5e(n){return typeof n=="object"?n.type==="text"?c$t(n.value):!1:c$t(n)}function c$t(n){return n.replace(Uar,"")===""}const Sf=VJt(1),qJt=VJt(-1),Har=[];function VJt(n){return i;function i(a,c,d){const g=a?a.children:Har;let b=(c||0)+n,w=g[b];if(!d)for(;w&&X5e(w);)b+=n,w=g[b];return w}}const zar={}.hasOwnProperty;function WJt(n){return i;function i(a,c,d){return zar.call(n,a.tagName)&&n[a.tagName](a,c,d)}}const Z5e=WJt({body:qar,caption:HOe,colgroup:HOe,dd:Yar,dt:Kar,head:HOe,html:Gar,li:War,optgroup:Jar,option:Xar,p:Var,rp:l$t,rt:l$t,tbody:Qar,td:d$t,tfoot:eur,th:d$t,thead:Zar,tr:tur});function HOe(n,i,a){const c=Sf(a,i,!0);return!c||c.type!=="comment"&&!(c.type==="text"&&X5e(c.value.charAt(0)))}function Gar(n,i,a){const c=Sf(a,i);return!c||c.type!=="comment"}function qar(n,i,a){const c=Sf(a,i);return!c||c.type!=="comment"}function Var(n,i,a){const c=Sf(a,i);return c?c.type==="element"&&(c.tagName==="address"||c.tagName==="article"||c.tagName==="aside"||c.tagName==="blockquote"||c.tagName==="details"||c.tagName==="div"||c.tagName==="dl"||c.tagName==="fieldset"||c.tagName==="figcaption"||c.tagName==="figure"||c.tagName==="footer"||c.tagName==="form"||c.tagName==="h1"||c.tagName==="h2"||c.tagName==="h3"||c.tagName==="h4"||c.tagName==="h5"||c.tagName==="h6"||c.tagName==="header"||c.tagName==="hgroup"||c.tagName==="hr"||c.tagName==="main"||c.tagName==="menu"||c.tagName==="nav"||c.tagName==="ol"||c.tagName==="p"||c.tagName==="pre"||c.tagName==="section"||c.tagName==="table"||c.tagName==="ul"):!a||!(a.type==="element"&&(a.tagName==="a"||a.tagName==="audio"||a.tagName==="del"||a.tagName==="ins"||a.tagName==="map"||a.tagName==="noscript"||a.tagName==="video"))}function War(n,i,a){const c=Sf(a,i);return!c||c.type==="element"&&c.tagName==="li"}function Kar(n,i,a){const c=Sf(a,i);return!!(c&&c.type==="element"&&(c.tagName==="dt"||c.tagName==="dd"))}function Yar(n,i,a){const c=Sf(a,i);return!c||c.type==="element"&&(c.tagName==="dt"||c.tagName==="dd")}function l$t(n,i,a){const c=Sf(a,i);return!c||c.type==="element"&&(c.tagName==="rp"||c.tagName==="rt")}function Jar(n,i,a){const c=Sf(a,i);return!c||c.type==="element"&&c.tagName==="optgroup"}function Xar(n,i,a){const c=Sf(a,i);return!c||c.type==="element"&&(c.tagName==="option"||c.tagName==="optgroup")}function Zar(n,i,a){const c=Sf(a,i);return!!(c&&c.type==="element"&&(c.tagName==="tbody"||c.tagName==="tfoot"))}function Qar(n,i,a){const c=Sf(a,i);return!c||c.type==="element"&&(c.tagName==="tbody"||c.tagName==="tfoot")}function eur(n,i,a){return!Sf(a,i)}function tur(n,i,a){const c=Sf(a,i);return!c||c.type==="element"&&c.tagName==="tr"}function d$t(n,i,a){const c=Sf(a,i);return!c||c.type==="element"&&(c.tagName==="td"||c.tagName==="th")}const nur=WJt({body:our,colgroup:sur,head:iur,html:rur,tbody:aur});function rur(n){const i=Sf(n,-1);return!i||i.type!=="comment"}function iur(n){const i=new Set;for(const c of n.children)if(c.type==="element"&&(c.tagName==="base"||c.tagName==="title")){if(i.has(c.tagName))return!1;i.add(c.tagName)}const a=n.children[0];return!a||a.type==="element"}function our(n){const i=Sf(n,-1,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&X5e(i.value.charAt(0)))&&!(i.type==="element"&&(i.tagName==="meta"||i.tagName==="link"||i.tagName==="script"||i.tagName==="style"||i.tagName==="template"))}function sur(n,i,a){const c=qJt(a,i),d=Sf(n,-1,!0);return a&&c&&c.type==="element"&&c.tagName==="colgroup"&&Z5e(c,a.children.indexOf(c),a)?!1:!!(d&&d.type==="element"&&d.tagName==="col")}function aur(n,i,a){const c=qJt(a,i),d=Sf(n,-1);return a&&c&&c.type==="element"&&(c.tagName==="thead"||c.tagName==="tbody")&&Z5e(c,a.children.indexOf(c),a)?!1:!!(d&&d.type==="element"&&d.tagName==="tr")}const Rie={name:[[`
|
||
\f\r &/=>`.split(""),`
|
||
\f\r "&'/=>\``.split("")],[`\0
|
||
\f\r "&'/<=>`.split(""),`\0
|
||
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
||
\f\r &>`.split(""),`\0
|
||
\f\r "&'<=>\``.split("")],[`\0
|
||
\f\r "&'<=>\``.split(""),`\0
|
||
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function uur(n,i,a,c){const d=c.schema,g=d.space==="svg"?!1:c.settings.omitOptionalTags;let b=d.space==="svg"?c.settings.closeEmptyElements:c.settings.voids.includes(n.tagName.toLowerCase());const w=[];let E;d.space==="html"&&n.tagName==="svg"&&(c.schema=$z);const S=cur(c,n.properties),k=c.all(d.space==="html"&&n.tagName==="template"?n.content:n);return c.schema=d,k&&(b=!1),(S||!g||!nur(n,i,a))&&(w.push("<",n.tagName,S?" "+S:""),b&&(d.space==="svg"||c.settings.closeSelfClosing)&&(E=S.charAt(S.length-1),(!c.settings.tightSelfClosing||E==="/"||E&&E!=='"'&&E!=="'")&&w.push(" "),w.push("/")),w.push(">")),w.push(k),!b&&(!g||!Z5e(n,i,a))&&w.push("</"+n.tagName+">"),w.join("")}function cur(n,i){const a=[];let c=-1,d;if(i){for(d in i)if(i[d]!==null&&i[d]!==void 0){const g=lur(n,d,i[d]);g&&a.push(g)}}for(;++c<a.length;){const g=n.settings.tightAttributes?a[c].charAt(a[c].length-1):void 0;c!==a.length-1&&g!=='"'&&g!=="'"&&(a[c]+=" ")}return a.join("")}function lur(n,i,a){const c=q5e(n.schema,i),d=n.settings.allowParseErrors&&n.schema.space==="html"?0:1,g=n.settings.allowDangerousCharacters?0:1;let b=n.quote,w;if(c.overloadedBoolean&&(a===c.attribute||a==="")?a=!0:(c.boolean||c.overloadedBoolean)&&(typeof a!="string"||a===c.attribute||a==="")&&(a=!!a),a==null||a===!1||typeof a=="number"&&Number.isNaN(a))return"";const E=a5(c.attribute,Object.assign({},n.settings.characterReferences,{subset:Rie.name[d][g]}));return a===!0||(a=Array.isArray(a)?(c.commaSeparated?eir:nir)(a,{padLeft:!n.settings.tightCommaSeparatedLists}):String(a),n.settings.collapseEmptyAttributes&&!a)?E:(n.settings.preferUnquoted&&(w=a5(a,Object.assign({},n.settings.characterReferences,{attribute:!0,subset:Rie.unquoted[d][g]}))),w!==a&&(n.settings.quoteSmart&&u$t(a,b)>u$t(a,n.alternative)&&(b=n.alternative),w=b+a5(a,Object.assign({},n.settings.characterReferences,{subset:(b==="'"?Rie.single:Rie.double)[d][g],attribute:!0}))+b),E+(w&&"="+w))}const dur=["<","&"];function KJt(n,i,a,c){return a&&a.type==="element"&&(a.tagName==="script"||a.tagName==="style")?n.value:a5(n.value,Object.assign({},c.settings.characterReferences,{subset:dur}))}function fur(n,i,a,c){return c.settings.allowDangerousHtml?n.value:KJt(n,i,a,c)}function hur(n,i,a,c){return c.all(n)}const pur=yar("type",{invalid:gur,unknown:bur,handlers:{comment:$ar,doctype:Bar,element:uur,raw:fur,root:hur,text:KJt}});function gur(n){throw new Error("Expected node, not `"+n+"`")}function bur(n){const i=n;throw new Error("Cannot compile unknown node `"+i.type+"`")}const mur={},wur={},yur=[];function vur(n,i){const a=i||mur,c=a.quote||'"',d=c==='"'?"'":'"';if(c!=='"'&&c!=="'")throw new Error("Invalid quote `"+c+"`, expected `'` or `\"`");return{one:Eur,all:Sur,settings:{omitOptionalTags:a.omitOptionalTags||!1,allowParseErrors:a.allowParseErrors||!1,allowDangerousCharacters:a.allowDangerousCharacters||!1,quoteSmart:a.quoteSmart||!1,preferUnquoted:a.preferUnquoted||!1,tightAttributes:a.tightAttributes||!1,upperDoctype:a.upperDoctype||!1,tightDoctype:a.tightDoctype||!1,bogusComments:a.bogusComments||!1,tightCommaSeparatedLists:a.tightCommaSeparatedLists||!1,tightSelfClosing:a.tightSelfClosing||!1,collapseEmptyAttributes:a.collapseEmptyAttributes||!1,allowDangerousHtml:a.allowDangerousHtml||!1,voids:a.voids||war,characterReferences:a.characterReferences||wur,closeSelfClosing:a.closeSelfClosing||!1,closeEmptyElements:a.closeEmptyElements||!1},schema:a.space==="svg"?$z:Vae,quote:c,alternative:d}.one(Array.isArray(n)?{type:"root",children:n}:n,void 0,void 0)}function Eur(n,i,a){return pur(n,i,a,this)}function Sur(n){const i=[],a=n&&n.children||yur;let c=-1;for(;++c<a.length;)i[c]=this.one(a[c],c,n);return i.join("")}function Tur(n){const i=this,a={...i.data("settings"),...n};i.compiler=c;function c(d){return vur(d,a)}}function f$t(n){if(n)throw n}var ioe=Object.prototype.hasOwnProperty,YJt=Object.prototype.toString,h$t=Object.defineProperty,p$t=Object.getOwnPropertyDescriptor,g$t=function(i){return typeof Array.isArray=="function"?Array.isArray(i):YJt.call(i)==="[object Array]"},b$t=function(i){if(!i||YJt.call(i)!=="[object Object]")return!1;var a=ioe.call(i,"constructor"),c=i.constructor&&i.constructor.prototype&&ioe.call(i.constructor.prototype,"isPrototypeOf");if(i.constructor&&!a&&!c)return!1;var d;for(d in i);return typeof d>"u"||ioe.call(i,d)},m$t=function(i,a){h$t&&a.name==="__proto__"?h$t(i,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0}):i[a.name]=a.newValue},w$t=function(i,a){if(a==="__proto__")if(ioe.call(i,a)){if(p$t)return p$t(i,a).value}else return;return i[a]},Aur=function n(){var i,a,c,d,g,b,w=arguments[0],E=1,S=arguments.length,k=!1;for(typeof w=="boolean"&&(k=w,w=arguments[1]||{},E=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});E<S;++E)if(i=arguments[E],i!=null)for(a in i)c=w$t(w,a),d=w$t(i,a),w!==d&&(k&&d&&(b$t(d)||(g=g$t(d)))?(g?(g=!1,b=c&&g$t(c)?c:[]):b=c&&b$t(c)?c:{},m$t(w,{name:a,newValue:n(k,b,d)})):typeof d<"u"&&m$t(w,{name:a,newValue:d}));return w};const zOe=vR(Aur);function nLe(n){if(typeof n!="object"||n===null)return!1;const i=Object.getPrototypeOf(n);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function _ur(){const n=[],i={run:a,use:c};return i;function a(...d){let g=-1;const b=d.pop();if(typeof b!="function")throw new TypeError("Expected function as last argument, not "+b);w(null,...d);function w(E,...S){const k=n[++g];let _=-1;if(E){b(E);return}for(;++_<d.length;)(S[_]===null||S[_]===void 0)&&(S[_]=d[_]);d=S,k?kur(k,w)(...S):b(null,...S)}}function c(d){if(typeof d!="function")throw new TypeError("Expected `middelware` to be a function, not "+d);return n.push(d),i}}function kur(n,i){let a;return c;function c(...b){const w=n.length>b.length;let E;w&&b.push(d);try{E=n.apply(this,b)}catch(S){const k=S;if(w&&a)throw k;return d(k)}w||(E&&E.then&&typeof E.then=="function"?E.then(g,d):E instanceof Error?d(E):g(E))}function d(b,...w){a||(a=!0,i(b,...w))}function g(b){d(null,b)}}const xur=function(n){const c=this.constructor.prototype,d=c[n],g=function(){return d.apply(g,arguments)};return Object.setPrototypeOf(g,c),g},Nur={}.hasOwnProperty;class Q5e extends xur{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=_ur()}copy(){const i=new Q5e;let a=-1;for(;++a<this.attachers.length;){const c=this.attachers[a];i.use(...c)}return i.data(zOe(!0,{},this.namespace)),i}data(i,a){return typeof i=="string"?arguments.length===2?(VOe("data",this.frozen),this.namespace[i]=a,this):Nur.call(this.namespace,i)&&this.namespace[i]||void 0:i?(VOe("data",this.frozen),this.namespace=i,this):this.namespace}freeze(){if(this.frozen)return this;const i=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...c]=this.attachers[this.freezeIndex];if(c[0]===!1)continue;c[0]===!0&&(c[0]=void 0);const d=a.call(i,...c);typeof d=="function"&&this.transformers.use(d)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(i){this.freeze();const a=Oie(i),c=this.parser||this.Parser;return GOe("parse",c),c(String(a),a)}process(i,a){const c=this;return this.freeze(),GOe("process",this.parser||this.Parser),qOe("process",this.compiler||this.Compiler),a?d(void 0,a):new Promise(d);function d(g,b){const w=Oie(i),E=c.parse(w);c.run(E,w,function(k,_,C){if(k||!_||!C)return S(k);const R=_,M=c.stringify(R,C);Rur(M)?C.value=M:C.result=M,S(k,C)});function S(k,_){k||!_?b(k):g?g(_):a(void 0,_)}}}processSync(i){let a=!1,c;return this.freeze(),GOe("processSync",this.parser||this.Parser),qOe("processSync",this.compiler||this.Compiler),this.process(i,d),v$t("processSync","process",a),c;function d(g,b){a=!0,f$t(g),c=b}}run(i,a,c){y$t(i),this.freeze();const d=this.transformers;return!c&&typeof a=="function"&&(c=a,a=void 0),c?g(void 0,c):new Promise(g);function g(b,w){const E=Oie(a);d.run(i,E,S);function S(k,_,C){const R=_||i;k?w(k):b?b(R):c(void 0,R,C)}}}runSync(i,a){let c=!1,d;return this.run(i,a,g),v$t("runSync","run",c),d;function g(b,w){f$t(b),d=w,c=!0}}stringify(i,a){this.freeze();const c=Oie(a),d=this.compiler||this.Compiler;return qOe("stringify",d),y$t(i),d(i,c)}use(i,...a){const c=this.attachers,d=this.namespace;if(VOe("use",this.frozen),i!=null)if(typeof i=="function")E(i,a);else if(typeof i=="object")Array.isArray(i)?w(i):b(i);else throw new TypeError("Expected usable value, not `"+i+"`");return this;function g(S){if(typeof S=="function")E(S,[]);else if(typeof S=="object")if(Array.isArray(S)){const[k,..._]=S;E(k,_)}else b(S);else throw new TypeError("Expected usable value, not `"+S+"`")}function b(S){if(!("plugins"in S)&&!("settings"in S))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");w(S.plugins),S.settings&&(d.settings=zOe(!0,d.settings,S.settings))}function w(S){let k=-1;if(S!=null)if(Array.isArray(S))for(;++k<S.length;){const _=S[k];g(_)}else throw new TypeError("Expected a list of plugins, not `"+S+"`")}function E(S,k){let _=-1,C=-1;for(;++_<c.length;)if(c[_][0]===S){C=_;break}if(C===-1)c.push([S,...k]);else if(k.length>0){let[R,...M]=k;const D=c[C][1];nLe(D)&&nLe(R)&&(R=zOe(!0,D,R)),c[C]=[S,R,...M]}}}}const Cur=new Q5e().freeze();function GOe(n,i){if(typeof i!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function qOe(n,i){if(typeof i!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function VOe(n,i){if(i)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function y$t(n){if(!nLe(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function v$t(n,i,a){if(!a)throw new Error("`"+n+"` finished async. Use `"+i+"` instead")}function Oie(n){return Iur(n)?n:new eLe(n)}function Iur(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function Rur(n){return typeof n=="string"||Our(n)}function Our(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Dur=Cur().use(mar).use(Tur).freeze();var Lur=function(i,a){return a===void 0&&(a=[]),Dur().data("settings",{fragment:!0}).use([...a]).processSync(""+i).toString()};function Mur(n){return n.replace(/```(tsx?|jsx?|html|xml)(.*)\s+([\s\S]*?)(\s.+)?```/g,i=>i.replace(/[<&"]/g,a=>({"<":"<",">":">","&":"&",'"':"""})[a])).replace(/[<&"]/g,i=>({"<":"<",">":">","&":"&",'"':"""})[i])}function WOe(n){n.stopPropagation(),n.preventDefault()}class Pur{constructor(i){this.elm=void 0,this.start=void 0,this.end=void 0,this.value=void 0;var{selectionStart:a,selectionEnd:c}=i;this.elm=i,this.start=a,this.end=c,this.value=this.elm.value}position(i,a){var{selectionStart:c,selectionEnd:d}=this.elm;return this.start=typeof i=="number"&&!isNaN(i)?i:c,this.end=typeof a=="number"&&!isNaN(a)?a:d,this.elm.selectionStart=this.start,this.elm.selectionEnd=this.end,this}insertText(i){return this.elm.focus(),this.elm.setRangeText(i),this.value=this.elm.value,this.position(),this}getSelectedValue(i,a){var{selectionStart:c,selectionEnd:d}=this.elm;return this.value.slice(typeof i=="number"&&!isNaN(i)?i:c,typeof a=="number"&&!isNaN(a)?i:d)}getLineStartNumber(){for(var i=this.start;i>0;)if(i--,this.value.charAt(i)===`
|
||
`){i++;break}return i}getIndentText(){var i=this.getLineStartNumber(),a=this.getSelectedValue(i),c="";return a.replace(/(^(\s)+)/,(d,g)=>c=g),c}lineStarInstert(i){if(i){var a=this.start,c=this.getLineStartNumber(),d=this.getSelectedValue(c);this.position(c,this.end).insertText(d.split(`
|
||
`).map(g=>i+g).join(`
|
||
`)).position(a+i.length,this.end)}return this}lineStarRemove(i){if(i){var a=this.start,c=this.getLineStartNumber(),d=this.getSelectedValue(c),g=new RegExp("^"+i,"g"),b=a-i.length;g.test(d)||(b=a),this.position(c,this.end).insertText(d.split(`
|
||
`).map(w=>w.replace(g,"")).join(`
|
||
`)).position(b,this.end)}}notifyChange(){var i=new Event("input",{bubbles:!0,cancelable:!1});this.elm.dispatchEvent(i)}}function jur(n,i){i===void 0&&(i=2);var a=new Pur(n.target),c=(n.code||n.nativeEvent.code).toLocaleLowerCase(),d=" ".repeat(i);if(c==="tab")WOe(n),a.start===a.end?n.shiftKey?a.lineStarRemove(d):a.insertText(d).position(a.start+i,a.end+i):a.getSelectedValue().indexOf(`
|
||
`)>-1&&n.shiftKey?a.lineStarRemove(d):a.getSelectedValue().indexOf(`
|
||
`)>-1?a.lineStarInstert(d):a.insertText(d).position(a.start+i,a.end),a.notifyChange();else if(c==="enter"){WOe(n);var g=`
|
||
`+a.getIndentText();a.insertText(g).position(a.start+g.length,a.start+g.length),a.notifyChange()}else if(c&&/^(quote|backquote|bracketleft|digit9|comma)$/.test(c)&&a.getSelectedValue()){WOe(n);var b=a.getSelectedValue(),w="";switch(c){case"quote":w="'"+b+"'",n.shiftKey&&(w='"'+b+'"');break;case"backquote":w="`"+b+"`";break;case"bracketleft":w="["+b+"]",n.shiftKey&&(w="{"+b+"}");break;case"digit9":w="("+b+")";break;case"comma":w="<"+b+">";break}a.insertText(w),a.notifyChange()}}var Fur={position:"relative",textAlign:"left",boxSizing:"border-box",padding:0,overflow:"hidden"},$ur={position:"absolute",top:0,left:0,height:"100%",width:"100%",resize:"none",color:"inherit",opacity:.8,overflow:"hidden",MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",WebkitTextFillColor:"transparent"},E$t={margin:0,border:0,background:"none",boxSizing:"inherit",display:"inherit",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontVariantLigatures:"inherit",fontWeight:"inherit",letterSpacing:"inherit",lineHeight:"inherit",tabSize:"inherit",textIndent:"inherit",textRendering:"inherit",textTransform:"inherit",whiteSpace:"pre-wrap",wordBreak:"keep-all",overflowWrap:"break-word",outline:0},Bur=["prefixCls","value","padding","minHeight","placeholder","language","data-color-mode","className","style","rehypePlugins","onChange","indentWidth"];const Uur=Hn.forwardRef((n,i)=>{var{prefixCls:a="w-tc-editor",padding:c=10,minHeight:d=16,placeholder:g,language:b,"data-color-mode":w,className:E,style:S,rehypePlugins:k,onChange:_,indentWidth:C=2}=n,R=iJt(n,Bur),[M,D]=z.useState(n.value||"");z.useEffect(()=>D(n.value||""),[n.value]);var B=z.useRef(null);z.useImperativeHandle(i,()=>B.current,[B]);var F={paddingTop:c,paddingRight:c,paddingBottom:c,paddingLeft:c},$=z.useMemo(()=>Lur("<pre aria-hidden=true><code "+(b&&M?'class="language-'+b+'"':"")+" >"+Mur(String(M||""))+"</code><br /></pre>",k),[M,b,k]),P=z.useMemo(()=>O.jsx("div",{style:Bx({},E$t,F,{minHeight:d}),className:a+"-preview "+(b?"language-"+b:""),dangerouslySetInnerHTML:{__html:$}}),[a,b,$]),H=ee=>{D(ee.target.value),_&&_(ee)},Q=ee=>{R.readOnly||(!R.onKeyDown||R.onKeyDown(ee)!==!1)&&jur(ee,C)},re=Bx({autoComplete:"off",autoCorrect:"off",spellCheck:"false",autoCapitalize:"off"},R,{placeholder:g,onKeyDown:Q,style:Bx({},E$t,$ur,F,{minHeight:d},g&&!M?{WebkitTextFillColor:"inherit"}:{}),onChange:H,className:a+"-text",value:M});return O.jsxs("div",{style:Bx({},Fur,S),className:a+" "+(E||""),"data-color-mode":w,children:[O.jsx("textarea",Bx({},re,{ref:B})),P]})}),e9e=function(n){if(n==null)return qur;if(typeof n=="function")return Zae(n);if(typeof n=="object")return Array.isArray(n)?Hur(n):zur(n);if(typeof n=="string")return Gur(n);throw new Error("Expected function, string, or object as test")};function Hur(n){const i=[];let a=-1;for(;++a<n.length;)i[a]=e9e(n[a]);return Zae(c);function c(...d){let g=-1;for(;++g<i.length;)if(i[g].apply(this,d))return!0;return!1}}function zur(n){const i=n;return Zae(a);function a(c){const d=c;let g;for(g in n)if(d[g]!==i[g])return!1;return!0}}function Gur(n){return Zae(i);function i(a){return a&&a.type===n}}function Zae(n){return i;function i(a,c,d){return!!(Vur(a)&&n.call(this,a,typeof c=="number"?c:void 0,d||void 0))}}function qur(){return!0}function Vur(n){return n!==null&&typeof n=="object"&&"type"in n}const JJt=[],Wur=!0,S$t=!1,Kur="skip";function Yur(n,i,a,c){let d;typeof i=="function"&&typeof a!="function"?(c=a,a=i):d=i;const g=e9e(d),b=c?-1:1;w(n,void 0,[])();function w(E,S,k){const _=E&&typeof E=="object"?E:{};if(typeof _.type=="string"){const R=typeof _.tagName=="string"?_.tagName:typeof _.name=="string"?_.name:void 0;Object.defineProperty(C,"name",{value:"node ("+(E.type+(R?"<"+R+">":""))+")"})}return C;function C(){let R=JJt,M,D,B;if((!i||g(E,S,k[k.length-1]||void 0))&&(R=Jur(a(E,k)),R[0]===S$t))return R;if("children"in E&&E.children){const F=E;if(F.children&&R[0]!==Kur)for(D=(c?F.children.length:-1)+b,B=k.concat(F);D>-1&&D<F.children.length;){const $=F.children[D];if(M=w($,D,B)(),M[0]===S$t)return M;D=typeof M[1]=="number"?M[1]:D+b}}return R}}}function Jur(n){return Array.isArray(n)?n:typeof n=="number"?[Wur,n]:n==null?JJt:[n]}function Xur(n,i,a,c){let d,g,b;g=i,b=a,d=c,Yur(n,g,w,d);function w(E,S){const k=S[S.length-1],_=k?k.children.indexOf(E):void 0;return b(E,_,k)}}function Die(n){return"children"in n?XJt(n):"value"in n?n.value:""}function Zur(n){return n.type==="text"?n.value:"children"in n?XJt(n):""}function XJt(n){let i=-1;const a=[];for(;++i<n.children.length;)a[i]=Zur(n.children[i]);return a.join("")}const Qur={}.hasOwnProperty;function ecr(n,i,a){const c=e9e(i),d=i&&typeof i=="object"&&"cascade"in i?i.cascade:void 0,g=d??!0;return b(n);function b(w,E,S){const k=[];if(!c(w,E,S))return;if(tcr(w)){let R=-1;for(;++R<w.children.length;){const M=b(w.children[R],R,w);M&&k.push(M)}if(g&&w.children.length>0&&k.length===0)return}const _={};let C;for(C in w)Qur.call(w,C)&&(_[C]=C==="children"?k:w[C]);return _}}function tcr(n){return"children"in n&&n.children!==void 0}var rLe={exports:{}};(function(n,i){function a(c){let d=[],g;for(let b of c.split(",").map(w=>w.trim()))if(/^-?\d+$/.test(b))d.push(parseInt(b,10));else if(g=b.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[w,E,S,k]=g;if(E&&k){E=parseInt(E),k=parseInt(k);const _=E<k?1:-1;(S==="-"||S===".."||S==="‥")&&(k+=_);for(let C=E;C!==k;C+=_)d.push(C)}}return d}i.default=a,n.exports=a})(rLe,rLe.exports);var ncr=rLe.exports;const rcr=vR(ncr);Os.displayName="clike";Os.aliases=[];function Os(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}zv.displayName="c";zv.aliases=[];function zv(n){n.register(Os),n.languages.c=n.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),n.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),n.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},n.languages.c.string],char:n.languages.c.char,comment:n.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:n.languages.c}}}}),n.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete n.languages.c.boolean}PR.displayName="cpp";PR.aliases=[];function PR(n){n.register(zv),function(i){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,c=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return a.source});i.languages.cpp=i.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),i.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return c})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),i.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:i.languages.cpp}}}}),i.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),i.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:i.languages.extend("cpp",{})}}),i.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},i.languages.cpp["base-clause"])}(n)}Qae.displayName="arduino";Qae.aliases=["ino"];function Qae(n){n.register(PR),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}Hz.displayName="bash";Hz.aliases=["sh","shell"];function Hz(n){(function(i){var a="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",c={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},d={bash:c,environment:{pattern:RegExp("\\$"+a),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+a),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+a),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:d},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:c}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:d},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:d.entity}}],environment:{pattern:RegExp("\\$?"+a),alias:"constant"},variable:d.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},c.inside=i.languages.bash;for(var g=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],b=d.variable[1].inside,w=0;w<g.length;w++)b[g[w]]=i.languages.bash[g[w]];i.languages.sh=i.languages.bash,i.languages.shell=i.languages.bash})(n)}jR.displayName="csharp";jR.aliases=["cs","dotnet"];function jR(n){n.register(Os),function(i){function a(Je,bt){return Je.replace(/<<(\d+)>>/g,function(qe,_t){return"(?:"+bt[+_t]+")"})}function c(Je,bt,qe){return RegExp(a(Je,bt),"")}function d(Je,bt){for(var qe=0;qe<bt;qe++)Je=Je.replace(/<<self>>/g,function(){return"(?:"+Je+")"});return Je.replace(/<<self>>/g,"[^\\s\\S]")}var g={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function b(Je){return"\\b(?:"+Je.trim().replace(/ /g,"|")+")\\b"}var w=b(g.typeDeclaration),E=RegExp(b(g.type+" "+g.typeDeclaration+" "+g.contextual+" "+g.other)),S=b(g.typeDeclaration+" "+g.contextual+" "+g.other),k=b(g.type+" "+g.typeDeclaration+" "+g.other),_=d(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),C=d(/\((?:[^()]|<<self>>)*\)/.source,2),R=/@?\b[A-Za-z_]\w*\b/.source,M=a(/<<0>>(?:\s*<<1>>)?/.source,[R,_]),D=a(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[S,M]),B=/\[\s*(?:,\s*)*\]/.source,F=a(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[D,B]),$=a(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[_,C,B]),P=a(/\(<<0>>+(?:,<<0>>+)+\)/.source,[$]),H=a(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[P,D,B]),Q={keyword:E,punctuation:/[<>()?,.:[\]]/},re=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,ee=/"(?:\\.|[^\\"\r\n])*"/.source,ae=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:c(/(^|[^$\\])<<0>>/.source,[ae]),lookbehind:!0,greedy:!0},{pattern:c(/(^|[^@$\\])<<0>>/.source,[ee]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:c(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[D]),lookbehind:!0,inside:Q},{pattern:c(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[R,H]),lookbehind:!0,inside:Q},{pattern:c(/(\busing\s+)<<0>>(?=\s*=)/.source,[R]),lookbehind:!0},{pattern:c(/(\b<<0>>\s+)<<1>>/.source,[w,M]),lookbehind:!0,inside:Q},{pattern:c(/(\bcatch\s*\(\s*)<<0>>/.source,[D]),lookbehind:!0,inside:Q},{pattern:c(/(\bwhere\s+)<<0>>/.source,[R]),lookbehind:!0},{pattern:c(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[F]),lookbehind:!0,inside:Q},{pattern:c(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[H,k,R]),inside:Q}],keyword:E,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:c(/([(,]\s*)<<0>>(?=\s*:)/.source,[R]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:c(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[R]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:c(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[C]),lookbehind:!0,alias:"class-name",inside:Q},"return-type":{pattern:c(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[H,D]),inside:Q,alias:"class-name"},"constructor-invocation":{pattern:c(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[H]),lookbehind:!0,inside:Q,alias:"class-name"},"generic-method":{pattern:c(/<<0>>\s*<<1>>(?=\s*\()/.source,[R,_]),inside:{function:c(/^<<0>>/.source,[R]),generic:{pattern:RegExp(_),alias:"class-name",inside:Q}}},"type-list":{pattern:c(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[w,M,R,H,E.source,C,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:c(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[M,C]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:E,"class-name":{pattern:RegExp(H),greedy:!0,inside:Q},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var he=ee+"|"+re,ve=a(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[he]),de=d(a(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[ve]),2),ge=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,Y=a(/<<0>>(?:\s*\(<<1>>*\))?/.source,[D,de]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:c(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[ge,Y]),lookbehind:!0,greedy:!0,inside:{target:{pattern:c(/^<<0>>(?=\s*:)/.source,[ge]),alias:"keyword"},"attribute-arguments":{pattern:c(/\(<<0>>*\)/.source,[de]),inside:i.languages.csharp},"class-name":{pattern:RegExp(D),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var fe=/:[^}\r\n]+/.source,De=d(a(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[ve]),2),Se=a(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[De,fe]),$e=d(a(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[he]),2),Te=a(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[$e,fe]);function ke(Je,bt){return{interpolation:{pattern:c(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Je]),lookbehind:!0,inside:{"format-string":{pattern:c(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[bt,fe]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:c(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Se]),lookbehind:!0,greedy:!0,inside:ke(Se,De)},{pattern:c(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Te]),lookbehind:!0,greedy:!0,inside:ke(Te,$e)}],char:{pattern:RegExp(re),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp}(n)}oh.displayName="markup";oh.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function oh(n){n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(a,c){var d={};d["language-"+c]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[c]},d.cdata=/^<!\[CDATA\[|\]\]>$/i;var g={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:d}};g["language-"+c]={pattern:/[\s\S]+/,inside:n.languages[c]};var b={};b[a]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:g},n.languages.insertBefore("markup","cdata",b)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(i,a){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:n.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}_N.displayName="css";_N.aliases=[];function _N(n){(function(i){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+a.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var c=i.languages.markup;c&&(c.tag.addInlined("style","css"),c.tag.addAttribute("style","css"))})(n)}eue.displayName="diff";eue.aliases=[];function eue(n){(function(i){i.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var a={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(a).forEach(function(c){var d=a[c],g=[];/^\w+$/.test(c)||g.push(/\w+/.exec(c)[0]),c==="diff"&&g.push("bold"),i.languages.diff[c]={pattern:RegExp("^(?:["+d+`].*(?:\r
|
||
?|
|
||
|(?![\\s\\S])))+`,"m"),alias:g,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(c)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:a})})(n)}tue.displayName="go";tue.aliases=[];function tue(n){n.register(Os),n.languages.go=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),n.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete n.languages.go["class-name"]}nue.displayName="ini";nue.aliases=[];function nue(n){n.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}FR.displayName="java";FR.aliases=[];function FR(n){n.register(Os),function(i){var a=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,c=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,d={pattern:RegExp(/(^|[^\w.])/.source+c+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[d,{pattern:RegExp(/(^|[^\w.])/.source+c+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:d.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+c+/[A-Z]\w*\b/.source),lookbehind:!0,inside:d.inside}],keyword:a,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":d,keyword:a,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+c+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:d.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+c+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:d.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return a.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(n)}rue.displayName="regex";rue.aliases=[];function rue(n){(function(i){var a={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},c=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,d={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},g={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},b="(?:[^\\\\-]|"+c.source+")",w=RegExp(b+"-"+b),E={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};i.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:w,inside:{escape:c,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":a,"char-set":g,escape:c}},"special-escape":a,"char-set":d,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":E}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:c,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":E}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(n)}zh.displayName="javascript";zh.aliases=["js"];function zh(n){n.register(Os),n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}W5.displayName="json";W5.aliases=["webmanifest"];function W5(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}iue.displayName="kotlin";iue.aliases=["kt","kts"];function iue(n){n.register(Os),function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var a={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:a},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:a},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin}(n)}oue.displayName="less";oue.aliases=[];function oue(n){n.register(_N),n.languages.less=n.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),n.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}zz.displayName="lua";zz.aliases=[];function zz(n){n.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}sue.displayName="makefile";sue.aliases=[];function sue(n){n.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}Gz.displayName="yaml";Gz.aliases=["yml"];function Gz(n){(function(i){var a=/[*&][^\s[\]{},]+/,c=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,d="(?:"+c.source+"(?:[ ]+"+a.source+")?|"+a.source+"(?:[ ]+"+c.source+")?)",g=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),b=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function w(E,S){S=(S||"").replace(/m/g,"")+"m";var k=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return d}).replace(/<<value>>/g,function(){return E});return RegExp(k,S)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return d})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return d}).replace(/<<key>>/g,function(){return"(?:"+g+"|"+b+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:w(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:w(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:w(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:w(b),lookbehind:!0,greedy:!0},number:{pattern:w(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:c,important:a,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(n)}aue.displayName="markdown";aue.aliases=["md"];function aue(n){n.register(oh),function(i){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function c(w){return w=w.replace(/<inner>/g,function(){return a}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+w+")")}var d=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,g=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return d}),b=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+g+b+"(?:"+g+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+g+b+")(?:"+g+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(d),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+g+")"+b+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+g+"$"),inside:{"table-header":{pattern:RegExp(d),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:c(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:c(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:c(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:c(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(w){["url","bold","italic","strike","code-snippet"].forEach(function(E){w!==E&&(i.languages.markdown[w].inside.content.inside[E]=i.languages.markdown[E])})}),i.hooks.add("after-tokenize",function(w){if(w.language!=="markdown"&&w.language!=="md")return;function E(S){if(!(!S||typeof S=="string"))for(var k=0,_=S.length;k<_;k++){var C=S[k];if(C.type!=="code"){E(C.content);continue}var R=C.content[1],M=C.content[3];if(R&&M&&R.type==="code-language"&&M.type==="code-block"&&typeof R.content=="string"){var D=R.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");D=(/[a-z][\w-]*/i.exec(D)||[""])[0].toLowerCase();var B="language-"+D;M.alias?typeof M.alias=="string"?M.alias=[M.alias,B]:M.alias.push(B):M.alias=[B]}}}E(w.tokens)}),i.hooks.add("wrap",function(w){if(w.type==="code-block"){for(var E="",S=0,k=w.classes.length;S<k;S++){var _=w.classes[S],C=/language-(.+)/.exec(_);if(C){E=C[1];break}}var R=i.languages[E];if(R)w.content=i.highlight(w.content.value,R,E);else if(E&&E!=="none"&&i.plugins.autoloader){var M="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);w.attributes.id=M,i.plugins.autoloader.loadLanguages(E,function(){var D=document.getElementById(M);D&&(D.innerHTML=i.highlight(D.textContent,i.languages[E],E))})}}}),RegExp(i.languages.markup.tag.pattern.source,"gi"),i.languages.md=i.languages.markdown}(n)}uue.displayName="objectivec";uue.aliases=["objc"];function uue(n){n.register(zv),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}cue.displayName="perl";cue.aliases=[];function cue(n){(function(i){var a=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;i.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,a].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,a].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,a+/\s*/.source+a].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(n)}Gh.displayName="markup-templating";Gh.aliases=[];function Gh(n){n.register(oh),function(i){function a(c,d){return"___"+c.toUpperCase()+d+"___"}Object.defineProperties(i.languages["markup-templating"]={},{buildPlaceholders:{value:function(c,d,g,b){if(c.language===d){var w=c.tokenStack=[];c.code=c.code.replace(g,function(E){if(typeof b=="function"&&!b(E))return E;for(var S=w.length,k;c.code.indexOf(k=a(d,S))!==-1;)++S;return w[S]=E,k}),c.grammar=i.languages.markup}}},tokenizePlaceholders:{value:function(c,d){if(c.language!==d||!c.tokenStack)return;c.grammar=i.languages[d];var g=0,b=Object.keys(c.tokenStack);function w(E){for(var S=0;S<E.length&&!(g>=b.length);S++){var k=E[S];if(typeof k=="string"||k.content&&typeof k.content=="string"){var _=b[g],C=c.tokenStack[_],R=typeof k=="string"?k:k.content,M=a(d,_),D=R.indexOf(M);if(D>-1){++g;var B=R.substring(0,D),F=new i.Token(d,i.tokenize(C,c.grammar),"language-"+d,C),$=R.substring(D+M.length),P=[];B&&P.push.apply(P,w([B])),P.push(F),$&&P.push.apply(P,w([$])),typeof k=="string"?E.splice.apply(E,[S,1].concat(P)):k.content=P}}else k.content&&w(k.content)}return E}w(c.tokens)}}})}(n)}$R.displayName="php";$R.aliases=[];function $R(n){n.register(Gh),function(i){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,c=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],d=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,g=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,b=/[{}\[\](),:;]/;i.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:c,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:d,operator:g,punctuation:b};var w={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:i.languages.php},E=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:w}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:w}}];i.languages.insertBefore("php","variable",{string:E,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:E,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:c,number:d,operator:g,punctuation:b}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),i.hooks.add("before-tokenize",function(S){if(/<\?/.test(S.code)){var k=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;i.languages["markup-templating"].buildPlaceholders(S,"php",k)}}),i.hooks.add("after-tokenize",function(S){i.languages["markup-templating"].tokenizePlaceholders(S,"php")})}(n)}qz.displayName="python";qz.aliases=["py"];function qz(n){n.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.python["string-interpolation"].inside.interpolation.inside.rest=n.languages.python,n.languages.py=n.languages.python}lue.displayName="r";lue.aliases=[];function lue(n){n.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}BR.displayName="ruby";BR.aliases=["rb"];function BR(n){n.register(Os),function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var a={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var c="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",d=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+c+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:a,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:a,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+d),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+d+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+c),greedy:!0,inside:{interpolation:a,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:a,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:a,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+c),greedy:!0,inside:{interpolation:a,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:a,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby}(n)}due.displayName="rust";due.aliases=[];function due(n){(function(i){for(var a=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,c=0;c<2;c++)a=a.replace(/<self>/g,function(){return a});a=a.replace(/<self>/g,function(){return/[^\s\S]/.source}),i.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+a),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},i.languages.rust["closure-params"].inside.rest=i.languages.rust,i.languages.rust.attribute.inside.string=i.languages.rust.string})(n)}fue.displayName="sass";fue.aliases=[];function fue(n){n.register(_N),function(i){i.languages.sass=i.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),i.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete i.languages.sass.atrule;var a=/\$[-\w]+|#\{\$[-\w]+\}/,c=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];i.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:a,operator:c}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:a,operator:c,important:i.languages.sass.important}}}),delete i.languages.sass.property,delete i.languages.sass.important,i.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(n)}hue.displayName="scss";hue.aliases=[];function hue(n){n.register(_N),n.languages.scss=n.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),n.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),n.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),n.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),n.languages.scss.atrule.inside.rest=n.languages.scss}K5.displayName="sql";K5.aliases=[];function K5(n){n.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}pue.displayName="swift";pue.aliases=[];function pue(n){n.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},n.languages.swift["string-literal"].forEach(function(i){i.inside.interpolation.inside=n.languages.swift})}Y5.displayName="typescript";Y5.aliases=["ts"];function Y5(n){n.register(zh),function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var a=i.languages.extend("typescript",{});delete a["class-name"],i.languages.typescript["class-name"].inside=a,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:a}}}}),i.languages.ts=i.languages.typescript}(n)}Vz.displayName="basic";Vz.aliases=[];function Vz(n){n.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}Wz.displayName="vbnet";Wz.aliases=[];function Wz(n){n.register(Vz),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}class Kz{constructor(i,a,c){this.property=i,this.normal=a,c&&(this.space=c)}}Kz.prototype.property={};Kz.prototype.normal={};Kz.prototype.space=null;function ZJt(n,i){const a={},c={};let d=-1;for(;++d<n.length;)Object.assign(a,n[d].property),Object.assign(c,n[d].normal);return new Kz(a,c,i)}function lz(n){return n.toLowerCase()}class Iw{constructor(i,a){this.property=i,this.attribute=a}}Iw.prototype.space=null;Iw.prototype.boolean=!1;Iw.prototype.booleanish=!1;Iw.prototype.overloadedBoolean=!1;Iw.prototype.number=!1;Iw.prototype.commaSeparated=!1;Iw.prototype.spaceSeparated=!1;Iw.prototype.commaOrSpaceSeparated=!1;Iw.prototype.mustUseProperty=!1;Iw.prototype.defined=!1;let icr=0;const Ho=UR(),jd=UR(),QJt=UR(),ur=UR(),qu=UR(),u5=UR(),Rm=UR();function UR(){return 2**++icr}const iLe=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ho,booleanish:jd,commaOrSpaceSeparated:Rm,commaSeparated:u5,number:ur,overloadedBoolean:QJt,spaceSeparated:qu},Symbol.toStringTag,{value:"Module"})),KOe=Object.keys(iLe);class t9e extends Iw{constructor(i,a,c,d){let g=-1;if(super(i,a),T$t(this,"space",d),typeof c=="number")for(;++g<KOe.length;){const b=KOe[g];T$t(this,KOe[g],(c&iLe[b])===iLe[b])}}}t9e.prototype.defined=!0;function T$t(n,i,a){a&&(n[i]=a)}const ocr={}.hasOwnProperty;function J5(n){const i={},a={};let c;for(c in n.properties)if(ocr.call(n.properties,c)){const d=n.properties[c],g=new t9e(c,n.transform(n.attributes||{},c),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(c)&&(g.mustUseProperty=!0),i[c]=g,a[lz(c)]=c,a[lz(g.attribute)]=c}return new Kz(i,a,n.space)}const eXt=J5({space:"xlink",transform(n,i){return"xlink:"+i.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),tXt=J5({space:"xml",transform(n,i){return"xml:"+i.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function nXt(n,i){return i in n?n[i]:i}function rXt(n,i){return nXt(n,i.toLowerCase())}const iXt=J5({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:rXt,properties:{xmlns:null,xmlnsXLink:null}}),oXt=J5({transform(n,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:jd,ariaAutoComplete:null,ariaBusy:jd,ariaChecked:jd,ariaColCount:ur,ariaColIndex:ur,ariaColSpan:ur,ariaControls:qu,ariaCurrent:null,ariaDescribedBy:qu,ariaDetails:null,ariaDisabled:jd,ariaDropEffect:qu,ariaErrorMessage:null,ariaExpanded:jd,ariaFlowTo:qu,ariaGrabbed:jd,ariaHasPopup:null,ariaHidden:jd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qu,ariaLevel:ur,ariaLive:null,ariaModal:jd,ariaMultiLine:jd,ariaMultiSelectable:jd,ariaOrientation:null,ariaOwns:qu,ariaPlaceholder:null,ariaPosInSet:ur,ariaPressed:jd,ariaReadOnly:jd,ariaRelevant:null,ariaRequired:jd,ariaRoleDescription:qu,ariaRowCount:ur,ariaRowIndex:ur,ariaRowSpan:ur,ariaSelected:jd,ariaSetSize:ur,ariaSort:null,ariaValueMax:ur,ariaValueMin:ur,ariaValueNow:ur,ariaValueText:null,role:null}}),scr=J5({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:rXt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u5,acceptCharset:qu,accessKey:qu,action:null,allow:null,allowFullScreen:Ho,allowPaymentRequest:Ho,allowUserMedia:Ho,alt:null,as:null,async:Ho,autoCapitalize:null,autoComplete:qu,autoFocus:Ho,autoPlay:Ho,blocking:qu,capture:null,charSet:null,checked:Ho,cite:null,className:qu,cols:ur,colSpan:null,content:null,contentEditable:jd,controls:Ho,controlsList:qu,coords:ur|u5,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ho,defer:Ho,dir:null,dirName:null,disabled:Ho,download:QJt,draggable:jd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ho,formTarget:null,headers:qu,height:ur,hidden:Ho,high:ur,href:null,hrefLang:null,htmlFor:qu,httpEquiv:qu,id:null,imageSizes:null,imageSrcSet:null,inert:Ho,inputMode:null,integrity:null,is:null,isMap:Ho,itemId:null,itemProp:qu,itemRef:qu,itemScope:Ho,itemType:qu,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ho,low:ur,manifest:null,max:null,maxLength:ur,media:null,method:null,min:null,minLength:ur,multiple:Ho,muted:Ho,name:null,nonce:null,noModule:Ho,noValidate:Ho,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ho,optimum:ur,pattern:null,ping:qu,placeholder:null,playsInline:Ho,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ho,referrerPolicy:null,rel:qu,required:Ho,reversed:Ho,rows:ur,rowSpan:ur,sandbox:qu,scope:null,scoped:Ho,seamless:Ho,selected:Ho,shadowRootClonable:Ho,shadowRootDelegatesFocus:Ho,shadowRootMode:null,shape:null,size:ur,sizes:null,slot:null,span:ur,spellCheck:jd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ur,step:null,style:null,tabIndex:ur,target:null,title:null,translate:null,type:null,typeMustMatch:Ho,useMap:null,value:jd,width:ur,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:qu,axis:null,background:null,bgColor:null,border:ur,borderColor:null,bottomMargin:ur,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ho,declare:Ho,event:null,face:null,frame:null,frameBorder:null,hSpace:ur,leftMargin:ur,link:null,longDesc:null,lowSrc:null,marginHeight:ur,marginWidth:ur,noResize:Ho,noHref:Ho,noShade:Ho,noWrap:Ho,object:null,profile:null,prompt:null,rev:null,rightMargin:ur,rules:null,scheme:null,scrolling:jd,standby:null,summary:null,text:null,topMargin:ur,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ur,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ho,disableRemotePlayback:Ho,prefix:null,property:null,results:ur,security:null,unselectable:null}}),acr=J5({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:nXt,properties:{about:Rm,accentHeight:ur,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ur,amplitude:ur,arabicForm:null,ascent:ur,attributeName:null,attributeType:null,azimuth:ur,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ur,by:null,calcMode:null,capHeight:ur,className:qu,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ur,diffuseConstant:ur,direction:null,display:null,dur:null,divisor:ur,dominantBaseline:null,download:Ho,dx:null,dy:null,edgeMode:null,editable:null,elevation:ur,enableBackground:null,end:null,event:null,exponent:ur,externalResourcesRequired:null,fill:null,fillOpacity:ur,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:u5,g2:u5,glyphName:u5,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ur,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ur,horizOriginX:ur,horizOriginY:ur,id:null,ideographic:ur,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ur,k:ur,k1:ur,k2:ur,k3:ur,k4:ur,kernelMatrix:Rm,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ur,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ur,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ur,overlineThickness:ur,paintOrder:null,panose1:null,path:null,pathLength:ur,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qu,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ur,pointsAtY:ur,pointsAtZ:ur,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Rm,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Rm,rev:Rm,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Rm,requiredFeatures:Rm,requiredFonts:Rm,requiredFormats:Rm,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ur,specularExponent:ur,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ur,strikethroughThickness:ur,string:null,stroke:null,strokeDashArray:Rm,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ur,strokeOpacity:ur,strokeWidth:null,style:null,surfaceScale:ur,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Rm,tabIndex:ur,tableValues:null,target:null,targetX:ur,targetY:ur,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Rm,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ur,underlineThickness:ur,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ur,values:null,vAlphabetic:ur,vMathematical:ur,vectorEffect:null,vHanging:ur,vIdeographic:ur,version:null,vertAdvY:ur,vertOriginX:ur,vertOriginY:ur,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ur,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ucr=/^data[-\w.:]+$/i,A$t=/-[a-z]/g,ccr=/[A-Z]/g;function lcr(n,i){const a=lz(i);let c=i,d=Iw;if(a in n.normal)return n.property[n.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&ucr.test(i)){if(i.charAt(4)==="-"){const g=i.slice(5).replace(A$t,fcr);c="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=i.slice(4);if(!A$t.test(g)){let b=g.replace(ccr,dcr);b.charAt(0)!=="-"&&(b="-"+b),i="data"+b}}d=t9e}return new d(c,i)}function dcr(n){return"-"+n.toLowerCase()}function fcr(n){return n.charAt(1).toUpperCase()}const hcr=ZJt([tXt,eXt,iXt,oXt,scr],"html");ZJt([tXt,eXt,iXt,oXt,acr],"svg");const _$t=/[#.]/g;function pcr(n,i){const a=n||"",c={};let d=0,g,b;for(;d<a.length;){_$t.lastIndex=d;const w=_$t.exec(a),E=a.slice(d,w?w.index:a.length);E&&(g?g==="#"?c.id=E:Array.isArray(c.className)?c.className.push(E):c.className=[E]:b=E,d+=E.length),w&&(g=w[0],d++)}return{type:"element",tagName:b||i||"div",properties:c,children:[]}}const gcr=new Set(["menu","submit","reset","button"]),sXt={}.hasOwnProperty;function bcr(n,i,a){return function(d,g,...b){let w=-1,E;if(d==null)E={type:"root",children:[]},b.unshift(g);else if(E=pcr(d,i),E.tagName=E.tagName.toLowerCase(),mcr(g,E.tagName)){let S;for(S in g)sXt.call(g,S)&&wcr(n,E.properties,S,g[S])}else b.unshift(g);for(;++w<b.length;)oLe(E.children,b[w]);return E.type==="element"&&E.tagName==="template"&&(E.content={type:"root",children:E.children},E.children=[]),E}}function mcr(n,i){return n==null||typeof n!="object"||Array.isArray(n)?!1:i==="input"||!n.type||typeof n.type!="string"?!0:"children"in n&&Array.isArray(n.children)?!1:i==="button"?gcr.has(n.type.toLowerCase()):!("value"in n)}function wcr(n,i,a,c){const d=lcr(n,a);let g=-1,b;if(c!=null){if(typeof c=="number"){if(Number.isNaN(c))return;b=c}else typeof c=="boolean"?b=c:typeof c=="string"?d.spaceSeparated?b=wse(c):d.commaSeparated?b=mse(c):d.commaOrSpaceSeparated?b=wse(mse(c).join(" ")):b=k$t(d,d.property,c):Array.isArray(c)?b=c.concat():b=d.property==="style"?ycr(c):String(c);if(Array.isArray(b)){const w=[];for(;++g<b.length;)w[g]=k$t(d,d.property,b[g]);b=w}d.property==="className"&&Array.isArray(i.className)&&(b=i.className.concat(b)),i[d.property]=b}}function oLe(n,i){let a=-1;if(i!=null)if(typeof i=="string"||typeof i=="number")n.push({type:"text",value:String(i)});else if(Array.isArray(i))for(;++a<i.length;)oLe(n,i[a]);else if(typeof i=="object"&&"type"in i)i.type==="root"?oLe(n,i.children):n.push(i);else throw new Error("Expected node, nodes, or string, got `"+i+"`")}function k$t(n,i,a){if(typeof a=="string"){if(n.number&&a&&!Number.isNaN(Number(a)))return Number(a);if((n.boolean||n.overloadedBoolean)&&(a===""||lz(a)===lz(i)))return!0}return a}function ycr(n){const i=[];let a;for(a in n)sXt.call(n,a)&&i.push([a,n[a]].join(": "));return i.join("; ")}const vcr=bcr(hcr,"div"),x$t={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function aXt(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=48&&i<=57}function Ecr(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}function Scr(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=122||i>=65&&i<=90}function N$t(n){return Scr(n)||aXt(n)}const C$t=document.createElement("i");function I$t(n){const i="&"+n+";";C$t.innerHTML=i;const a=C$t.textContent;return a.charCodeAt(a.length-1)===59&&n!=="semi"||a===i?!1:a}const Tcr=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Acr(n,i){const a={},c=typeof a.additional=="string"?a.additional.charCodeAt(0):a.additional,d=[];let g=0,b=-1,w="",E,S;a.position&&("start"in a.position||"indent"in a.position?(S=a.position.indent,E=a.position.start):E=a.position);let k=(E?E.line:0)||1,_=(E?E.column:0)||1,C=M(),R;for(g--;++g<=n.length;)if(R===10&&(_=(S?S[b]:0)||1),R=n.charCodeAt(g),R===38){const F=n.charCodeAt(g+1);if(F===9||F===10||F===12||F===32||F===38||F===60||Number.isNaN(F)||c&&F===c){w+=String.fromCharCode(R),_++;continue}const $=g+1;let P=$,H=$,Q;if(F===35){H=++P;const Y=n.charCodeAt(H);Y===88||Y===120?(Q="hexadecimal",H=++P):Q="decimal"}else Q="named";let re="",ee="",ae="";const he=Q==="named"?N$t:Q==="decimal"?aXt:Ecr;for(H--;++H<=n.length;){const Y=n.charCodeAt(H);if(!he(Y))break;ae+=String.fromCharCode(Y),Q==="named"&&zJt.includes(ae)&&(re=ae,ee=I$t(ae))}let ve=n.charCodeAt(H)===59;if(ve){H++;const Y=Q==="named"?I$t(ae):!1;Y&&(re=ae,ee=Y)}let de=1+H-$,ge="";if(!(!ve&&a.nonTerminated===!1))if(!ae)Q!=="named"&&D(4,de);else if(Q==="named"){if(ve&&!ee)D(5,1);else if(re!==ae&&(H=P+re.length,de=1+H-P,ve=!1),!ve){const Y=re?1:3;if(a.attribute){const fe=n.charCodeAt(H);fe===61?(D(Y,de),ee=""):N$t(fe)?ee="":D(Y,de)}else D(Y,de)}ge=ee}else{ve||D(2,de);let Y=Number.parseInt(ae,Q==="hexadecimal"?16:10);if(_cr(Y))D(7,de),ge="�";else if(Y in x$t)D(6,de),ge=x$t[Y];else{let fe="";kcr(Y)&&D(6,de),Y>65535&&(Y-=65536,fe+=String.fromCharCode(Y>>>10|55296),Y=56320|Y&1023),ge=fe+String.fromCharCode(Y)}}if(ge){B(),C=M(),g=H-1,_+=H-$+1,d.push(ge);const Y=M();Y.offset++,a.reference&&a.reference.call(a.referenceContext||void 0,ge,{start:C,end:Y},n.slice($-1,H)),C=Y}else ae=n.slice($-1,H),w+=ae,_+=ae.length,g=H-1}else R===10&&(k++,b++,_=0),Number.isNaN(R)?B():(w+=String.fromCharCode(R),_++);return d.join("");function M(){return{line:k,column:_,offset:g+((E?E.offset:0)||0)}}function D(F,$){let P;a.warning&&(P=M(),P.column+=$,P.offset+=$,a.warning.call(a.warningContext||void 0,Tcr[F],P,F))}function B(){w&&(d.push(w),a.text&&a.text.call(a.textContext||void 0,w,{start:C,end:M()}),w="")}}function _cr(n){return n>=55296&&n<=57343||n>1114111}function kcr(n){return n>=1&&n<=8||n===11||n>=13&&n<=31||n>=127&&n<=159||n>=64976&&n<=65007||(n&65535)===65535||(n&65535)===65534}var xcr=0,Lie={},Qf={util:{type:function(n){return Object.prototype.toString.call(n).slice(8,-1)},objId:function(n){return n.__id||Object.defineProperty(n,"__id",{value:++xcr}),n.__id},clone:function n(i,a){a=a||{};var c,d;switch(Qf.util.type(i)){case"Object":if(d=Qf.util.objId(i),a[d])return a[d];c={},a[d]=c;for(var g in i)i.hasOwnProperty(g)&&(c[g]=n(i[g],a));return c;case"Array":return d=Qf.util.objId(i),a[d]?a[d]:(c=[],a[d]=c,i.forEach(function(b,w){c[w]=n(b,a)}),c);default:return i}}},languages:{plain:Lie,plaintext:Lie,text:Lie,txt:Lie,extend:function(n,i){var a=Qf.util.clone(Qf.languages[n]);for(var c in i)a[c]=i[c];return a},insertBefore:function(n,i,a,c){c=c||Qf.languages;var d=c[n],g={};for(var b in d)if(d.hasOwnProperty(b)){if(b==i)for(var w in a)a.hasOwnProperty(w)&&(g[w]=a[w]);a.hasOwnProperty(b)||(g[b]=d[b])}var E=c[n];return c[n]=g,Qf.languages.DFS(Qf.languages,function(S,k){k===E&&S!=n&&(this[S]=g)}),g},DFS:function n(i,a,c,d){d=d||{};var g=Qf.util.objId;for(var b in i)if(i.hasOwnProperty(b)){a.call(i,b,i[b],c||b);var w=i[b],E=Qf.util.type(w);E==="Object"&&!d[g(w)]?(d[g(w)]=!0,n(w,a,null,d)):E==="Array"&&!d[g(w)]&&(d[g(w)]=!0,n(w,a,b,d))}}},plugins:{},highlight:function(n,i,a){var c={code:n,grammar:i,language:a};if(Qf.hooks.run("before-tokenize",c),!c.grammar)throw new Error('The language "'+c.language+'" has no grammar.');return c.tokens=Qf.tokenize(c.code,c.grammar),Qf.hooks.run("after-tokenize",c),TH.stringify(Qf.util.encode(c.tokens),c.language)},tokenize:function(n,i){var a=i.rest;if(a){for(var c in a)i[c]=a[c];delete i.rest}var d=new Ncr;return ooe(d,d.head,n),uXt(n,d,i,d.head,0),Icr(d)},hooks:{all:{},add:function(n,i){var a=Qf.hooks.all;a[n]=a[n]||[],a[n].push(i)},run:function(n,i){var a=Qf.hooks.all[n];if(!(!a||!a.length))for(var c=0,d;d=a[c++];)d(i)}},Token:TH};function TH(n,i,a,c){this.type=n,this.content=i,this.alias=a,this.length=(c||"").length|0}function R$t(n,i,a,c){n.lastIndex=i;var d=n.exec(a);if(d&&c&&d[1]){var g=d[1].length;d.index+=g,d[0]=d[0].slice(g)}return d}function uXt(n,i,a,c,d,g){for(var b in a)if(!(!a.hasOwnProperty(b)||!a[b])){var w=a[b];w=Array.isArray(w)?w:[w];for(var E=0;E<w.length;++E){if(g&&g.cause==b+","+E)return;var S=w[E],k=S.inside,_=!!S.lookbehind,C=!!S.greedy,R=S.alias;if(C&&!S.pattern.global){var M=S.pattern.toString().match(/[imsuy]*$/)[0];S.pattern=RegExp(S.pattern.source,M+"g")}for(var D=S.pattern||S,B=c.next,F=d;B!==i.tail&&!(g&&F>=g.reach);F+=B.value.length,B=B.next){var $=B.value;if(i.length>n.length)return;if(!($ instanceof TH)){var P=1,H;if(C){if(H=R$t(D,F,n,_),!H||H.index>=n.length)break;var ae=H.index,Q=H.index+H[0].length,re=F;for(re+=B.value.length;ae>=re;)B=B.next,re+=B.value.length;if(re-=B.value.length,F=re,B.value instanceof TH)continue;for(var ee=B;ee!==i.tail&&(re<Q||typeof ee.value=="string");ee=ee.next)P++,re+=ee.value.length;P--,$=n.slice(F,re),H.index-=F}else if(H=R$t(D,0,$,_),!H)continue;var ae=H.index,he=H[0],ve=$.slice(0,ae),de=$.slice(ae+he.length),ge=F+$.length;g&&ge>g.reach&&(g.reach=ge);var Y=B.prev;ve&&(Y=ooe(i,Y,ve),F+=ve.length),Ccr(i,Y,P);var fe=new TH(b,k?Qf.tokenize(he,k):he,R,he);if(B=ooe(i,Y,fe),de&&ooe(i,B,de),P>1){var De={cause:b+","+E,reach:ge};uXt(n,i,a,B.prev,F,De),g&&De.reach>g.reach&&(g.reach=De.reach)}}}}}}function Ncr(){var n={value:null,prev:null,next:null},i={value:null,prev:n,next:null};n.next=i,this.head=n,this.tail=i,this.length=0}function ooe(n,i,a){var c=i.next,d={value:a,prev:i,next:c};return i.next=d,c.prev=d,n.length++,d}function Ccr(n,i,a){for(var c=i.next,d=0;d<a&&c!==n.tail;d++)c=c.next;i.next=c,c.prev=i,n.length-=d}function Icr(n){for(var i=[],a=n.head.next;a!==n.tail;)i.push(a.value),a=a.next;return i}const cXt=Qf,X5={}.hasOwnProperty;function lXt(){}lXt.prototype=cXt;const _e=new lXt;_e.highlight=Rcr;_e.register=Ocr;_e.alias=Dcr;_e.registered=Lcr;_e.listLanguages=Mcr;_e.util.encode=Pcr;_e.Token.stringify=sLe;function Rcr(n,i){if(typeof n!="string")throw new TypeError("Expected `string` for `value`, got `"+n+"`");let a,c;if(i&&typeof i=="object")a=i;else{if(c=i,typeof c!="string")throw new TypeError("Expected `string` for `name`, got `"+c+"`");if(X5.call(_e.languages,c))a=_e.languages[c];else throw new Error("Unknown language: `"+c+"` is not registered")}return{type:"root",children:cXt.highlight.call(_e,n,a,c)}}function Ocr(n){if(typeof n!="function"||!n.displayName)throw new Error("Expected `function` for `syntax`, got `"+n+"`");X5.call(_e.languages,n.displayName)||n(_e)}function Dcr(n,i){const a=_e.languages;let c={};typeof n=="string"?i&&(c[n]=i):c=n;let d;for(d in c)if(X5.call(c,d)){const g=c[d],b=typeof g=="string"?[g]:g;let w=-1;for(;++w<b.length;)a[b[w]]=a[d]}}function Lcr(n){if(typeof n!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+n+"`");return X5.call(_e.languages,n)}function Mcr(){const n=_e.languages,i=[];let a;for(a in n)X5.call(n,a)&&typeof n[a]=="object"&&i.push(a);return i}function sLe(n,i){if(typeof n=="string")return{type:"text",value:n};if(Array.isArray(n)){const c=[];let d=-1;for(;++d<n.length;)n[d]!==null&&n[d]!==void 0&&n[d]!==""&&c.push(sLe(n[d],i));return c}const a={attributes:{},classes:["token",n.type],content:sLe(n.content,i),language:i,tag:"span",type:n.type};return n.alias&&a.classes.push(...typeof n.alias=="string"?[n.alias]:n.alias),_e.hooks.run("wrap",a),vcr(a.tag+"."+a.classes.join("."),jcr(a.attributes),a.content)}function Pcr(n){return n}function jcr(n){let i;for(i in n)X5.call(n,i)&&(n[i]=Acr(n[i]));return n}_e.register(Os);_e.register(zv);_e.register(PR);_e.register(Qae);_e.register(Hz);_e.register(jR);_e.register(oh);_e.register(_N);_e.register(eue);_e.register(tue);_e.register(nue);_e.register(FR);_e.register(rue);_e.register(zh);_e.register(W5);_e.register(iue);_e.register(oue);_e.register(zz);_e.register(sue);_e.register(Gz);_e.register(aue);_e.register(uue);_e.register(cue);_e.register(Gh);_e.register($R);_e.register(qz);_e.register(lue);_e.register(BR);_e.register(due);_e.register(fue);_e.register(hue);_e.register(K5);_e.register(pue);_e.register(Y5);_e.register(Vz);_e.register(Wz);n9e.displayName="abap";n9e.aliases=[];function n9e(n){n.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}r9e.displayName="abnf";r9e.aliases=[];function r9e(n){(function(i){var a="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";i.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+a+"|<"+a+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(n)}i9e.displayName="actionscript";i9e.aliases=[];function i9e(n){n.register(zh),n.languages.actionscript=n.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),n.languages.actionscript["class-name"].alias="function",delete n.languages.actionscript.parameter,delete n.languages.actionscript["literal-property"],n.languages.markup&&n.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:n.languages.markup}})}o9e.displayName="ada";o9e.aliases=[];function o9e(n){n.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}s9e.displayName="agda";s9e.aliases=[];function s9e(n){(function(i){i.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(n)}a9e.displayName="al";a9e.aliases=[];function a9e(n){n.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}u9e.displayName="antlr4";u9e.aliases=["g4"];function u9e(n){n.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},n.languages.g4=n.languages.antlr4}c9e.displayName="apacheconf";c9e.aliases=[];function c9e(n){n.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}l9e.displayName="apex";l9e.aliases=[];function l9e(n){n.register(Os),n.register(K5),function(i){var a=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,c=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return a.source});function d(b){return RegExp(b.replace(/<CLASS-NAME>/g,function(){return c}),"i")}var g={keyword:a,punctuation:/[()\[\]{};,:.<>]/};i.languages.apex={comment:i.languages.clike.comment,string:i.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:i.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:d(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:g},{pattern:d(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:g},{pattern:d(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:g}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}d9e.displayName="apl";d9e.aliases=[];function d9e(n){n.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}f9e.displayName="applescript";f9e.aliases=[];function f9e(n){n.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}h9e.displayName="aql";h9e.aliases=[];function h9e(n){n.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}p9e.displayName="arff";p9e.aliases=[];function p9e(n){n.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}g9e.displayName="armasm";g9e.aliases=["arm-asm"];function g9e(n){n.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},n.languages["arm-asm"]=n.languages.armasm}b9e.displayName="arturo";b9e.aliases=["art"];function b9e(n){(function(i){var a=function(c,d){return{pattern:RegExp(/\{!/.source+"(?:"+(d||c)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+c,inside:i.languages[c]},string:/[\s\S]+/}}};i.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":a("html"),"css-string":a("css"),"js-string":a("js"),"md-string":a("md"),"sql-string":a("sql"),"sh-string":a("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},i.languages.art=i.languages.arturo})(n)}m9e.displayName="asciidoc";m9e.aliases=["adoc"];function m9e(n){(function(i){var a={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},c=i.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:a,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:a.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:a,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function d(g){g=g.split(" ");for(var b={},w=0,E=g.length;w<E;w++)b[g[w]]=c[g[w]];return b}a.inside.interpreted.inside.rest=d("macro inline replacement entity"),c["passthrough-block"].inside.rest=d("macro"),c["literal-block"].inside.rest=d("callout"),c.table.inside.rest=d("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),c["other-block"].inside.rest=d("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),c.title.inside.rest=d("macro inline replacement entity"),i.hooks.add("wrap",function(g){g.type==="entity"&&(g.attributes.title=g.content.value.replace(/&/,"&"))}),i.languages.adoc=i.languages.asciidoc})(n)}w9e.displayName="aspnet";w9e.aliases=[];function w9e(n){n.register(jR),n.register(oh),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}y9e.displayName="asm6502";y9e.aliases=[];function y9e(n){n.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}v9e.displayName="asmatmel";v9e.aliases=[];function v9e(n){n.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/}}E9e.displayName="autohotkey";E9e.aliases=[];function E9e(n){n.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}S9e.displayName="autoit";S9e.aliases=[];function S9e(n){n.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}T9e.displayName="avisynth";T9e.aliases=["avs"];function T9e(n){(function(i){function a(S,k){return S.replace(/<<(\d+)>>/g,function(_,C){return k[+C]})}function c(S,k,_){return RegExp(a(S,k),_)}var d=/bool|clip|float|int|string|val/.source,g=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),b=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),w=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),E=[g,b,w].join("|");i.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:c(/\b(?:<<0>>)\s+("?)\w+\1/.source,[d],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:c(/\b(?:<<0>>)\b/.source,[E],"i"),alias:"function"},"type-cast":{pattern:c(/\b(?:<<0>>)(?=\s*\()/.source,[d],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},i.languages.avs=i.languages.avisynth})(n)}A9e.displayName="avro-idl";A9e.aliases=["avdl"];function A9e(n){n.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},n.languages.avdl=n.languages["avro-idl"]}_9e.displayName="awk";_9e.aliases=["gawk"];function _9e(n){n.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},n.languages.gawk=n.languages.awk}k9e.displayName="batch";k9e.aliases=[];function k9e(n){(function(i){var a=/%%?[~:\w]+%?|!\S+!/,c={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},d=/"(?:[\\"]"|[^"])*"(?!")/,g=/(?:\b|-)\d+\b/;i.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:d,parameter:c,variable:a,number:g,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:d,parameter:c,variable:a,number:g,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:d,parameter:c,variable:[a,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:g,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:d,parameter:c,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:a,number:g,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(n)}x9e.displayName="bbcode";x9e.aliases=["shortcode"];function x9e(n){n.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},n.languages.shortcode=n.languages.bbcode}N9e.displayName="bbj";N9e.aliases=[];function N9e(n){(function(i){i.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}})(n)}C9e.displayName="bicep";C9e.aliases=[];function C9e(n){n.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},n.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=n.languages.bicep}I9e.displayName="birb";I9e.aliases=[];function I9e(n){n.register(Os),n.languages.birb=n.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),n.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}R9e.displayName="bison";R9e.aliases=[];function R9e(n){n.register(zv),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}O9e.displayName="bnf";O9e.aliases=["rbnf"];function O9e(n){n.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},n.languages.rbnf=n.languages.bnf}D9e.displayName="bqn";D9e.aliases=[];function D9e(n){n.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}L9e.displayName="brainfuck";L9e.aliases=[];function L9e(n){n.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}M9e.displayName="brightscript";M9e.aliases=[];function M9e(n){n.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},n.languages.brightscript["directive-statement"].inside.expression.inside=n.languages.brightscript}P9e.displayName="bro";P9e.aliases=[];function P9e(n){n.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}j9e.displayName="bsl";j9e.aliases=["oscript"];function j9e(n){n.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},n.languages.oscript=n.languages.bsl}F9e.displayName="cfscript";F9e.aliases=["cfc"];function F9e(n){n.register(Os),n.languages.cfscript=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),n.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete n.languages.cfscript["class-name"],n.languages.cfc=n.languages.cfscript}$9e.displayName="chaiscript";$9e.aliases=[];function $9e(n){n.register(Os),n.register(PR),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}B9e.displayName="cil";B9e.aliases=[];function B9e(n){n.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}U9e.displayName="cilkc";U9e.aliases=["cilk-c"];function U9e(n){n.register(zv),n.languages.cilkc=n.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),n.languages["cilk-c"]=n.languages.cilkc}H9e.displayName="cilkcpp";H9e.aliases=["cilk","cilk-cpp"];function H9e(n){n.register(PR),n.languages.cilkcpp=n.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),n.languages["cilk-cpp"]=n.languages.cilkcpp,n.languages.cilk=n.languages.cilkcpp}z9e.displayName="clojure";z9e.aliases=[];function z9e(n){n.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}G9e.displayName="cmake";G9e.aliases=[];function G9e(n){n.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}q9e.displayName="cobol";q9e.aliases=[];function q9e(n){n.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}V9e.displayName="coffeescript";V9e.aliases=["coffee"];function V9e(n){n.register(zh),function(i){var a=/#(?!\{).+/,c={pattern:/#\{[^}]+\}/,alias:"variable"};i.languages.coffeescript=i.languages.extend("javascript",{comment:a,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:c}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:a,interpolation:c}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:c}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript}(n)}W9e.displayName="concurnas";W9e.aliases=["conc"];function W9e(n){n.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},n.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},string:/[\s\S]+/}}}),n.languages.conc=n.languages.concurnas}K9e.displayName="csp";K9e.aliases=[];function K9e(n){(function(i){function a(c){return RegExp(/([ \t])/.source+"(?:"+c+")"+/(?=[\s;]|$)/.source,"i")}i.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:a(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:a(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:a(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:a(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:a(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:a(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:a(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(n)}Y9e.displayName="cooklang";Y9e.aliases=[];function Y9e(n){(function(i){var a=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,c=/[^{}@#]+/.source,d=/\{[^}#@]*\}/.source,g=c+d,b=/(?:h|hours|hrs|m|min|minutes)/.source,w={pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}};i.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+g+"|"+a+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+c+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+c),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+g+"|"+a+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+c+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":w}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+b+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(n)}J9e.displayName="coq";J9e.aliases=[];function J9e(n){(function(i){for(var a=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,c=0;c<2;c++)a=a.replace(/<self>/g,function(){return a});a=a.replace(/<self>/g,"[]"),i.languages.coq={comment:RegExp(a),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return a})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(a),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(n)}X9e.displayName="crystal";X9e.aliases=[];function X9e(n){n.register(BR),function(i){i.languages.crystal=i.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,i.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),i.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:i.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(n)}Z9e.displayName="css-extras";Z9e.aliases=[];function Z9e(n){n.register(_N),function(i){var a=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,c;i.languages.css.selector={pattern:i.languages.css.selector.pattern,lookbehind:!0,inside:c={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+a.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[a,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},i.languages.css.atrule.inside["selector-function-argument"].inside=c,i.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var d={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},g={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};i.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:d,number:g,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:d,number:g})}(n)}Q9e.displayName="csv";Q9e.aliases=[];function Q9e(n){n.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e8e.displayName="cue";e8e.aliases=[];function e8e(n){(function(i){var a=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,c=/"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source,d="(?:"+c.replace(/<esc>/g,a)+")";i.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+d+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},i.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=i.languages.cue})(n)}t8e.displayName="cypher";t8e.aliases=[];function t8e(n){n.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}n8e.displayName="d";n8e.aliases=[];function n8e(n){n.register(Os),n.languages.d=n.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),n.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),n.languages.insertBefore("d","keyword",{property:/\B@\w*/}),n.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}r8e.displayName="dart";r8e.aliases=[];function r8e(n){n.register(Os),function(i){var a=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],c=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,d={pattern:RegExp(c+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};i.languages.dart=i.languages.extend("clike",{"class-name":[d,{pattern:RegExp(c+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:d.inside}],keyword:a,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),i.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.dart}}},string:/[\s\S]+/}},string:void 0}),i.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),i.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":d,keyword:a,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(n)}i8e.displayName="dataweave";i8e.aliases=[];function i8e(n){(function(i){i.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(n)}o8e.displayName="dax";o8e.aliases=[];function o8e(n){n.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}s8e.displayName="dhall";s8e.aliases=[];function s8e(n){n.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},n.languages.dhall.string.inside.interpolation.inside.expression.inside=n.languages.dhall}a8e.displayName="django";a8e.aliases=["jinja2"];function a8e(n){n.register(Gh),function(i){i.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,c=i.languages["markup-templating"];i.hooks.add("before-tokenize",function(d){c.buildPlaceholders(d,"django",a)}),i.hooks.add("after-tokenize",function(d){c.tokenizePlaceholders(d,"django")}),i.languages.jinja2=i.languages.django,i.hooks.add("before-tokenize",function(d){c.buildPlaceholders(d,"jinja2",a)}),i.hooks.add("after-tokenize",function(d){c.tokenizePlaceholders(d,"jinja2")})}(n)}u8e.displayName="dns-zone-file";u8e.aliases=["dns-zone"];function u8e(n){n.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},n.languages["dns-zone"]=n.languages["dns-zone-file"]}c8e.displayName="docker";c8e.aliases=["dockerfile"];function c8e(n){(function(i){var a=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,c=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return a}),d=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,g=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return d}),b={pattern:RegExp(d),greedy:!0},w={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function E(S,k){return S=S.replace(/<OPT>/g,function(){return g}).replace(/<SP>/g,function(){return c}),RegExp(S,k)}i.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:E(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[b,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:E(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:E(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:E(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:w,string:b,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:w},i.languages.dockerfile=i.languages.docker})(n)}l8e.displayName="dot";l8e.aliases=["gv"];function l8e(n){(function(i){var a="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",c={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:i.languages.markup}};function d(g,b){return RegExp(g.replace(/<ID>/g,function(){return a}),b)}i.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:d(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:c},"attr-value":{pattern:d(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:c},"attr-name":{pattern:d(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:c},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:d(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:c},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},i.languages.gv=i.languages.dot})(n)}d8e.displayName="ebnf";d8e.aliases=[];function d8e(n){n.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}f8e.displayName="editorconfig";f8e.aliases=[];function f8e(n){n.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}h8e.displayName="eiffel";h8e.aliases=[];function h8e(n){n.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}p8e.displayName="ejs";p8e.aliases=["eta"];function p8e(n){n.register(zh),n.register(Gh),function(i){i.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:i.languages.javascript}},i.hooks.add("before-tokenize",function(a){var c=/<%(?!%)[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(a,"ejs",c)}),i.hooks.add("after-tokenize",function(a){i.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),i.languages.eta=i.languages.ejs}(n)}g8e.displayName="elixir";g8e.aliases=[];function g8e(n){n.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},n.languages.elixir.string.forEach(function(i){i.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:n.languages.elixir}}}})}b8e.displayName="elm";b8e.aliases=[];function b8e(n){n.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}m8e.displayName="etlua";m8e.aliases=[];function m8e(n){n.register(zz),n.register(Gh),function(i){i.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:i.languages.lua}},i.hooks.add("before-tokenize",function(a){var c=/<%[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(a,"etlua",c)}),i.hooks.add("after-tokenize",function(a){i.languages["markup-templating"].tokenizePlaceholders(a,"etlua")})}(n)}w8e.displayName="erb";w8e.aliases=[];function w8e(n){n.register(Gh),n.register(BR),function(i){i.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:i.languages.ruby}},i.hooks.add("before-tokenize",function(a){var c=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;i.languages["markup-templating"].buildPlaceholders(a,"erb",c)}),i.hooks.add("after-tokenize",function(a){i.languages["markup-templating"].tokenizePlaceholders(a,"erb")})}(n)}y8e.displayName="erlang";y8e.aliases=[];function y8e(n){n.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}v8e.displayName="excel-formula";v8e.aliases=["xls","xlsx"];function v8e(n){n.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},n.languages.xlsx=n.languages.xls=n.languages["excel-formula"]}E8e.displayName="fsharp";E8e.aliases=[];function E8e(n){n.register(Os),n.languages.fsharp=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),n.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),n.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),n.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:n.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}S8e.displayName="factor";S8e.aliases=[];function S8e(n){(function(i){var a={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},c={number:/\\[^\s']|%\w/},d={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:a},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:a}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:c.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:c},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:c}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:c}},g=function(S){return(S+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},b=function(S){return new RegExp("(^|\\s)(?:"+S.map(g).join("|")+")(?=\\s|$)")},w={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(w).forEach(function(S){d[S].pattern=b(w[S])});var E=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];d.combinators.pattern=b(E),i.languages.factor=d})(n)}T8e.displayName="false";T8e.aliases=[];function T8e(n){(function(i){i.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(n)}A8e.displayName="firestore-security-rules";A8e.aliases=[];function A8e(n){n.register(Os),n.languages["firestore-security-rules"]=n.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete n.languages["firestore-security-rules"]["class-name"],n.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}_8e.displayName="flow";_8e.aliases=[];function _8e(n){n.register(zh),function(i){i.languages.flow=i.languages.extend("javascript",{}),i.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),i.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete i.languages.flow.parameter,i.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(i.languages.flow.keyword)||(i.languages.flow.keyword=[i.languages.flow.keyword]),i.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(n)}k8e.displayName="fortran";k8e.aliases=[];function k8e(n){n.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}x8e.displayName="ftl";x8e.aliases=[];function x8e(n){n.register(Gh),function(i){for(var a=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,c=0;c<2;c++)a=a.replace(/<expr>/g,function(){return a});a=a.replace(/<expr>/g,/[^\s\S]/.source);var d={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return a})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};d.string[1].inside.interpolation.inside.rest=d,i.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:d}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:d}}}},i.hooks.add("before-tokenize",function(g){var b=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return a}),"gi");i.languages["markup-templating"].buildPlaceholders(g,"ftl",b)}),i.hooks.add("after-tokenize",function(g){i.languages["markup-templating"].tokenizePlaceholders(g,"ftl")})}(n)}N8e.displayName="gml";N8e.aliases=["gamemakerlanguage"];function N8e(n){n.register(Os),n.languages.gamemakerlanguage=n.languages.gml=n.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}C8e.displayName="gap";C8e.aliases=[];function C8e(n){n.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},n.languages.gap.shell.inside.gap.inside=n.languages.gap}I8e.displayName="gcode";I8e.aliases=[];function I8e(n){n.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}R8e.displayName="gdscript";R8e.aliases=[];function R8e(n){n.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}O8e.displayName="gedcom";O8e.aliases=[];function O8e(n){n.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}D8e.displayName="gettext";D8e.aliases=["po"];function D8e(n){n.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},n.languages.po=n.languages.gettext}L8e.displayName="gherkin";L8e.aliases=[];function L8e(n){(function(i){var a=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;i.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+a+")(?:"+a+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(a),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(n)}M8e.displayName="git";M8e.aliases=[];function M8e(n){n.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}P8e.displayName="glsl";P8e.aliases=[];function P8e(n){n.register(zv),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}j8e.displayName="gn";j8e.aliases=["gni"];function j8e(n){n.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},n.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=n.languages.gn,n.languages.gni=n.languages.gn}F8e.displayName="linker-script";F8e.aliases=["ld"];function F8e(n){n.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},n.languages.ld=n.languages["linker-script"]}$8e.displayName="go-module";$8e.aliases=["go-mod"];function $8e(n){n.languages["go-mod"]=n.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}B8e.displayName="gradle";B8e.aliases=[];function B8e(n){n.register(Os),function(i){var a={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};i.languages.gradle=i.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),i.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:a,string:/[\s\S]+/}}}),i.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),i.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),a.inside.expression.inside=i.languages.gradle}(n)}U8e.displayName="graphql";U8e.aliases=[];function U8e(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",function(a){if(a.language!=="graphql")return;var c=a.tokens.filter(function(B){return typeof B!="string"&&B.type!=="comment"&&B.type!=="scalar"}),d=0;function g(B){return c[d+B]}function b(B,F){F=F||0;for(var $=0;$<B.length;$++){var P=g($+F);if(!P||P.type!==B[$])return!1}return!0}function w(B,F){for(var $=1,P=d;P<c.length;P++){var H=c[P],Q=H.content;if(H.type==="punctuation"&&typeof Q=="string"){if(B.test(Q))$++;else if(F.test(Q)&&($--,$===0))return P}}return-1}function E(B,F){var $=B.alias;$?Array.isArray($)||(B.alias=$=[$]):B.alias=$=[],$.push(F)}for(;d<c.length;){var S=c[d++];if(S.type==="keyword"&&S.content==="mutation"){var k=[];if(b(["definition-mutation","punctuation"])&&g(1).content==="("){d+=2;var _=w(/^\($/,/^\)$/);if(_===-1)continue;for(;d<_;d++){var C=g(0);C.type==="variable"&&(E(C,"variable-input"),k.push(C.content))}d=_+1}if(b(["punctuation","property-query"])&&g(0).content==="{"&&(d++,E(g(0),"property-mutation"),k.length>0)){var R=w(/^\{$/,/^\}$/);if(R===-1)continue;for(var M=d;M<R;M++){var D=c[M];D.type==="variable"&&k.indexOf(D.content)>=0&&E(D,"variable-input")}}}}})}H8e.displayName="groovy";H8e.aliases=[];function H8e(n){n.register(Os),function(i){var a={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};i.languages.groovy=i.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),i.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:a,string:/[\s\S]+/}}}),i.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),i.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),a.inside.expression.inside=i.languages.groovy}(n)}z8e.displayName="textile";z8e.aliases=[];function z8e(n){n.register(oh),function(i){var a=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,c=/\)|\((?![^|()\n]+\))/.source;function d(_,C){return RegExp(_.replace(/<MOD>/g,function(){return"(?:"+a+")"}).replace(/<PAR>/g,function(){return"(?:"+c+")"}),C||"")}var g={css:{pattern:/\{[^{}]+\}/,inside:{rest:i.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},b=i.languages.textile=i.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:d(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:d(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:g},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:d(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:d(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:g},punctuation:/^[*#]+/}},table:{pattern:d(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:d(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:g},punctuation:/\||^\./}},inline:{pattern:d(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:d(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:d(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:d(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:d(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:d(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:d(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:d(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:d(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:g},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:d(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:d(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:d(/(^")<MOD>+/.source),lookbehind:!0,inside:g},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:d(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:d(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:d(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:g},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),w=b.phrase.inside,E={inline:w.inline,link:w.link,image:w.image,footnote:w.footnote,acronym:w.acronym,mark:w.mark};b.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var S=w.inline.inside;S.bold.inside=E,S.italic.inside=E,S.inserted.inside=E,S.deleted.inside=E,S.span.inside=E;var k=w.table.inside;k.inline=E.inline,k.link=E.link,k.image=E.image,k.footnote=E.footnote,k.acronym=E.acronym,k.mark=E.mark}(n)}G8e.displayName="haml";G8e.aliases=[];function G8e(n){n.register(BR),function(i){i.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:i.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:i.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:i.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:i.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:i.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:i.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:i.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",c=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],d={},g=0,b=c.length;g<b;g++){var w=c[g];w=typeof w=="string"?{filter:w,language:w}:w,i.languages[w.language]&&(d["filter-"+w.filter]={pattern:RegExp(a.replace("{{filter_name}}",function(){return w.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[w.language,"language-"+w.language],inside:i.languages[w.language]}}})}i.languages.insertBefore("haml","filter",d)}(n)}q8e.displayName="handlebars";q8e.aliases=["hbs","mustache"];function q8e(n){n.register(Gh),function(i){i.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},i.hooks.add("before-tokenize",function(a){var c=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;i.languages["markup-templating"].buildPlaceholders(a,"handlebars",c)}),i.hooks.add("after-tokenize",function(a){i.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),i.languages.hbs=i.languages.handlebars,i.languages.mustache=i.languages.handlebars}(n)}Yz.displayName="haskell";Yz.aliases=["hs"];function Yz(n){n.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},n.languages.hs=n.languages.haskell}V8e.displayName="haxe";V8e.aliases=[];function V8e(n){n.register(Os),n.languages.haxe=n.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),n.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.haxe}}},string:/[\s\S]+/}}}),n.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),n.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}W8e.displayName="hcl";W8e.aliases=[];function W8e(n){n.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}K8e.displayName="hlsl";K8e.aliases=[];function K8e(n){n.register(zv),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}Y8e.displayName="hoon";Y8e.aliases=[];function Y8e(n){n.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}J8e.displayName="hpkp";J8e.aliases=[];function J8e(n){n.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}X8e.displayName="hsts";X8e.aliases=[];function X8e(n){n.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}Z8e.displayName="uri";Z8e.aliases=["url"];function Z8e(n){n.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},n.languages.url=n.languages.uri}Q8e.displayName="http";Q8e.aliases=[];function Q8e(n){(function(i){function a(k){return RegExp("(^(?:"+k+"):[ ]*(?![ ]))[^]+","i")}i.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:i.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:a(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:i.languages.csp},{pattern:a(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:i.languages.hpkp},{pattern:a(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:i.languages.hsts},{pattern:a(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var c=i.languages,d={"application/javascript":c.javascript,"application/json":c.json||c.javascript,"application/xml":c.xml,"text/xml":c.xml,"text/html":c.html,"text/css":c.css,"text/plain":c.plain},g={"application/json":!0,"application/xml":!0};function b(k){var _=k.replace(/^[a-z]+\//,""),C="\\w+/(?:[\\w.-]+\\+)+"+_+"(?![+\\w.-])";return"(?:"+k+"|"+C+")"}var w;for(var E in d)if(d[E]){w=w||{};var S=g[E]?b(E):E;w[E.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+S+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:d[E]}}w&&i.languages.insertBefore("http","header",w)})(n)}ePe.displayName="ichigojam";ePe.aliases=[];function ePe(n){n.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}tPe.displayName="icon";tPe.aliases=[];function tPe(n){n.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}nPe.displayName="icu-message-format";nPe.aliases=[];function nPe(n){(function(i){function a(E,S){return S<=0?/[]/.source:E.replace(/<SELF>/g,function(){return a(E,S-1)})}var c=/'[{}:=,](?:[^']|'')*'(?!')/,d={pattern:/''/,greedy:!0,alias:"operator"},g={pattern:c,greedy:!0,inside:{escape:d}},b=a(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return c.source}),8),w={pattern:RegExp(b),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};i.languages["icu-message-format"]={argument:{pattern:RegExp(b),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":w,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":w,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+a(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:d,string:g},w.inside.message.inside=i.languages["icu-message-format"],i.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=i.languages["icu-message-format"]})(n)}rPe.displayName="idris";rPe.aliases=["idr"];function rPe(n){n.register(Yz),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}iPe.displayName="ignore";iPe.aliases=["gitignore","hgignore","npmignore"];function iPe(n){(function(i){i.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},i.languages.gitignore=i.languages.ignore,i.languages.hgignore=i.languages.ignore,i.languages.npmignore=i.languages.ignore})(n)}oPe.displayName="inform7";oPe.aliases=[];function oPe(n){n.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},n.languages.inform7.string.inside.substitution.inside.rest=n.languages.inform7,n.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}sPe.displayName="io";sPe.aliases=[];function sPe(n){n.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}aPe.displayName="j";aPe.aliases=[];function aPe(n){n.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}Z5.displayName="javadoclike";Z5.aliases=[];function Z5(n){(function(i){var a=i.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function c(g,b){var w="doc-comment",E=i.languages[g];if(E){var S=E[w];if(!S){var k={};k[w]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},E=i.languages.insertBefore(g,"comment",k),S=E[w]}if(S instanceof RegExp&&(S=E[w]={pattern:S}),Array.isArray(S))for(var _=0,C=S.length;_<C;_++)S[_]instanceof RegExp&&(S[_]={pattern:S[_]}),b(S[_]);else b(S)}}function d(g,b){typeof g=="string"&&(g=[g]),g.forEach(function(w){c(w,function(E){E.inside||(E.inside={}),E.inside.rest=b})})}Object.defineProperty(a,"addSupport",{value:d}),a.addSupport(["java","javascript","php"],a)})(n)}uPe.displayName="scala";uPe.aliases=[];function uPe(n){n.register(FR),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function,delete n.languages.scala.constant}cPe.displayName="javadoc";cPe.aliases=[];function cPe(n){n.register(FR),n.register(Z5),n.register(oh),function(i){var a=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,c=/#\s*\w+(?:\s*\([^()]*\))?/.source,d=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return c});i.languages.javadoc=i.languages.extend("javadoclike",{}),i.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+d+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:i.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:a,lookbehind:!0,inside:i.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:a,lookbehind:!0,inside:{tag:i.languages.markup.tag,entity:i.languages.markup.entity,code:{pattern:/.+/,inside:i.languages.java,alias:"language-java"}}}}}],tag:i.languages.markup.tag,entity:i.languages.markup.entity}),i.languages.javadoclike.addSupport("java",i.languages.javadoc)}(n)}lPe.displayName="javastacktrace";lPe.aliases=[];function lPe(n){n.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}dPe.displayName="jexl";dPe.aliases=[];function dPe(n){n.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}fPe.displayName="jolie";fPe.aliases=[];function fPe(n){n.register(Os),n.languages.jolie=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),n.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}hPe.displayName="jq";hPe.aliases=[];function hPe(n){(function(i){var a=/\\\((?:[^()]|\([^()]*\))*\)/.source,c=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return a})),d={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+a),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},g=i.languages.jq={comment:/#.*/,property:{pattern:RegExp(c.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:d},string:{pattern:c,lookbehind:!0,greedy:!0,inside:d},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};d.interpolation.inside.content.inside=g})(n)}pPe.displayName="js-templates";pPe.aliases=[];function pPe(n){n.register(zh),function(i){var a=i.languages.javascript["template-string"],c=a.pattern.source,d=a.inside.interpolation,g=d.inside["interpolation-punctuation"],b=d.pattern.source;function w(M,D){if(i.languages[M])return{pattern:RegExp("((?:"+D+")\\s*)"+c),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:M}}}}i.languages.javascript["template-string"]=[w("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),w("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),w("svg",/\bsvg/.source),w("markdown",/\b(?:markdown|md)/.source),w("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),w("sql",/\bsql/.source),a].filter(Boolean);function E(M,D){return"___"+D.toUpperCase()+"_"+M+"___"}function S(M,D,B){var F={code:M,grammar:D,language:B};return i.hooks.run("before-tokenize",F),F.tokens=i.tokenize(F.code,F.grammar),i.hooks.run("after-tokenize",F),F.tokens}function k(M){var D={};D["interpolation-punctuation"]=g;var B=i.tokenize(M,D);if(B.length===3){var F=[1,1];F.push.apply(F,S(B[1],i.languages.javascript,"javascript")),B.splice.apply(B,F)}return new i.Token("interpolation",B,d.alias,M)}function _(M,D,B){var F=i.tokenize(M,{interpolation:{pattern:RegExp(b),lookbehind:!0}}),$=0,P={},H=F.map(function(ae){if(typeof ae=="string")return ae;for(var he=ae.content,ve;M.indexOf(ve=E($++,B))!==-1;);return P[ve]=he,ve}).join(""),Q=S(H,D,B),re=Object.keys(P);$=0;function ee(ae){for(var he=0;he<ae.length;he++){if($>=re.length)return;var ve=ae[he];if(typeof ve=="string"||typeof ve.content=="string"){var de=re[$],ge=typeof ve=="string"?ve:ve.content,Y=ge.indexOf(de);if(Y!==-1){++$;var fe=ge.substring(0,Y),De=k(P[de]),Se=ge.substring(Y+de.length),$e=[];if(fe&&$e.push(fe),$e.push(De),Se){var Te=[Se];ee(Te),$e.push.apply($e,Te)}typeof ve=="string"?(ae.splice.apply(ae,[he,1].concat($e)),he+=$e.length-1):ve.content=$e}}else{var ke=ve.content;Array.isArray(ke)?ee(ke):ee([ke])}}}return ee(Q),new i.Token(B,Q,"language-"+B,M)}var C={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};i.hooks.add("after-tokenize",function(M){if(!(M.language in C))return;function D(B){for(var F=0,$=B.length;F<$;F++){var P=B[F];if(typeof P!="string"){var H=P.content;if(!Array.isArray(H)){typeof H!="string"&&D([H]);continue}if(P.type==="template-string"){var Q=H[1];if(H.length===3&&typeof Q!="string"&&Q.type==="embedded-code"){var re=R(Q),ee=Q.alias,ae=Array.isArray(ee)?ee[0]:ee,he=i.languages[ae];if(!he)continue;H[1]=_(re,he,ae)}}else D(H)}}}D(M.tokens)});function R(M){return typeof M=="string"?M:Array.isArray(M)?M.map(R).join(""):R(M.content)}}(n)}gPe.displayName="jsdoc";gPe.aliases=[];function gPe(n){n.register(Z5),n.register(zh),n.register(Y5),function(i){var a=i.languages.javascript,c=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,d="(@(?:arg|argument|param|property)\\s+(?:"+c+"\\s+)?)";i.languages.jsdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp(d+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),i.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(d+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:a,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return c})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+c),lookbehind:!0,inside:{string:a.string,number:a.number,boolean:a.boolean,keyword:i.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:a,alias:"language-javascript"}}}}),i.languages.javadoclike.addSupport("javascript",i.languages.jsdoc)}(n)}bPe.displayName="n4js";bPe.aliases=["n4jsd"];function bPe(n){n.register(zh),n.languages.n4js=n.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),n.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),n.languages.n4jsd=n.languages.n4js}mPe.displayName="js-extras";mPe.aliases=[];function mPe(n){n.register(zh),function(i){i.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+i.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),i.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+i.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),i.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function a(E,S){return RegExp(E.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),S)}i.languages.insertBefore("javascript","keyword",{imports:{pattern:a(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:i.languages.javascript},exports:{pattern:a(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:i.languages.javascript}}),i.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),i.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),i.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:a(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var c=["function","function-variable","method","method-variable","property-access"],d=0;d<c.length;d++){var g=c[d],b=i.languages.javascript[g];i.util.type(b)==="RegExp"&&(b=i.languages.javascript[g]={pattern:b});var w=b.inside||{};b.inside=w,w["maybe-class-name"]=/^[A-Z][\s\S]*/}}(n)}wPe.displayName="json5";wPe.aliases=[];function wPe(n){n.register(W5),function(i){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;i.languages.json5=i.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}yPe.displayName="jsonp";yPe.aliases=[];function yPe(n){n.register(W5),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}vPe.displayName="jsstacktrace";vPe.aliases=[];function vPe(n){n.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}EPe.displayName="julia";EPe.aliases=[];function EPe(n){n.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}SPe.displayName="keepalived";SPe.aliases=[];function SPe(n){n.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}TPe.displayName="keyman";TPe.aliases=[];function TPe(n){n.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}APe.displayName="kumir";APe.aliases=["kum"];function APe(n){(function(i){var a=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function c(d,g){return RegExp(d.replace(/<nonId>/g,a),g)}i.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:c(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:c(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:c(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:c(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:c(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:c(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:c(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:c(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},i.languages.kum=i.languages.kumir})(n)}_Pe.displayName="kusto";_Pe.aliases=[];function _Pe(n){n.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}kPe.displayName="latex";kPe.aliases=["context","tex"];function kPe(n){(function(i){var a=/\\(?:[^a-z()[\]]|[a-z*]+)/i,c={"equation-command":{pattern:a,alias:"regex"}};i.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:c,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:c,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:a,alias:"selector"},punctuation:/[[\]{}&]/},i.languages.tex=i.languages.latex,i.languages.context=i.languages.latex})(n)}xPe.displayName="latte";xPe.aliases=[];function xPe(n){n.register(Os),n.register(Gh),n.register($R),function(i){i.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:i.languages.php}};var a=i.languages.extend("markup",{});i.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.php}}}}}},a.tag),i.hooks.add("before-tokenize",function(c){if(c.language==="latte"){var d=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;i.languages["markup-templating"].buildPlaceholders(c,"latte",d),c.grammar=a}}),i.hooks.add("after-tokenize",function(c){i.languages["markup-templating"].tokenizePlaceholders(c,"latte")})}(n)}Jz.displayName="scheme";Jz.aliases=[];function Jz(n){(function(i){i.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(a({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function a(c){for(var d in c)c[d]=c[d].replace(/<[\w\s]+>/g,function(g){return"(?:"+c[g].trim()+")"});return c[d]}})(n)}NPe.displayName="lilypond";NPe.aliases=["ly"];function NPe(n){n.register(Jz),function(i){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,c=5,d=0;d<c;d++)a=a.replace(/<expr>/g,function(){return a});a=a.replace(/<expr>/g,/[^\s\S]/.source);var g=i.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return a}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:i.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};g["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=g,i.languages.ly=g}(n)}CPe.displayName="liquid";CPe.aliases=[];function CPe(n){n.register(Gh),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(i){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,c=!1;n.languages["markup-templating"].buildPlaceholders(i,"liquid",a,function(d){var g=/^\{%-?\s*(\w+)/.exec(d);if(g){var b=g[1];if(b==="raw"&&!c)return c=!0,!0;if(b==="endraw")return c=!1,!0}return!c})}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"liquid")})}IPe.displayName="lisp";IPe.aliases=["elisp","emacs","emacs-lisp"];function IPe(n){(function(i){function a(M){return RegExp(/(\()/.source+"(?:"+M+")"+/(?=[\s\)])/.source)}function c(M){return RegExp(/([\s([])/.source+"(?:"+M+")"+/(?=[\s)])/.source)}var d=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,g="&"+d,b="(\\()",w="(?=\\))",E="(?=\\s)",S=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,k={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+d+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+d),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+d),alias:"property"},splice:{pattern:RegExp(",@?"+d),alias:["symbol","variable"]},keyword:[{pattern:RegExp(b+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+E),lookbehind:!0},{pattern:RegExp(b+"(?:append|by|collect|concat|do|finally|for|in|return)"+E),lookbehind:!0}],declare:{pattern:a(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:a(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:c(/nil|t/.source),lookbehind:!0},number:{pattern:c(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(b+"def(?:const|custom|group|var)\\s+"+d),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(d)}},defun:{pattern:RegExp(b+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+d+/\s+\(/.source+S+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+d),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(b+"lambda\\s+\\(\\s*(?:&?"+d+"(?:\\s+&?"+d+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(b+d),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},_={"lisp-marker":RegExp(g),varform:{pattern:RegExp(/\(/.source+d+/\s+(?=\S)/.source+S+/\)/.source),inside:k},argument:{pattern:RegExp(/(^|[\s(])/.source+d),lookbehind:!0,alias:"variable"},rest:k},C="\\S+(?:\\s+\\S+)*",R={pattern:RegExp(b+S+w),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+C),inside:_},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+C),inside:_},keys:{pattern:RegExp("&key\\s+"+C+"(?:\\s+&allow-other-keys)?"),inside:_},argument:{pattern:RegExp(d),alias:"variable"},punctuation:/[()]/}};k.lambda.inside.arguments=R,k.defun.inside.arguments=i.util.clone(R),k.defun.inside.arguments.inside.sublist=R,i.languages.lisp=k,i.languages.elisp=k,i.languages.emacs=k,i.languages["emacs-lisp"]=k})(n)}RPe.displayName="livescript";RPe.aliases=[];function RPe(n){n.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},n.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=n.languages.livescript}OPe.displayName="llvm";OPe.aliases=[];function OPe(n){(function(i){i.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(n)}DPe.displayName="log";DPe.aliases=[];function DPe(n){n.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:n.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}LPe.displayName="lolcode";LPe.aliases=[];function LPe(n){n.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}MPe.displayName="magma";MPe.aliases=[];function MPe(n){n.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}gue.displayName="mata";gue.aliases=[];function gue(n){(function(i){var a=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,c=/\bvoid\b|<org>|\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*<org>)?/.source.replace(/<org>/g,a);i.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(c),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}})(n)}PPe.displayName="matlab";PPe.aliases=[];function PPe(n){n.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}jPe.displayName="maxscript";jPe.aliases=[];function jPe(n){(function(i){var a=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;i.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+a.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+a.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:a,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(n)}FPe.displayName="mel";FPe.aliases=[];function FPe(n){n.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},n.languages.mel.code.inside.statement.inside=n.languages.mel}$Pe.displayName="mermaid";$Pe.aliases=[];function $Pe(n){n.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}BPe.displayName="metafont";BPe.aliases=[];function BPe(n){n.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}UPe.displayName="mizar";UPe.aliases=[];function UPe(n){n.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}HPe.displayName="mongodb";HPe.aliases=[];function HPe(n){n.register(zh),function(i){var a=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],c=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];a=a.map(function(g){return g.replace("$","\\$")});var d="(?:"+a.join("|")+")\\b";i.languages.mongodb=i.languages.extend("javascript",{}),i.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+d+"(?:\\1)?$")}}}),i.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},i.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+c.join("|")+")\\b"),alias:"keyword"}})}(n)}zPe.displayName="monkey";zPe.aliases=[];function zPe(n){n.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}GPe.displayName="moonscript";GPe.aliases=["moon"];function GPe(n){n.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},n.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=n.languages.moonscript,n.languages.moon=n.languages.moonscript}qPe.displayName="n1ql";qPe.aliases=[];function qPe(n){n.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}VPe.displayName="nand2tetris-hdl";VPe.aliases=[];function VPe(n){n.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}WPe.displayName="naniscript";WPe.aliases=["nani"];function WPe(n){(function(i){var a=/\{[^\r\n\[\]{}]*\}/,c={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:a,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};i.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:a,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:c}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:a,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:c},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},i.languages.nani=i.languages.naniscript,i.hooks.add("after-tokenize",function(b){var w=b.tokens;w.forEach(function(E){if(typeof E!="string"&&E.type==="generic-text"){var S=g(E);d(S)||(E.type="bad-line",E.content=S)}})});function d(b){for(var w="[]{}",E=[],S=0;S<b.length;S++){var k=b[S],_=w.indexOf(k);if(_!==-1){if(_%2===0)E.push(_+1);else if(E.pop()!==_)return!1}}return E.length===0}function g(b){return typeof b=="string"?b:Array.isArray(b)?b.map(g).join(""):g(b.content)}})(n)}KPe.displayName="nasm";KPe.aliases=[];function KPe(n){n.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}YPe.displayName="neon";YPe.aliases=[];function YPe(n){n.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}JPe.displayName="nevod";JPe.aliases=[];function JPe(n){n.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}XPe.displayName="nginx";XPe.aliases=[];function XPe(n){(function(i){var a=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;i.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:a}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:a}},punctuation:/[{};]/}})(n)}ZPe.displayName="nim";ZPe.aliases=[];function ZPe(n){n.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}QPe.displayName="nix";QPe.aliases=[];function QPe(n){n.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},n.languages.nix.string.inside.interpolation.inside=n.languages.nix}eje.displayName="nsis";eje.aliases=[];function eje(n){n.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}tje.displayName="ocaml";tje.aliases=[];function tje(n){n.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}nje.displayName="odin";nje.aliases=[];function nje(n){(function(i){var a=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;i.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:a}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:a}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(n)}rje.displayName="opencl";rje.aliases=[];function rje(n){n.register(zv),function(i){i.languages.opencl=i.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),i.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var a={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};i.languages.insertBefore("c","keyword",a),i.languages.cpp&&(a["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},i.languages.insertBefore("cpp","keyword",a))}(n)}ije.displayName="openqasm";ije.aliases=["qasm"];function ije(n){n.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},n.languages.qasm=n.languages.openqasm}oje.displayName="oz";oje.aliases=[];function oje(n){n.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}sje.displayName="parigp";sje.aliases=[];function sje(n){n.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var i=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return i=i.map(function(a){return a.split("").join(" *")}).join("|"),RegExp("\\b(?:"+i+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}aje.displayName="parser";aje.aliases=[];function aje(n){n.register(oh),function(i){var a=i.languages.parser=i.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});a=i.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:a.keyword,variable:a.variable,function:a.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:a.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:a.punctuation}}}),i.languages.insertBefore("inside","punctuation",{expression:a.expression,keyword:a.keyword,variable:a.variable,function:a.function,escape:a.escape,"parser-punctuation":{pattern:a.punctuation,alias:"punctuation"}},a.tag.inside["attr-value"])}(n)}uje.displayName="pascal";uje.aliases=["objectpascal"];function uje(n){n.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},n.languages.pascal.asm.inside=n.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),n.languages.objectpascal=n.languages.pascal}cje.displayName="pascaligo";cje.aliases=[];function cje(n){(function(i){var a=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,c=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return a}),d=i.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return c}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return c}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return c})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},g=["comment","keyword","builtin","operator","punctuation"].reduce(function(b,w){return b[w]=d[w],b},{});d["class-name"].forEach(function(b){b.inside=g})})(n)}lje.displayName="psl";lje.aliases=[];function lje(n){n.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}dje.displayName="pcaxis";dje.aliases=["px"];function dje(n){n.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},n.languages.px=n.languages.pcaxis}fje.displayName="peoplecode";fje.aliases=["pcode"];function fje(n){n.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},n.languages.pcode=n.languages.peoplecode}hje.displayName="phpdoc";hje.aliases=[];function hje(n){n.register(Z5),n.register($R),function(i){var a=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;i.languages.phpdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+a+"\\s+)?)\\$\\w+"),lookbehind:!0}}),i.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+a),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),i.languages.javadoclike.addSupport("php",i.languages.phpdoc)}(n)}pje.displayName="php-extras";pje.aliases=[];function pje(n){n.register($R),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}gje.displayName="plant-uml";gje.aliases=["plantuml"];function gje(n){(function(i){var a=/\$\w+|%[a-z]+%/,c=/\[[^[\]]*\]/.source,d=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,g="(?:-+"+d+"-+|\\.+"+d+"\\.+|-+(?:"+c+"-*)?|"+c+"-+|\\.+(?:"+c+"\\.*)?|"+c+"\\.+)",b=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,w=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,E=/[[?]?[ox]?/.source,S=/[ox]?[\]?]?/.source,k=E+"(?:"+g+w+"|"+b+g+"(?:"+w+")?)"+S;i.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:a}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+k+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:a,punctuation:/[:,;()[\]{}]|\.{3}/},i.languages["plant-uml"].arrow.inside.expression.inside=i.languages["plant-uml"],i.languages.plantuml=i.languages["plant-uml"]})(n)}bje.displayName="plsql";bje.aliases=[];function bje(n){n.register(K5),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}mje.displayName="powerquery";mje.aliases=["mscript","pq"];function mje(n){n.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},n.languages.pq=n.languages.powerquery,n.languages.mscript=n.languages.powerquery}wje.displayName="powershell";wje.aliases=[];function wje(n){(function(i){var a=i.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};a.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:a},boolean:a.boolean,variable:a.variable}})(n)}yje.displayName="processing";yje.aliases=[];function yje(n){n.register(Os),n.languages.processing=n.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),n.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}vje.displayName="prolog";vje.aliases=[];function vje(n){n.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}Eje.displayName="promql";Eje.aliases=[];function Eje(n){(function(i){var a=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],c=["on","ignoring","group_right","group_left","by","without"],d=["offset"],g=a.concat(c,d);i.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+c.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+g.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(n)}Sje.displayName="properties";Sje.aliases=[];function Sje(n){n.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}Tje.displayName="protobuf";Tje.aliases=[];function Tje(n){n.register(Os),function(i){var a=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;i.languages.protobuf=i.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),i.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:a}},builtin:a,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(n)}Aje.displayName="stylus";Aje.aliases=[];function Aje(n){(function(i){var a={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},c={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},d={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:a,number:c,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:c,punctuation:/[{}()\[\];:,]/};d.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:d}},d.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:d}},i.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:d}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:d}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:d}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:d.interpolation}},rest:d}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:d.interpolation,comment:d.comment,punctuation:/[{},]/}},func:d.func,string:d.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:d.interpolation,punctuation:/[{}()\[\];:.]/}})(n)}_je.displayName="twig";_je.aliases=[];function _je(n){n.register(Gh),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(i){if(i.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(i,"twig",a)}}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"twig")})}kje.displayName="pug";kje.aliases=[];function kje(n){n.register(zh),n.register(oh),function(i){i.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:i.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:i.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:i.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:i.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:i.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:i.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:i.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:i.languages.javascript}],punctuation:/[.\-!=|]+/};for(var a=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,c=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],d={},g=0,b=c.length;g<b;g++){var w=c[g];w=typeof w=="string"?{filter:w,language:w}:w,i.languages[w.language]&&(d["filter-"+w.filter]={pattern:RegExp(a.replace("<filter_name>",function(){return w.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[w.language,"language-"+w.language],inside:i.languages[w.language]}}})}i.languages.insertBefore("pug","filter",d)}(n)}xje.displayName="puppet";xje.aliases=[];function xje(n){(function(i){i.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var a=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:i.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];i.languages.puppet.heredoc[0].inside.interpolation=a,i.languages.puppet.string.inside["double-quoted"].inside.interpolation=a})(n)}Nje.displayName="pure";Nje.aliases=[];function Nje(n){(function(i){i.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var a=["c",{lang:"c++",alias:"cpp"},"fortran"],c=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;a.forEach(function(d){var g=d;if(typeof d!="string"&&(g=d.alias,d=d.lang),i.languages[g]){var b={};b["inline-lang-"+g]={pattern:RegExp(c.replace("<lang>",d.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:i.util.clone(i.languages.pure["inline-lang"].inside)},b["inline-lang-"+g].inside.rest=i.util.clone(i.languages[g]),i.languages.insertBefore("pure","inline-lang",b)}}),i.languages.c&&(i.languages.pure["inline-lang"].inside.rest=i.util.clone(i.languages.c))})(n)}Cje.displayName="purebasic";Cje.aliases=["pbfasm"];function Cje(n){n.register(Os),n.languages.purebasic=n.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),n.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete n.languages.purebasic["class-name"],delete n.languages.purebasic.boolean,n.languages.pbfasm=n.languages.purebasic}Ije.displayName="purescript";Ije.aliases=["purs"];function Ije(n){n.register(Yz),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}Rje.displayName="qsharp";Rje.aliases=["qs"];function Rje(n){n.register(Os),function(i){function a(R,M){return R.replace(/<<(\d+)>>/g,function(D,B){return"(?:"+M[+B]+")"})}function c(R,M,D){return RegExp(a(R,M),"")}function d(R,M){for(var D=0;D<M;D++)R=R.replace(/<<self>>/g,function(){return"(?:"+R+")"});return R.replace(/<<self>>/g,"[^\\s\\S]")}var g={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function b(R){return"\\b(?:"+R.trim().replace(/ /g,"|")+")\\b"}var w=RegExp(b(g.type+" "+g.other)),E=/\b[A-Za-z_]\w*\b/.source,S=a(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[E]),k={keyword:w,punctuation:/[<>()?,.:[\]]/},_=/"(?:\\.|[^\\"])*"/.source;i.languages.qsharp=i.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:c(/(^|[^$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:c(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[S]),lookbehind:!0,inside:k},{pattern:c(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[S]),lookbehind:!0,inside:k}],keyword:w,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),i.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var C=d(a(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[_]),2);i.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:c(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[C]),greedy:!0,inside:{interpolation:{pattern:c(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[C]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:i.languages.qsharp}}},string:/[\s\S]+/}}})}(n),n.languages.qs=n.languages.qsharp}Oje.displayName="q";Oje.aliases=[];function Oje(n){n.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}Dje.displayName="qml";Dje.aliases=[];function Dje(n){n.register(zh),function(i){for(var a=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,c=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,d=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return a}).replace(/<comment>/g,function(){return c}),g=0;g<2;g++)d=d.replace(/<expr>/g,function(){return d});d=d.replace(/<expr>/g,"[^\\s\\S]"),i.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return d}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return d}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(n)}Lje.displayName="qore";Lje.aliases=[];function Lje(n){n.register(Os),n.languages.qore=n.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}Mje.displayName="racket";Mje.aliases=["rkt"];function Mje(n){n.register(Jz),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}Pje.displayName="cshtml";Pje.aliases=["razor"];function Pje(n){n.register(jR),n.register(oh),function(i){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,c=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function d($,P){for(var H=0;H<P;H++)$=$.replace(/<self>/g,function(){return"(?:"+$+")"});return $.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+c+")").replace(/<comment>/g,"(?:"+a+")")}var g=d(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),b=d(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,1),w=d(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),E=d(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source,1),S=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+g+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+E+")?"+g+"|"+b+")*"+/(?![?!\.(\[]|<(?!\/))/.source,k=/@(?![\w()])/.source+"|"+S,_="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+k+`)[^"'@]*)+["'])`,C=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/,_),R=/(?!\d)[^\s>\/=$<%]+/.source+C+/\s*\/?>/.source,M=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+C+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+R+"|"+d(/<\1/.source+C+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+R+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+R+")";i.languages.cshtml=i.languages.extend("markup",{});var D=i.languages.insertBefore("csharp","string",{html:{pattern:RegExp(M),greedy:!0,inside:i.languages.cshtml}},{csharp:i.languages.extend("csharp",{})}),B={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:D},F={pattern:RegExp(/(^|[^@])/.source+S),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:B}};i.languages.cshtml.tag.pattern=RegExp(/<\/?/.source+R),i.languages.cshtml.tag.inside["attr-value"].pattern=RegExp(/=\s*/.source+_),i.languages.insertBefore("inside","punctuation",{value:F},i.languages.cshtml.tag.inside["attr-value"]),i.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[w,/(?:code|functions)\s*/.source+w,/(?:for|foreach|lock|switch|using|while)\s*/.source+g+/\s*/.source+w,/do\s*/.source+w+/\s*while\s*/.source+g+/(?:\s*;)?/.source,/try\s*/.source+w+/\s*catch\s*/.source+g+/\s*/.source+w+/\s*finally\s*/.source+w,/if\s*/.source+g+/\s*/.source+w+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+g+")?"+/\s*/.source+w+")*",/helper\s+\w+\s*/.source+g+/\s*/.source+w].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:B}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:B}},value:F,"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),i.languages.razor=i.languages.cshtml}(n)}bue.displayName="jsx";bue.aliases=[];function bue(n){n.register(zh),n.register(oh),function(i){var a=i.util.clone(i.languages.javascript),c=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,d=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,g=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function b(S,k){return S=S.replace(/<S>/g,function(){return c}).replace(/<BRACES>/g,function(){return d}).replace(/<SPREAD>/g,function(){return g}),RegExp(S,k)}g=b(g).source,i.languages.jsx=i.languages.extend("markup",a),i.languages.jsx.tag.pattern=b(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),i.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,i.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,i.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,i.languages.jsx.tag.inside.comment=a.comment,i.languages.insertBefore("inside","attr-name",{spread:{pattern:b(/<SPREAD>/.source),inside:i.languages.jsx}},i.languages.jsx.tag),i.languages.insertBefore("inside","special-attr",{script:{pattern:b(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:i.languages.jsx}}},i.languages.jsx.tag);var w=function(S){return S?typeof S=="string"?S:typeof S.content=="string"?S.content:S.content.map(w).join(""):""},E=function(S){for(var k=[],_=0;_<S.length;_++){var C=S[_],R=!1;if(typeof C!="string"&&(C.type==="tag"&&C.content[0]&&C.content[0].type==="tag"?C.content[0].content[0].content==="</"?k.length>0&&k[k.length-1].tagName===w(C.content[0].content[1])&&k.pop():C.content[C.content.length-1].content==="/>"||k.push({tagName:w(C.content[0].content[1]),openedBraces:0}):k.length>0&&C.type==="punctuation"&&C.content==="{"?k[k.length-1].openedBraces++:k.length>0&&k[k.length-1].openedBraces>0&&C.type==="punctuation"&&C.content==="}"?k[k.length-1].openedBraces--:R=!0),(R||typeof C=="string")&&k.length>0&&k[k.length-1].openedBraces===0){var M=w(C);_<S.length-1&&(typeof S[_+1]=="string"||S[_+1].type==="plain-text")&&(M+=w(S[_+1]),S.splice(_+1,1)),_>0&&(typeof S[_-1]=="string"||S[_-1].type==="plain-text")&&(M=w(S[_-1])+M,S.splice(_-1,1),_--),S[_]=new i.Token("plain-text",M,null,M)}C.content&&typeof C.content!="string"&&E(C.content)}};i.hooks.add("after-tokenize",function(S){S.language!=="jsx"&&S.language!=="tsx"||E(S.tokens)})}(n)}jje.displayName="tsx";jje.aliases=[];function jje(n){n.register(bue),n.register(Y5),function(i){var a=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",a),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var c=i.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(n)}Fje.displayName="reason";Fje.aliases=[];function Fje(n){n.register(Os),n.languages.reason=n.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),n.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete n.languages.reason.function}$je.displayName="rego";$je.aliases=[];function $je(n){n.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}Bje.displayName="renpy";Bje.aliases=["rpy"];function Bje(n){n.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},n.languages.rpy=n.languages.renpy}Uje.displayName="rescript";Uje.aliases=["res"];function Uje(n){n.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},n.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:n.languages.rescript}},string:/[\s\S]+/}}}),n.languages.res=n.languages.rescript}Hje.displayName="rest";Hje.aliases=[];function Hje(n){n.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}zje.displayName="rip";zje.aliases=[];function zje(n){n.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}Gje.displayName="roboconf";Gje.aliases=[];function Gje(n){n.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}qje.displayName="robotframework";qje.aliases=["robot"];function qje(n){(function(i){var a={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},c={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function d(E,S){var k={};k["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var _ in S)k[_]=S[_];return k.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},k.variable=c,k.comment=a,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return E}),"im"),alias:"section",inside:k}}var g={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},b={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:c}},w={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:c}};i.languages.robotframework={settings:d("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:d("Variables"),"test-cases":d("Test Cases",{"test-name":b,documentation:g,property:w}),keywords:d("Keywords",{"keyword-name":b,documentation:g,property:w}),tasks:d("Tasks",{"task-name":b,documentation:g,property:w}),comment:a},i.languages.robot=i.languages.robotframework})(n)}Vje.displayName="sas";Vje.aliases=[];function Vje(n){(function(i){var a=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,c=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,d={pattern:RegExp(a+"[bx]"),alias:"number"},g={pattern:/&[a-z_]\w*/i},b={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},w={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},E=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],S={pattern:RegExp(a),greedy:!0},k=/[$%@.(){}\[\];,\\]/,_={pattern:/%?\b\w+(?=\()/,alias:"keyword"},C={function:_,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":g,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:c,"numeric-constant":d,punctuation:k,string:S},R={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},M={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},D={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},B={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},F=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,$={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return F}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return F}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:E,function:_,"arg-value":C["arg-value"],operator:C.operator,argument:C.arg,number:c,"numeric-constant":d,punctuation:k,string:S}},P={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};i.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return a}),"im"),alias:"language-sql",inside:i.languages.sql},"global-statements":D,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:c,"numeric-constant":d,punctuation:k,string:S}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:E,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return a}),"im"),lookbehind:!0,alias:"language-groovy",inside:i.languages.groovy},keyword:P,"submit-statement":B,"global-statements":D,number:c,"numeric-constant":d,punctuation:k,string:S}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:E,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return a}),"im"),lookbehind:!0,alias:"language-lua",inside:i.languages.lua},keyword:P,"submit-statement":B,"global-statements":D,number:c,"numeric-constant":d,punctuation:k,string:S}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:E,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:C}},"cas-actions":$,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:C},step:w,keyword:P,function:_,format:R,altformat:M,"global-statements":D,number:c,"numeric-constant":d,punctuation:k,string:S}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return a}),"im"),lookbehind:!0,inside:C},"macro-keyword":b,"macro-variable":g,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":b,"macro-variable":g,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:k}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:E,number:c,"numeric-constant":d}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:C},"cas-actions":$,comment:E,function:_,format:R,altformat:M,"numeric-constant":d,datetime:{pattern:RegExp(a+"(?:dt?|t)"),alias:"number"},string:S,step:w,keyword:P,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:c,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:k}})(n)}Wje.displayName="shell-session";Wje.aliases=["sh-session","shellsession"];function Wje(n){n.register(Hz),function(i){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");i.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:i.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},i.languages["sh-session"]=i.languages.shellsession=i.languages["shell-session"]}(n)}Kje.displayName="smali";Kje.aliases=[];function Kje(n){n.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}Yje.displayName="smalltalk";Yje.aliases=[];function Yje(n){n.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}Jje.displayName="smarty";Jje.aliases=[];function Jje(n){n.register(Gh),function(i){i.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:i.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},i.languages.smarty["embedded-php"].inside.smarty.inside=i.languages.smarty,i.languages.smarty.string[0].inside.interpolation.inside.expression.inside=i.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,c=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return a.source}),"g");i.hooks.add("before-tokenize",function(d){var g="{literal}",b="{/literal}",w=!1;i.languages["markup-templating"].buildPlaceholders(d,"smarty",c,function(E){return E===b&&(w=!1),w?!1:(E===g&&(w=!0),!0)})}),i.hooks.add("after-tokenize",function(d){i.languages["markup-templating"].tokenizePlaceholders(d,"smarty")})}(n)}Xje.displayName="sml";Xje.aliases=["smlnj"];function Xje(n){(function(i){var a=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;i.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return a.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:a,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},i.languages.sml["class-name"][0].inside=i.languages.sml,i.languages.smlnj=i.languages.sml})(n)}Zje.displayName="solidity";Zje.aliases=["sol"];function Zje(n){n.register(Os),n.languages.solidity=n.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),n.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),n.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),n.languages.sol=n.languages.solidity}Qje.displayName="solution-file";Qje.aliases=["sln"];function Qje(n){(function(i){var a={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};i.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:a}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:a}},guid:a,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},i.languages.sln=i.languages["solution-file"]})(n)}e7e.displayName="soy";e7e.aliases=[];function e7e(n){n.register(Gh),function(i){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,c=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;i.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:a,greedy:!0},number:c,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:c,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},i.hooks.add("before-tokenize",function(d){var g=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,b="{literal}",w="{/literal}",E=!1;i.languages["markup-templating"].buildPlaceholders(d,"soy",g,function(S){return S===w&&(E=!1),E?!1:(S===b&&(E=!0),!0)})}),i.hooks.add("after-tokenize",function(d){i.languages["markup-templating"].tokenizePlaceholders(d,"soy")})}(n)}mue.displayName="turtle";mue.aliases=["trig"];function mue(n){n.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},n.languages.trig=n.languages.turtle}t7e.displayName="sparql";t7e.aliases=["rq"];function t7e(n){n.register(mue),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}n7e.displayName="splunk-spl";n7e.aliases=[];function n7e(n){n.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}r7e.displayName="sqf";r7e.aliases=[];function r7e(n){n.register(Os),n.languages.sqf=n.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),n.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:n.languages.sqf.comment}}}),delete n.languages.sqf["class-name"]}i7e.displayName="squirrel";i7e.aliases=[];function i7e(n){n.register(Os),n.languages.squirrel=n.languages.extend("clike",{comment:[n.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),n.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}o7e.displayName="stan";o7e.aliases=[];function o7e(n){(function(i){var a=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;i.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+a.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,a],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},i.languages.stan.constraint.inside.expression.inside=i.languages.stan})(n)}s7e.displayName="stata";s7e.aliases=[];function s7e(n){n.register(FR),n.register(gue),n.register(qz),n.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:n.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:n.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:n.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},n.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=n.languages.stata}a7e.displayName="iecst";a7e.aliases=[];function a7e(n){n.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}u7e.displayName="supercollider";u7e.aliases=["sclang"];function u7e(n){n.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},n.languages.sclang=n.languages.supercollider}c7e.displayName="systemd";c7e.aliases=[];function c7e(n){(function(i){var a={pattern:/^[;#].*/m,greedy:!0},c=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;i.languages.systemd={comment:a,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+c+`|(?=[^"\r
|
||
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+c+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:a,quoted:{pattern:RegExp(/(^|\s)/.source+c),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(n)}Xz.displayName="t4-templating";Xz.aliases=[];function Xz(n){(function(i){function a(d,g,b){return{pattern:RegExp("<#"+d+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+d+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:g,alias:b}}}}function c(d){var g=i.languages[d],b="language-"+d;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:a("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:a("=",g,b),"class-feature":a("\\+",g,b),standard:a("",g,b)}}}}i.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:c})})(n)}l7e.displayName="t4-cs";l7e.aliases=["t4"];function l7e(n){n.register(jR),n.register(Xz),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}d7e.displayName="t4-vb";d7e.aliases=[];function d7e(n){n.register(Xz),n.register(Wz),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}f7e.displayName="tap";f7e.aliases=[];function f7e(n){n.register(Gz),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}h7e.displayName="tcl";h7e.aliases=[];function h7e(n){n.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}p7e.displayName="tt2";p7e.aliases=[];function p7e(n){n.register(Os),n.register(Gh),function(i){i.languages.tt2=i.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),i.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),i.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),i.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete i.languages.tt2.string,i.hooks.add("before-tokenize",function(a){var c=/\[%[\s\S]+?%\]/g;i.languages["markup-templating"].buildPlaceholders(a,"tt2",c)}),i.hooks.add("after-tokenize",function(a){i.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})}(n)}g7e.displayName="toml";g7e.aliases=[];function g7e(n){(function(i){var a=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function c(d){return d.replace(/__/g,function(){return a})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(c(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(c(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(n)}b7e.displayName="tremor";b7e.aliases=["trickle","troy"];function b7e(n){(function(i){i.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var a=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+a+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+a+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(a),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor})(n)}m7e.displayName="typoscript";m7e.aliases=["tsconfig"];function m7e(n){(function(i){var a=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;i.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:a}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:a,number:/^\d+$/,punctuation:/[,|:]/}},keyword:a,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript})(n)}w7e.displayName="unrealscript";w7e.aliases=["uc","uscript"];function w7e(n){n.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},n.languages.uc=n.languages.uscript=n.languages.unrealscript}y7e.displayName="uorazor";y7e.aliases=[];function y7e(n){n.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}v7e.displayName="v";v7e.aliases=[];function v7e(n){n.register(Os),function(i){var a={pattern:/[\s\S]+/,inside:null};i.languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":a}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),a.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})}(n)}E7e.displayName="vala";E7e.aliases=[];function E7e(n){n.register(Os),n.languages.vala=n.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),n.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:n.languages.vala}},string:/[\s\S]+/}}}),n.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}S7e.displayName="velocity";S7e.aliases=[];function S7e(n){n.register(oh),function(i){i.languages.velocity=i.languages.extend("markup",{});var a={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};a.variable.inside={string:a.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:a.number,boolean:a.boolean,punctuation:a.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:a}},variable:a.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity}(n)}T7e.displayName="verilog";T7e.aliases=[];function T7e(n){n.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}A7e.displayName="vhdl";A7e.aliases=[];function A7e(n){n.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}_7e.displayName="vim";_7e.aliases=[];function _7e(n){n.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}k7e.displayName="visual-basic";k7e.aliases=["vb","vba"];function k7e(n){n.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},n.languages.vb=n.languages["visual-basic"],n.languages.vba=n.languages["visual-basic"]}x7e.displayName="warpscript";x7e.aliases=[];function x7e(n){n.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}N7e.displayName="wasm";N7e.aliases=[];function N7e(n){n.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}C7e.displayName="web-idl";C7e.aliases=["webidl"];function C7e(n){(function(i){var a=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,c="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+a+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,d={};i.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+a),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:d},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+c),lookbehind:!0,inside:d},{pattern:RegExp("("+/\bcallback\s+/.source+a+/\s*=\s*/.source+")"+c),lookbehind:!0,inside:d},{pattern:RegExp(/(\btypedef\b\s*)/.source+c),lookbehind:!0,inside:d},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+a),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+a),lookbehind:!0},RegExp(a+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+a),lookbehind:!0},{pattern:RegExp(c+"(?="+/\s*(?:\.{3}\s*)?/.source+a+/\s*[(),;=]/.source+")"),inside:d}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var g in i.languages["web-idl"])g!=="class-name"&&(d[g]=i.languages["web-idl"][g]);i.languages.webidl=i.languages["web-idl"]})(n)}I7e.displayName="wgsl";I7e.aliases=[];function I7e(n){n.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/}}R7e.displayName="wiki";R7e.aliases=[];function R7e(n){n.register(oh),n.languages.wiki=n.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:n.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),n.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:n.languages.markup.tag.inside}}}})}O7e.displayName="wolfram";O7e.aliases=["mathematica","nb","wl"];function O7e(n){n.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.mathematica=n.languages.wolfram,n.languages.wl=n.languages.wolfram,n.languages.nb=n.languages.wolfram}D7e.displayName="wren";D7e.aliases=[];function D7e(n){n.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},n.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:n.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}L7e.displayName="xeora";L7e.aliases=["xeoracube"];function L7e(n){n.register(oh),function(i){i.languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora}(n)}M7e.displayName="xml-doc";M7e.aliases=[];function M7e(n){n.register(oh),function(i){function a(b,w){i.languages[b]&&i.languages.insertBefore(b,"comment",{"doc-comment":w})}var c=i.languages.markup.tag,d={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:c}},g={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:c}};a("csharp",d),a("fsharp",d),a("vbnet",g)}(n)}P7e.displayName="xojo";P7e.aliases=[];function P7e(n){n.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}j7e.displayName="xquery";j7e.aliases=[];function j7e(n){n.register(oh),function(i){i.languages.xquery=i.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),i.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,i.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,i.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:i.languages.xquery,alias:"language-xquery"};var a=function(d){return typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(a).join("")},c=function(d){for(var g=[],b=0;b<d.length;b++){var w=d[b],E=!1;if(typeof w!="string"&&(w.type==="tag"&&w.content[0]&&w.content[0].type==="tag"?w.content[0].content[0].content==="</"?g.length>0&&g[g.length-1].tagName===a(w.content[0].content[1])&&g.pop():w.content[w.content.length-1].content==="/>"||g.push({tagName:a(w.content[0].content[1]),openedBraces:0}):g.length>0&&w.type==="punctuation"&&w.content==="{"&&(!d[b+1]||d[b+1].type!=="punctuation"||d[b+1].content!=="{")&&(!d[b-1]||d[b-1].type!=="plain-text"||d[b-1].content!=="{")?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&w.type==="punctuation"&&w.content==="}"?g[g.length-1].openedBraces--:w.type!=="comment"&&(E=!0)),(E||typeof w=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var S=a(w);b<d.length-1&&(typeof d[b+1]=="string"||d[b+1].type==="plain-text")&&(S+=a(d[b+1]),d.splice(b+1,1)),b>0&&(typeof d[b-1]=="string"||d[b-1].type==="plain-text")&&(S=a(d[b-1])+S,d.splice(b-1,1),b--),/^\s+$/.test(S)?d[b]=S:d[b]=new i.Token("plain-text",S,null,S)}w.content&&typeof w.content!="string"&&c(w.content)}};i.hooks.add("after-tokenize",function(d){d.language==="xquery"&&c(d.tokens)})}(n)}F7e.displayName="yang";F7e.aliases=[];function F7e(n){n.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}$7e.displayName="zig";$7e.aliases=[];function $7e(n){(function(i){function a(S){return function(){return S}}var c=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,d="\\b(?!"+c.source+")(?!\\d)\\w+\\b",g=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,b=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,a(g)),w=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,a(d)),E="(?!\\s)(?:!?\\s*(?:"+b+"\\s*)*"+w+")+";i.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,a(E)).replace(/<ALIGN>/g,a(g))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,a(E)).replace(/<ALIGN>/g,a(g))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:c,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},i.languages.zig["class-name"].forEach(function(S){S.inside===null&&(S.inside=i.languages.zig)})})(n)}_e.register(oh);_e.register(_N);_e.register(Os);_e.register(rue);_e.register(zh);_e.register(n9e);_e.register(r9e);_e.register(i9e);_e.register(o9e);_e.register(s9e);_e.register(a9e);_e.register(u9e);_e.register(c9e);_e.register(K5);_e.register(l9e);_e.register(d9e);_e.register(f9e);_e.register(h9e);_e.register(zv);_e.register(PR);_e.register(Qae);_e.register(p9e);_e.register(g9e);_e.register(Hz);_e.register(Gz);_e.register(aue);_e.register(b9e);_e.register(m9e);_e.register(jR);_e.register(w9e);_e.register(y9e);_e.register(v9e);_e.register(E9e);_e.register(S9e);_e.register(T9e);_e.register(A9e);_e.register(_9e);_e.register(Vz);_e.register(k9e);_e.register(x9e);_e.register(N9e);_e.register(C9e);_e.register(I9e);_e.register(R9e);_e.register(O9e);_e.register(D9e);_e.register(L9e);_e.register(M9e);_e.register(P9e);_e.register(j9e);_e.register(F9e);_e.register($9e);_e.register(B9e);_e.register(U9e);_e.register(H9e);_e.register(z9e);_e.register(G9e);_e.register(q9e);_e.register(V9e);_e.register(W9e);_e.register(K9e);_e.register(Y9e);_e.register(J9e);_e.register(BR);_e.register(X9e);_e.register(Z9e);_e.register(Q9e);_e.register(e8e);_e.register(t8e);_e.register(n8e);_e.register(r8e);_e.register(i8e);_e.register(o8e);_e.register(s8e);_e.register(eue);_e.register(Gh);_e.register(a8e);_e.register(u8e);_e.register(c8e);_e.register(l8e);_e.register(d8e);_e.register(f8e);_e.register(h8e);_e.register(p8e);_e.register(g8e);_e.register(b8e);_e.register(zz);_e.register(m8e);_e.register(w8e);_e.register(y8e);_e.register(v8e);_e.register(E8e);_e.register(S8e);_e.register(T8e);_e.register(A8e);_e.register(_8e);_e.register(k8e);_e.register(x8e);_e.register(N8e);_e.register(C8e);_e.register(I8e);_e.register(R8e);_e.register(O8e);_e.register(D8e);_e.register(L8e);_e.register(M8e);_e.register(P8e);_e.register(j8e);_e.register(F8e);_e.register(tue);_e.register($8e);_e.register(B8e);_e.register(U8e);_e.register(H8e);_e.register(oue);_e.register(hue);_e.register(z8e);_e.register(G8e);_e.register(q8e);_e.register(Yz);_e.register(V8e);_e.register(W8e);_e.register(K8e);_e.register(Y8e);_e.register(J8e);_e.register(X8e);_e.register(W5);_e.register(Z8e);_e.register(Q8e);_e.register(ePe);_e.register(tPe);_e.register(nPe);_e.register(rPe);_e.register(iPe);_e.register(oPe);_e.register(nue);_e.register(sPe);_e.register(aPe);_e.register(FR);_e.register($R);_e.register(Z5);_e.register(uPe);_e.register(cPe);_e.register(lPe);_e.register(dPe);_e.register(fPe);_e.register(hPe);_e.register(pPe);_e.register(Y5);_e.register(gPe);_e.register(bPe);_e.register(mPe);_e.register(wPe);_e.register(yPe);_e.register(vPe);_e.register(EPe);_e.register(SPe);_e.register(TPe);_e.register(iue);_e.register(APe);_e.register(_Pe);_e.register(kPe);_e.register(xPe);_e.register(Jz);_e.register(NPe);_e.register(CPe);_e.register(IPe);_e.register(RPe);_e.register(OPe);_e.register(DPe);_e.register(LPe);_e.register(MPe);_e.register(sue);_e.register(gue);_e.register(PPe);_e.register(jPe);_e.register(FPe);_e.register($Pe);_e.register(BPe);_e.register(UPe);_e.register(HPe);_e.register(zPe);_e.register(GPe);_e.register(qPe);_e.register(VPe);_e.register(WPe);_e.register(KPe);_e.register(YPe);_e.register(JPe);_e.register(XPe);_e.register(ZPe);_e.register(QPe);_e.register(eje);_e.register(uue);_e.register(tje);_e.register(nje);_e.register(rje);_e.register(ije);_e.register(oje);_e.register(sje);_e.register(aje);_e.register(uje);_e.register(cje);_e.register(lje);_e.register(dje);_e.register(fje);_e.register(cue);_e.register(hje);_e.register(pje);_e.register(gje);_e.register(bje);_e.register(mje);_e.register(wje);_e.register(yje);_e.register(vje);_e.register(Eje);_e.register(Sje);_e.register(Tje);_e.register(Aje);_e.register(_je);_e.register(kje);_e.register(xje);_e.register(Nje);_e.register(Cje);_e.register(Ije);_e.register(qz);_e.register(Rje);_e.register(Oje);_e.register(Dje);_e.register(Lje);_e.register(lue);_e.register(Mje);_e.register(Pje);_e.register(bue);_e.register(jje);_e.register(Fje);_e.register($je);_e.register(Bje);_e.register(Uje);_e.register(Hje);_e.register(zje);_e.register(Gje);_e.register(qje);_e.register(due);_e.register(Vje);_e.register(fue);_e.register(Wje);_e.register(Kje);_e.register(Yje);_e.register(Jje);_e.register(Xje);_e.register(Zje);_e.register(Qje);_e.register(e7e);_e.register(mue);_e.register(t7e);_e.register(n7e);_e.register(r7e);_e.register(i7e);_e.register(o7e);_e.register(s7e);_e.register(a7e);_e.register(u7e);_e.register(pue);_e.register(c7e);_e.register(Xz);_e.register(l7e);_e.register(Wz);_e.register(d7e);_e.register(f7e);_e.register(h7e);_e.register(p7e);_e.register(g7e);_e.register(b7e);_e.register(m7e);_e.register(w7e);_e.register(y7e);_e.register(v7e);_e.register(E7e);_e.register(S7e);_e.register(T7e);_e.register(A7e);_e.register(_7e);_e.register(k7e);_e.register(x7e);_e.register(N7e);_e.register(C7e);_e.register(I7e);_e.register(R7e);_e.register(O7e);_e.register(D7e);_e.register(L7e);_e.register(M7e);_e.register(P7e);_e.register(j7e);_e.register(F7e);_e.register($7e);function aLe(){aLe=function(d,g){return new a(d,void 0,g)};var n=RegExp.prototype,i=new WeakMap;function a(d,g,b){var w=new RegExp(d,g);return i.set(w,b||i.get(d)),Sse(w,a.prototype)}function c(d,g){var b=i.get(g);return Object.keys(b).reduce(function(w,E){var S=b[E];if(typeof S=="number")w[E]=d[S];else{for(var k=0;d[S[k]]===void 0&&k+1<S.length;)k++;w[E]=d[S[k]]}return w},Object.create(null))}return function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(g&&g.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),g&&Sse(d,g)}(a,RegExp),a.prototype.exec=function(d){var g=n.exec.call(this,d);if(g){g.groups=c(g,this);var b=g.indices;b&&(b.groups=c(b,this))}return g},a.prototype[Symbol.replace]=function(d,g){if(typeof g=="string"){var b=i.get(this);return n[Symbol.replace].call(this,d,g.replace(/\$<([^>]+)>/g,function(E,S){var k=b[S];return"$"+(Array.isArray(k)?k.join("$"):k)}))}if(typeof g=="function"){var w=this;return n[Symbol.replace].call(this,d,function(){var E=arguments;return typeof E[E.length-1]!="object"&&(E=[].slice.call(E)).push(c(E,w)),g.apply(this,E)})}return n[Symbol.replace].call(this,d,g)},aLe.apply(this,arguments)}function Sse(n,i){return Sse=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,c){return a.__proto__=c,a},Sse(n,i)}function O$t(n,i){(i==null||i>n.length)&&(i=n.length);for(var a=0,c=new Array(i);a<i;a++)c[a]=n[a];return c}function YOe(n,i){var a=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(a)return(a=a.call(n)).next.bind(a);if(Array.isArray(n)||(a=function(d,g){if(d){if(typeof d=="string")return O$t(d,g);var b=Object.prototype.toString.call(d).slice(8,-1);return b==="Object"&&d.constructor&&(b=d.constructor.name),b==="Map"||b==="Set"?Array.from(d):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?O$t(d,g):void 0}}(n))||i){a&&(n=a);var c=0;return function(){return c>=n.length?{done:!0}:{done:!1,value:n[c++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Fcr=function(n){return function(i){return i===void 0&&(i={}),function(c,d){if(d&&!c.registered(d))throw new Error('The default language "'+d+'" is not registered with refractor.')}(n,i.defaultLanguage),function(c){Xur(c,"element",a)};function a(c,d,g){var b,w;if(g&&g.tagName==="pre"&&c.tagName==="code"){var E=(c==null||(b=c.data)==null?void 0:b.meta)||(c==null||(w=c.properties)==null?void 0:w.metastring)||"";c.properties.className?typeof c.properties.className=="boolean"?c.properties.className=[]:Array.isArray(c.properties.className)||(c.properties.className=[c.properties.className]):c.properties.className=[];var S,k,_=function(Q){for(var re,ee=YOe(Q.properties.className);!(re=ee()).done;){var ae=re.value;if(ae.slice(0,9)==="language-")return ae.slice(9).toLowerCase()}return null}(c);if(!_&&i.defaultLanguage&&c.properties.className.push("language-"+(_=i.defaultLanguage)),c.properties.className.push("code-highlight"),_)try{var C,R;R=(C=_)!=null&&C.includes("diff-")?_.split("-")[1]:_,S=n.highlight(Die(c),R),g.properties.className=(g.properties.className||[]).concat("language-"+R)}catch(Q){if(!i.ignoreMissing||!/Unknown language/.test(Q.message))throw Q;S=c}else S=c;S.children=(k=1,function Q(re){return re.reduce(function(ee,ae){if(ae.type==="text"){var he=ae.value,ve=(he.match(/\n/g)||"").length;if(ve===0)ae.position={start:{line:k,column:1},end:{line:k,column:1}},ee.push(ae);else for(var de,ge=he.split(`
|
||
`),Y=YOe(ge.entries());!(de=Y()).done;){var fe=de.value,De=fe[0],Se=fe[1];ee.push({type:"text",value:De===ge.length-1?Se:Se+`
|
||
`,position:{start:{line:k+De,column:1},end:{line:k+De,column:1}}})}return k+=ve,ee}if(Object.prototype.hasOwnProperty.call(ae,"children")){var $e=k;return ae.children=Q(ae.children),ee.push(ae),ae.position={start:{line:$e,column:1},end:{line:k,column:1}},ee}return ee.push(ae),ee},[])})(S.children),S.position=S.children.length>0?{start:{line:S.children[0].position.start.line,column:0},end:{line:S.children[S.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var M,D=function(Q){var re=/{([\d,-]+)}/,ee=Q.split(",").map(function(ve){return ve.trim()}).join();if(re.test(ee)){var ae=re.exec(ee)[1],he=rcr(ae);return function(ve){return he.includes(ve+1)}}return function(){return!1}}(E),B=function(Q){var re=aLe(/showLineNumbers=(\d+)/i,{lines:1});if(re.test(Q)){var ee=re.exec(Q);return Number(ee.groups.lines)}return 1}(E),F=function(Q){for(var re=new Array(Q),ee=0;ee<Q;ee++)re[ee]={type:"element",tagName:"span",properties:{className:[]},children:[]};return re}(S.position.end.line),$=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],P=function(){var Q,re,ee=M.value,ae=ee[0],he=ee[1];he.properties.className=["code-line"];var ve=ecr(S,function(de){return de.position.start.line<=ae+1&&de.position.end.line>=ae+1});he.children=ve.children,!E.toLowerCase().includes("showLineNumbers".toLowerCase())&&!i.showLineNumbers||$.some(function(de){return E.toLowerCase().includes(de)})||(he.properties.line=[(ae+B).toString()],he.properties.className.push("line-number")),D(ae)&&he.properties.className.push("highlight-line"),(_==="diff"||(Q=_)!=null&&Q.includes("diff-"))&&Die(he).substring(0,1)==="-"?he.properties.className.push("deleted"):(_==="diff"||(re=_)!=null&&re.includes("diff-"))&&Die(he).substring(0,1)==="+"&&he.properties.className.push("inserted")},H=YOe(F.entries());!(M=H()).done;)P();F.length>0&&Die(F[F.length-1]).trim()===""&&F.pop(),c.children=F}}}},$cr=Fcr(_e),Bcr=["rehypePlugins"];const Ucr=Hn.forwardRef((n,i)=>{var{rehypePlugins:a=[[$cr,{ignoreMissing:!0}]]}=n,c=iJt(n,Bcr);return O.jsx(Uur,Bx({},c,{rehypePlugins:a,ref:i}))});function Hcr({yaml:n,errors:i,warnings:a,onYamlChange:c}){const d=ds(w=>w.fromFlowGraph),g=tae();z.useEffect(()=>{},[]);const b=async w=>{const E=w.target.value;c&&c(E);try{const k=await new x5().fromYaml(E);if(!k.success||!k.graph)return;d(k.graph)}catch{}};return O.jsxs("div",{className:"flex h-full flex-col",children:[O.jsx(Ucr,{value:n,language:"yaml",placeholder:"Enter YAML...",onChange:b,"data-color-mode":g?"dark":"light",padding:12,style:{fontFamily:"ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace",fontSize:13,height:"100%",resize:"none",whiteSpace:"pre-wrap",overflow:"auto"}}),i&&i.length>0&&O.jsx("div",{className:"border-red-200 border-t bg-red-50 px-3 py-2 text-red-600 text-xs",children:i.join(`
|
||
`)}),a&&a.length>0&&O.jsx("div",{className:"border-yellow-200 border-t bg-yellow-50 px-3 py-2 text-xs text-yellow-600",children:a.join(`
|
||
`)})]})}function zcr(){const{t:n}=zs(["common","errors"]),i=ds(M=>M.nodes),a=ds(M=>M.toFlowGraph),[c,d]=z.useState(!1),[g,b]=z.useState("auto"),w=z.useRef(null),{yaml:E,errors:S,warnings:k,strategy:_,isStale:C}=z.useMemo(()=>{var M;if(i.length===0)return w.current=null,{yaml:n("placeholders.addNodesForYaml"),warnings:[],errors:[],strategy:null,isStale:!1};try{const D=a(),F=new x5().transpile(D,{forceStrategy:g==="auto"?void 0:g});if(!F.success){const H=w.current;return{yaml:(H==null?void 0:H.yaml)||"",warnings:[],errors:F.errors||[n("errors:api.unknownError")],strategy:(H==null?void 0:H.strategy)||null,isStale:!!H}}const $=F.yaml||"",P=((M=F.output)==null?void 0:M.strategy)||null;return w.current={yaml:$,strategy:P},{yaml:$,warnings:F.warnings,errors:[],strategy:P,isStale:!1}}catch(D){const B=w.current;return{yaml:(B==null?void 0:B.yaml)||"",warnings:[],errors:[D instanceof Error?D.message:n("errors:api.transpileFailed")],strategy:(B==null?void 0:B.strategy)||null,isStale:!!B}}},[i,a,g,n]),R=async()=>{try{await Vrr(E),d(!0),setTimeout(()=>d(!1),2e3)}catch(M){console.error(n("errors:common.failedToCopy"),M)}};return O.jsxs("div",{className:"flex h-full flex-col",children:[O.jsxs("div",{className:"flex items-center justify-between border-b p-3",children:[O.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("labels.yamlOutput")}),O.jsxs("div",{className:"flex items-center gap-2",children:[O.jsxs(Hp,{value:g,onValueChange:M=>b(M),children:[O.jsx(Uh,{className:"h-7 w-[120px] text-xs",children:O.jsx(zp,{})}),O.jsxs(Hh,{children:[O.jsx(io,{value:"auto",children:n("strategy.auto")}),O.jsx(io,{value:"native",children:n("strategy.native")}),O.jsx(io,{value:"state-machine",children:n("strategy.stateMachine")})]})]}),O.jsx(Di,{variant:"ghost",size:"sm",onClick:R,disabled:!E,className:kr("h-7 w-7 p-0",c?"bg-green-100 text-green-600 hover:bg-green-100":"text-muted-foreground"),children:c?O.jsx(L5,{className:"h-4 w-4"}):O.jsx(AMe,{className:"h-4 w-4"})})]})]}),_&&O.jsxs("div",{className:"flex items-center gap-2 border-b bg-muted/50 px-3 py-1.5",children:[O.jsx("span",{className:"text-muted-foreground text-xs",children:n("labels.strategy")}),O.jsx(u5e,{variant:"secondary",className:"text-xs",children:_})]}),O.jsx("div",{className:"min-h-0 flex-1",children:O.jsx(Hcr,{yaml:E,errors:S,warnings:C?[n("errors:yaml.staleWarning"),...k]:k})})]})}function Gcr(){const{t:n}=zs(["common","dialogs"]),{hass:i}=Gm(),{automationId:a,traceData:c,isShowingTrace:d,traceExecutionPath:g,traceTimestamps:b,showTrace:w,hideTrace:E,setActiveNode:S,simulationSpeed:k,isSimulating:_}=ds(),[C,R]=z.useState([]),[M,D]=z.useState(""),[B,F]=z.useState(!1),[$,P]=z.useState(!1),H=z.useCallback(async()=>{if(!(!a||!i)){F(!0);try{const ge=Lv(i),Y=await ge.getAutomationTraces(a);if(yf.info("Loaded automation traces:",Y),R(Y||[]),Y&&Y.length>0){const fe=Y[0].run_id;D(fe);const De=await ge.getAutomationTraceDetails(a,fe);De&&w(De)}}catch(ge){yf.error("Failed to load automation traces:",ge),R([])}F(!1)}},[a,i,w]);z.useEffect(()=>{a&&i&&H()},[a,i,H]);const Q=z.useCallback(async ge=>{if(!(!a||!i||!ge)){F(!0);try{const fe=await Lv(i).getAutomationTraceDetails(a,ge);yf.info("Loaded trace details:",fe),fe&&w(fe)}catch(Y){yf.error("Failed to load trace details:",Y)}F(!1)}},[a,i,w]),re=z.useCallback(ge=>{D(ge),Q(ge)},[Q]),ee=z.useCallback(()=>{E(),S(null),P(!1)},[E,S]),ae=z.useCallback(async()=>{if(!(!g.length||_)){P(!0);try{for(const ge of g)if(S(ge),await new Promise(Y=>setTimeout(Y,k)),!d)break;S(null)}catch(ge){yf.error("Trace animation error:",ge)}P(!1)}},[g,k,S,d,_]),he=z.useCallback(()=>{P(!1),S(null)},[S]),ve=ge=>{try{return new Date(ge).toLocaleTimeString()}catch{return ge}},de=(ge,Y)=>{try{const fe=new Date(ge);return`${(((Y?new Date(Y):new Date).getTime()-fe.getTime())/1e3).toFixed(1)}s`}catch{return n("labels.notApplicable")}};return a?O.jsxs("div",{className:"h-full space-y-4 p-4",children:[O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("labels.automationTrace")}),O.jsxs("div",{className:"flex gap-1",children:[d&&!$&&O.jsx(Di,{variant:"outline",size:"sm",onClick:ae,disabled:!g.length||_,className:kr("h-8 w-8 p-0",!g.length||_?"text-muted-foreground":"border-orange-200 text-orange-600 hover:bg-orange-50"),children:O.jsx(Zse,{className:"h-4 w-4"})}),$&&O.jsx(Di,{variant:"outline",size:"sm",onClick:he,className:"h-8 w-8 border-orange-200 p-0 text-orange-600 hover:bg-orange-50",children:O.jsx(tGt,{className:"h-4 w-4"})}),d?O.jsx(Di,{variant:"outline",size:"sm",onClick:ee,className:"h-8 w-8 border-blue-200 p-0 text-blue-600 hover:bg-blue-50",children:O.jsx(Zzt,{className:"h-4 w-4"})}):O.jsx(Di,{variant:"outline",size:"sm",onClick:H,disabled:B,className:kr("h-8 w-8 p-0",B?"text-muted-foreground":"border-blue-200 text-blue-600 hover:bg-blue-50"),children:O.jsx(A8n,{className:"h-4 w-4"})})]})]}),C.length===0&&!B&&O.jsx("div",{className:"text-center text-muted-foreground text-sm",children:n("dialogs:traceViewer.noTracesFound")}),C.length>0&&O.jsxs("div",{className:"space-y-2",children:[O.jsx(ll,{className:"text-xs",children:n("labels.selectTraceRun")}),O.jsxs(Hp,{value:M,onValueChange:re,children:[O.jsx(Uh,{className:"h-8",children:O.jsx(zp,{placeholder:n("placeholders.selectTrace")})}),O.jsx(Hh,{children:C.map(ge=>O.jsx(io,{value:ge.run_id,children:O.jsxs("div",{className:"flex items-center gap-2",children:[O.jsx(TMe,{className:"h-3 w-3"}),O.jsx("span",{className:"text-xs",children:ve(ge.timestamp.start)}),O.jsxs("span",{className:"text-muted-foreground text-xs",children:["(",de(ge.timestamp.start,ge.timestamp.finish),")"]}),O.jsx("span",{className:kr("rounded px-1 text-xs",ge.state==="stopped"&&ge.script_execution==="finished"?"bg-green-100 text-green-700":"bg-yellow-100 text-yellow-700"),children:ge.state})]})},ge.run_id))})]})]}),d&&c&&O.jsxs("div",{className:"space-y-2",children:[O.jsxs("div",{className:"border-t pt-2",children:[O.jsx(ll,{className:"text-xs",children:n("labels.traceDetails")}),O.jsxs("div",{className:"mt-1 space-y-1 text-xs",children:[O.jsxs("div",{className:"flex justify-between",children:[O.jsx("span",{className:"text-muted-foreground",children:n("labels.trigger")}),O.jsx("span",{className:"ml-2 truncate",children:c.trigger})]}),O.jsxs("div",{className:"flex justify-between",children:[O.jsx("span",{className:"text-muted-foreground",children:n("labels.duration")}),O.jsx("span",{children:de(c.timestamp.start,c.timestamp.finish)})]}),O.jsxs("div",{className:"flex justify-between",children:[O.jsx("span",{className:"text-muted-foreground",children:n("labels.lastStep")}),O.jsx("span",{children:c.last_step})]})]})]}),g.length>0&&O.jsxs("div",{className:"border-t pt-2",children:[O.jsx(ll,{className:"text-xs",children:n("labels.executionPath")}),O.jsx("div",{className:"mt-1 space-y-1",children:g.map((ge,Y)=>O.jsxs("div",{className:"flex items-center gap-2 rounded bg-blue-50 p-1 text-blue-700 text-xs",children:[O.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded-full bg-blue-200 text-xs",children:Y+1}),O.jsx("span",{className:"font-medium",children:ge}),b[ge]&&O.jsx("span",{className:"ml-auto text-muted-foreground",children:ve(b[ge])})]},`step-${ge}-${g.indexOf(ge)}`))})]})]}),B&&O.jsx("div",{className:"text-center text-muted-foreground text-sm",children:n("status.loadingTraces")})]}):O.jsxs("div",{className:"h-full space-y-4 p-4",children:[O.jsx("div",{className:"flex items-center justify-between",children:O.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("labels.automationTrace")})}),O.jsx("div",{className:"text-center text-muted-foreground text-sm",children:n("dialogs:traceViewer.saveAutomationFirst")})]})}var dXt=["PageUp","PageDown"],fXt=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],hXt={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Q5="Slider",[uLe,qcr,Vcr]=Iae(Q5),[pXt]=Nw(Q5,[Vcr]),[Wcr,wue]=pXt(Q5),gXt=z.forwardRef((n,i)=>{const{name:a,min:c=0,max:d=100,step:g=1,orientation:b="horizontal",disabled:w=!1,minStepsBetweenThumbs:E=0,defaultValue:S=[c],value:k,onValueChange:_=()=>{},onValueCommit:C=()=>{},inverted:R=!1,form:M,...D}=n,B=z.useRef(new Set),F=z.useRef(0),P=b==="horizontal"?Kcr:Ycr,[H=[],Q]=z2({prop:k,defaultProp:S,onChange:de=>{var Y;(Y=[...B.current][F.current])==null||Y.focus(),_(de)}}),re=z.useRef(H);function ee(de){const ge=elr(H,de);ve(de,ge)}function ae(de){ve(de,F.current)}function he(){const de=re.current[F.current];H[F.current]!==de&&C(H)}function ve(de,ge,{commit:Y}={commit:!1}){const fe=ilr(g),De=olr(Math.round((de-c)/g)*g+c,fe),Se=cse(De,[c,d]);Q(($e=[])=>{const Te=Zcr($e,Se,ge);if(rlr(Te,E*g)){F.current=Te.indexOf(Se);const ke=String(Te)!==String($e);return ke&&Y&&C(Te),ke?Te:$e}else return $e})}return O.jsx(Wcr,{scope:n.__scopeSlider,name:a,disabled:w,min:c,max:d,valueIndexToChangeRef:F,thumbs:B.current,values:H,orientation:b,form:M,children:O.jsx(uLe.Provider,{scope:n.__scopeSlider,children:O.jsx(uLe.Slot,{scope:n.__scopeSlider,children:O.jsx(P,{"aria-disabled":w,"data-disabled":w?"":void 0,...D,ref:i,onPointerDown:Or(D.onPointerDown,()=>{w||(re.current=H)}),min:c,max:d,inverted:R,onSlideStart:w?void 0:ee,onSlideMove:w?void 0:ae,onSlideEnd:w?void 0:he,onHomeKeyDown:()=>!w&&ve(c,0,{commit:!0}),onEndKeyDown:()=>!w&&ve(d,H.length-1,{commit:!0}),onStepKeyDown:({event:de,direction:ge})=>{if(!w){const De=dXt.includes(de.key)||de.shiftKey&&fXt.includes(de.key)?10:1,Se=F.current,$e=H[Se],Te=g*De*ge;ve($e+Te,Se,{commit:!0})}}})})})})});gXt.displayName=Q5;var[bXt,mXt]=pXt(Q5,{startEdge:"left",endEdge:"right",size:"width",direction:1}),Kcr=z.forwardRef((n,i)=>{const{min:a,max:c,dir:d,inverted:g,onSlideStart:b,onSlideMove:w,onSlideEnd:E,onStepKeyDown:S,...k}=n,[_,C]=z.useState(null),R=hs(i,P=>C(P)),M=z.useRef(void 0),D=Iz(d),B=D==="ltr",F=B&&!g||!B&&g;function $(P){const H=M.current||_.getBoundingClientRect(),Q=[0,H.width],ee=B7e(Q,F?[a,c]:[c,a]);return M.current=H,ee(P-H.left)}return O.jsx(bXt,{scope:n.__scopeSlider,startEdge:F?"left":"right",endEdge:F?"right":"left",direction:F?1:-1,size:"width",children:O.jsx(wXt,{dir:D,"data-orientation":"horizontal",...k,ref:R,style:{...k.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:P=>{const H=$(P.clientX);b==null||b(H)},onSlideMove:P=>{const H=$(P.clientX);w==null||w(H)},onSlideEnd:()=>{M.current=void 0,E==null||E()},onStepKeyDown:P=>{const Q=hXt[F?"from-left":"from-right"].includes(P.key);S==null||S({event:P,direction:Q?-1:1})}})})}),Ycr=z.forwardRef((n,i)=>{const{min:a,max:c,inverted:d,onSlideStart:g,onSlideMove:b,onSlideEnd:w,onStepKeyDown:E,...S}=n,k=z.useRef(null),_=hs(i,k),C=z.useRef(void 0),R=!d;function M(D){const B=C.current||k.current.getBoundingClientRect(),F=[0,B.height],P=B7e(F,R?[c,a]:[a,c]);return C.current=B,P(D-B.top)}return O.jsx(bXt,{scope:n.__scopeSlider,startEdge:R?"bottom":"top",endEdge:R?"top":"bottom",size:"height",direction:R?1:-1,children:O.jsx(wXt,{"data-orientation":"vertical",...S,ref:_,style:{...S.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:D=>{const B=M(D.clientY);g==null||g(B)},onSlideMove:D=>{const B=M(D.clientY);b==null||b(B)},onSlideEnd:()=>{C.current=void 0,w==null||w()},onStepKeyDown:D=>{const F=hXt[R?"from-bottom":"from-top"].includes(D.key);E==null||E({event:D,direction:F?-1:1})}})})}),wXt=z.forwardRef((n,i)=>{const{__scopeSlider:a,onSlideStart:c,onSlideMove:d,onSlideEnd:g,onHomeKeyDown:b,onEndKeyDown:w,onStepKeyDown:E,...S}=n,k=wue(Q5,a);return O.jsx(eo.span,{...S,ref:i,onKeyDown:Or(n.onKeyDown,_=>{_.key==="Home"?(b(_),_.preventDefault()):_.key==="End"?(w(_),_.preventDefault()):dXt.concat(fXt).includes(_.key)&&(E(_),_.preventDefault())}),onPointerDown:Or(n.onPointerDown,_=>{const C=_.target;C.setPointerCapture(_.pointerId),_.preventDefault(),k.thumbs.has(C)?C.focus():c(_)}),onPointerMove:Or(n.onPointerMove,_=>{_.target.hasPointerCapture(_.pointerId)&&d(_)}),onPointerUp:Or(n.onPointerUp,_=>{const C=_.target;C.hasPointerCapture(_.pointerId)&&(C.releasePointerCapture(_.pointerId),g(_))})})}),yXt="SliderTrack",vXt=z.forwardRef((n,i)=>{const{__scopeSlider:a,...c}=n,d=wue(yXt,a);return O.jsx(eo.span,{"data-disabled":d.disabled?"":void 0,"data-orientation":d.orientation,...c,ref:i})});vXt.displayName=yXt;var cLe="SliderRange",EXt=z.forwardRef((n,i)=>{const{__scopeSlider:a,...c}=n,d=wue(cLe,a),g=mXt(cLe,a),b=z.useRef(null),w=hs(i,b),E=d.values.length,S=d.values.map(C=>AXt(C,d.min,d.max)),k=E>1?Math.min(...S):0,_=100-Math.max(...S);return O.jsx(eo.span,{"data-orientation":d.orientation,"data-disabled":d.disabled?"":void 0,...c,ref:w,style:{...n.style,[g.startEdge]:k+"%",[g.endEdge]:_+"%"}})});EXt.displayName=cLe;var lLe="SliderThumb",SXt=z.forwardRef((n,i)=>{const a=qcr(n.__scopeSlider),[c,d]=z.useState(null),g=hs(i,w=>d(w)),b=z.useMemo(()=>c?a().findIndex(w=>w.ref.current===c):-1,[a,c]);return O.jsx(Jcr,{...n,ref:g,index:b})}),Jcr=z.forwardRef((n,i)=>{const{__scopeSlider:a,index:c,name:d,...g}=n,b=wue(lLe,a),w=mXt(lLe,a),[E,S]=z.useState(null),k=hs(i,$=>S($)),_=E?b.form||!!E.closest("form"):!0,C=Tae(E),R=b.values[c],M=R===void 0?0:AXt(R,b.min,b.max),D=Qcr(c,b.values.length),B=C==null?void 0:C[w.size],F=B?tlr(B,M,w.direction):0;return z.useEffect(()=>{if(E)return b.thumbs.add(E),()=>{b.thumbs.delete(E)}},[E,b.thumbs]),O.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[w.startEdge]:`calc(${M}% + ${F}px)`},children:[O.jsx(uLe.ItemSlot,{scope:n.__scopeSlider,children:O.jsx(eo.span,{role:"slider","aria-label":n["aria-label"]||D,"aria-valuemin":b.min,"aria-valuenow":R,"aria-valuemax":b.max,"aria-orientation":b.orientation,"data-orientation":b.orientation,"data-disabled":b.disabled?"":void 0,tabIndex:b.disabled?void 0:0,...g,ref:k,style:R===void 0?{display:"none"}:n.style,onFocus:Or(n.onFocus,()=>{b.valueIndexToChangeRef.current=c})})}),_&&O.jsx(TXt,{name:d??(b.name?b.name+(b.values.length>1?"[]":""):void 0),form:b.form,value:R},c)]})});SXt.displayName=lLe;var Xcr="RadioBubbleInput",TXt=z.forwardRef(({__scopeSlider:n,value:i,...a},c)=>{const d=z.useRef(null),g=hs(d,c),b=Sae(i);return z.useEffect(()=>{const w=d.current;if(!w)return;const E=window.HTMLInputElement.prototype,k=Object.getOwnPropertyDescriptor(E,"value").set;if(b!==i&&k){const _=new Event("input",{bubbles:!0});k.call(w,i),w.dispatchEvent(_)}},[b,i]),O.jsx(eo.input,{style:{display:"none"},...a,ref:g,defaultValue:i})});TXt.displayName=Xcr;function Zcr(n=[],i,a){const c=[...n];return c[a]=i,c.sort((d,g)=>d-g)}function AXt(n,i,a){const g=100/(a-i)*(n-i);return cse(g,[0,100])}function Qcr(n,i){return i>2?`Value ${n+1} of ${i}`:i===2?["Minimum","Maximum"][n]:void 0}function elr(n,i){if(n.length===1)return 0;const a=n.map(d=>Math.abs(d-i)),c=Math.min(...a);return a.indexOf(c)}function tlr(n,i,a){const c=n/2,g=B7e([0,50],[0,c]);return(c-g(i)*a)*a}function nlr(n){return n.slice(0,-1).map((i,a)=>n[a+1]-i)}function rlr(n,i){if(i>0){const a=nlr(n);return Math.min(...a)>=i}return!0}function B7e(n,i){return a=>{if(n[0]===n[1]||i[0]===i[1])return i[0];const c=(i[1]-i[0])/(n[1]-n[0]);return i[0]+c*(a-n[0])}}function ilr(n){return(String(n).split(".")[1]||"").length}function olr(n,i){const a=Math.pow(10,i);return Math.round(n*a)/a}var _Xt=gXt,slr=vXt,alr=EXt,ulr=SXt;const kXt=z.forwardRef(({className:n,...i},a)=>O.jsxs(_Xt,{ref:a,className:kr("relative flex w-full touch-none select-none items-center",n),...i,children:[O.jsx(slr,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",children:O.jsx(alr,{className:"absolute h-full bg-primary"})}),O.jsx(ulr,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));kXt.displayName=_Xt.displayName;function clr({speed:n,onSpeedChange:i,disabled:a}){const{t:c}=zs(["common"]);return O.jsxs("div",{className:"space-y-2",children:[O.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:c("labels.speed",{speed:n})}),O.jsx(kXt,{value:[n],onValueChange:d=>i(d[0]),min:200,max:2e3,step:100,disabled:a,className:"w-full"})]})}function llr(){const{t:n}=zs(["simulator"]),{nodes:i,edges:a,toFlowGraph:c,isSimulating:d,startSimulation:g,stopSimulation:b,setActiveNode:w,addToExecutionPath:E,clearExecutionPath:S,executionPath:k,simulationSpeed:_}=ds(),[C,R]=z.useState({}),M=z.useCallback(async()=>{if(i.length!==0){g();try{const $=c();let Q=new x5().analyzeTopology($).entryNodes[0];const re=a.find(he=>he.source===Q);re&&(Q=re.target);const ee=100;let ae=0;for(;Q&&Q!=="END"&&ae<ee;){w(Q),E(Q),await new Promise(de=>setTimeout(de,_));const he=a.filter(de=>de.source===Q),ve=i.find(de=>de.id===Q);if((ve==null?void 0:ve.type)==="condition"){const de=C[Q]??Math.random()>.5,ge=he.find(Y=>Y.sourceHandle===(de?"true":"false"))||null;Q=(ge==null?void 0:ge.target)??null}else he.length>0?Q=he[0].target:Q=null;ae++}w(null)}catch($){console.error("Simulation error:",$)}b()}},[i,a,c,g,b,w,E,_,C]),D=z.useCallback(()=>{b(),w(null)},[b,w]),B=z.useCallback(()=>{S(),R({})},[S]),F=i.filter($=>$.type==="condition");return O.jsxs("div",{className:"h-full space-y-4 p-4",children:[O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("simulator:trace.heading")}),O.jsxs("div",{className:"flex gap-1",children:[d?O.jsx(Di,{variant:"outline",size:"sm",onClick:D,className:"h-8 w-8 border-red-200 p-0 text-red-600 hover:bg-red-50",children:O.jsx(tGt,{className:"h-4 w-4"})}):O.jsx(Di,{variant:"outline",size:"sm",onClick:M,disabled:i.length===0,className:kr("h-8 w-8 p-0",i.length===0?"text-muted-foreground":"border-green-200 text-green-600 hover:bg-green-50"),children:O.jsx(Zse,{className:"h-4 w-4"})}),O.jsx(Di,{variant:"ghost",size:"sm",onClick:B,className:"h-8 w-8 p-0",children:O.jsx(Zzt,{className:"h-4 w-4"})})]})]}),F.length>0&&O.jsxs("div",{className:"space-y-2",children:[O.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:n("simulator:trace.conditionOverrides")}),O.jsx("div",{className:"space-y-2",children:F.map($=>O.jsxs("div",{className:"flex items-center justify-between text-xs",children:[O.jsx("span",{className:"mr-2 flex-1 truncate text-muted-foreground",children:$.data.alias||$.id}),O.jsxs(Hp,{value:C[$.id]===!0?"true":C[$.id]===!1?"false":"random",onValueChange:P=>{R(P==="random"?H=>{const{[$.id]:Q,...re}=H;return re}:H=>({...H,[$.id]:P==="true"}))},children:[O.jsx(Uh,{className:"h-7 w-24 text-xs",children:O.jsx(zp,{})}),O.jsxs(Hh,{children:[O.jsx(io,{value:"random",children:n("simulator:trace.random")}),O.jsx(io,{value:"true",children:n("simulator:trace.true")}),O.jsx(io,{value:"false",children:n("simulator:trace.false")})]})]})]},$.id))})]}),k.length>0&&O.jsxs("div",{className:"space-y-2",children:[O.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:n("simulator:trace.executionPath")}),O.jsx("ol",{className:"list-inside list-decimal space-y-1 text-xs",children:k.map(($,P)=>{var re;const H=i.find(ee=>ee.id===$),Q=(re=H==null?void 0:H.data)==null?void 0:re.alias;return O.jsx("li",{className:kr("py-0.5",P===k.length-1&&d?"font-medium text-green-600":"text-muted-foreground"),children:Q||$},$)})})]})]})}function dlr({children:n,defaultWidth:i,minWidth:a=200,maxWidth:c=600,side:d,className:g}){const[b,w]=z.useState(i),[E,S]=z.useState(!1),k=z.useRef(null),_=z.useCallback(C=>{C.preventDefault(),S(!0)},[]);return z.useEffect(()=>{const C=M=>{if(!E||!k.current)return;const D=k.current.getBoundingClientRect();let B;d==="right"?B=D.right-M.clientX:B=M.clientX-D.left,B=Math.max(a,Math.min(c,B)),w(B)},R=()=>{S(!1)};return E&&(document.addEventListener("mousemove",C),document.addEventListener("mouseup",R),document.body.style.cursor="col-resize",document.body.style.userSelect="none"),()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",R),document.body.style.cursor="",document.body.style.userSelect=""}},[E,a,c,d]),O.jsxs("div",{ref:k,className:kr("relative flex flex-col",g),style:{width:b},children:[O.jsx("div",{onMouseDown:_,className:kr("absolute top-0 bottom-0 z-10 w-1 cursor-col-resize transition-colors hover:bg-primary/20",d==="right"?"left-0 -translate-x-1/2":"right-0 translate-x-1/2",E&&"bg-primary/30")}),n]})}var yue="Tabs",[flr]=Nw(yue,[Hae]),xXt=Hae(),[hlr,U7e]=flr(yue),NXt=z.forwardRef((n,i)=>{const{__scopeTabs:a,value:c,onValueChange:d,defaultValue:g,orientation:b="horizontal",dir:w,activationMode:E="automatic",...S}=n,k=Iz(w),[_,C]=z2({prop:c,onChange:d,defaultProp:g??"",caller:yue});return O.jsx(hlr,{scope:a,baseId:Fh(),value:_,onValueChange:C,orientation:b,dir:k,activationMode:E,children:O.jsx(eo.div,{dir:k,"data-orientation":b,...S,ref:i})})});NXt.displayName=yue;var CXt="TabsList",IXt=z.forwardRef((n,i)=>{const{__scopeTabs:a,loop:c=!0,...d}=n,g=U7e(CXt,a),b=xXt(a);return O.jsx(nYt,{asChild:!0,...b,orientation:g.orientation,dir:g.dir,loop:c,children:O.jsx(eo.div,{role:"tablist","aria-orientation":g.orientation,...d,ref:i})})});IXt.displayName=CXt;var RXt="TabsTrigger",OXt=z.forwardRef((n,i)=>{const{__scopeTabs:a,value:c,disabled:d=!1,...g}=n,b=U7e(RXt,a),w=xXt(a),E=MXt(b.baseId,c),S=PXt(b.baseId,c),k=c===b.value;return O.jsx(rYt,{asChild:!0,...w,focusable:!d,active:k,children:O.jsx(eo.button,{type:"button",role:"tab","aria-selected":k,"aria-controls":S,"data-state":k?"active":"inactive","data-disabled":d?"":void 0,disabled:d,id:E,...g,ref:i,onMouseDown:Or(n.onMouseDown,_=>{!d&&_.button===0&&_.ctrlKey===!1?b.onValueChange(c):_.preventDefault()}),onKeyDown:Or(n.onKeyDown,_=>{[" ","Enter"].includes(_.key)&&b.onValueChange(c)}),onFocus:Or(n.onFocus,()=>{const _=b.activationMode!=="manual";!k&&!d&&_&&b.onValueChange(c)})})})});OXt.displayName=RXt;var DXt="TabsContent",LXt=z.forwardRef((n,i)=>{const{__scopeTabs:a,value:c,forceMount:d,children:g,...b}=n,w=U7e(DXt,a),E=MXt(w.baseId,c),S=PXt(w.baseId,c),k=c===w.value,_=z.useRef(k);return z.useEffect(()=>{const C=requestAnimationFrame(()=>_.current=!1);return()=>cancelAnimationFrame(C)},[]),O.jsx(Cw,{present:d||k,children:({present:C})=>O.jsx(eo.div,{"data-state":k?"active":"inactive","data-orientation":w.orientation,role:"tabpanel","aria-labelledby":E,hidden:!C,id:S,tabIndex:0,...b,ref:i,style:{...n.style,animationDuration:_.current?"0s":void 0},children:C&&g})})});LXt.displayName=DXt;function MXt(n,i){return`${n}-trigger-${i}`}function PXt(n,i){return`${n}-content-${i}`}var plr=NXt,jXt=IXt,FXt=OXt,$Xt=LXt;const glr=plr,BXt=z.forwardRef(({className:n,...i},a)=>O.jsx(jXt,{ref:a,className:kr("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n),...i}));BXt.displayName=jXt.displayName;const soe=z.forwardRef(({className:n,...i},a)=>O.jsx(FXt,{ref:a,className:kr("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 font-medium text-sm ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",n),...i}));soe.displayName=FXt.displayName;const aoe=z.forwardRef(({className:n,...i},a)=>O.jsx($Xt,{ref:a,className:kr("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...i}));aoe.displayName=$Xt.displayName;const blr="0.6.0";function mlr(){const{hass:n}=Gm(),{i18n:i}=zs();return z.useEffect(()=>{var g;const a=n==null?void 0:n.language,c=(g=navigator.language)==null?void 0:g.split("-")[0],d=a||c||"en";yf.debug("[C.A.F.E.] useLanguage effect running",{hasHass:!!n,hassLanguage:a,browserLanguage:c,targetLanguage:d,currentLanguage:i.language}),d!==i.language&&(Object.keys(i.options.resources||{}).includes(d)?(yf.debug("[C.A.F.E.] Changing language to:",d),i.changeLanguage(d)):yf.debug(`[C.A.F.E.] Language '${d}' not available, keeping '${i.language}'`))},[n,i]),i.language}function D$t(){const{t:n}=zs(["common","errors","dialogs"]),i=()=>{window.parent.postMessage({type:"CAFE_TOGGLE_SIDEBAR"},"*")},{hass:a,isRemote:c,isLoading:d,connectionError:g,config:b,setConfig:w}=Gm(),{flowName:E,fromFlowGraph:S,reset:k,automationId:_,hasUnsavedChanges:C,isSaving:R,simulationSpeed:M,setSimulationSpeed:D,hasRealChanges:B}=ds(),[F,$]=z.useState("properties"),[P,H]=z.useState(!1),[Q,re]=z.useState(!1),[ee,ae]=z.useState(!1),[he,ve]=z.useState(!1),[de,ge]=z.useState(!1),[Y,fe]=z.useState(!1),[De,Se]=z.useState(()=>(window.parent??window).innerWidth),$e=c&&(b.url===""||b.token===""),Te=tae();mlr(),z.useEffect(()=>{document.body.classList.toggle("dark",Te)},[Te]),z.useEffect(()=>{const At=window.parent??window,ft=()=>{Se(At.innerWidth)};return At.addEventListener("resize",ft),()=>At.removeEventListener("resize",ft)},[]);const ke=()=>{const At=document.createElement("input");At.type="file",At.accept=".json",At.onchange=async ft=>{var kt;const Kt=(kt=ft.target.files)==null?void 0:kt[0];if(Kt)try{const It=await Kt.text(),Xt=JSON.parse(It);S(Xt)}catch(It){console.error("Failed to import:",It),alert(n("errors:import.fileReadFailed"))}},At.click()},Je=()=>{const At=ds.getState().toFlowGraph(),ft=new Blob([JSON.stringify(At,null,2)],{type:"application/json"}),Kt=URL.createObjectURL(ft),kt=document.createElement("a");kt.href=Kt,kt.download=`${E||"automation"}.json`,kt.click(),URL.revokeObjectURL(Kt)},qe=d?{label:n("status.connecting"),className:"bg-muted text-muted-foreground",icon:O.jsx(XH,{className:"h-3 w-3 animate-spin"})}:g?{label:n("status.connectionError"),className:"bg-red-100 text-red-700",icon:O.jsx(Pv,{className:"h-3 w-3"})}:c&&(a!=null&&a.connected)?{label:n("status.connected"),className:"bg-green-100 text-green-700",icon:O.jsx(Z8n,{className:"h-3 w-3"})}:null,_t=()=>{window.location.reload()};return O.jsx(nPn,{FallbackComponent:({error:At})=>O.jsx(gR,{open:!0,onOpenChange:_t,children:O.jsxs(aN,{className:"flex w-[90vw] max-w-full flex-col",children:[O.jsx(uN,{children:O.jsx(cN,{children:n("dialogs:error.title")})}),O.jsx(lN,{children:n("dialogs:error.description")}),O.jsxs("div",{className:"space-y-4",children:[O.jsxs("pre",{className:"max-h-60 overflow-auto rounded bg-red-100 p-4 text-red-800 text-sm",children:[At.message,O.jsx("br",{}),At.stack]}),O.jsx("div",{children:n("dialogs:error.refreshPrompt")}),O.jsx(Di,{onClick:_t,children:n("buttons.refresh")})]})]})}),children:O.jsxs(zzt,{children:[O.jsxs("div",{className:"flex h-screen flex-col bg-background",children:[O.jsxs("header",{className:"flex h-14 items-center justify-between gap-4 border-border border-b bg-card px-4 shadow-sm",children:[O.jsxs("div",{className:"flex flex-1 items-center gap-4",children:[De<=870?O.jsx(Di,{variant:"ghost",size:"icon",className:"inline-flex items-center justify-center rounded-md p-2 text-muted-foreground hover:bg-accent focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",onClick:i,"aria-label":"Toggle sidebar",children:O.jsx(I8n,{className:"h-5 w-5"})}):O.jsxs("h1",{className:"whitespace-nowrap font-bold text-foreground text-lg",title:n("titles.appFullName"),children:["☕ ",n("titles.appName")]}),O.jsx("span",{className:"mx-1 h-5 w-px bg-border"}),O.jsx("span",{className:"min-w-32 max-w-96 flex-1 truncate font-semibold text-foreground",children:E||O.jsx("span",{className:"font-normal text-muted-foreground",children:n("placeholders.automationName")})})]}),O.jsxs("div",{className:"flex items-center gap-2",children:[qe&&O.jsxs(u5e,{onClick:()=>H(!0),className:kr("flex cursor-pointer items-center gap-1.5 transition-opacity hover:opacity-80",qe.className),title:n("titles.clickToConfigure"),variant:"outline",children:[qe.icon,qe.label]}),c&&O.jsx(Di,{onClick:()=>H(!0),variant:"ghost",size:"icon",title:n("titles.settings"),children:O.jsx(U8n,{className:"h-5 w-5"})}),O.jsx(_z,{orientation:"vertical",className:"h-6"}),O.jsxs("div",{className:"flex",children:[O.jsxs(Di,{onClick:()=>{ae(!0)},className:"rounded-r-none",children:[O.jsx(E8n,{className:"mr-2 h-4 w-4"}),n("buttons.openAutomation")]}),O.jsxs(XYt,{open:he,onOpenChange:ve,children:[O.jsx(ZYt,{asChild:!0,children:O.jsx(Di,{variant:"default",className:"rounded-l-none border-l px-2",children:O.jsx(Xse,{className:"h-4 w-4"})})}),O.jsxs(B5e,{align:"end",children:[O.jsxs(zDe,{onClick:k,children:[O.jsx(Yzt,{className:"mr-2 size-4"}),n("buttons.newAutomation")]}),O.jsxs(zDe,{onClick:()=>re(!0),children:[O.jsx(g8n,{className:"mr-2 h-4 w-4"}),n("buttons.importYaml")]})]})]})]}),O.jsx(Di,{onClick:()=>fe(!0),variant:"ghost",size:"icon",title:n("titles.clearAutomation"),children:O.jsx(z9n,{className:"h-5 w-5"})}),O.jsx(Di,{onClick:()=>ge(!0),variant:C?"default":"ghost",size:"icon",title:n(_?"titles.updateAutomation":"titles.saveAutomation"),disabled:R,className:kr(C&&B()&&!R&&"save-button-unsaved"),children:R?O.jsx(XH,{className:"h-4 w-4 animate-spin"}):O.jsx(Qzt,{className:"h-5 w-5"})})]})]}),O.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[O.jsxs("aside",{className:"flex h-full min-h-0 w-72 flex-col border-border border-r bg-card",children:[O.jsxs("div",{className:"min-h-0 flex-1 overflow-auto",children:[O.jsx(OZn,{}),O.jsxs("div",{className:"border-t p-4",children:[O.jsx("h4",{className:"mb-2 font-medium text-muted-foreground text-xs",children:n("labels.quickHelp")}),O.jsxs("ul",{className:"space-y-1 text-muted-foreground text-xs",children:[O.jsx("li",{children:n("help.clickNodesToAdd")}),O.jsx("li",{children:n("help.dragToConnect")}),O.jsx("li",{children:n("help.deleteToRemove")}),O.jsx("li",{children:n("help.backspaceDeleteKey")})]})]})]}),O.jsxs("div",{className:"flex flex-col gap-2 border-t p-4",children:[O.jsxs("div",{className:"flex items-center gap-4",children:[c&&b.url&&O.jsx("span",{className:"text-green-600 text-xs",children:n("status.connectedTo",{hostname:new URL(b.url).hostname})}),g&&O.jsx("span",{className:"text-red-600 text-xs",children:g})]}),O.jsx("div",{className:"text-muted-foreground text-xs",children:O.jsxs("span",{children:[n("titles.appName")," ",`v${blr}`]})})]})]}),O.jsx("main",{className:"flex min-h-0 flex-1 flex-col",children:O.jsx(DYn,{})}),O.jsx(dlr,{defaultWidth:320,minWidth:280,maxWidth:600,side:"right",className:"border-border border-l bg-card",children:O.jsxs(glr,{value:F,onValueChange:At=>$(At),className:"flex min-h-0 flex-1 flex-col",children:[O.jsxs(BXt,{className:"grid w-full grid-cols-3 rounded-none border-b",children:[O.jsx(soe,{value:"properties",children:n("labels.properties")}),O.jsx(soe,{value:"yaml",children:n("labels.yaml")}),O.jsx(soe,{value:"simulator",children:n("labels.debug")})]}),O.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[O.jsx(aoe,{value:"properties",className:"mt-0 flex-1 overflow-hidden",children:O.jsx(Grr,{})}),O.jsx(aoe,{value:"yaml",className:"mt-0 flex-1 overflow-hidden",children:O.jsx(zcr,{})}),O.jsx(aoe,{value:"simulator",className:"mt-0 flex-1 overflow-hidden",children:O.jsxs("div",{className:"flex h-full flex-col",children:[O.jsxs("div",{className:"border-b p-4",children:[O.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[O.jsx("h4",{className:"font-medium text-muted-foreground text-xs",children:n("labels.debugControls")}),O.jsxs("div",{className:"flex gap-1",children:[O.jsx(Di,{onClick:ke,variant:"ghost",size:"icon",className:"h-6 w-6",title:n("buttons.importJson"),children:O.jsx(y8n,{className:"h-3.5 w-3.5"})}),O.jsx(Di,{onClick:Je,variant:"ghost",size:"icon",className:"h-6 w-6",title:n("titles.exportJson"),children:O.jsx(m8n,{className:"h-3.5 w-3.5"})})]})]}),O.jsx(clr,{speed:M,onSpeedChange:D})]}),O.jsx("div",{className:"flex-1 border-b",children:O.jsx(llr,{})}),O.jsx("div",{className:"flex-1",children:O.jsx(Gcr,{})})]})})]})]})})]})]}),c&&O.jsx(CZn,{isOpen:P||$e,onClose:()=>H(!1),config:b,onSave:w}),O.jsx(IZn,{isOpen:Q,onClose:()=>re(!1)}),O.jsx(SZn,{isOpen:ee,onClose:()=>{ae(!1)}}),O.jsx(NZn,{isOpen:de,onClose:()=>ge(!1),onSaved:()=>{}}),O.jsx(gR,{open:Y,onOpenChange:fe,children:O.jsxs(aN,{className:"max-w-md",children:[O.jsxs(uN,{children:[O.jsx(cN,{children:n("dialogs:import.discardTitle")}),O.jsx(lN,{children:n("dialogs:import.discardDescription")})]}),O.jsxs("div",{className:"flex justify-end gap-2 pt-4",children:[O.jsx(Di,{variant:"outline",onClick:()=>fe(!1),children:n("buttons.cancel")}),O.jsx(Di,{variant:"destructive",onClick:()=>{k(),fe(!1)},children:n("dialogs:import.confirmDiscard")})]})]})}),O.jsx(IPn,{})]})})}const wlr={save:"Speichern",saveAsCopy:"Als Kopie speichern",cancel:"Abbrechen",close:"Schließen",delete:"Löschen",update:"Aktualisieren",refresh:"Aktualisieren",copy:"Kopieren",use:"Verwenden",add:"Hinzufügen",addTrigger:"Auslöser hinzufügen",openAutomation:"Automatisierung öffnen",newAutomation:"Neue Automatisierung",importJson:"Aus JSON importieren",importYaml:"Aus YAML importieren",testConnection:"Verbindung testen",disconnect:"Trennen"},ylr={automationName:"Automatisierungsname",properties:"Eigenschaften",yaml:"YAML",debug:"Debug",enabled:"Aktiviert",alias:"Alias (Anzeigename)",id:"ID",strategy:"Strategie",speed:"Geschwindigkeit",quickHelp:"Schnellhilfe",debugControls:"Debug-Steuerung",addNode:"Knoten hinzufügen",yamlOutput:"YAML-Ausgabe",automationTrace:"Automatisierungs-Trace",selectTraceRun:"Trace-Ausführung wählen:",traceDetails:"Trace-Details:",trigger:"Auslöser:",duration:"Dauer:",lastStep:"Letzter Schritt:",executionPath:"Ausführungspfad:",notApplicable:"N/A",device:"Gerät",triggerType:"Auslösertyp",entityId:"Entitäts-ID",warning:"Warnung",requiredAsterisk:"*",automations:"Automationen",nodes:"Knoten",areas:"Bereiche",zones:"Zonen",unassigned:"Nicht zugeordnet",workspaceSources:"Zusammengeführte Quellen"},vlr={connecting:"Verbinde...",connected:"Verbunden",connectedTo:"Verbunden mit {{hostname}}",connectionError:"Verbindungsfehler",saving:"Speichere...",updating:"Aktualisiere...",testing:"Teste...",loadingTraces:"Lade Traces...",loadingTriggers:"Lade Auslöser..."},Elr={automationName:"Automatisierungsname",optionalDisplayName:"Optionaler Anzeigename",optionalUniqueId:"Optionale eindeutige ID",enterAutomationName:"Automatisierungsname eingeben...",describeAutomation:"Beschreiben Sie, was diese Automatisierung tut...",searchAutomations:"Automatisierungen suchen...",selectTrace:"Trace auswählen...",addNodesForYaml:"# Knoten hinzufügen, um YAML-Ausgabe zu sehen",selectDevice:"Gerät auswählen...",selectTriggerType:"Auslösertyp auswählen...",selectEntity:"Entität auswählen...",selectEntities:"Entitäten auswählen...",duration:"00:05:00",enterTemplate:"Jinja2-Vorlage eingeben...",jsonExample:'{ "key": "value" }',none:"Keine"},Slr={clickNodesToAdd:"Klicken zum Hinzufügen",dragToConnect:"Ziehen zum Verbinden",deleteToRemove:"Löschen zum Entfernen",backspaceDeleteKey:"Rücktaste/Entf-Taste"},Tlr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Einstellungen",updateAutomation:"Automatisierung in Home Assistant aktualisieren",saveAutomation:"Automatisierung in Home Assistant speichern",clearAutomation:"Aktuelle Automatisierung leeren",exportJson:"Flow als JSON exportieren",clickToConfigure:"Klicken um Home Assistant-Verbindung zu konfigurieren",openDetached:"Eigenes Fenster öffnen",removeSource:"Quelle aus dem Merge-Workspace entfernen"},Alr={auto:"Auto",native:"Nativ",stateMachine:"Zustandsautomat"},_lr={newAutomation:"Neue Automatisierung"},klr={true:"Wahr",false:"Falsch"},xlr={select:"Auswählen...",noOptions:"Keine Optionen gefunden."},Nlr={enabled:"Aktiviert",disabled:"Deaktiviert",selectItems:"Elemente auswählen...",itemsSelected:"{{count}} Elemente ausgewählt",selectEntities:"Entitäten auswählen...",selectEntity:"Entität auswählen...",formatHMS:"Format: HH:MM:SS",enterValue:"{{name}} eingeben..."},Clr={enterId:"Geräte-ID manuell eingeben",noDevices:"Keine Geräte gefunden. Geben Sie die Geräte-ID manuell ein oder überprüfen Sie Ihre Home Assistant-Verbindung."},Ilr={runAction:"Aktion ausführen",cut:"Ausschneiden",copy:"Kopieren",paste:"Einfügen",duplicate:"Duplizieren",toggleEnabled:"Ein-/Ausschalten",enable:"Aktivieren",disable:"Deaktivieren",disconnect:"Trennen",alignLeft:"Links ausrichten",alignCenter:"Zentrieren",alignRight:"Rechts ausrichten",alignTop:"Oben ausrichten",alignBottom:"Unten ausrichten",deleteNode:"Knoten löschen",duplicateNode:"Knoten duplizieren",selectAll:"Alles auswählen"},Rlr={cmd:"Cmd",ctrl:"Strg",shift:"Umschalt",alt:"Alt",arrowUp:"Pfeil nach oben",arrowDown:"Pfeil nach unten",arrowLeft:"Pfeil nach links",arrowRight:"Pfeil nach rechts"},Olr={buttons:wlr,labels:ylr,status:vlr,placeholders:Elr,help:Slr,titles:Tlr,strategy:Alr,defaults:_lr,boolean:klr,combobox:xlr,dynamicField:Nlr,deviceSelector:Clr,toolbar:Ilr,shortcuts:Rlr},Dlr={simulatingExecution:"Simuliere Ausführung...",showingTraceExecution:"Zeige Trace-Ausführung ({{steps}} Schritte)"},Llr={simulation:Dlr},Mlr={title:"Automatisierung speichern",titleUpdate:"Automatisierung aktualisieren",description:"Diese Automatisierung in Home Assistant speichern",descriptionUpdate:"Diese Automatisierung in Home Assistant aktualisieren",nameLabel:"Automatisierungsname",descriptionLabel:"Beschreibung (Optional)",nameConflict:'Name existiert bereits. Verwenden: "{{suggestedName}}"?'},Plr={title:"YAML-Automatisierung importieren",description:"Fügen Sie Ihre Home Assistant Automatisierungs-YAML unten ein. Die Automatisierung kann im Standardformat oder Zustandsautomatenformat sein.",placeholder:"alias: Meine Automatisierung\\ntriggers:\\n - trigger: state\\n entity_id: sensor.example",importFailed:"Import fehlgeschlagen",warnings:"Warnungen",successLoading:"Erfolgreich importiert! Lade Flow...",tipLabel:"Tipp:",tipText:"Wenn Ihre Automatisierung mit C.A.F.E. erstellt wurde, werden Knotenpositionen beibehalten. Andernfalls werden Knoten automatisch in einem lesbaren Layout angeordnet.",importing:"Importiere...",import:"Importieren",errors:{parseError:"YAML konnte nicht geparst werden: {{message}}",importError:"Import fehlgeschlagen: {{message}}"}},jlr={title:"Home Assistant-Verbindung",description:"Konfigurieren Sie Ihre Home Assistant-Verbindungseinstellungen.",urlLabel:"Home Assistant-URL",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"Die URL Ihrer Home Assistant-Instanz",tokenLabel:"Langlebiges Zugriffstoken",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Erstellen Sie eines in HA: Profil → Langlebige Zugriffstoken",testConnection:"Verbindung testen",testing:"Teste...",connected:"Verbunden!",disconnect:"Trennen",corsNote:"CORS-Hinweis",corsDescription:"Um sich von einem Browser zu verbinden, müssen Sie möglicherweise CORS-Header zu Ihrer HA-Konfiguration hinzufügen. Wenn Sie sich von https://fezvrasta.github.io/hass-cafe verbinden, muss Ihre HA-Instanz unter HTTPS laufen.",tokenGuideLink:"Wie man ein langlebiges Zugriffstoken erstellt",apiRunning:"API läuft.",errors:{missingFields:"Bitte geben Sie sowohl URL als auch Token an",unexpectedResponse:"Unerwartete API-Antwort",invalidToken:"Ungültiges Token - Authentifizierung fehlgeschlagen",httpError:"HTTP {{status}}: {{statusText}}",corsError:"Verbindung nicht möglich - URL und CORS-Einstellungen überprüfen",connectionFailed:"Verbindung fehlgeschlagen"}},Flr={title:"Unerwarteter Fehler",description:"Ein unerwarteter Fehler ist in der Anwendung aufgetreten. Bitte sehen Sie die Details unten.",refreshPrompt:"Bitte versuchen Sie, die Seite zu aktualisieren. Wenn das Problem weiterhin besteht, melden Sie es bitte in unserem GitHub-Repository."},$lr={saveAutomationFirst:"Speichern Sie zuerst die Automatisierung, um Traces anzuzeigen",noTracesFound:"Keine Automatisierungs-Traces gefunden"},Blr={save:Mlr,import:{title:"Automatisierung öffnen",description:"Wählen Sie eine Automatisierung aus Home Assistant zum Bearbeiten",descriptionFull:"Öffnen Sie eine bestehende Automatisierung oder erstellen Sie eine neue",searchPlaceholder:"Automatisierungen suchen...",noAutomations:"Keine Automatisierungen gefunden",noConnection:"Verbinden Sie sich mit Home Assistant um Automatisierungen zu laden",createNew:"Neu erstellen",openSingle:"Öffnen",openTogether:"Zusammen öffnen",mergeSelected:"Auswahl zusammenführen",defaultMergedName:"Zusammengeführte Automation",mergeSuccess:"{{count}} Automationen in einen Workspace zusammengeführt.",mergeFailed:"Automationen konnten nicht zusammengeführt werden: {{message}}",mergeFailedMissingConfig:"Konfiguration für {{name}} konnte nicht geladen werden",mergeFailedInvalidYaml:"Automation {{name}} konnte nicht geparst werden",selectAll:"Alle sichtbaren auswählen",unselectAll:"Auswahl aufheben",select:"Automation auswählen",unselect:"Automation abwählen",columns:{name:"Name",lastTriggered:"Zuletzt ausgelöst",enabled:"Aktiviert",action:"Aktion"},mode:"Modus: {{mode}}",never:"Nie",justNow:"Gerade eben",minutesAgo:"vor {{count}} Min",hoursAgo:"vor {{count}} Std",daysAgo:"vor {{count}} Tagen",disabled:"Deaktiviert",automationEnabled:"Automatisierung erfolgreich aktiviert.",automationDisabled:"Automatisierung erfolgreich deaktiviert.",updateStateFailed:"Automatisierungsstatus konnte nicht aktualisiert werden",importAutomation:"Automatisierung importieren",openingWarning:"Das Öffnen ersetzt Ihr aktuelles Automatisierungsdesign",discardTitle:"Aktuellen Flow verwerfen?",discardDescription:"Ihre aktuelle Automatisierung hat ungespeicherte Änderungen. Das Erstellen oder Öffnen einer neuen Automatisierung verwirft diese Änderungen.",confirmDiscard:"Verwerfen & Fortfahren",importSuccess:'Automatisierung "{{name}}" erfolgreich importiert!',openedWarning:'Automatisierung "{{name}}" geöffnet!',openedWarningDescription:"Konfiguration konnte nicht automatisch abgerufen werden. Sie können jetzt einen neuen Flow mit demselben Namen erstellen.",importFailed:"Automatisierung konnte nicht importiert werden: {{message}}",ID:"ID: {{id}}",otherArea:"Anderer Bereich",noArea:"Kein Bereich"},importYaml:Plr,settings:jlr,error:Flr,traceViewer:$lr},Ulr={failedToCopy:"Kopieren fehlgeschlagen"},Hlr={emptyAutomation:"Leere Automatisierung kann nicht gespeichert werden. Bitte fügen Sie mindestens einen Auslöser- und einen Aktionsknoten hinzu.",noTrigger:"Automatisierung muss mindestens einen Auslöserknoten haben. Bitte fügen Sie einen Auslöser aus der Knotenpalette hinzu.",noAction:"Automatisierung muss mindestens einen Aktionsknoten haben. Bitte fügen Sie eine Aktion aus der Knotenpalette hinzu.",validationFailed:"Validierung fehlgeschlagen: {{errors}}",transpileFailed:"Flow konnte nicht in Automatisierungskonfiguration transpiliert werden",noAutomationId:"Keine Automatisierungs-ID gesetzt. Verwenden Sie saveAutomation() für neue Automatisierungen."},zlr={noConnection:"Keine Home Assistant-Verbindung verfügbar",noAuth:"Keine Authentifizierung für REST-API konfiguriert",authFailed:"Ungültiges Token - Authentifizierung fehlgeschlagen",corsError:"Verbindung nicht möglich - URL und CORS-Einstellungen überprüfen",connectionLost:"Verbindung verloren",reconnectFailed:"Wiederverbindung fehlgeschlagen",notConnected:"Home Assistant ist nicht verbunden",noMethod:"Keine funktionierende Home Assistant-Verbindungsmethode gefunden",unexpectedResponse:"Unerwartete API-Antwort",connectionFailed:"Verbindung fehlgeschlagen"},Glr={httpError:"HTTP {{status}}: {{statusText}}",createFailed:"Automatisierung konnte nicht erstellt werden: {{message}}",updateFailed:"Automatisierung konnte nicht aktualisiert werden: {{message}}",deleteFailed:"Automatisierung konnte nicht gelöscht werden: {{message}}",importFailed:"Automatisierung konnte nicht importiert werden: {{message}}",unknownError:"Unbekannter Fehler",transpileFailed:"Transpilierung fehlgeschlagen",loadDeviceTriggersFailed:"Geräteauslöser konnten nicht geladen werden:",loadTriggerCapabilitiesFailed:"Auslöserfähigkeiten konnten nicht geladen werden:"},qlr={addFailed:"Eigenschaft konnte nicht hinzugefügt werden"},Vlr={nameRequired:"Automatisierungsname ist erforderlich",urlTokenRequired:"Bitte geben Sie sowohl URL als auch Token an"},Wlr={staleWarning:"Zeige letztes gültiges YAML - Fehler beheben zum Aktualisieren"},Klr={common:Ulr,validation:Hlr,connection:zlr,api:Glr,properties:qlr,form:Vlr,import:{fileReadFailed:"Flow konnte nicht importiert werden. Bitte überprüfen Sie das Dateiformat.",parseFailed:"Automatisierungskonfiguration konnte nicht geparst werden"},yaml:Wlr},Ylr={trigger:"Auslöser",condition:"Bedingung",action:"Aktion",delay:"Verzögerung",wait:"Warten auf",set_variables:"Variablen setzen",node:"Knoten"},Jlr={selectNode:"Wählen Sie einen Knoten, um seine Eigenschaften zu bearbeiten",properties:"Eigenschaften",nodeId:"Knoten-ID: {{id}}",additionalProperties:"Zusätzliche Eigenschaften",addProperty:"Eigenschaft hinzufügen",propertyName:"Eigenschaftsname",type:"Typ",value:"Wert"},Xlr={customProperty:"z.B. meine_benutzerdefinierte_eigenschaft",jsonArray:'["element1", "element2"]',number:"123",enterValue:"Wert eingeben",jsonObject:"JSON-Objekt",enterType:"{{type}} eingeben",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},Zlr={platformLabel:"Plattform",platforms:{state:"Zustandsänderung",numeric_state:"Numerischer Zustand",time:"Zeit",time_pattern:"Zeitmuster",sun:"Sonne",event:"Ereignis",mqtt:"MQTT",webhook:"Webhook",zone:"Zone",template:"Vorlage",homeassistant:"Home Assistant",device:"Gerät",calendar:"Kalender",geo_location:"Geo-Standort",tag:"Tag",conversation:"Konversation",persistent_notification:"Dauerhafte Benachrichtigung"},dataTypes:{string:"Text",number:"Zahl",boolean:"Wahrheitswert",json:"Array (JSON)"}},Qlr={conditionLabel:"Bedingungstyp",types:{state:"Zustand",numeric_state:"Numerischer Zustand",time:"Zeit",sun:"Sonne",zone:"Zone",template:"Vorlage",device:"Gerät",trigger:"Auslöser",and:"UND (Alle)",or:"ODER (Beliebige)",not:"NICHT"},nestedConditions:"Verschachtelte Bedingungen",yes:"Ja",no:"Nein"},edr={serviceLabel:"Dienst"},tdr={variableCount_one:"{{count}} Variable",variableCount_other:"{{count}} Variablen"},ndr={label:"Dauer",description:"Dauer in Stunden, Minuten, Sekunden, Millisekunden angeben",string:"Zeichenkette",object:"Objekt",placeholder:"00:00:05.500",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden",milliseconds:"Millisekunden"},rdr={label:"Antwortvariable",optionalDescription:"Diese Aktion kann eine Antwort zurückgeben. Aktivieren Sie, um die Antwort zu verwenden und geben Sie den Namen einer Variablen ein, in der die Antwort gespeichert wird.",requiredDescription:"Diese Aktion gibt eine Antwort zurück. Geben Sie den Namen einer Variablen ein, in der die Antwort gespeichert wird.",useResponseVariable:"Antwortvariable verwenden",placeholder:"z.B. meine_antwort",currentNodeWarning:"'current_node' ist für die Zustandsautomaten-Strategie reserviert. Die Verwendung dieses Namens kann unerwartetes Verhalten verursachen."},idr={heading:"Dienstdaten"},odr={empty:"Keine Variablen definiert. Klicken Sie auf die Schaltfläche unten, um eine hinzuzufügen.",variableLabel:"Variable {{index}}",name:"Name",namePlaceholder:"variablen_name",value:"Wert",valueDescription:"Wert oder Jinja2-Vorlagenausdruck",valuePlaceholder:"wert oder {{ vorlage }}",addVariable:"Variable hinzufügen"},sdr={waitsForNTrigger_one:"Wartet auf {{count}} Auslöser",waitsForNTrigger_other:"Wartet auf {{count}} Auslöser",timeoutLabel:"Zeitüberschreitung:",waitType:"Wartetyp",waitTypeDescription:"Wählen Sie, worauf gewartet werden soll.",types:{template:"Vorlage",triggers:"Auslöser"},waitTemplate:"Wartevorlage",waitTemplateDescription:"Vorlagenbedingung, die wahr sein muss, um fortzufahren",triggersHeading:"Auslöser",triggerLabel:"Auslöser {{index}}: {{platform}}",triggerPlatformLabel:"Plattform",addTrigger:"Auslöser hinzufügen",timeoutDescription:"Maximale Wartezeit vor dem Fortfahren. Leer lassen für unbegrenztes Warten.",continueOnTimeout:"Bei Zeitüberschreitung fortfahren",continueOnTimeoutDescription:"Wenn aktiviert, fährt die Automatisierung fort, wenn die Zeitüberschreitung abläuft. Wenn deaktiviert, stoppt die Automatisierung."},adr={types:Ylr,panel:Jlr,placeholders:Xlr,triggers:Zlr,conditions:Qlr,actions:edr,variables:tdr,durationField:ndr,responseVariableField:rdr,serviceDataFields:idr,setVariablesFields:odr,wait:sdr},udr={noConditions:"Noch keine Bedingungen hinzugefügt",addCondition:"Bedingung hinzufügen"},cdr={conditionGroupEditor:udr},ldr={heading:"Trace-Simulator",conditionOverrides:"Bedingungsergebnisse (für Simulation)",random:"Zufällig",true:"Wahr",false:"Falsch",executionPath:"Ausführungspfad"},ddr={trace:ldr},fdr={common:Olr,debug:Llr,dialogs:Blr,errors:Klr,nodes:adr,panels:cdr,simulator:ddr},hdr={save:"Save",saveAsCopy:"Save as Copy",cancel:"Cancel",close:"Close",delete:"Delete",update:"Update",refresh:"Refresh",copy:"Copy",use:"Use",add:"Add",addTrigger:"Add Trigger",openAutomation:"Open Automation",newAutomation:"New Automation",importJson:"Import from JSON",importYaml:"Import from YAML",testConnection:"Test Connection",disconnect:"Disconnect"},pdr={automationName:"Automation name",properties:"Properties",yaml:"YAML",debug:"Debug",enabled:"Enabled",alias:"Alias (Display Name)",id:"ID",strategy:"Strategy",speed:"Speed",quickHelp:"Quick Help",debugControls:"Debug Controls",addNode:"Add Node",yamlOutput:"YAML Output",automationTrace:"Automation Trace",selectTraceRun:"Select Trace Run:",traceDetails:"Trace Details:",trigger:"Trigger:",duration:"Duration:",lastStep:"Last Step:",executionPath:"Execution Path:",notApplicable:"N/A",device:"Device",triggerType:"Trigger Type",entityId:"Entity ID",warning:"Warning",requiredAsterisk:"*",automations:"Automations",nodes:"Nodes",areas:"Areas",zones:"Zones",unassigned:"Unassigned",workspaceSources:"Merged Sources"},gdr={connecting:"Connecting...",connected:"Connected",connectedTo:"Connected to {{hostname}}",connectionError:"Connection Error",saving:"Saving...",updating:"Updating...",testing:"Testing...",loadingTraces:"Loading traces...",loadingTriggers:"Loading triggers..."},bdr={automationName:"Automation name",optionalDisplayName:"Optional display name",optionalUniqueId:"Optional unique ID",enterAutomationName:"Enter automation name...",describeAutomation:"Describe what this automation does...",searchAutomations:"Search automations...",selectTrace:"Select a trace...",addNodesForYaml:"# Add nodes to see YAML output",selectDevice:"Select device...",selectTriggerType:"Select trigger type...",selectEntity:"Select entity...",selectEntities:"Select entities...",duration:"00:05:00",enterTemplate:"Enter Jinja2 template...",jsonExample:'{ "key": "value" }',none:"None"},mdr={clickNodesToAdd:"Click nodes to add",dragToConnect:"Drag to connect",deleteToRemove:"Delete to remove",backspaceDeleteKey:"Backspace/Delete key"},wdr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Settings",updateAutomation:"Update automation in Home Assistant",saveAutomation:"Save automation to Home Assistant",clearAutomation:"Clear current automation",exportJson:"Export flow as JSON",clickToConfigure:"Click to configure Home Assistant connection",openDetached:"Open detached window",removeSource:"Remove source from merged workspace"},ydr={auto:"Auto",native:"Native",stateMachine:"State Machine"},vdr={newAutomation:"New Automation"},Edr={true:"True",false:"False"},Sdr={select:"Select...",noOptions:"No options found."},Tdr={enabled:"Enabled",disabled:"Disabled",selectItems:"Select items...",itemsSelected:"{{count}} items selected",selectEntities:"Select entities...",selectEntity:"Select entity...",formatHMS:"Format: HH:MM:SS",enterValue:"Enter {{name}}..."},Adr={enterId:"Enter device ID manually",noDevices:"No devices found. Enter device ID manually or check your Home Assistant connection."},_dr={title:"Automation Settings",description:"Description",mode:"Mode",modeDescription:"Controls what happens when the automation is triggered while already running.",modes:{single:"Single",restart:"Restart",queued:"Queued",parallel:"Parallel"},modeDescriptions:{single:"Do not start a new run if already running",restart:"Stop the current run and start a new one",queued:"Queue new runs to execute after the current one finishes",parallel:"Start a new independent run in parallel"},max:"Max runs",maxDescription:"Maximum number of concurrent or queued runs.",maxExceeded:"Max exceeded",maxExceededDescription:"What to do when the maximum number of runs is exceeded.",maxExceededOptions:{silent:"Silent",warning:"Warning",critical:"Critical"}},kdr={runAction:"Run Action",cut:"Cut",copy:"Copy",paste:"Paste",duplicate:"Duplicate",toggleEnabled:"Toggle Enabled/Disabled",enable:"Enable",disable:"Disable",disconnect:"Disconnect",alignLeft:"Align Left",alignCenter:"Align Center",alignRight:"Align Right",alignTop:"Align Top",alignBottom:"Align Bottom",deleteNode:"Delete Node",duplicateNode:"Duplicate Node",selectAll:"Select All"},xdr={cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",alt:"Alt",arrowUp:"Arrow Up",arrowDown:"Arrow Down",arrowLeft:"Arrow Left",arrowRight:"Arrow Right"},Ndr={buttons:hdr,labels:pdr,status:gdr,placeholders:bdr,help:mdr,titles:wdr,strategy:ydr,defaults:vdr,boolean:Edr,combobox:Sdr,dynamicField:Tdr,deviceSelector:Adr,automationSettings:_dr,toolbar:kdr,shortcuts:xdr},Cdr={simulatingExecution:"Simulating execution...",showingTraceExecution:"Showing trace execution ({{steps}} steps)"},Idr={simulation:Cdr},Rdr={title:"Save Automation",titleUpdate:"Update Automation",description:"Save this automation to Home Assistant",descriptionUpdate:"Update this automation in Home Assistant",nameLabel:"Automation Name",descriptionLabel:"Description (Optional)",nameConflict:'Name already exists. Use: "{{suggestedName}}"?'},Odr={title:"Import YAML Automation",description:"Paste your Home Assistant automation YAML below. The automation can be in standard format or state machine format.",placeholder:"alias: My Automation\\ntriggers:\\n - trigger: state\\n entity_id: sensor.example",importFailed:"Import Failed",warnings:"Warnings",successLoading:"Successfully imported! Loading flow...",tipLabel:"Tip:",tipText:"If your automation was created with C.A.F.E., node positions will be preserved. Otherwise, nodes will be automatically arranged in a readable layout.",importing:"Importing...",import:"Import",errors:{parseError:"Failed to parse YAML: {{message}}",importError:"Failed to import: {{message}}"}},Ddr={title:"Home Assistant Connection",description:"Configure your Home Assistant connection settings.",urlLabel:"Home Assistant URL",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"The URL of your Home Assistant instance",tokenLabel:"Long-Lived Access Token",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Create one in HA: Profile → Long-Lived Access Tokens",testConnection:"Test Connection",testing:"Testing...",connected:"Connected!",disconnect:"Disconnect",corsNote:"CORS Note",corsDescription:"To connect from a browser, you may need to add CORS headers to your HA config. If you are connecting from https://fezvrasta.github.io/hass-cafe, you need your HA instance to be under HTTPS.",tokenGuideLink:"How to create a Long-Lived Access Token",apiRunning:"API running.",errors:{missingFields:"Please provide both URL and token",unexpectedResponse:"Unexpected API response",invalidToken:"Invalid token - authentication failed",httpError:"HTTP {{status}}: {{statusText}}",corsError:"Cannot connect - check URL and CORS settings",connectionFailed:"Connection failed"}},Ldr={title:"Unexpected Error",description:"An unexpected error occurred in the application. Please see the details below.",refreshPrompt:"Please try refreshing the page. If the problem persists, consider reporting the issue on our GitHub repository."},Mdr={saveAutomationFirst:"Save the automation first to view traces",noTracesFound:"No automation traces found"},Pdr={save:Rdr,import:{title:"Open Automation",description:"Select an automation from Home Assistant to edit",descriptionFull:"Open an existing automation or create a new one",searchPlaceholder:"Search automations...",noAutomations:"No automations found",noConnection:"Connect to Home Assistant to load automations",createNew:"Create New",openSingle:"Open",openTogether:"Open together",mergeSelected:"Merge Selected",defaultMergedName:"Merged Automation",mergeSuccess:"Merged {{count}} automations into one workspace.",mergeFailed:"Failed to merge automations: {{message}}",mergeFailedMissingConfig:"Could not load config for {{name}}",mergeFailedInvalidYaml:"Could not parse automation {{name}}",selectAll:"Select all visible",unselectAll:"Clear selection",select:"Select automation",unselect:"Unselect automation",columns:{name:"Name",lastTriggered:"Last Triggered",enabled:"Enabled",action:"Action"},mode:"Mode: {{mode}}",never:"Never",justNow:"Just now",minutesAgo:"{{count}}m ago",hoursAgo:"{{count}}h ago",daysAgo:"{{count}}d ago",disabled:"Disabled",automationEnabled:"Automation enabled successfully.",automationDisabled:"Automation disabled successfully.",updateStateFailed:"Failed to update automation state",importAutomation:"Import automation",openingWarning:"Opening will replace your current automation design",discardTitle:"Discard current flow?",discardDescription:"Your current automation has unsaved changes. Creating or opening a new automation will discard these changes.",confirmDiscard:"Discard & Continue",importSuccess:'Automation "{{name}}" imported successfully!',openedWarning:'Automation "{{name}}" opened!',openedWarningDescription:"Could not fetch configuration automatically. You can now create a new flow with the same name.",importFailed:"Failed to import automation: {{message}}",ID:"ID: {{id}}",otherArea:"Other Area",noArea:"No Area"},importYaml:Odr,settings:Ddr,error:Ldr,traceViewer:Mdr},jdr={failedToCopy:"Failed to copy"},Fdr={emptyAutomation:"Cannot save empty automation. Please add at least one trigger and one action node.",noTrigger:"Automation must have at least one trigger node. Please add a trigger from the node palette.",noAction:"Automation must have at least one action node. Please add an action from the node palette.",validationFailed:"Validation failed: {{errors}}",transpileFailed:"Failed to transpile flow to automation config",noAutomationId:"No automation ID set. Use saveAutomation() for new automations."},$dr={noConnection:"No Home Assistant connection available",noAuth:"No authentication configured for REST API",authFailed:"Invalid token - authentication failed",corsError:"Cannot connect - check URL and CORS settings",connectionLost:"Connection lost",reconnectFailed:"Reconnection failed",notConnected:"Home Assistant is not connected",noMethod:"No working Home Assistant connection method found",unexpectedResponse:"Unexpected API response",connectionFailed:"Connection failed"},Bdr={httpError:"HTTP {{status}}: {{statusText}}",createFailed:"Failed to create automation: {{message}}",updateFailed:"Failed to update automation: {{message}}",deleteFailed:"Failed to delete automation: {{message}}",importFailed:"Failed to import automation: {{message}}",unknownError:"Unknown error",transpileFailed:"Transpilation failed",loadDeviceTriggersFailed:"Failed to load device triggers:",loadTriggerCapabilitiesFailed:"Failed to load trigger capabilities:"},Udr={addFailed:"Failed to add property"},Hdr={nameRequired:"Automation name is required",urlTokenRequired:"Please provide both URL and token"},zdr={staleWarning:"Showing last valid YAML - fix errors to update"},Gdr={common:jdr,validation:Fdr,connection:$dr,api:Bdr,properties:Udr,form:Hdr,import:{fileReadFailed:"Failed to import flow. Please check the file format.",parseFailed:"Failed to parse automation configuration"},yaml:zdr},qdr={trigger:"Trigger",condition:"Condition",action:"Action",delay:"Delay",wait:"Wait for",set_variables:"Set Variables",node:"Node"},Vdr={selectNode:"Select a node to edit its properties",properties:"Properties",nodeId:"Node ID: {{id}}",additionalProperties:"Additional Properties",addProperty:"Add Property",propertyName:"Property Name",type:"Type",value:"Value"},Wdr={customProperty:"e.g., my_custom_property",jsonArray:'["item1", "item2"]',number:"123",enterValue:"Enter value",jsonObject:"JSON object",enterType:"Enter {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},Kdr={platformLabel:"Platform",platforms:{state:"State Change",numeric_state:"Numeric State",time:"Time",time_pattern:"Time Pattern",sun:"Sun",event:"Event",mqtt:"MQTT",webhook:"Webhook",zone:"Zone",template:"Template",homeassistant:"Home Assistant",device:"Device",calendar:"Calendar",geo_location:"Geo Location",tag:"Tag",conversation:"Conversation",persistent_notification:"Persistent Notification"},dataTypes:{string:"Text",number:"Number",boolean:"Boolean",json:"Array (JSON)"}},Ydr={conditionLabel:"Condition Type",types:{state:"State",numeric_state:"Numeric State",time:"Time",sun:"Sun",zone:"Zone",template:"Template",device:"Device",trigger:"Trigger",and:"AND (All)",or:"OR (Any)",not:"NOT"},nestedConditions:"Nested Conditions",yes:"Yes",no:"No"},Jdr={serviceLabel:"Service",actionTypeLabel:"Action Type",actionTypes:{service:"Call Service",event:"Fire Event"},actionLabel:"Action",eventNameLabel:"Event Name",eventNamePlaceholder:"e.g. pico_subscription",selectAction:"Select action...",targetEntities:"Target Entities",selectTargetEntities:"Select target entities...",targetDevices:"Target Devices",targetDevicesDescription:"Device IDs to target",addDeviceId:"Add device ID...",targetAreas:"Target Areas",targetAreasDescription:"Area IDs to target",addAreaId:"Add area ID...",fireEvent:"fire event"},Xdr={variableCount_one:"{{count}} variable",variableCount_other:"{{count}} variables"},Zdr={label:"Duration",description:"Specify duration in hours, minutes, seconds, milliseconds",string:"String",object:"Object",placeholder:"00:00:05.500",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},Qdr={label:"Response Variable",optionalDescription:"This action can return a response. Enable to use the response and enter the name of a variable the response will be saved in.",requiredDescription:"This action returns a response. Enter the name of a variable the response will be saved in.",useResponseVariable:"Use Response Variable",placeholder:"e.g. my_response",currentNodeWarning:"'current_node' is reserved for the state-machine strategy. Using this name may cause unexpected behavior."},efr={heading:"Service Data"},tfr={empty:"No variables defined. Click the button below to add one.",variableLabel:"Variable {{index}}",name:"Name",namePlaceholder:"variable_name",value:"Value",valueDescription:"Value or Jinja2 template expression",valuePlaceholder:"value or {{ template }}",addVariable:"Add Variable"},nfr={waitsForNTrigger_one:"Waits for {{count}} trigger",waitsForNTrigger_other:"Waits for {{count}} triggers",timeoutLabel:"Timeout:",waitType:"Wait Type",waitTypeDescription:"Choose what to wait for.",types:{template:"Template",triggers:"Triggers"},waitTemplate:"Wait Template",waitTemplateDescription:"Template condition that must be true to continue",triggersHeading:"Triggers",triggerLabel:"Trigger {{index}}: {{platform}}",triggerPlatformLabel:"Platform",addTrigger:"Add Trigger",timeoutDescription:"Maximum time to wait before continuing. Leave empty to wait indefinitely.",continueOnTimeout:"Continue on Timeout",continueOnTimeoutDescription:"If enabled, the automation continues when timeout expires. If disabled, the automation stops."},rfr={types:qdr,panel:Vdr,placeholders:Wdr,triggers:Kdr,conditions:Ydr,actions:Jdr,variables:Xdr,durationField:Zdr,responseVariableField:Qdr,serviceDataFields:efr,setVariablesFields:tfr,wait:nfr},ifr={noConditions:"No conditions added yet",addCondition:"Add Condition"},ofr={conditionGroupEditor:ifr},sfr={heading:"Trace Simulator",conditionOverrides:"Condition Outcomes (for simulation)",random:"Random",true:"True",false:"False",executionPath:"Execution Path"},afr={trace:sfr},ufr={common:Ndr,debug:Idr,dialogs:Pdr,errors:Gdr,nodes:rfr,panels:ofr,simulator:afr},cfr={save:"Enregistrer",saveAsCopy:"Enregistrer comme copie",cancel:"Annuler",close:"Fermer",delete:"Supprimer",update:"Mettre à jour",refresh:"Actualiser",copy:"Copier",use:"Utiliser",add:"Ajouter",addTrigger:"Ajouter un déclencheur",openAutomation:"Ouvrir l'automatisation",newAutomation:"Nouvelle automatisation",importJson:"Importer depuis JSON",importYaml:"Importer depuis YAML",testConnection:"Tester la connexion",disconnect:"Déconnecter"},lfr={automationName:"Nom de l'automatisation",properties:"Propriétés",yaml:"YAML",debug:"Débogage",enabled:"Activé",alias:"Alias (Nom d'affichage)",id:"ID",strategy:"Stratégie",speed:"Vitesse",quickHelp:"Aide rapide",debugControls:"Contrôles de débogage",addNode:"Ajouter un nœud",yamlOutput:"Sortie YAML",automationTrace:"Trace d'automatisation",selectTraceRun:"Sélectionner l'exécution de trace :",traceDetails:"Détails de la trace :",trigger:"Déclencheur :",duration:"Durée :",lastStep:"Dernière étape :",executionPath:"Chemin d'exécution :",notApplicable:"N/A",device:"Appareil",triggerType:"Type de déclencheur",entityId:"ID d'entité",warning:"Avertissement",requiredAsterisk:"*",automations:"Automatisations",nodes:"Nœuds",areas:"Zones",zones:"Zones de présence",unassigned:"Non assigné",workspaceSources:"Sources fusionnées"},dfr={connecting:"Connexion en cours...",connected:"Connecté",connectedTo:"Connecté à {{hostname}}",connectionError:"Erreur de connexion",saving:"Enregistrement...",updating:"Mise à jour...",testing:"Test en cours...",loadingTraces:"Chargement des traces...",loadingTriggers:"Chargement des déclencheurs..."},ffr={automationName:"Nom de l'automatisation",optionalDisplayName:"Nom d'affichage optionnel",optionalUniqueId:"ID unique optionnel",enterAutomationName:"Entrer le nom de l'automatisation...",describeAutomation:"Décrivez ce que fait cette automatisation...",searchAutomations:"Rechercher des automatisations...",selectTrace:"Sélectionner une trace...",addNodesForYaml:"# Ajoutez des nœuds pour voir la sortie YAML",selectDevice:"Sélectionner un appareil...",selectTriggerType:"Sélectionner le type de déclencheur...",selectEntity:"Sélectionner une entité...",selectEntities:"Sélectionner des entités...",duration:"00:05:00",enterTemplate:"Entrer un modèle Jinja2...",jsonExample:'{ "clé": "valeur" }',none:"Aucun"},hfr={clickNodesToAdd:"Cliquez sur les nœuds pour les ajouter",dragToConnect:"Glissez pour connecter",deleteToRemove:"Supprimez pour retirer",backspaceDeleteKey:"Touche Retour arrière/Suppr"},pfr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Paramètres",updateAutomation:"Mettre à jour l'automatisation dans Home Assistant",saveAutomation:"Enregistrer l'automatisation dans Home Assistant",clearAutomation:"Effacer l'automatisation actuelle",exportJson:"Exporter le flux en JSON",clickToConfigure:"Cliquez pour configurer la connexion Home Assistant",openDetached:"Ouvrir une fenêtre détachée",removeSource:"Retirer la source de l'espace fusionné"},gfr={auto:"Auto",native:"Natif",stateMachine:"Machine à états"},bfr={newAutomation:"Nouvelle automatisation"},mfr={true:"Vrai",false:"Faux"},wfr={select:"Sélectionner...",noOptions:"Aucune option trouvée."},yfr={enabled:"Activé",disabled:"Désactivé",selectItems:"Sélectionner des éléments...",itemsSelected:"{{count}} éléments sélectionnés",selectEntities:"Sélectionner des entités...",selectEntity:"Sélectionner une entité...",formatHMS:"Format : HH:MM:SS",enterValue:"Entrer {{name}}..."},vfr={enterId:"Entrer l'ID de l'appareil manuellement",noDevices:"Aucun appareil trouvé. Entrez l'ID de l'appareil manuellement ou vérifiez votre connexion Home Assistant."},Efr={runAction:"Exécuter l'action",cut:"Couper",copy:"Copier",paste:"Coller",duplicate:"Dupliquer",toggleEnabled:"Basculer Activé/Désactivé",enable:"Activer",disable:"Désactiver",disconnect:"Déconnecter",alignLeft:"Aligner à gauche",alignCenter:"Aligner au centre",alignRight:"Aligner à droite",alignTop:"Aligner en haut",alignBottom:"Aligner en bas",deleteNode:"Supprimer le nœud",duplicateNode:"Dupliquer le nœud",selectAll:"Tout sélectionner"},Sfr={cmd:"Cmd",ctrl:"Ctrl",shift:"Maj",alt:"Alt",arrowUp:"Flèche vers le haut",arrowDown:"Flèche vers le bas",arrowLeft:"Flèche vers la gauche",arrowRight:"Flèche vers la droite"},Tfr={buttons:cfr,labels:lfr,status:dfr,placeholders:ffr,help:hfr,titles:pfr,strategy:gfr,defaults:bfr,boolean:mfr,combobox:wfr,dynamicField:yfr,deviceSelector:vfr,toolbar:Efr,shortcuts:Sfr},Afr={simulatingExecution:"Simulation de l'exécution...",showingTraceExecution:"Affichage de l'exécution de la trace ({{steps}} étapes)"},_fr={simulation:Afr},kfr={title:"Enregistrer l'automatisation",titleUpdate:"Mettre à jour l'automatisation",description:"Enregistrer cette automatisation dans Home Assistant",descriptionUpdate:"Mettre à jour cette automatisation dans Home Assistant",nameLabel:"Nom de l'automatisation",descriptionLabel:"Description (Optionnel)",nameConflict:'Le nom existe déjà. Utiliser : "{{suggestedName}}" ?'},xfr={title:"Importer l'automatisation YAML",description:"Collez votre YAML d'automatisation Home Assistant ci-dessous. L'automatisation peut être au format standard ou au format machine à états.",placeholder:"alias: Mon Automatisation\\ntriggers:\\n - trigger: state\\n entity_id: sensor.exemple",importFailed:"Échec de l'importation",warnings:"Avertissements",successLoading:"Importé avec succès ! Chargement du flux...",tipLabel:"Conseil :",tipText:"Si votre automatisation a été créée avec C.A.F.E., les positions des nœuds seront préservées. Sinon, les nœuds seront automatiquement arrangés dans une disposition lisible.",importing:"Importation...",import:"Importer",errors:{parseError:"Échec de l'analyse YAML : {{message}}",importError:"Échec de l'importation : {{message}}"}},Nfr={title:"Connexion Home Assistant",description:"Configurez vos paramètres de connexion Home Assistant.",urlLabel:"URL Home Assistant",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"L'URL de votre instance Home Assistant",tokenLabel:"Jeton d'accès longue durée",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Créez-en un dans HA : Profil → Jetons d'accès longue durée",testConnection:"Tester la connexion",testing:"Test en cours...",connected:"Connecté !",disconnect:"Déconnecter",corsNote:"Note CORS",corsDescription:"Pour vous connecter depuis un navigateur, vous devrez peut-être ajouter des en-têtes CORS à votre configuration HA. Si vous vous connectez depuis https://fezvrasta.github.io/hass-cafe, votre instance HA doit être sous HTTPS.",tokenGuideLink:"Comment créer un jeton d'accès longue durée",apiRunning:"API en cours d'exécution.",errors:{missingFields:"Veuillez fournir l'URL et le jeton",unexpectedResponse:"Réponse API inattendue",invalidToken:"Jeton invalide - authentification échouée",httpError:"HTTP {{status}} : {{statusText}}",corsError:"Impossible de se connecter - vérifiez l'URL et les paramètres CORS",connectionFailed:"Connexion échouée"}},Cfr={title:"Erreur inattendue",description:"Une erreur inattendue s'est produite dans l'application. Veuillez voir les détails ci-dessous.",refreshPrompt:"Veuillez essayer d'actualiser la page. Si le problème persiste, envisagez de signaler le problème sur notre dépôt GitHub."},Ifr={saveAutomationFirst:"Enregistrez d'abord l'automatisation pour voir les traces",noTracesFound:"Aucune trace d'automatisation trouvée"},Rfr={save:kfr,import:{title:"Ouvrir l'automatisation",description:"Sélectionner une automatisation de Home Assistant à modifier",descriptionFull:"Ouvrir une automatisation existante ou en créer une nouvelle",searchPlaceholder:"Rechercher des automatisations...",noAutomations:"Aucune automatisation trouvée",noConnection:"Connectez-vous à Home Assistant pour charger les automatisations",createNew:"Créer nouveau",openSingle:"Ouvrir",openTogether:"Ouvrir ensemble",mergeSelected:"Fusionner la sélection",defaultMergedName:"Automatisation fusionnée",mergeSuccess:"{{count}} automatisations fusionnées dans un seul workspace.",mergeFailed:"Échec de la fusion des automatisations : {{message}}",mergeFailedMissingConfig:"Impossible de charger la configuration de {{name}}",mergeFailedInvalidYaml:"Impossible d'analyser l'automatisation {{name}}",selectAll:"Tout sélectionner",unselectAll:"Effacer la sélection",select:"Sélectionner l'automatisation",unselect:"Désélectionner l'automatisation",columns:{name:"Nom",lastTriggered:"Dernier déclenchement",enabled:"Activé",action:"Action"},mode:"Mode : {{mode}}",never:"Jamais",justNow:"À l'instant",minutesAgo:"Il y a {{count}}m",hoursAgo:"Il y a {{count}}h",daysAgo:"Il y a {{count}}j",disabled:"Désactivé",automationEnabled:"Automatisation activée avec succès.",automationDisabled:"Automatisation désactivée avec succès.",updateStateFailed:"Échec de la mise à jour de l'état de l'automatisation",importAutomation:"Importer l'automatisation",openingWarning:"L'ouverture remplacera votre conception d'automatisation actuelle",discardTitle:"Abandonner le flux actuel ?",discardDescription:"Votre automatisation actuelle a des modifications non enregistrées. Créer ou ouvrir une nouvelle automatisation abandonnera ces modifications.",confirmDiscard:"Abandonner et continuer",importSuccess:'Automatisation "{{name}}" importée avec succès !',openedWarning:'Automatisation "{{name}}" ouverte !',openedWarningDescription:"Impossible de récupérer la configuration automatiquement. Vous pouvez maintenant créer un nouveau flux avec le même nom.",importFailed:"Échec de l'importation de l'automatisation : {{message}}",ID:"ID : {{id}}",otherArea:"Autre zone",noArea:"Aucune zone"},importYaml:xfr,settings:Nfr,error:Cfr,traceViewer:Ifr},Ofr={failedToCopy:"Échec de la copie"},Dfr={emptyAutomation:"Impossible d'enregistrer une automatisation vide. Veuillez ajouter au moins un déclencheur et un nœud d'action.",noTrigger:"L'automatisation doit avoir au moins un nœud déclencheur. Veuillez ajouter un déclencheur depuis la palette de nœuds.",noAction:"L'automatisation doit avoir au moins un nœud d'action. Veuillez ajouter une action depuis la palette de nœuds.",validationFailed:"Validation échouée : {{errors}}",transpileFailed:"Échec de la transpilation du flux en configuration d'automatisation",noAutomationId:"Aucun ID d'automatisation défini. Utilisez saveAutomation() pour les nouvelles automatisations."},Lfr={noConnection:"Aucune connexion Home Assistant disponible",noAuth:"Aucune authentification configurée pour l'API REST",authFailed:"Jeton invalide - authentification échouée",corsError:"Impossible de se connecter - vérifiez l'URL et les paramètres CORS",connectionLost:"Connexion perdue",reconnectFailed:"Reconnexion échouée",notConnected:"Home Assistant n'est pas connecté",noMethod:"Aucune méthode de connexion Home Assistant fonctionnelle trouvée",unexpectedResponse:"Réponse API inattendue",connectionFailed:"Connexion échouée"},Mfr={httpError:"HTTP {{status}} : {{statusText}}",createFailed:"Échec de la création de l'automatisation : {{message}}",updateFailed:"Échec de la mise à jour de l'automatisation : {{message}}",deleteFailed:"Échec de la suppression de l'automatisation : {{message}}",importFailed:"Échec de l'importation de l'automatisation : {{message}}",unknownError:"Erreur inconnue",transpileFailed:"Échec de la transpilation",loadDeviceTriggersFailed:"Échec du chargement des déclencheurs d'appareil :",loadTriggerCapabilitiesFailed:"Échec du chargement des capacités du déclencheur :"},Pfr={addFailed:"Échec de l'ajout de la propriété"},jfr={nameRequired:"Le nom de l'automatisation est requis",urlTokenRequired:"Veuillez fournir l'URL et le jeton"},Ffr={staleWarning:"Affichage du dernier YAML valide - corrigez les erreurs pour mettre à jour"},$fr={common:Ofr,validation:Dfr,connection:Lfr,api:Mfr,properties:Pfr,form:jfr,import:{fileReadFailed:"Échec de l'importation du flux. Veuillez vérifier le format du fichier.",parseFailed:"Échec de l'analyse de la configuration de l'automatisation"},yaml:Ffr},Bfr={trigger:"Déclencheur",condition:"Condition",action:"Action",delay:"Délai",wait:"Attendre",set_variables:"Définir les variables",node:"Nœud"},Ufr={selectNode:"Sélectionnez un nœud pour modifier ses propriétés",properties:"Propriétés",nodeId:"ID du nœud : {{id}}",additionalProperties:"Propriétés supplémentaires",addProperty:"Ajouter une propriété",propertyName:"Nom de la propriété",type:"Type",value:"Valeur"},Hfr={customProperty:"ex. ma_propriete_personnalisee",jsonArray:'["element1", "element2"]',number:"123",enterValue:"Entrer la valeur",jsonObject:"Objet JSON",enterType:"Entrer {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},zfr={platformLabel:"Plateforme",platforms:{state:"Changement d'état",numeric_state:"État numérique",time:"Heure",time_pattern:"Modèle horaire",sun:"Soleil",event:"Événement",mqtt:"MQTT",webhook:"Webhook",zone:"Zone",template:"Modèle",homeassistant:"Home Assistant",device:"Appareil",calendar:"Calendrier",geo_location:"Géolocalisation",tag:"Tag",conversation:"Conversation",persistent_notification:"Notification persistante"},dataTypes:{string:"Texte",number:"Nombre",boolean:"Booléen",json:"Tableau (JSON)"}},Gfr={conditionLabel:"Type de condition",types:{state:"État",numeric_state:"État numérique",time:"Heure",sun:"Soleil",zone:"Zone",template:"Modèle",device:"Appareil",trigger:"Déclencheur",and:"ET (Tous)",or:"OU (N'importe lequel)",not:"NON"},nestedConditions:"Conditions imbriquées",yes:"Oui",no:"Non"},qfr={serviceLabel:"Service"},Vfr={variableCount_one:"{{count}} variable",variableCount_other:"{{count}} variables"},Wfr={label:"Durée",description:"Spécifiez la durée en heures, minutes, secondes, millisecondes",string:"Chaîne",object:"Objet",placeholder:"00:00:05.500",hours:"Heures",minutes:"Minutes",seconds:"Secondes",milliseconds:"Millisecondes"},Kfr={label:"Variable de réponse",optionalDescription:"Cette action peut retourner une réponse. Activez pour utiliser la réponse et entrez le nom de la variable où elle sera enregistrée.",requiredDescription:"Cette action retourne une réponse. Entrez le nom de la variable où elle sera enregistrée.",useResponseVariable:"Utiliser la variable de réponse",placeholder:"ex. ma_reponse",currentNodeWarning:"'current_node' est réservé pour la stratégie machine à états. Utiliser ce nom peut causer un comportement inattendu."},Yfr={heading:"Données du service"},Jfr={empty:"Aucune variable définie. Cliquez sur le bouton ci-dessous pour en ajouter une.",variableLabel:"Variable {{index}}",name:"Nom",namePlaceholder:"nom_variable",value:"Valeur",valueDescription:"Valeur ou expression de modèle Jinja2",valuePlaceholder:"valeur ou {{ modele }}",addVariable:"Ajouter une variable"},Xfr={waitsForNTrigger_one:"Attend {{count}} déclencheur",waitsForNTrigger_other:"Attend {{count}} déclencheurs",timeoutLabel:"Délai d'attente :",waitType:"Type d'attente",waitTypeDescription:"Choisissez ce qu'il faut attendre.",types:{template:"Modèle",triggers:"Déclencheurs"},waitTemplate:"Modèle d'attente",waitTemplateDescription:"Condition de modèle qui doit être vraie pour continuer",triggersHeading:"Déclencheurs",triggerLabel:"Déclencheur {{index}} : {{platform}}",triggerPlatformLabel:"Plateforme",addTrigger:"Ajouter un déclencheur",timeoutDescription:"Temps maximum d'attente avant de continuer. Laissez vide pour attendre indéfiniment.",continueOnTimeout:"Continuer à l'expiration",continueOnTimeoutDescription:"Si activé, l'automatisation continue quand le délai expire. Si désactivé, l'automatisation s'arrête."},Zfr={types:Bfr,panel:Ufr,placeholders:Hfr,triggers:zfr,conditions:Gfr,actions:qfr,variables:Vfr,durationField:Wfr,responseVariableField:Kfr,serviceDataFields:Yfr,setVariablesFields:Jfr,wait:Xfr},Qfr={noConditions:"Aucune condition ajoutée",addCondition:"Ajouter une condition"},ehr={conditionGroupEditor:Qfr},thr={heading:"Simulateur de trace",conditionOverrides:"Résultats des conditions (pour simulation)",random:"Aléatoire",true:"Vrai",false:"Faux",executionPath:"Chemin d'exécution"},nhr={trace:thr},rhr={common:Tfr,debug:_fr,dialogs:Rfr,errors:$fr,nodes:Zfr,panels:ehr,simulator:nhr},ihr={save:"Salva",saveAsCopy:"Salva come copia",cancel:"Annulla",close:"Chiudi",delete:"Elimina",update:"Aggiorna",refresh:"Aggiorna",copy:"Copia",use:"Usa",add:"Aggiungi",addTrigger:"Aggiungi Trigger",openAutomation:"Apri Automazione",newAutomation:"Nuova Automazione",importJson:"Importa da JSON",importYaml:"Importa da YAML",testConnection:"Testa Connessione",disconnect:"Disconnetti"},ohr={automationName:"Nome automazione",properties:"Proprietà",yaml:"YAML",debug:"Debug",enabled:"Abilitato",alias:"Alias (Nome visualizzato)",id:"ID",strategy:"Strategia",speed:"Velocità",quickHelp:"Guida rapida",debugControls:"Controlli Debug",addNode:"Aggiungi Nodo",yamlOutput:"Output YAML",automationTrace:"Traccia Automazione",selectTraceRun:"Seleziona Esecuzione Traccia:",traceDetails:"Dettagli Traccia:",trigger:"Trigger:",duration:"Durata:",lastStep:"Ultimo Step:",executionPath:"Percorso Esecuzione:",notApplicable:"N/D",device:"Dispositivo",triggerType:"Tipo Trigger",entityId:"ID Entità",warning:"Attenzione",requiredAsterisk:"*",automations:"Automazioni",nodes:"Nodi",areas:"Aree",zones:"Zone",unassigned:"Non assegnate",workspaceSources:"Sorgenti unite"},shr={connecting:"Connessione in corso...",connected:"Connesso",connectedTo:"Connesso a {{hostname}}",connectionError:"Errore di Connessione",saving:"Salvataggio...",updating:"Aggiornamento...",testing:"Test in corso...",loadingTraces:"Caricamento tracce...",loadingTriggers:"Caricamento trigger..."},ahr={automationName:"Nome automazione",optionalDisplayName:"Nome visualizzato opzionale",optionalUniqueId:"ID univoco opzionale",enterAutomationName:"Inserisci nome automazione...",describeAutomation:"Descrivi cosa fa questa automazione...",searchAutomations:"Cerca automazioni...",selectTrace:"Seleziona una traccia...",addNodesForYaml:"# Aggiungi nodi per vedere l'output YAML",selectDevice:"Seleziona dispositivo...",selectTriggerType:"Seleziona tipo trigger...",selectEntity:"Seleziona entità...",selectEntities:"Seleziona entità...",duration:"00:05:00",enterTemplate:"Inserisci template Jinja2...",jsonExample:'{ "chiave": "valore" }',none:"Nessuno"},uhr={clickNodesToAdd:"Clicca sui nodi per aggiungerli",dragToConnect:"Trascina per connettere",deleteToRemove:"Elimina per rimuovere",backspaceDeleteKey:"Tasto Backspace/Canc"},chr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Impostazioni",updateAutomation:"Aggiorna automazione in Home Assistant",saveAutomation:"Salva automazione in Home Assistant",clearAutomation:"Azzera automazione corrente",exportJson:"Esporta flow come JSON",clickToConfigure:"Clicca per configurare la connessione a Home Assistant",openDetached:"Apri finestra separata",removeSource:"Rimuovi sorgente dal workspace unito"},lhr={auto:"Auto",native:"Nativo",stateMachine:"Macchina a Stati"},dhr={newAutomation:"Nuova Automazione"},fhr={true:"Vero",false:"Falso"},hhr={select:"Seleziona...",noOptions:"Nessuna opzione trovata."},phr={enabled:"Abilitato",disabled:"Disabilitato",selectItems:"Seleziona elementi...",itemsSelected:"{{count}} elementi selezionati",selectEntities:"Seleziona entità...",selectEntity:"Seleziona entità...",formatHMS:"Formato: HH:MM:SS",enterValue:"Inserisci {{name}}..."},ghr={enterId:"Inserisci ID dispositivo manualmente",noDevices:"Nessun dispositivo trovato. Inserisci l'ID dispositivo manualmente o verifica la connessione a Home Assistant."},bhr={runAction:"Esegui azione",cut:"Taglia",copy:"Copia",paste:"Incolla",duplicate:"Duplica",toggleEnabled:"Attiva/Disattiva",enable:"Attiva",disable:"Disattiva",disconnect:"Disconnetti",alignLeft:"Allinea a sinistra",alignCenter:"Allinea al centro",alignRight:"Allinea a destra",alignTop:"Allinea in alto",alignBottom:"Allinea in basso",deleteNode:"Elimina Nodo",duplicateNode:"Duplica Nodo",selectAll:"Seleziona Tutto"},mhr={cmd:"Cmd",ctrl:"Ctrl",shift:"Maiusc",alt:"Alt",arrowUp:"Freccia su",arrowDown:"Freccia giù",arrowLeft:"Freccia sinistra",arrowRight:"Freccia destra"},whr={buttons:ihr,labels:ohr,status:shr,placeholders:ahr,help:uhr,titles:chr,strategy:lhr,defaults:dhr,boolean:fhr,combobox:hhr,dynamicField:phr,deviceSelector:ghr,toolbar:bhr,shortcuts:mhr},yhr={simulatingExecution:"Simulazione esecuzione...",showingTraceExecution:"Mostrando esecuzione traccia ({{steps}} passi)"},vhr={simulation:yhr},Ehr={title:"Salva Automazione",titleUpdate:"Aggiorna Automazione",description:"Salva questa automazione in Home Assistant",descriptionUpdate:"Aggiorna questa automazione in Home Assistant",nameLabel:"Nome Automazione",descriptionLabel:"Descrizione (Opzionale)",nameConflict:'Il nome esiste già. Usare: "{{suggestedName}}"?'},Shr={title:"Importa Automazione YAML",description:"Incolla il tuo YAML di automazione Home Assistant qui sotto. L'automazione può essere in formato standard o formato macchina a stati.",placeholder:"alias: La Mia Automazione\\ntriggers:\\n - trigger: state\\n entity_id: sensor.esempio",importFailed:"Importazione Fallita",warnings:"Avvisi",successLoading:"Importato con successo! Caricamento flow...",tipLabel:"Suggerimento:",tipText:"Se l'automazione è stata creata con C.A.F.E., le posizioni dei nodi saranno preservate. Altrimenti, i nodi saranno disposti automaticamente in un layout leggibile.",importing:"Importazione...",import:"Importa",errors:{parseError:"Impossibile analizzare YAML: {{message}}",importError:"Impossibile importare: {{message}}"}},Thr={title:"Connessione Home Assistant",description:"Configura le impostazioni di connessione a Home Assistant.",urlLabel:"URL Home Assistant",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"L'URL della tua istanza Home Assistant",tokenLabel:"Token di Accesso a Lunga Durata",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Creane uno in HA: Profilo → Token di Accesso a Lunga Durata",testConnection:"Testa Connessione",testing:"Test in corso...",connected:"Connesso!",disconnect:"Disconnetti",corsNote:"Nota CORS",corsDescription:"Per connetterti da un browser, potrebbe essere necessario aggiungere gli header CORS alla tua configurazione HA. Se ti connetti da https://fezvrasta.github.io/hass-cafe, la tua istanza HA deve essere sotto HTTPS.",tokenGuideLink:"Come creare un Token di Accesso a Lunga Durata",apiRunning:"API in esecuzione.",errors:{missingFields:"Fornisci sia URL che token",unexpectedResponse:"Risposta API inattesa",invalidToken:"Token non valido - autenticazione fallita",httpError:"HTTP {{status}}: {{statusText}}",corsError:"Impossibile connettersi - verifica URL e impostazioni CORS",connectionFailed:"Connessione fallita"}},Ahr={title:"Errore Inatteso",description:"Si è verificato un errore inatteso nell'applicazione. Vedi i dettagli qui sotto.",refreshPrompt:"Prova ad aggiornare la pagina. Se il problema persiste, considera di segnalare il problema sul nostro repository GitHub."},_hr={saveAutomationFirst:"Salva prima l'automazione per visualizzare le tracce",noTracesFound:"Nessuna traccia di automazione trovata"},khr={save:Ehr,import:{title:"Apri Automazione",description:"Seleziona un'automazione da Home Assistant da modificare",descriptionFull:"Apri un'automazione esistente o creane una nuova",searchPlaceholder:"Cerca automazioni...",noAutomations:"Nessuna automazione trovata",noConnection:"Connettiti a Home Assistant per caricare le automazioni",createNew:"Crea Nuova",openSingle:"Apri",openTogether:"Apri insieme",mergeSelected:"Unisci selezionate",defaultMergedName:"Automazione unita",mergeSuccess:"Unite {{count}} automazioni in un solo workspace.",mergeFailed:"Impossibile unire le automazioni: {{message}}",mergeFailedMissingConfig:"Impossibile caricare la configurazione di {{name}}",mergeFailedInvalidYaml:"Impossibile analizzare l'automazione {{name}}",selectAll:"Seleziona tutte",unselectAll:"Deseleziona tutto",select:"Seleziona automazione",unselect:"Deseleziona automazione",columns:{name:"Nome",lastTriggered:"Ultimo Trigger",enabled:"Abilitato",action:"Azione"},mode:"Modalità: {{mode}}",never:"Mai",justNow:"Adesso",minutesAgo:"{{count}}m fa",hoursAgo:"{{count}}h fa",daysAgo:"{{count}}g fa",disabled:"Disabilitato",automationEnabled:"Automazione abilitata con successo.",automationDisabled:"Automazione disabilitata con successo.",updateStateFailed:"Impossibile aggiornare lo stato dell'automazione",importAutomation:"Importa automazione",openingWarning:"L'apertura sostituirà il design dell'automazione corrente",discardTitle:"Scartare il flow corrente?",discardDescription:"L'automazione corrente ha modifiche non salvate. Creare o aprire una nuova automazione scarterà queste modifiche.",confirmDiscard:"Scarta e Continua",importSuccess:'Automazione "{{name}}" importata con successo!',openedWarning:'Automazione "{{name}}" aperta!',openedWarningDescription:"Impossibile recuperare la configurazione automaticamente. Ora puoi creare un nuovo flow con lo stesso nome.",importFailed:"Impossibile importare l'automazione: {{message}}",ID:"ID: {{id}}",otherArea:"Altra Area",noArea:"Nessuna Area"},importYaml:Shr,settings:Thr,error:Ahr,traceViewer:_hr},xhr={failedToCopy:"Copia fallita"},Nhr={emptyAutomation:"Impossibile salvare un'automazione vuota. Aggiungi almeno un trigger e un nodo azione.",noTrigger:"L'automazione deve avere almeno un nodo trigger. Aggiungi un trigger dalla palette dei nodi.",noAction:"L'automazione deve avere almeno un nodo azione. Aggiungi un'azione dalla palette dei nodi.",validationFailed:"Validazione fallita: {{errors}}",transpileFailed:"Impossibile transpilare il flow in configurazione automazione",noAutomationId:"Nessun ID automazione impostato. Usa saveAutomation() per nuove automazioni."},Chr={noConnection:"Nessuna connessione Home Assistant disponibile",noAuth:"Nessuna autenticazione configurata per l'API REST",authFailed:"Token non valido - autenticazione fallita",corsError:"Impossibile connettersi - verifica URL e impostazioni CORS",connectionLost:"Connessione persa",reconnectFailed:"Riconnessione fallita",notConnected:"Home Assistant non è connesso",noMethod:"Nessun metodo di connessione Home Assistant funzionante trovato",unexpectedResponse:"Risposta API inattesa",connectionFailed:"Connessione fallita"},Ihr={httpError:"HTTP {{status}}: {{statusText}}",createFailed:"Impossibile creare l'automazione: {{message}}",updateFailed:"Impossibile aggiornare l'automazione: {{message}}",deleteFailed:"Impossibile eliminare l'automazione: {{message}}",importFailed:"Impossibile importare l'automazione: {{message}}",unknownError:"Errore sconosciuto",transpileFailed:"Transpilazione fallita",loadDeviceTriggersFailed:"Impossibile caricare i trigger del dispositivo:",loadTriggerCapabilitiesFailed:"Impossibile caricare le capacità del trigger:"},Rhr={addFailed:"Impossibile aggiungere la proprietà"},Ohr={nameRequired:"Il nome dell'automazione è obbligatorio",urlTokenRequired:"Fornisci sia URL che token"},Dhr={staleWarning:"Mostrando l'ultimo YAML valido - correggi gli errori per aggiornare"},Lhr={common:xhr,validation:Nhr,connection:Chr,api:Ihr,properties:Rhr,form:Ohr,import:{fileReadFailed:"Impossibile importare il flow. Verifica il formato del file.",parseFailed:"Impossibile analizzare la configurazione dell'automazione"},yaml:Dhr},Mhr={trigger:"Trigger",condition:"Condizione",action:"Azione",delay:"Ritardo",wait:"Attendi",set_variables:"Imposta Variabili",node:"Nodo"},Phr={selectNode:"Seleziona un nodo per modificarne le proprietà",properties:"Proprietà",nodeId:"ID Nodo: {{id}}",additionalProperties:"Proprietà Aggiuntive",addProperty:"Aggiungi Proprietà",propertyName:"Nome Proprietà",type:"Tipo",value:"Valore"},jhr={customProperty:"es. mia_proprieta_custom",jsonArray:'["elemento1", "elemento2"]',number:"123",enterValue:"Inserisci valore",jsonObject:"Oggetto JSON",enterType:"Inserisci {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},Fhr={platformLabel:"Piattaforma",platforms:{state:"Cambio Stato",numeric_state:"Stato Numerico",time:"Orario",time_pattern:"Pattern Orario",sun:"Sole",event:"Evento",mqtt:"MQTT",webhook:"Webhook",zone:"Zona",template:"Template",homeassistant:"Home Assistant",device:"Dispositivo",calendar:"Calendario",geo_location:"Geo Localizzazione",tag:"Tag",conversation:"Conversazione",persistent_notification:"Notifica Persistente"},dataTypes:{string:"Testo",number:"Numero",boolean:"Booleano",json:"Array (JSON)"}},$hr={conditionLabel:"Tipo Condizione",types:{state:"Stato",numeric_state:"Stato Numerico",time:"Orario",sun:"Sole",zone:"Zona",template:"Template",device:"Dispositivo",trigger:"Trigger",and:"AND (Tutti)",or:"OR (Qualsiasi)",not:"NOT"},nestedConditions:"Condizioni Annidate",yes:"Sì",no:"No"},Bhr={serviceLabel:"Servizio"},Uhr={variableCount_one:"{{count}} variabile",variableCount_other:"{{count}} variabili"},Hhr={label:"Durata",description:"Specifica la durata in ore, minuti, secondi, millisecondi",string:"Stringa",object:"Oggetto",placeholder:"00:00:05.500",hours:"Ore",minutes:"Minuti",seconds:"Secondi",milliseconds:"Millisecondi"},zhr={label:"Variabile Risposta",optionalDescription:"Questa azione può restituire una risposta. Abilita per usare la risposta e inserisci il nome della variabile in cui verrà salvata.",requiredDescription:"Questa azione restituisce una risposta. Inserisci il nome della variabile in cui verrà salvata.",useResponseVariable:"Usa Variabile Risposta",placeholder:"es. mia_risposta",currentNodeWarning:"'current_node' è riservato per la strategia macchina a stati. Usare questo nome potrebbe causare comportamenti imprevisti."},Ghr={heading:"Dati Servizio"},qhr={empty:"Nessuna variabile definita. Clicca il pulsante qui sotto per aggiungerne una.",variableLabel:"Variabile {{index}}",name:"Nome",namePlaceholder:"nome_variabile",value:"Valore",valueDescription:"Valore o espressione template Jinja2",valuePlaceholder:"valore o {{ template }}",addVariable:"Aggiungi Variabile"},Vhr={waitsForNTrigger_one:"Attende {{count}} trigger",waitsForNTrigger_other:"Attende {{count}} trigger",timeoutLabel:"Timeout:",waitType:"Tipo Attesa",waitTypeDescription:"Scegli cosa attendere.",types:{template:"Template",triggers:"Trigger"},waitTemplate:"Template Attesa",waitTemplateDescription:"Condizione template che deve essere vera per continuare",triggersHeading:"Trigger",triggerLabel:"Trigger {{index}}: {{platform}}",triggerPlatformLabel:"Piattaforma",addTrigger:"Aggiungi Trigger",timeoutDescription:"Tempo massimo di attesa prima di continuare. Lascia vuoto per attendere indefinitamente.",continueOnTimeout:"Continua al Timeout",continueOnTimeoutDescription:"Se abilitato, l'automazione continua quando scade il timeout. Se disabilitato, l'automazione si ferma."},Whr={types:Mhr,panel:Phr,placeholders:jhr,triggers:Fhr,conditions:$hr,actions:Bhr,variables:Uhr,durationField:Hhr,responseVariableField:zhr,serviceDataFields:Ghr,setVariablesFields:qhr,wait:Vhr},Khr={noConditions:"Nessuna condizione aggiunta",addCondition:"Aggiungi Condizione"},Yhr={conditionGroupEditor:Khr},Jhr={heading:"Simulatore Traccia",conditionOverrides:"Esiti Condizioni (per simulazione)",random:"Casuale",true:"Vero",false:"Falso",executionPath:"Percorso Esecuzione"},Xhr={trace:Jhr},Zhr={common:whr,debug:vhr,dialogs:khr,errors:Lhr,nodes:Whr,panels:Yhr,simulator:Xhr},Qhr={save:"保存",saveAsCopy:"另存为副本",cancel:"取消",close:"关闭",delete:"删除",update:"更新",refresh:"刷新",copy:"复制",use:"使用",add:"添加",addTrigger:"添加触发器",openAutomation:"打开自动化",newAutomation:"新建自动化",importJson:"从JSON导入",importYaml:"从YAML导入",testConnection:"测试连接",disconnect:"断开连接"},epr={automationName:"自动化名称",properties:"属性",yaml:"YAML",debug:"调试",enabled:"已启用",alias:"别名(显示名称)",id:"ID",strategy:"策略",speed:"速度",quickHelp:"快速帮助",debugControls:"调试控制",addNode:"添加节点",yamlOutput:"YAML输出",automationTrace:"自动化追踪",selectTraceRun:"选择追踪运行:",traceDetails:"追踪详情:",trigger:"触发器:",duration:"持续时间:",lastStep:"最后步骤:",executionPath:"执行路径:",notApplicable:"不适用",device:"设备",triggerType:"触发器类型",entityId:"实体ID",warning:"警告",requiredAsterisk:"*",automations:"自动化",nodes:"节点",areas:"区域",zones:"地理围栏",unassigned:"未分配",workspaceSources:"合并来源"},tpr={connecting:"正在连接...",connected:"已连接",connectedTo:"已连接到 {{hostname}}",connectionError:"连接错误",saving:"正在保存...",updating:"正在更新...",testing:"正在测试...",loadingTraces:"正在加载追踪...",loadingTriggers:"正在加载触发器..."},npr={automationName:"自动化名称",optionalDisplayName:"可选显示名称",optionalUniqueId:"可选唯一ID",enterAutomationName:"输入自动化名称...",describeAutomation:"描述这个自动化的功能...",searchAutomations:"搜索自动化...",selectTrace:"选择追踪...",addNodesForYaml:"# 添加节点以查看YAML输出",selectDevice:"选择设备...",selectTriggerType:"选择触发器类型...",selectEntity:"选择实体...",selectEntities:"选择实体...",duration:"00:05:00",enterTemplate:"输入Jinja2模板...",jsonExample:'{ "键": "值" }',none:"无"},rpr={clickNodesToAdd:"点击节点以添加",dragToConnect:"拖动以连接",deleteToRemove:"删除以移除",backspaceDeleteKey:"退格键/删除键"},ipr={appName:"C.A.F.E.",appFullName:"复杂自动化流程编辑器",settings:"设置",updateAutomation:"在Home Assistant中更新自动化",saveAutomation:"将自动化保存到Home Assistant",clearAutomation:"清除当前自动化",exportJson:"导出流程为JSON",clickToConfigure:"点击配置Home Assistant连接",openDetached:"在独立窗口打开",removeSource:"从合并工作区移除来源"},opr={auto:"自动",native:"原生",stateMachine:"状态机"},spr={newAutomation:"新建自动化"},apr={true:"真",false:"假"},upr={select:"选择...",noOptions:"未找到选项。"},cpr={enabled:"已启用",disabled:"已禁用",selectItems:"选择项目...",itemsSelected:"已选择 {{count}} 项",selectEntities:"选择实体...",selectEntity:"选择实体...",formatHMS:"格式:时:分:秒",enterValue:"输入 {{name}}..."},lpr={enterId:"手动输入设备ID",noDevices:"未找到设备。请手动输入设备ID或检查您的Home Assistant连接。"},dpr={runAction:"运行操作",cut:"剪切",copy:"复制",paste:"粘贴",duplicate:"复制",toggleEnabled:"切换启用/禁用",enable:"启用",disable:"禁用",disconnect:"断开连接",alignLeft:"左对齐",alignCenter:"居中对齐",alignRight:"右对齐",alignTop:"顶端对齐",alignBottom:"底端对齐",deleteNode:"删除节点",duplicateNode:"复制节点",selectAll:"全选"},fpr={cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",alt:"Alt",arrowUp:"向上箭头",arrowDown:"向下箭头",arrowLeft:"向左箭头",arrowRight:"向右箭头"},hpr={buttons:Qhr,labels:epr,status:tpr,placeholders:npr,help:rpr,titles:ipr,strategy:opr,defaults:spr,boolean:apr,combobox:upr,dynamicField:cpr,deviceSelector:lpr,toolbar:dpr,shortcuts:fpr},ppr={simulatingExecution:"正在模拟执行...",showingTraceExecution:"显示追踪执行({{steps}} 步)"},gpr={simulation:ppr},bpr={title:"保存自动化",titleUpdate:"更新自动化",description:"将此自动化保存到Home Assistant",descriptionUpdate:"在Home Assistant中更新此自动化",nameLabel:"自动化名称",descriptionLabel:"描述(可选)",nameConflict:'名称已存在。使用:"{{suggestedName}}"?'},mpr={title:"导入YAML自动化",description:"在下方粘贴您的Home Assistant自动化YAML。自动化可以是标准格式或状态机格式。",placeholder:"alias: 我的自动化\\ntriggers:\\n - trigger: state\\n entity_id: sensor.example",importFailed:"导入失败",warnings:"警告",successLoading:"导入成功!正在加载流程...",tipLabel:"提示:",tipText:"如果您的自动化是使用C.A.F.E.创建的,节点位置将被保留。否则,节点将自动排列为可读布局。",importing:"正在导入...",import:"导入",errors:{parseError:"解析YAML失败:{{message}}",importError:"导入失败:{{message}}"}},wpr={title:"Home Assistant连接",description:"配置您的Home Assistant连接设置。",urlLabel:"Home Assistant URL",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"您的Home Assistant实例的URL",tokenLabel:"长期访问令牌",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"在HA中创建:个人资料 → 长期访问令牌",testConnection:"测试连接",testing:"正在测试...",connected:"已连接!",disconnect:"断开连接",corsNote:"CORS说明",corsDescription:"要从浏览器连接,您可能需要在HA配置中添加CORS头。如果您从 https://fezvrasta.github.io/hass-cafe 连接,您的HA实例必须使用HTTPS。",tokenGuideLink:"如何创建长期访问令牌",apiRunning:"API正在运行。",errors:{missingFields:"请提供URL和令牌",unexpectedResponse:"意外的API响应",invalidToken:"令牌无效 - 认证失败",httpError:"HTTP {{status}}:{{statusText}}",corsError:"无法连接 - 检查URL和CORS设置",connectionFailed:"连接失败"}},ypr={title:"意外错误",description:"应用程序发生意外错误。请查看以下详情。",refreshPrompt:"请尝试刷新页面。如果问题仍然存在,请考虑在我们的GitHub仓库上报告问题。"},vpr={saveAutomationFirst:"先保存自动化以查看追踪",noTracesFound:"未找到自动化追踪"},Epr={save:bpr,import:{title:"打开自动化",description:"从Home Assistant选择要编辑的自动化",descriptionFull:"打开现有自动化或创建新的",searchPlaceholder:"搜索自动化...",noAutomations:"未找到自动化",noConnection:"连接到Home Assistant以加载自动化",createNew:"新建",openSingle:"打开",openTogether:"一起打开",mergeSelected:"合并所选",defaultMergedName:"合并自动化",mergeSuccess:"已将 {{count}} 个自动化合并到一个工作区。",mergeFailed:"合并自动化失败:{{message}}",mergeFailedMissingConfig:"无法加载 {{name}} 的配置",mergeFailedInvalidYaml:"无法解析自动化 {{name}}",selectAll:"全选可见项",unselectAll:"清除选择",select:"选择自动化",unselect:"取消选择自动化",columns:{name:"名称",lastTriggered:"上次触发",enabled:"已启用",action:"操作"},mode:"模式:{{mode}}",never:"从未",justNow:"刚刚",minutesAgo:"{{count}}分钟前",hoursAgo:"{{count}}小时前",daysAgo:"{{count}}天前",disabled:"已禁用",automationEnabled:"自动化已成功启用。",automationDisabled:"自动化已成功禁用。",updateStateFailed:"更新自动化状态失败",importAutomation:"导入自动化",openingWarning:"打开将替换您当前的自动化设计",discardTitle:"放弃当前流程?",discardDescription:"您当前的自动化有未保存的更改。创建或打开新的自动化将放弃这些更改。",confirmDiscard:"放弃并继续",importSuccess:'自动化 "{{name}}" 导入成功!',openedWarning:'自动化 "{{name}}" 已打开!',openedWarningDescription:"无法自动获取配置。您现在可以使用相同的名称创建新流程。",importFailed:"导入自动化失败:{{message}}",ID:"ID:{{id}}",otherArea:"其他区域",noArea:"无区域"},importYaml:mpr,settings:wpr,error:ypr,traceViewer:vpr},Spr={failedToCopy:"复制失败"},Tpr={emptyAutomation:"无法保存空自动化。请至少添加一个触发器和一个动作节点。",noTrigger:"自动化必须至少有一个触发器节点。请从节点面板添加触发器。",noAction:"自动化必须至少有一个动作节点。请从节点面板添加动作。",validationFailed:"验证失败:{{errors}}",transpileFailed:"将流程转译为自动化配置失败",noAutomationId:"未设置自动化ID。使用 saveAutomation() 创建新自动化。"},Apr={noConnection:"没有可用的Home Assistant连接",noAuth:"未配置REST API认证",authFailed:"令牌无效 - 认证失败",corsError:"无法连接 - 检查URL和CORS设置",connectionLost:"连接丢失",reconnectFailed:"重新连接失败",notConnected:"Home Assistant未连接",noMethod:"未找到可用的Home Assistant连接方法",unexpectedResponse:"意外的API响应",connectionFailed:"连接失败"},_pr={httpError:"HTTP {{status}}:{{statusText}}",createFailed:"创建自动化失败:{{message}}",updateFailed:"更新自动化失败:{{message}}",deleteFailed:"删除自动化失败:{{message}}",importFailed:"导入自动化失败:{{message}}",unknownError:"未知错误",transpileFailed:"转译失败",loadDeviceTriggersFailed:"加载设备触发器失败:",loadTriggerCapabilitiesFailed:"加载触发器功能失败:"},kpr={addFailed:"添加属性失败"},xpr={nameRequired:"自动化名称为必填项",urlTokenRequired:"请提供URL和令牌"},Npr={staleWarning:"显示上次有效的YAML - 修复错误以更新"},Cpr={common:Spr,validation:Tpr,connection:Apr,api:_pr,properties:kpr,form:xpr,import:{fileReadFailed:"导入流程失败。请检查文件格式。",parseFailed:"解析自动化配置失败"},yaml:Npr},Ipr={trigger:"触发器",condition:"条件",action:"动作",delay:"延迟",wait:"等待",set_variables:"设置变量",node:"节点"},Rpr={selectNode:"选择节点以编辑其属性",properties:"属性",nodeId:"节点ID:{{id}}",additionalProperties:"附加属性",addProperty:"添加属性",propertyName:"属性名称",type:"类型",value:"值"},Opr={customProperty:"例如 my_custom_property",jsonArray:'["项目1", "项目2"]',number:"123",enterValue:"输入值",jsonObject:"JSON对象",enterType:"输入 {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},Dpr={platformLabel:"平台",platforms:{state:"状态变化",numeric_state:"数值状态",time:"时间",time_pattern:"时间模式",sun:"太阳",event:"事件",mqtt:"MQTT",webhook:"Webhook",zone:"区域",template:"模板",homeassistant:"Home Assistant",device:"设备",calendar:"日历",geo_location:"地理位置",tag:"标签",conversation:"对话",persistent_notification:"持久通知"},dataTypes:{string:"文本",number:"数字",boolean:"布尔值",json:"数组(JSON)"}},Lpr={conditionLabel:"条件类型",types:{state:"状态",numeric_state:"数值状态",time:"时间",sun:"太阳",zone:"区域",template:"模板",device:"设备",trigger:"触发器",and:"与(全部)",or:"或(任一)",not:"非"},nestedConditions:"嵌套条件",yes:"是",no:"否"},Mpr={serviceLabel:"服务"},Ppr={variableCount_one:"{{count}} 个变量",variableCount_other:"{{count}} 个变量"},jpr={label:"持续时间",description:"以小时、分钟、秒、毫秒指定持续时间",string:"字符串",object:"对象",placeholder:"00:00:05.500",hours:"小时",minutes:"分钟",seconds:"秒",milliseconds:"毫秒"},Fpr={label:"响应变量",optionalDescription:"此动作可以返回响应。启用以使用响应并输入将保存响应的变量名称。",requiredDescription:"此动作返回响应。输入将保存响应的变量名称。",useResponseVariable:"使用响应变量",placeholder:"例如 my_response",currentNodeWarning:"'current_node' 是状态机策略的保留名称。使用此名称可能导致意外行为。"},$pr={heading:"服务数据"},Bpr={empty:"未定义变量。点击下方按钮添加一个。",variableLabel:"变量 {{index}}",name:"名称",namePlaceholder:"variable_name",value:"值",valueDescription:"值或Jinja2模板表达式",valuePlaceholder:"值或 {{ template }}",addVariable:"添加变量"},Upr={waitsForNTrigger_one:"等待 {{count}} 个触发器",waitsForNTrigger_other:"等待 {{count}} 个触发器",timeoutLabel:"超时:",waitType:"等待类型",waitTypeDescription:"选择要等待的内容。",types:{template:"模板",triggers:"触发器"},waitTemplate:"等待模板",waitTemplateDescription:"必须为真才能继续的模板条件",triggersHeading:"触发器",triggerLabel:"触发器 {{index}}:{{platform}}",triggerPlatformLabel:"平台",addTrigger:"添加触发器",timeoutDescription:"继续前的最大等待时间。留空则无限等待。",continueOnTimeout:"超时后继续",continueOnTimeoutDescription:"如果启用,超时后自动化继续。如果禁用,自动化停止。"},Hpr={types:Ipr,panel:Rpr,placeholders:Opr,triggers:Dpr,conditions:Lpr,actions:Mpr,variables:Ppr,durationField:jpr,responseVariableField:Fpr,serviceDataFields:$pr,setVariablesFields:Bpr,wait:Upr},zpr={noConditions:"尚未添加条件",addCondition:"添加条件"},Gpr={conditionGroupEditor:zpr},qpr={heading:"追踪模拟器",conditionOverrides:"条件结果(用于模拟)",random:"随机",true:"真",false:"假",executionPath:"执行路径"},Vpr={trace:qpr},Wpr={common:hpr,debug:gpr,dialogs:Epr,errors:Cpr,nodes:Hpr,panels:Gpr,simulator:Vpr},Kpr="common",Ypr={de:fdr,en:ufr,fr:rhr,it:Zhr,"zh-Hans":Wpr};Bh.use(eRn).init({resources:Ypr,lng:"en",fallbackLng:"en",defaultNS:Kpr,ns:["common","dialogs","nodes","errors","debug","panels","simulator"],interpolation:{escapeValue:!1},returnNull:!1});function Jpr(){try{return window.parent!==window&&"hass"in window.parent}catch{return!1}}function Xpr(){try{const n=window.parent.hass;if(n&&typeof n=="object"&&"states"in n)return n}catch{}}function Zpr(){const n=document.getElementById("root");if(!n){yf.error("No #root element found");return}const i=Jpr();if(yf.info("C.A.F.E. starting",{inHaIframe:i}),i){yf.debug("Running in HA iframe mode");const a=uoe.createRoot(n),c=d=>{yf.debug("Rendering with hass",{hasHass:!!d,statesCount:d!=null&&d.states?Object.keys(d.states).length:0}),a.render(O.jsx(Hn.StrictMode,{children:O.jsx(o5t,{i18n:Bh,children:O.jsx(b9t,{externalHass:d,children:O.jsx(D$t,{})})})}))};window.setHass=d=>{c(d)},c(Xpr())}else yf.debug("Running in standalone mode"),uoe.createRoot(n).render(O.jsx(Hn.StrictMode,{children:O.jsx(o5t,{i18n:Bh,children:O.jsx(b9t,{forceMode:"remote",children:O.jsx(D$t,{})})})}))}Zpr();
|
||
//# sourceMappingURL=main-BIzscans.js.map
|